amazonka-codecommit-1.3.5: Amazon CodeCommit SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeCommit.CreateRepository

Contents

Description

Creates a new, empty repository.

See: AWS API Reference for CreateRepository.

Synopsis

Creating a Request

createRepository Source

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:

Request Lenses

crRepositoryDescription :: Lens' CreateRepository (Maybe Text) Source

A comment or description about the new repository.

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 restricted to alphanumeric characters. 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:

Response Lenses

crrsRepositoryMetadata :: Lens' CreateRepositoryResponse (Maybe RepositoryMetadata) Source

Information about the newly created repository.