Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new, empty repository.
- createRepository :: Text -> CreateRepository
- data CreateRepository
- crRepositoryDescription :: Lens' CreateRepository (Maybe Text)
- crRepositoryName :: Lens' CreateRepository Text
- createRepositoryResponse :: Int -> CreateRepositoryResponse
- data CreateRepositoryResponse
- crrsRepositoryMetadata :: Lens' CreateRepositoryResponse (Maybe RepositoryMetadata)
- crrsResponseStatus :: Lens' CreateRepositoryResponse Int
Creating a Request
Creates a value of CreateRepository
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateRepository Source #
Represents the input of a create repository operation.
See: createRepository
smart constructor.
Request Lenses
crRepositoryDescription :: Lens' CreateRepository (Maybe Text) Source #
A comment or description about the new 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 web page could 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 web page.
crRepositoryName :: Lens' CreateRepository Text Source #
The name of the new repository to be created.
The repository name must be unique across the calling AWS account. In addition, repository names are limited to 100 alphanumeric, dash, and underscore characters, and cannot include certain characters. For a full description of the limits on repository names, see Limits in the AWS CodeCommit User Guide. The suffix ".git" is prohibited.
Destructuring the Response
createRepositoryResponse Source #
Creates a value of CreateRepositoryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateRepositoryResponse Source #
Represents the output of a create repository operation.
See: createRepositoryResponse
smart constructor.
Response Lenses
crrsRepositoryMetadata :: Lens' CreateRepositoryResponse (Maybe RepositoryMetadata) Source #
Information about the newly created repository.
crrsResponseStatus :: Lens' CreateRepositoryResponse Int Source #
The response status code.