| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.ECRPublic.PutRepositoryCatalogData
Description
Creates or updates the catalog data for a repository in a public registry.
Synopsis
- data PutRepositoryCatalogData = PutRepositoryCatalogData' {}
- newPutRepositoryCatalogData :: Text -> RepositoryCatalogDataInput -> PutRepositoryCatalogData
- putRepositoryCatalogData_registryId :: Lens' PutRepositoryCatalogData (Maybe Text)
- putRepositoryCatalogData_repositoryName :: Lens' PutRepositoryCatalogData Text
- putRepositoryCatalogData_catalogData :: Lens' PutRepositoryCatalogData RepositoryCatalogDataInput
- data PutRepositoryCatalogDataResponse = PutRepositoryCatalogDataResponse' {}
- newPutRepositoryCatalogDataResponse :: Int -> PutRepositoryCatalogDataResponse
- putRepositoryCatalogDataResponse_catalogData :: Lens' PutRepositoryCatalogDataResponse (Maybe RepositoryCatalogData)
- putRepositoryCatalogDataResponse_httpStatus :: Lens' PutRepositoryCatalogDataResponse Int
Creating a Request
data PutRepositoryCatalogData Source #
See: newPutRepositoryCatalogData smart constructor.
Constructors
| PutRepositoryCatalogData' | |
Fields
| |
Instances
newPutRepositoryCatalogData Source #
Arguments
| :: Text | |
| -> RepositoryCatalogDataInput | |
| -> PutRepositoryCatalogData |
Create a value of PutRepositoryCatalogData with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:registryId:PutRepositoryCatalogData', putRepositoryCatalogData_registryId - The AWS account ID associated with the public registry the repository is
in. If you do not specify a registry, the default public registry is
assumed.
$sel:repositoryName:PutRepositoryCatalogData', putRepositoryCatalogData_repositoryName - The name of the repository to create or update the catalog data for.
$sel:catalogData:PutRepositoryCatalogData', putRepositoryCatalogData_catalogData - An object containing the catalog data for a repository. This data is
publicly visible in the Amazon ECR Public Gallery.
Request Lenses
putRepositoryCatalogData_registryId :: Lens' PutRepositoryCatalogData (Maybe Text) Source #
The AWS account ID associated with the public registry the repository is in. If you do not specify a registry, the default public registry is assumed.
putRepositoryCatalogData_repositoryName :: Lens' PutRepositoryCatalogData Text Source #
The name of the repository to create or update the catalog data for.
putRepositoryCatalogData_catalogData :: Lens' PutRepositoryCatalogData RepositoryCatalogDataInput Source #
An object containing the catalog data for a repository. This data is publicly visible in the Amazon ECR Public Gallery.
Destructuring the Response
data PutRepositoryCatalogDataResponse Source #
See: newPutRepositoryCatalogDataResponse smart constructor.
Constructors
| PutRepositoryCatalogDataResponse' | |
Fields
| |
Instances
newPutRepositoryCatalogDataResponse Source #
Create a value of PutRepositoryCatalogDataResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:catalogData:PutRepositoryCatalogData', putRepositoryCatalogDataResponse_catalogData - The catalog data for the repository.
$sel:httpStatus:PutRepositoryCatalogDataResponse', putRepositoryCatalogDataResponse_httpStatus - The response's http status code.
Response Lenses
putRepositoryCatalogDataResponse_catalogData :: Lens' PutRepositoryCatalogDataResponse (Maybe RepositoryCatalogData) Source #
The catalog data for the repository.
putRepositoryCatalogDataResponse_httpStatus :: Lens' PutRepositoryCatalogDataResponse Int Source #
The response's http status code.