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 |
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
- 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.
Constructors
UpdateRepositoryName' | |
Instances
newUpdateRepositoryName Source #
Arguments
:: 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.
Constructors
UpdateRepositoryNameResponse' | |
Instances
Eq UpdateRepositoryNameResponse Source # | |
Defined in Amazonka.CodeCommit.UpdateRepositoryName Methods (==) :: UpdateRepositoryNameResponse -> UpdateRepositoryNameResponse -> Bool # (/=) :: UpdateRepositoryNameResponse -> UpdateRepositoryNameResponse -> Bool # | |
Read UpdateRepositoryNameResponse Source # | |
Show UpdateRepositoryNameResponse Source # | |
Defined in Amazonka.CodeCommit.UpdateRepositoryName Methods showsPrec :: Int -> UpdateRepositoryNameResponse -> ShowS # show :: UpdateRepositoryNameResponse -> String # showList :: [UpdateRepositoryNameResponse] -> ShowS # | |
Generic UpdateRepositoryNameResponse Source # | |
Defined in Amazonka.CodeCommit.UpdateRepositoryName Associated Types type Rep UpdateRepositoryNameResponse :: Type -> Type # | |
NFData UpdateRepositoryNameResponse Source # | |
Defined in Amazonka.CodeCommit.UpdateRepositoryName Methods rnf :: UpdateRepositoryNameResponse -> () # | |
type Rep UpdateRepositoryNameResponse Source # | |
Defined in Amazonka.CodeCommit.UpdateRepositoryName |
newUpdateRepositoryNameResponse :: UpdateRepositoryNameResponse Source #
Create a value of UpdateRepositoryNameResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.