amazonka-codecommit-2.0: Amazon CodeCommit 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.CodeCommit.UpdateRepositoryName

Description

Renames a repository. The repository name must be unique across the calling AWS account. Repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. The suffix .git is prohibited. For more information about the limits on repository names, see Limits in the AWS CodeCommit User Guide.

Synopsis

Creating a Request

data UpdateRepositoryName Source #

Represents the input of an update repository description operation.

See: newUpdateRepositoryName smart constructor.

Constructors

UpdateRepositoryName' 

Fields

Instances

Instances details
ToJSON UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

ToHeaders UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

ToPath UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

ToQuery UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

AWSRequest UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Associated Types

type AWSResponse UpdateRepositoryName #

Generic UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Associated Types

type Rep UpdateRepositoryName :: Type -> Type #

Read UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Show UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

NFData UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Methods

rnf :: UpdateRepositoryName -> () #

Eq UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Hashable UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

type AWSResponse UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

type Rep UpdateRepositoryName Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

type Rep UpdateRepositoryName = D1 ('MetaData "UpdateRepositoryName" "Amazonka.CodeCommit.UpdateRepositoryName" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "UpdateRepositoryName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "oldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "newName'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateRepositoryName Source #

Create a value of UpdateRepositoryName 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:oldName:UpdateRepositoryName', updateRepositoryName_oldName - The current name of the repository.

$sel:newName':UpdateRepositoryName', updateRepositoryName_newName - The new name for the repository.

Request Lenses

updateRepositoryName_oldName :: Lens' UpdateRepositoryName Text Source #

The current name of the repository.

Destructuring the Response

data UpdateRepositoryNameResponse Source #

See: newUpdateRepositoryNameResponse smart constructor.

Instances

Instances details
Generic UpdateRepositoryNameResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Associated Types

type Rep UpdateRepositoryNameResponse :: Type -> Type #

Read UpdateRepositoryNameResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Show UpdateRepositoryNameResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

NFData UpdateRepositoryNameResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

Eq UpdateRepositoryNameResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

type Rep UpdateRepositoryNameResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryName

type Rep UpdateRepositoryNameResponse = D1 ('MetaData "UpdateRepositoryNameResponse" "Amazonka.CodeCommit.UpdateRepositoryName" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "UpdateRepositoryNameResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateRepositoryNameResponse :: UpdateRepositoryNameResponse Source #

Create a value of UpdateRepositoryNameResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.