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

Description

Update the properties of a repository.

Synopsis

Creating a Request

data UpdateRepository Source #

See: newUpdateRepository smart constructor.

Constructors

UpdateRepository' 

Fields

Instances

Instances details
Eq UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Read UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Show UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Generic UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Associated Types

type Rep UpdateRepository :: Type -> Type #

NFData UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Methods

rnf :: UpdateRepository -> () #

Hashable UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

ToJSON UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

AWSRequest UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Associated Types

type AWSResponse UpdateRepository #

ToHeaders UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

ToPath UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

ToQuery UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

type Rep UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

type Rep UpdateRepository = D1 ('MetaData "UpdateRepository" "Amazonka.CodeArtifact.UpdateRepository" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "UpdateRepository'" '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 "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

newUpdateRepository Source #

Create a value of UpdateRepository 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:UpdateRepository', updateRepository_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:UpdateRepository', updateRepository_domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.

$sel:description:UpdateRepository', updateRepository_description - An updated repository description.

$sel:domain:UpdateRepository', updateRepository_domain - The name of the domain associated with the repository to update.

$sel:repository:UpdateRepository', updateRepository_repository - The name of the repository to update.

Request Lenses

updateRepository_upstreams :: Lens' UpdateRepository (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.

updateRepository_domainOwner :: Lens' UpdateRepository (Maybe Text) Source #

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

updateRepository_description :: Lens' UpdateRepository (Maybe Text) Source #

An updated repository description.

updateRepository_domain :: Lens' UpdateRepository Text Source #

The name of the domain associated with the repository to update.

updateRepository_repository :: Lens' UpdateRepository Text Source #

The name of the repository to update.

Destructuring the Response

data UpdateRepositoryResponse Source #

See: newUpdateRepositoryResponse smart constructor.

Constructors

UpdateRepositoryResponse' 

Fields

Instances

Instances details
Eq UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Read UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Show UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Generic UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Associated Types

type Rep UpdateRepositoryResponse :: Type -> Type #

NFData UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

type Rep UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

type Rep UpdateRepositoryResponse = D1 ('MetaData "UpdateRepositoryResponse" "Amazonka.CodeArtifact.UpdateRepository" "libZSservicesZSamazonka-codeartifactZSamazonka-codeartifact" 'False) (C1 ('MetaCons "UpdateRepositoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateRepositoryResponse Source #

Create a value of UpdateRepositoryResponse 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:UpdateRepository', updateRepositoryResponse_repository - The updated repository.

$sel:httpStatus:UpdateRepositoryResponse', updateRepositoryResponse_httpStatus - The response's http status code.

Response Lenses