put_repository_catalog_data
async
¶
put_repository_catalog_data(
repository_name: RepositoryName,
catalog_data: RepositoryCatalogDataInput,
*,
config_overrides: Optional[AsyncECRPUBLICClientConfig] = None,
registry_id: Optional[RegistryId] = None,
) -> PutRepositoryCatalogDataResponse
Creates or updates the catalog data for a repository in a public registry.
Parameters:
-
registry_id(Optional[RegistryId], default:None) –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.
-
repository_name(RepositoryName) –The name of the repository to create or update the catalog data for.
-
catalog_data(RepositoryCatalogDataInput) –An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
Raises:
-
InvalidParameterException–The specified parameter is invalid. Review the available parameters for the API request.
-
RepositoryNotFoundException–The specified repository can't be found. Check the spelling of the specified repository and ensure that you're performing operations on the correct registry.
-
ServerException–These errors are usually caused by a server-side issue.
-
UnsupportedCommandException–The action isn't supported in this Region.
-
UnknownServiceError–The service returned an error code this client does not model.