pub struct PutRepositoryCatalogData { /* private fields */ }Expand description
Fluent builder constructing a request to PutRepositoryCatalogData.
Creates or updates the catalog data for a repository in a public registry.
Implementations§
source§impl PutRepositoryCatalogData
impl PutRepositoryCatalogData
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<PutRepositoryCatalogData, AwsResponseRetryClassifier>, SdkError<PutRepositoryCatalogDataError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<PutRepositoryCatalogData, AwsResponseRetryClassifier>, SdkError<PutRepositoryCatalogDataError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<PutRepositoryCatalogDataOutput, SdkError<PutRepositoryCatalogDataError>>
pub async fn send(
self
) -> Result<PutRepositoryCatalogDataOutput, SdkError<PutRepositoryCatalogDataError>>
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.
sourcepub fn registry_id(self, input: impl Into<String>) -> Self
pub fn registry_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID that's associated with the public registry the repository is in. If you do not specify a registry, the default public registry is assumed.
sourcepub fn set_registry_id(self, input: Option<String>) -> Self
pub fn set_registry_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID that's associated with the public registry the repository is in. If you do not specify a registry, the default public registry is assumed.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository to create or update the catalog data for.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository to create or update the catalog data for.
sourcepub fn catalog_data(self, input: RepositoryCatalogDataInput) -> Self
pub fn catalog_data(self, input: RepositoryCatalogDataInput) -> Self
An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
sourcepub fn set_catalog_data(self, input: Option<RepositoryCatalogDataInput>) -> Self
pub fn set_catalog_data(self, input: Option<RepositoryCatalogDataInput>) -> Self
An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
Trait Implementations§
source§impl Clone for PutRepositoryCatalogData
impl Clone for PutRepositoryCatalogData
source§fn clone(&self) -> PutRepositoryCatalogData
fn clone(&self) -> PutRepositoryCatalogData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more