Struct aws_sdk_ecr::client::fluent_builders::BatchCheckLayerAvailability [−][src]
pub struct BatchCheckLayerAvailability<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to BatchCheckLayerAvailability.
Checks the availability of one or more image layers in a repository.
When an image is pushed to a repository, each image layer is checked to verify if it has been uploaded before. If it has been uploaded, then the image layer is skipped.
This operation is used by the Amazon ECR proxy and is not generally used by customers for pulling and pushing images. In most cases, you should use the docker CLI to pull, tag, and push images.
Implementations
impl<C, M, R> BatchCheckLayerAvailability<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchCheckLayerAvailability<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchCheckLayerAvailabilityOutput, SdkError<BatchCheckLayerAvailabilityError>> where
R::Policy: SmithyRetryPolicy<BatchCheckLayerAvailabilityInputOperationOutputAlias, BatchCheckLayerAvailabilityOutput, BatchCheckLayerAvailabilityError, BatchCheckLayerAvailabilityInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchCheckLayerAvailabilityOutput, SdkError<BatchCheckLayerAvailabilityError>> where
R::Policy: SmithyRetryPolicy<BatchCheckLayerAvailabilityInputOperationOutputAlias, BatchCheckLayerAvailabilityOutput, BatchCheckLayerAvailabilityError, BatchCheckLayerAvailabilityInputOperationRetryAlias>,
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.
The Amazon Web Services account ID associated with the registry that contains the image layers to check. 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 image layers to check. If you do not specify a registry, the default registry is assumed.
The name of the repository that is associated with the image layers to check.
The name of the repository that is associated with the image layers to check.
Appends an item to layerDigests.
To override the contents of this collection use set_layer_digests.
The digests of the image layers to check.
The digests of the image layers to check.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for BatchCheckLayerAvailability<C, M, R>
impl<C, M, R> Send for BatchCheckLayerAvailability<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchCheckLayerAvailability<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchCheckLayerAvailability<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for BatchCheckLayerAvailability<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
