Class: Aws::CognitoIdentityProvider::Types::GetDeviceRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass GetDeviceRequest data as a hash:

{
  device_key: "DeviceKeyType", # required
  access_token: "TokenModelType",
}

Represents the request to get the device.

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


5177
5178
5179
5180
5181
5182
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5177

class GetDeviceRequest < Struct.new(
  :device_key,
  :access_token)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#device_keyString

The device key.

Returns:

  • (String)


5177
5178
5179
5180
5181
5182
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 5177

class GetDeviceRequest < Struct.new(
  :device_key,
  :access_token)
  SENSITIVE = [:access_token]
  include Aws::Structure
end