amazonka-codeartifact-2.0: Amazon CodeArtifact 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.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
ToJSON UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.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

AWSRequest UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Associated Types

type AWSResponse UpdateRepository #

Generic UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Associated Types

type Rep UpdateRepository :: Type -> Type #

Read UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Show UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

NFData UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Methods

rnf :: UpdateRepository -> () #

Eq UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Hashable UpdateRepository Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

type AWSResponse 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" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" 'False) (C1 ('MetaCons "UpdateRepository'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "upstreams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UpstreamRepository])) :*: (S1 ('MetaSel ('Just "domain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

UpdateRepository, updateRepository_description - An updated repository description.

UpdateRepository, updateRepository_domainOwner - The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

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 CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

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

UpdateRepository, updateRepository_repository - The name of the repository to update.

Request Lenses

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

An updated repository description.

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

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

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 CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.

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
Generic UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Associated Types

type Rep UpdateRepositoryResponse :: Type -> Type #

Read UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Show UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

NFData UpdateRepositoryResponse Source # 
Instance details

Defined in Amazonka.CodeArtifact.UpdateRepository

Eq 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" "amazonka-codeartifact-2.0-CskMABZQLQJDgej73fXQxp" '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:

UpdateRepository, updateRepositoryResponse_repository - The updated repository.

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

Response Lenses