AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


5111
5112
5113
5114
5115
5116
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5111

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

#device_keyString

The device key.

Returns:

  • (String)


5111
5112
5113
5114
5115
5116
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 5111

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