The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Paws::Macie2::DescribeBuckets - Arguments for method DescribeBuckets on Paws::Macie2

DESCRIPTION

This class represents the parameters used for calling the method DescribeBuckets on the Amazon Macie 2 service. Use the attributes of this class as arguments to method DescribeBuckets.

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

SYNOPSIS

my $macie2 = Paws->service('Macie2');
my $DescribeBucketsResponse = $macie2->DescribeBuckets(
Criteria => {
'My__string' => {
Eq => [ 'My__string', ... ], # OPTIONAL
Gt => 1, # OPTIONAL
Gte => 1, # OPTIONAL
Lt => 1, # OPTIONAL
Lte => 1, # OPTIONAL
Neq => [ 'My__string', ... ], # OPTIONAL
Prefix => 'My__string',
},
}, # OPTIONAL
MaxResults => 1, # OPTIONAL
NextToken => 'My__string', # OPTIONAL
SortCriteria => {
AttributeName => 'My__string',
OrderBy => 'ASC', # values: ASC, DESC; OPTIONAL
}, # OPTIONAL
);
# Results:
my $Buckets = $DescribeBucketsResponse->Buckets;
my $NextToken = $DescribeBucketsResponse->NextToken;
# Returns a L<Paws::Macie2::DescribeBucketsResponse> 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/macie2/DescribeBuckets

ATTRIBUTES

Criteria => Paws::Macie2::BucketCriteria

The criteria to use to filter the query results.

MaxResults => Int

The maximum number of items to include in each page of the response. The default value is 50.

NextToken => Str

The nextToken string that specifies which page of results to return in a paginated response.

SortCriteria => Paws::Macie2::BucketSortCriteria

The criteria to use to sort the query results.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeBuckets in Paws::Macie2

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