The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ECS::ListAccountSettings - Arguments for method ListAccountSettings on Paws::ECS

DESCRIPTION

This class represents the parameters used for calling the method ListAccountSettings on the Amazon EC2 Container Service service. Use the attributes of this class as arguments to method ListAccountSettings.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAccountSettings.

SYNOPSIS

my $ecs = Paws->service('ECS');
my $ListAccountSettingsResponse = $ecs->ListAccountSettings(
  EffectiveSettings => 1,                         # OPTIONAL
  MaxResults        => 1,                         # OPTIONAL
  Name              => 'serviceLongArnFormat',    # OPTIONAL
  NextToken         => 'MyString',                # OPTIONAL
  PrincipalArn      => 'MyString',                # OPTIONAL
  Value             => 'MyString',                # OPTIONAL
);

# Results:
my $NextToken = $ListAccountSettingsResponse->NextToken;
my $Settings  = $ListAccountSettingsResponse->Settings;

# Returns a L<Paws::ECS::ListAccountSettingsResponse> object.

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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ecs/ListAccountSettings

ATTRIBUTES

EffectiveSettings => Bool

Specifies whether to return the effective settings. If true, the account settings for the root user or the default setting for the principalArn are returned. If false, the account settings for the principalArn are returned if they are set. Otherwise, no account settings are returned.

MaxResults => Int

The maximum number of account setting results returned by ListAccountSettings in paginated output. When this parameter is used, ListAccountSettings only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListAccountSettings request with the returned nextToken value. This value can be between 1 and 10. If this parameter is not used, then ListAccountSettings returns up to 10 results and a nextToken value if applicable.

Name => Str

The name of the account setting you want to list the settings for.

Valid values are: "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights"

NextToken => Str

The nextToken value returned from a ListAccountSettings request indicating that more results are available to fulfill the request and further calls will be needed. If maxResults was provided, it is possible the number of results to be fewer than maxResults.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

PrincipalArn => Str

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the account settings are listed only for the authenticated user.

Federated users assume the account setting of the root user and can't have explicit account settings set for them.

Value => Str

The value of the account settings with which to filter results. You must also specify an account setting name to use this parameter.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListAccountSettings in Paws::ECS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues