aws_sdk_ecr/client/
batch_check_layer_availability.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`BatchCheckLayerAvailability`](crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`registry_id(impl Into<String>)`](crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder::set_registry_id):<br>required: **false**<br><p>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.</p><br>
7    ///   - [`repository_name(impl Into<String>)`](crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository that is associated with the image layers to check.</p><br>
8    ///   - [`layer_digests(impl Into<String>)`](crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder::layer_digests) / [`set_layer_digests(Option<Vec::<String>>)`](crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder::set_layer_digests):<br>required: **true**<br><p>The digests of the image layers to check.</p><br>
9    /// - On success, responds with [`BatchCheckLayerAvailabilityOutput`](crate::operation::batch_check_layer_availability::BatchCheckLayerAvailabilityOutput) with field(s):
10    ///   - [`layers(Option<Vec::<Layer>>)`](crate::operation::batch_check_layer_availability::BatchCheckLayerAvailabilityOutput::layers): <p>A list of image layer objects corresponding to the image layer references in the request.</p>
11    ///   - [`failures(Option<Vec::<LayerFailure>>)`](crate::operation::batch_check_layer_availability::BatchCheckLayerAvailabilityOutput::failures): <p>Any failures associated with the call.</p>
12    /// - On failure, responds with [`SdkError<BatchCheckLayerAvailabilityError>`](crate::operation::batch_check_layer_availability::BatchCheckLayerAvailabilityError)
13    pub fn batch_check_layer_availability(
14        &self,
15    ) -> crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder {
16        crate::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityFluentBuilder::new(self.handle.clone())
17    }
18}