Struct aws_sdk_ecr::client::fluent_builders::GetLifecyclePolicyPreview [−][src]
pub struct GetLifecyclePolicyPreview<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to GetLifecyclePolicyPreview.
Retrieves the results of the lifecycle policy preview request for the specified repository.
Implementations
impl<C, M, R> GetLifecyclePolicyPreview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetLifecyclePolicyPreview<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetLifecyclePolicyPreviewOutput, SdkError<GetLifecyclePolicyPreviewError>> where
R::Policy: SmithyRetryPolicy<GetLifecyclePolicyPreviewInputOperationOutputAlias, GetLifecyclePolicyPreviewOutput, GetLifecyclePolicyPreviewError, GetLifecyclePolicyPreviewInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetLifecyclePolicyPreviewOutput, SdkError<GetLifecyclePolicyPreviewError>> where
R::Policy: SmithyRetryPolicy<GetLifecyclePolicyPreviewInputOperationOutputAlias, GetLifecyclePolicyPreviewOutput, GetLifecyclePolicyPreviewError, GetLifecyclePolicyPreviewInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
The name of the repository.
The name of the repository.
Appends an item to imageIds.
To override the contents of this collection use set_image_ids.
The list of imageIDs to be included.
The list of imageIDs to be included.
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.
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.
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.
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.
An optional parameter that filters results based on image tag status and all tags, if tagged.
An optional parameter that filters results based on image tag status and all tags, if tagged.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetLifecyclePolicyPreview<C, M, R>
impl<C, M, R> Send for GetLifecyclePolicyPreview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetLifecyclePolicyPreview<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetLifecyclePolicyPreview<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetLifecyclePolicyPreview<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
