Class: Aws::SSO::Types::GetRoleCredentialsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::SSO::Types::GetRoleCredentialsRequest
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-sso/types.rb
Overview
Note:
When making an API call, you may pass GetRoleCredentialsRequest data as a hash:
{
role_name: "RoleNameType", # required
account_id: "AccountIdType", # required
access_token: "AccessTokenType", # required
}
Constant Summary collapse
- SENSITIVE =
[:access_token]
Instance Attribute Summary collapse
-
#access_token ⇒ String
The token issued by the
CreateToken
API call. -
#account_id ⇒ String
The identifier for the AWS account that is assigned to the user.
-
#role_name ⇒ String
The friendly name of the role that is assigned to the user.
Instance Attribute Details
#access_token ⇒ String
The token issued by the CreateToken
API call. For more
information, see CreateToken in the AWS SSO OIDC API Reference
Guide.
66 67 68 69 70 71 72 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 66 class GetRoleCredentialsRequest < Struct.new( :role_name, :account_id, :access_token) SENSITIVE = [:access_token] include Aws::Structure end |
#account_id ⇒ String
The identifier for the AWS account that is assigned to the user.
66 67 68 69 70 71 72 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 66 class GetRoleCredentialsRequest < Struct.new( :role_name, :account_id, :access_token) SENSITIVE = [:access_token] include Aws::Structure end |
#role_name ⇒ String
The friendly name of the role that is assigned to the user.
66 67 68 69 70 71 72 |
# File 'gems/aws-sdk-core/lib/aws-sdk-sso/types.rb', line 66 class GetRoleCredentialsRequest < Struct.new( :role_name, :account_id, :access_token) SENSITIVE = [:access_token] include Aws::Structure end |