libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeArtifact.CreateRepository

Description

Creates a repository.

Synopsis

Creating a Request

data CreateRepository Source #

See: newCreateRepository smart constructor.

Constructors

CreateRepository' 

Fields

Instances

Instances details
Eq CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Read CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Show CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Generic CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Associated Types

type Rep CreateRepository :: Type -> Type #

NFData CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Methods

rnf :: CreateRepository -> () #

Hashable CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

ToJSON CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

AWSRequest CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Associated Types

type AWSResponse CreateRepository #

ToHeaders CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

ToPath CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

ToQuery CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

type Rep CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

type Rep CreateRepository = D1 ('MetaData "CreateRepository" "Amazonka.CodeArtifact.CreateRepository" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "CreateRepository'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "upstreams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UpstreamRepository])) :*: (S1 ('MetaSel ('Just "domainOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

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:

$sel:upstreams:CreateRepository', createRepository_upstreams - A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

$sel:domainOwner:CreateRepository', createRepository_domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

$sel:description:CreateRepository', createRepository_description - A description of the created repository.

$sel:tags:CreateRepository', createRepository_tags - One or more tag key-value pairs for the repository.

$sel:domain:CreateRepository', createRepository_domain - The name of the domain that contains the created repository.

$sel:repository:CreateRepository', createRepository_repository - The name of the repository to create.

Request Lenses

createRepository_upstreams :: Lens' CreateRepository (Maybe [UpstreamRepository]) Source #

A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

createRepository_domainOwner :: Lens' CreateRepository (Maybe Text) Source #

The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

createRepository_description :: Lens' CreateRepository (Maybe Text) Source #

A description of the created repository.

createRepository_tags :: Lens' CreateRepository (Maybe [Tag]) Source #

One or more tag key-value pairs for the repository.

createRepository_domain :: Lens' CreateRepository Text Source #

The name of the domain that contains the created repository.

createRepository_repository :: Lens' CreateRepository Text Source #

The name of the repository to create.

Destructuring the Response

data CreateRepositoryResponse Source #

See: newCreateRepositoryResponse smart constructor.

Constructors

CreateRepositoryResponse' 

Fields

Instances

Instances details
Eq CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Read CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Show CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Generic CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

Associated Types

type Rep CreateRepositoryResponse :: Type -> Type #

NFData CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

type Rep CreateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.CreateRepository

type Rep CreateRepositoryResponse = D1 ('MetaData "CreateRepositoryResponse" "Amazonka.CodeArtifact.CreateRepository" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "CreateRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryDescription)) :*: 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:

$sel:repository:CreateRepository', createRepositoryResponse_repository - Information about the created repository after processing the request.

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

Response Lenses

createRepositoryResponse_repository :: Lens' CreateRepositoryResponse (Maybe RepositoryDescription) Source #

Information about the created repository after processing the request.