Class: Aws::CognitoIdentityProvider::Types::AssociateSoftwareTokenRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:access_token, :session]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tokenString

A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for ‘aws.cognito.signin.user.admin`.

You can provide either an access token or a session ID in the request.

Returns:

  • (String)


2589
2590
2591
2592
2593
2594
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2589

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

#sessionString

The session identifier that maintains the state of authentication requests and challenge responses. In ‘AssociateSoftwareToken`, this is the session ID from a successful sign-in. You can provide either an access token or a session ID in the request.

Returns:

  • (String)


2589
2590
2591
2592
2593
2594
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2589

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