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 |
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
- data UpdateRepositoryName = UpdateRepositoryName' {}
- newUpdateRepositoryName :: Text -> Text -> UpdateRepositoryName
- updateRepositoryName_oldName :: Lens' UpdateRepositoryName Text
- updateRepositoryName_newName :: Lens' UpdateRepositoryName Text
- data UpdateRepositoryNameResponse = UpdateRepositoryNameResponse' {
- newUpdateRepositoryNameResponse :: UpdateRepositoryNameResponse
Creating a Request
data UpdateRepositoryName Source #
Represents the input of an update repository description operation.
See: newUpdateRepositoryName
smart constructor.
Instances
newUpdateRepositoryName Source #
:: Text | |
-> Text | |
-> UpdateRepositoryName |
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.
updateRepositoryName_newName :: Lens' UpdateRepositoryName Text Source #
The new name for the repository.
Destructuring the Response
data UpdateRepositoryNameResponse Source #
See: newUpdateRepositoryNameResponse
smart constructor.
Instances
newUpdateRepositoryNameResponse :: UpdateRepositoryNameResponse Source #
Create a value of UpdateRepositoryNameResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.