You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/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.

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


3770
3771
3772
3773
3774
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3770

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

#device_keyString

The device key.

Returns:

  • (String)


3770
3771
3772
3773
3774
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 3770

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