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 |
Retrieve catalog metadata for a repository in a public registry. This metadata is displayed publicly in the Amazon ECR Public Gallery.
Synopsis
- data GetRepositoryCatalogData = GetRepositoryCatalogData' {}
- newGetRepositoryCatalogData :: Text -> GetRepositoryCatalogData
- getRepositoryCatalogData_registryId :: Lens' GetRepositoryCatalogData (Maybe Text)
- getRepositoryCatalogData_repositoryName :: Lens' GetRepositoryCatalogData Text
- data GetRepositoryCatalogDataResponse = GetRepositoryCatalogDataResponse' {}
- newGetRepositoryCatalogDataResponse :: Int -> GetRepositoryCatalogDataResponse
- getRepositoryCatalogDataResponse_catalogData :: Lens' GetRepositoryCatalogDataResponse (Maybe RepositoryCatalogData)
- getRepositoryCatalogDataResponse_httpStatus :: Lens' GetRepositoryCatalogDataResponse Int
Creating a Request
data GetRepositoryCatalogData Source #
See: newGetRepositoryCatalogData
smart constructor.
GetRepositoryCatalogData' | |
|
Instances
newGetRepositoryCatalogData Source #
Create a value of GetRepositoryCatalogData
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:GetRepositoryCatalogData'
, getRepositoryCatalogData_registryId
- The AWS account ID associated with the registry that contains the
repositories to be described. If you do not specify a registry, the
default public registry is assumed.
$sel:repositoryName:GetRepositoryCatalogData'
, getRepositoryCatalogData_repositoryName
- The name of the repository to retrieve the catalog metadata for.
Request Lenses
getRepositoryCatalogData_registryId :: Lens' GetRepositoryCatalogData (Maybe Text) Source #
The AWS account ID associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.
getRepositoryCatalogData_repositoryName :: Lens' GetRepositoryCatalogData Text Source #
The name of the repository to retrieve the catalog metadata for.
Destructuring the Response
data GetRepositoryCatalogDataResponse Source #
See: newGetRepositoryCatalogDataResponse
smart constructor.
GetRepositoryCatalogDataResponse' | |
|
Instances
Eq GetRepositoryCatalogDataResponse Source # | |
Read GetRepositoryCatalogDataResponse Source # | |
Show GetRepositoryCatalogDataResponse Source # | |
Generic GetRepositoryCatalogDataResponse Source # | |
NFData GetRepositoryCatalogDataResponse Source # | |
Defined in Amazonka.ECRPublic.GetRepositoryCatalogData rnf :: GetRepositoryCatalogDataResponse -> () # | |
type Rep GetRepositoryCatalogDataResponse Source # | |
Defined in Amazonka.ECRPublic.GetRepositoryCatalogData type Rep GetRepositoryCatalogDataResponse = D1 ('MetaData "GetRepositoryCatalogDataResponse" "Amazonka.ECRPublic.GetRepositoryCatalogData" "libZSservicesZSamazonka-ecr-publicZSamazonka-ecr-public" 'False) (C1 ('MetaCons "GetRepositoryCatalogDataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryCatalogData)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetRepositoryCatalogDataResponse Source #
Create a value of GetRepositoryCatalogDataResponse
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:GetRepositoryCatalogDataResponse'
, getRepositoryCatalogDataResponse_catalogData
- The catalog metadata for the repository.
$sel:httpStatus:GetRepositoryCatalogDataResponse'
, getRepositoryCatalogDataResponse_httpStatus
- The response's http status code.
Response Lenses
getRepositoryCatalogDataResponse_catalogData :: Lens' GetRepositoryCatalogDataResponse (Maybe RepositoryCatalogData) Source #
The catalog metadata for the repository.
getRepositoryCatalogDataResponse_httpStatus :: Lens' GetRepositoryCatalogDataResponse Int Source #
The response's http status code.