Class: Aws::SSO::Types::GetRoleCredentialsRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:access_token]

Instance Attribute Summary collapse

Method Summary

Methods included from Aws::Structure

#empty?, included, #initialize, #key?, new, #to_h, #to_s

Instance Attribute Details

#access_tokenString

The token issued by the ‘CreateToken` API call. For more information, see [CreateToken] in the *IAM Identity Center OIDC API Reference Guide*.

[1]: docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html

Returns:

  • (String)


57
58
59
60
61
62
63
# File 'lib/aws-sdk-sso/types.rb', line 57

class GetRoleCredentialsRequest < Struct.new(
  :role_name,
  :account_id,
  :access_token)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#account_idString

The identifier for the AWS account that is assigned to the user.

Returns:

  • (String)


57
58
59
60
61
62
63
# File 'lib/aws-sdk-sso/types.rb', line 57

class GetRoleCredentialsRequest < Struct.new(
  :role_name,
  :account_id,
  :access_token)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#role_nameString

The friendly name of the role that is assigned to the user.

Returns:

  • (String)


57
58
59
60
61
62
63
# File 'lib/aws-sdk-sso/types.rb', line 57

class GetRoleCredentialsRequest < Struct.new(
  :role_name,
  :account_id,
  :access_token)
  SENSITIVE = [:access_token]
  include Aws::Structure
end