libZSservicesZSamazonka-codecommitZSamazonka-codecommit
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.CodeCommit.UpdateRepositoryDescription

Description

Sets or changes the comment or description for a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

Synopsis

Creating a Request

data UpdateRepositoryDescription Source #

Represents the input of an update repository description operation.

See: newUpdateRepositoryDescription smart constructor.

Constructors

UpdateRepositoryDescription' 

Fields

  • repositoryDescription :: Maybe Text

    The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

  • repositoryName :: Text

    The name of the repository to set or change the comment or description for.

Instances

Instances details
Eq UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Read UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Show UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Generic UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Associated Types

type Rep UpdateRepositoryDescription :: Type -> Type #

NFData UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Hashable UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

ToJSON UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

AWSRequest UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

ToHeaders UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

ToPath UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

ToQuery UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

type Rep UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

type Rep UpdateRepositoryDescription = D1 ('MetaData "UpdateRepositoryDescription" "Amazonka.CodeCommit.UpdateRepositoryDescription" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "UpdateRepositoryDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateRepositoryDescription Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

newUpdateRepositoryDescription Source #

Create a value of UpdateRepositoryDescription 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:repositoryDescription:UpdateRepositoryDescription', updateRepositoryDescription_repositoryDescription - The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

$sel:repositoryName:UpdateRepositoryDescription', updateRepositoryDescription_repositoryName - The name of the repository to set or change the comment or description for.

Request Lenses

updateRepositoryDescription_repositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text) Source #

The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

updateRepositoryDescription_repositoryName :: Lens' UpdateRepositoryDescription Text Source #

The name of the repository to set or change the comment or description for.

Destructuring the Response

data UpdateRepositoryDescriptionResponse Source #

Instances

Instances details
Eq UpdateRepositoryDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Read UpdateRepositoryDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Show UpdateRepositoryDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

Generic UpdateRepositoryDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

NFData UpdateRepositoryDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

type Rep UpdateRepositoryDescriptionResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.UpdateRepositoryDescription

type Rep UpdateRepositoryDescriptionResponse = D1 ('MetaData "UpdateRepositoryDescriptionResponse" "Amazonka.CodeCommit.UpdateRepositoryDescription" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "UpdateRepositoryDescriptionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateRepositoryDescriptionResponse :: UpdateRepositoryDescriptionResponse Source #

Create a value of UpdateRepositoryDescriptionResponse with all optional fields omitted.

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