NAME
Paws::ECR::GetLifecyclePolicyPreview - Arguments for method GetLifecyclePolicyPreview on Paws::ECR
DESCRIPTION
This class represents the parameters used for calling the method GetLifecyclePolicyPreview on the Amazon EC2 Container Registry service. Use the attributes of this class as arguments to method GetLifecyclePolicyPreview.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetLifecyclePolicyPreview.
SYNOPSIS
my $api.ecr = Paws->service('ECR');
my $GetLifecyclePolicyPreviewResponse =
$api . ecr->GetLifecyclePolicyPreview(
RepositoryName => 'MyRepositoryName',
Filter => {
TagStatus => 'TAGGED', # values: TAGGED, UNTAGGED, ANY; OPTIONAL
}, # OPTIONAL
ImageIds => [
{
ImageDigest => 'MyImageDigest', # OPTIONAL
ImageTag => 'MyImageTag', # min: 1, max: 300; OPTIONAL
},
...
], # OPTIONAL
MaxResults => 1, # OPTIONAL
NextToken => 'MyNextToken', # OPTIONAL
RegistryId => 'MyRegistryId', # OPTIONAL
);
# Results:
my $LifecyclePolicyText =
$GetLifecyclePolicyPreviewResponse->LifecyclePolicyText;
my $NextToken = $GetLifecyclePolicyPreviewResponse->NextToken;
my $PreviewResults = $GetLifecyclePolicyPreviewResponse->PreviewResults;
my $RegistryId = $GetLifecyclePolicyPreviewResponse->RegistryId;
my $RepositoryName = $GetLifecyclePolicyPreviewResponse->RepositoryName;
my $Status = $GetLifecyclePolicyPreviewResponse->Status;
my $Summary = $GetLifecyclePolicyPreviewResponse->Summary;
# Returns a L<Paws::ECR::GetLifecyclePolicyPreviewResponse> 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/api.ecr/GetLifecyclePolicyPreview
ATTRIBUTES
Filter => Paws::ECR::LifecyclePolicyPreviewFilter
An optional parameter that filters results based on image tag status and all tags, if tagged.
ImageIds => ArrayRef[Paws::ECR::ImageIdentifier]
The list of imageIDs to be included.
MaxResults => Int
The maximum number of repository results returned by GetLifecyclePolicyPreviewRequest
in paginated output. When this parameter is used, GetLifecyclePolicyPreviewRequest
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 GetLifecyclePolicyPreviewRequest
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter is not used, then GetLifecyclePolicyPreviewRequest
returns up to 100 results and a nextToken
value, if applicable. This option cannot be used when you specify images with imageIds
.
NextToken => Str
The nextToken
value returned from a previous paginated GetLifecyclePolicyPreviewRequest
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null
when there are no more results to return. This option cannot be used when you specify images with imageIds
.
RegistryId => Str
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
REQUIRED RepositoryName => Str
The name of the repository.
SEE ALSO
This class forms part of Paws, documenting arguments for method GetLifecyclePolicyPreview in Paws::ECR
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