aws_sdk_ecrpublic/client/get_repository_catalog_data.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 [`GetRepositoryCatalogData`](crate::operation::get_repository_catalog_data::builders::GetRepositoryCatalogDataFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`registry_id(impl Into<String>)`](crate::operation::get_repository_catalog_data::builders::GetRepositoryCatalogDataFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::get_repository_catalog_data::builders::GetRepositoryCatalogDataFluentBuilder::set_registry_id):<br>required: **false**<br><p>The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.</p><br>
7 /// - [`repository_name(impl Into<String>)`](crate::operation::get_repository_catalog_data::builders::GetRepositoryCatalogDataFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::get_repository_catalog_data::builders::GetRepositoryCatalogDataFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository to retrieve the catalog metadata for.</p><br>
8 /// - On success, responds with [`GetRepositoryCatalogDataOutput`](crate::operation::get_repository_catalog_data::GetRepositoryCatalogDataOutput) with field(s):
9 /// - [`catalog_data(Option<RepositoryCatalogData>)`](crate::operation::get_repository_catalog_data::GetRepositoryCatalogDataOutput::catalog_data): <p>The catalog metadata for the repository.</p>
10 /// - On failure, responds with [`SdkError<GetRepositoryCatalogDataError>`](crate::operation::get_repository_catalog_data::GetRepositoryCatalogDataError)
11 pub fn get_repository_catalog_data(&self) -> crate::operation::get_repository_catalog_data::builders::GetRepositoryCatalogDataFluentBuilder {
12 crate::operation::get_repository_catalog_data::builders::GetRepositoryCatalogDataFluentBuilder::new(self.handle.clone())
13 }
14}