| 1 | |||
| 2 | package Paws::ECS::PutAccountSetting; | ||
| 3 | use Moose; | ||
| 4 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1); | ||
| 5 | has PrincipalArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'principalArn' ); | ||
| 6 | has Value => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'value' , required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutAccountSetting'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::PutAccountSettingResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::ECS::PutAccountSetting - Arguments for method PutAccountSetting on L<Paws::ECS> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method PutAccountSetting on the | ||
| 24 | L<Amazon EC2 Container Service|Paws::ECS> service. Use the attributes of this class | ||
| 25 | as arguments to method PutAccountSetting. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutAccountSetting. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $ecs = Paws->service('ECS'); | ||
| 32 | my $PutAccountSettingResponse = $ecs->PutAccountSetting( | ||
| 33 | Name => 'serviceLongArnFormat', | ||
| 34 | Value => 'MyString', | ||
| 35 | PrincipalArn => 'MyString', # OPTIONAL | ||
| 36 | ); | ||
| 37 | |||
| 38 | # Results: | ||
| 39 | my $Setting = $PutAccountSettingResponse->Setting; | ||
| 40 | |||
| 41 | # Returns a L<Paws::ECS::PutAccountSettingResponse> object. | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ecs/PutAccountSetting> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> Name => Str | ||
| 50 | |||
| 51 | The Amazon ECS resource name for which to modify the account setting. | ||
| 52 | If C<serviceLongArnFormat> is specified, the ARN for your Amazon ECS | ||
| 53 | services is affected. If C<taskLongArnFormat> is specified, the ARN and | ||
| 54 | resource ID for your Amazon ECS tasks is affected. If | ||
| 55 | C<containerInstanceLongArnFormat> is specified, the ARN and resource ID | ||
| 56 | for your Amazon ECS container instances is affected. If | ||
| 57 | C<awsvpcTrunking> is specified, the elastic network interface (ENI) | ||
| 58 | limit for your Amazon ECS container instances is affected. If | ||
| 59 | C<containerInsights> is specified, the default setting for CloudWatch | ||
| 60 | Container Insights for your clusters is affected. | ||
| 61 | |||
| 62 | Valid values are: C<"serviceLongArnFormat">, C<"taskLongArnFormat">, C<"containerInstanceLongArnFormat">, C<"awsvpcTrunking">, C<"containerInsights"> | ||
| 63 | |||
| 64 | =head2 PrincipalArn => Str | ||
| 65 | |||
| 66 | The ARN of the principal, which can be an IAM user, IAM role, or the | ||
| 67 | root user. If you specify the root user, it modifies the account | ||
| 68 | setting for all IAM users, IAM roles, and the root user of the account | ||
| 69 | unless an IAM user or role explicitly overrides these settings. If this | ||
| 70 | field is omitted, the setting is changed only for the authenticated | ||
| 71 | user. | ||
| 72 | |||
| 73 | Federated users assume the account setting of the root user and can't | ||
| 74 | have explicit account settings set for them. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> Value => Str | ||
| 79 | |||
| 80 | The account setting value for the specified principal ARN. Accepted | ||
| 81 | values are C<enabled> and C<disabled>. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, documenting arguments for method PutAccountSetting in L<Paws::ECS> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |