1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDownloadUrlForLayer`](crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder::set_registry_id):<br>required: **false**<br><p>The Amazon Web Services account ID associated with the registry that contains the image layer to download. If you do not specify a registry, the default registry is assumed.</p><br>
    ///   - [`repository_name(impl Into<String>)`](crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository that is associated with the image layer to download.</p><br>
    ///   - [`layer_digest(impl Into<String>)`](crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder::layer_digest) / [`set_layer_digest(Option<String>)`](crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder::set_layer_digest):<br>required: **true**<br><p>The digest of the image layer to download.</p><br>
    /// - On success, responds with [`GetDownloadUrlForLayerOutput`](crate::operation::get_download_url_for_layer::GetDownloadUrlForLayerOutput) with field(s):
    ///   - [`download_url(Option<String>)`](crate::operation::get_download_url_for_layer::GetDownloadUrlForLayerOutput::download_url): <p>The pre-signed Amazon S3 download URL for the requested layer.</p>
    ///   - [`layer_digest(Option<String>)`](crate::operation::get_download_url_for_layer::GetDownloadUrlForLayerOutput::layer_digest): <p>The digest of the image layer to download.</p>
    /// - On failure, responds with [`SdkError<GetDownloadUrlForLayerError>`](crate::operation::get_download_url_for_layer::GetDownloadUrlForLayerError)
    pub fn get_download_url_for_layer(&self) -> crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder {
        crate::operation::get_download_url_for_layer::builders::GetDownloadUrlForLayerFluentBuilder::new(self.handle.clone())
    }
}