Class: Aws::CognitoIdentityProvider::Types::UpdateDeviceStatusRequest

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 UpdateDeviceStatusRequest data as a hash:

{
  access_token: "TokenModelType", # required
  device_key: "DeviceKeyType", # required
  device_remembered_status: "remembered", # accepts remembered, not_remembered
}

Represents the request to update the device status.

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


8953
8954
8955
8956
8957
8958
8959
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8953

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

#device_keyString

The device key.

Returns:

  • (String)


8953
8954
8955
8956
8957
8958
8959
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8953

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

#device_remembered_statusString

The status of whether a device is remembered.

Returns:

  • (String)


8953
8954
8955
8956
8957
8958
8959
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 8953

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