Class: Aws::SSO::Types::ListAccountRolesRequest

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

Overview

Note:

When making an API call, you may pass ListAccountRolesRequest data as a hash:

{
  next_token: "NextTokenType",
  max_results: 1,
  access_token: "AccessTokenType", # required
  account_id: "AccountIdType", # required
}

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 *AWS SSO OIDC API Reference Guide*.

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

Returns:

  • (String)

135
136
137
138
139
140
141
142
# File 'lib/aws-sdk-sso/types.rb', line 135

class ListAccountRolesRequest < Struct.new(
  :next_token,
  :max_results,
  :access_token,
  :account_id)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#account_idString

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

Returns:

  • (String)

135
136
137
138
139
140
141
142
# File 'lib/aws-sdk-sso/types.rb', line 135

class ListAccountRolesRequest < Struct.new(
  :next_token,
  :max_results,
  :access_token,
  :account_id)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#max_resultsInteger

The number of items that clients can request per page.

Returns:

  • (Integer)

135
136
137
138
139
140
141
142
# File 'lib/aws-sdk-sso/types.rb', line 135

class ListAccountRolesRequest < Struct.new(
  :next_token,
  :max_results,
  :access_token,
  :account_id)
  SENSITIVE = [:access_token]
  include Aws::Structure
end

#next_tokenString

The page token from the previous response output when you request subsequent pages.

Returns:

  • (String)

135
136
137
138
139
140
141
142
# File 'lib/aws-sdk-sso/types.rb', line 135

class ListAccountRolesRequest < Struct.new(
  :next_token,
  :max_results,
  :access_token,
  :account_id)
  SENSITIVE = [:access_token]
  include Aws::Structure
end