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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

The access token.

Returns:

  • (String)


4912
4913
4914
4915
4916
4917
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4912

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

#device_keyString

The device key.

Returns:

  • (String)


4912
4913
4914
4915
4916
4917
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4912

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

#device_remembered_statusString

The status of whether a device is remembered.

Returns:

  • (String)


4912
4913
4914
4915
4916
4917
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4912

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