« blib/lib/Paws/SSO/ListAccountRolesResponse.pm
↑ Summary
blib/lib/Paws/SSO/ListAccountsResponse.pm »
| 1 | |||
| 2 | package Paws::SSO::ListAccounts; | ||
| 3 | use Moose; | ||
| 4 | has AccessToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-sso_bearer_token', required => 1); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'max_result'); | ||
| 6 | has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'next_token'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAccounts'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/assignment/accounts'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSO::ListAccountsResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::SSO::ListAccounts - Arguments for method ListAccounts on L<Paws::SSO> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method ListAccounts on the | ||
| 25 | L<AWS Single Sign-On|Paws::SSO> service. Use the attributes of this class | ||
| 26 | as arguments to method ListAccounts. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAccounts. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $portal.sso = Paws->service('SSO'); | ||
| 33 | my $ListAccountsResponse = $portal . sso->ListAccounts( | ||
| 34 | AccessToken => 'MyAccessTokenType', | ||
| 35 | MaxResults => 1, # OPTIONAL | ||
| 36 | NextToken => 'MyNextTokenType', # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $AccountList = $ListAccountsResponse->AccountList; | ||
| 41 | my $NextToken = $ListAccountsResponse->NextToken; | ||
| 42 | |||
| 43 | # Returns a L<Paws::SSO::ListAccountsResponse> object. | ||
| 44 | |||
| 45 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/portal.sso/ListAccounts> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> AccessToken => Str | ||
| 52 | |||
| 53 | The token issued by the C<CreateToken> API call. For more information, | ||
| 54 | see CreateToken | ||
| 55 | (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html) | ||
| 56 | in the I<AWS SSO OIDC API Reference Guide>. | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | =head2 MaxResults => Int | ||
| 61 | |||
| 62 | This is the number of items clients can request per page. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 NextToken => Str | ||
| 67 | |||
| 68 | (Optional) When requesting subsequent pages, this is the page token | ||
| 69 | from the previous response output. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, documenting arguments for method ListAccounts in L<Paws::SSO> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 |