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 a repository in a public registry. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide.
Synopsis
- data CreateRepository = CreateRepository' {}
- newCreateRepository :: Text -> CreateRepository
- createRepository_catalogData :: Lens' CreateRepository (Maybe RepositoryCatalogDataInput)
- createRepository_tags :: Lens' CreateRepository (Maybe [Tag])
- createRepository_repositoryName :: Lens' CreateRepository Text
- data CreateRepositoryResponse = CreateRepositoryResponse' {}
- newCreateRepositoryResponse :: Int -> CreateRepositoryResponse
- createRepositoryResponse_repository :: Lens' CreateRepositoryResponse (Maybe Repository)
- createRepositoryResponse_catalogData :: Lens' CreateRepositoryResponse (Maybe RepositoryCatalogData)
- createRepositoryResponse_httpStatus :: Lens' CreateRepositoryResponse Int
Creating a Request
data CreateRepository Source #
See: newCreateRepository
smart constructor.
CreateRepository' | |
|
Instances
Create a value of CreateRepository
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:CreateRepository'
, createRepository_catalogData
- The details about the repository that are publicly visible in the Amazon
ECR Public Gallery.
$sel:tags:CreateRepository'
, createRepository_tags
- The metadata that you apply to the repository to help you categorize and
organize them. Each tag consists of a key and an optional value, both of
which you define. Tag keys can have a maximum character length of 128
characters, and tag values can have a maximum length of 256 characters.
$sel:repositoryName:CreateRepository'
, createRepository_repositoryName
- The name to use for the repository. This appears publicly in the Amazon
ECR Public Gallery. The repository name may be specified on its own
(such as nginx-web-app
) or it can be prepended with a namespace to
group the repository into a category (such as
project-a/nginx-web-app
).
Request Lenses
createRepository_catalogData :: Lens' CreateRepository (Maybe RepositoryCatalogDataInput) Source #
The details about the repository that are publicly visible in the Amazon ECR Public Gallery.
createRepository_tags :: Lens' CreateRepository (Maybe [Tag]) Source #
The metadata that you apply to the repository to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
createRepository_repositoryName :: Lens' CreateRepository Text Source #
The name to use for the repository. This appears publicly in the Amazon
ECR Public Gallery. The repository name may be specified on its own
(such as nginx-web-app
) or it can be prepended with a namespace to
group the repository into a category (such as
project-a/nginx-web-app
).
Destructuring the Response
data CreateRepositoryResponse Source #
See: newCreateRepositoryResponse
smart constructor.
CreateRepositoryResponse' | |
|
Instances
newCreateRepositoryResponse Source #
Create a value of CreateRepositoryResponse
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:repository:CreateRepositoryResponse'
, createRepositoryResponse_repository
- The repository that was created.
$sel:catalogData:CreateRepository'
, createRepositoryResponse_catalogData
- Undocumented member.
$sel:httpStatus:CreateRepositoryResponse'
, createRepositoryResponse_httpStatus
- The response's http status code.
Response Lenses
createRepositoryResponse_repository :: Lens' CreateRepositoryResponse (Maybe Repository) Source #
The repository that was created.
createRepositoryResponse_catalogData :: Lens' CreateRepositoryResponse (Maybe RepositoryCatalogData) Source #
Undocumented member.
createRepositoryResponse_httpStatus :: Lens' CreateRepositoryResponse Int Source #
The response's http status code.