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 user whose software token you want to generate. You can provide either an access token or a session ID in the request.

Returns:

  • (String)


2545
2546
2547
2548
2549
2550
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2545

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)


2545
2546
2547
2548
2549
2550
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 2545

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