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 |
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.
PutRepositoryCatalogData' | |
|
Instances
newPutRepositoryCatalogData Source #
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.
PutRepositoryCatalogDataResponse' | |
|
Instances
Eq PutRepositoryCatalogDataResponse Source # | |
Read PutRepositoryCatalogDataResponse Source # | |
Show PutRepositoryCatalogDataResponse Source # | |
Generic PutRepositoryCatalogDataResponse Source # | |
NFData PutRepositoryCatalogDataResponse Source # | |
Defined in Amazonka.ECRPublic.PutRepositoryCatalogData rnf :: PutRepositoryCatalogDataResponse -> () # | |
type Rep PutRepositoryCatalogDataResponse Source # | |
Defined in Amazonka.ECRPublic.PutRepositoryCatalogData type Rep PutRepositoryCatalogDataResponse = D1 ('MetaData "PutRepositoryCatalogDataResponse" "Amazonka.ECRPublic.PutRepositoryCatalogData" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "PutRepositoryCatalogDataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryCatalogData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.