amazonka-ecr-public-2.0: Amazon Elastic Container Registry Public SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECRPublic.CreateRepository

Description

Creates a repository in a public registry. For more information, see Amazon ECR repositories in the Amazon Elastic Container Registry User Guide.

Synopsis

Creating a Request

data CreateRepository Source #

See: newCreateRepository smart constructor.

Constructors

CreateRepository' 

Fields

  • catalogData :: Maybe RepositoryCatalogDataInput

    The details about the repository that are publicly visible in the Amazon ECR Public Gallery.

  • tags :: Maybe [Tag]

    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.

  • repositoryName :: Text

    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).

Instances

Instances details
ToJSON CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

ToHeaders CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

ToPath CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

ToQuery CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

AWSRequest CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Associated Types

type AWSResponse CreateRepository #

Generic CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Associated Types

type Rep CreateRepository :: Type -> Type #

Read CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Show CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

NFData CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Methods

rnf :: CreateRepository -> () #

Eq CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Hashable CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

type AWSResponse CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

type Rep CreateRepository Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

type Rep CreateRepository = D1 ('MetaData "CreateRepository" "Amazonka.ECRPublic.CreateRepository" "amazonka-ecr-public-2.0-37SU5CHdiHw3VhMeSkOlop" 'False) (C1 ('MetaCons "CreateRepository'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryCatalogDataInput)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateRepository Source #

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:

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.

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.

Constructors

CreateRepositoryResponse' 

Fields

Instances

Instances details
Generic CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Associated Types

type Rep CreateRepositoryResponse :: Type -> Type #

Read CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Show CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

NFData CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

Eq CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

type Rep CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.ECRPublic.CreateRepository

type Rep CreateRepositoryResponse = D1 ('MetaData "CreateRepositoryResponse" "Amazonka.ECRPublic.CreateRepository" "amazonka-ecr-public-2.0-37SU5CHdiHw3VhMeSkOlop" 'False) (C1 ('MetaCons "CreateRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "catalogData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryCatalogData)) :*: (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Repository)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:

CreateRepository, createRepositoryResponse_catalogData - Undocumented member.

$sel:repository:CreateRepositoryResponse', createRepositoryResponse_repository - The repository that was created.

$sel:httpStatus:CreateRepositoryResponse', createRepositoryResponse_httpStatus - The response's http status code.

Response Lenses