| 1 | |||
| 2 | package Paws::ECS::ListAccountSettings; | ||
| 3 | use Moose; | ||
| 4 | has EffectiveSettings => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'effectiveSettings' ); | ||
| 5 | has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' ); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' ); | ||
| 7 | has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' ); | ||
| 8 | has PrincipalArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'principalArn' ); | ||
| 9 | has Value => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'value' ); | ||
| 10 | |||
| 11 | use MooseX::ClassAttribute; | ||
| 12 | |||
| 13 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAccountSettings'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::ListAccountSettingsResponse'); | ||
| 15 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::ECS::ListAccountSettings - Arguments for method ListAccountSettings on L<Paws::ECS> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method ListAccountSettings on the | ||
| 27 | L<Amazon EC2 Container Service|Paws::ECS> service. Use the attributes of this class | ||
| 28 | as arguments to method ListAccountSettings. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAccountSettings. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $ecs = Paws->service('ECS'); | ||
| 35 | my $ListAccountSettingsResponse = $ecs->ListAccountSettings( | ||
| 36 | EffectiveSettings => 1, # OPTIONAL | ||
| 37 | MaxResults => 1, # OPTIONAL | ||
| 38 | Name => 'serviceLongArnFormat', # OPTIONAL | ||
| 39 | NextToken => 'MyString', # OPTIONAL | ||
| 40 | PrincipalArn => 'MyString', # OPTIONAL | ||
| 41 | Value => 'MyString', # OPTIONAL | ||
| 42 | ); | ||
| 43 | |||
| 44 | # Results: | ||
| 45 | my $NextToken = $ListAccountSettingsResponse->NextToken; | ||
| 46 | my $Settings = $ListAccountSettingsResponse->Settings; | ||
| 47 | |||
| 48 | # Returns a L<Paws::ECS::ListAccountSettingsResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ecs/ListAccountSettings> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 EffectiveSettings => Bool | ||
| 57 | |||
| 58 | Specifies whether to return the effective settings. If C<true>, the | ||
| 59 | account settings for the root user or the default setting for the | ||
| 60 | C<principalArn> are returned. If C<false>, the account settings for the | ||
| 61 | C<principalArn> are returned if they are set. Otherwise, no account | ||
| 62 | settings are returned. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 MaxResults => Int | ||
| 67 | |||
| 68 | The maximum number of account setting results returned by | ||
| 69 | C<ListAccountSettings> in paginated output. When this parameter is | ||
| 70 | used, C<ListAccountSettings> only returns C<maxResults> results in a | ||
| 71 | single page along with a C<nextToken> response element. The remaining | ||
| 72 | results of the initial request can be seen by sending another | ||
| 73 | C<ListAccountSettings> request with the returned C<nextToken> value. | ||
| 74 | This value can be between 1 and 10. If this parameter is not used, then | ||
| 75 | C<ListAccountSettings> returns up to 10 results and a C<nextToken> | ||
| 76 | value if applicable. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 Name => Str | ||
| 81 | |||
| 82 | The name of the account setting you want to list the settings for. | ||
| 83 | |||
| 84 | Valid values are: C<"serviceLongArnFormat">, C<"taskLongArnFormat">, C<"containerInstanceLongArnFormat">, C<"awsvpcTrunking">, C<"containerInsights"> | ||
| 85 | |||
| 86 | =head2 NextToken => Str | ||
| 87 | |||
| 88 | The C<nextToken> value returned from a C<ListAccountSettings> request | ||
| 89 | indicating that more results are available to fulfill the request and | ||
| 90 | further calls will be needed. If C<maxResults> was provided, it is | ||
| 91 | possible the number of results to be fewer than C<maxResults>. | ||
| 92 | |||
| 93 | This token should be treated as an opaque identifier that is only used | ||
| 94 | to retrieve the next items in a list and not for other programmatic | ||
| 95 | purposes. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 PrincipalArn => Str | ||
| 100 | |||
| 101 | The ARN of the principal, which can be an IAM user, IAM role, or the | ||
| 102 | root user. If this field is omitted, the account settings are listed | ||
| 103 | only for the authenticated user. | ||
| 104 | |||
| 105 | Federated users assume the account setting of the root user and can't | ||
| 106 | have explicit account settings set for them. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head2 Value => Str | ||
| 111 | |||
| 112 | The value of the account settings with which to filter results. You | ||
| 113 | must also specify an account setting name to use this parameter. | ||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | =head1 SEE ALSO | ||
| 119 | |||
| 120 | This class forms part of L<Paws>, documenting arguments for method ListAccountSettings in L<Paws::ECS> | ||
| 121 | |||
| 122 | =head1 BUGS and CONTRIBUTIONS | ||
| 123 | |||
| 124 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 125 | |||
| 126 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 127 | |||
| 128 | =cut | ||
| 129 |