Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data UpdateRepositoryDescription = UpdateRepositoryDescription' {}
- newUpdateRepositoryDescription :: Text -> UpdateRepositoryDescription
- updateRepositoryDescription_repositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text)
- updateRepositoryDescription_repositoryName :: Lens' UpdateRepositoryDescription Text
- data UpdateRepositoryDescriptionResponse = UpdateRepositoryDescriptionResponse' {
- newUpdateRepositoryDescriptionResponse :: UpdateRepositoryDescriptionResponse
Creating a Request
data UpdateRepositoryDescription Source #
Represents the input of an update repository description operation.
See: newUpdateRepositoryDescription
smart constructor.
UpdateRepositoryDescription' | |
|
Instances
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 #
See: newUpdateRepositoryDescriptionResponse
smart constructor.
Instances
Eq UpdateRepositoryDescriptionResponse Source # | |
Read UpdateRepositoryDescriptionResponse Source # | |
Show UpdateRepositoryDescriptionResponse Source # | |
Generic UpdateRepositoryDescriptionResponse Source # | |
Defined in Amazonka.CodeCommit.UpdateRepositoryDescription type Rep UpdateRepositoryDescriptionResponse :: Type -> Type # | |
NFData UpdateRepositoryDescriptionResponse Source # | |
Defined in Amazonka.CodeCommit.UpdateRepositoryDescription rnf :: UpdateRepositoryDescriptionResponse -> () # | |
type Rep UpdateRepositoryDescriptionResponse Source # | |
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.