amazonka-codecommit-1.1.0: 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

Contents

Description

AWS CodeCommit

This is the AWS CodeCommit API Reference. This reference provides descriptions of the AWS CodeCommit API.

You can use the AWS CodeCommit API to work with the following objects:

  • Repositories
  • Branches
  • Commits

For information about how to use AWS CodeCommit, see the /AWS CodeCommit User Guide/.

See: AWS API Reference

Synopsis

Service

data CodeCommit Source

Version 2015-04-13 of the Amazon CodeCommit SDK.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CodeCommit.

InvalidContinuationTokenException

_InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified continuation token is not valid.

EncryptionKeyNotFoundException

RepositoryNameExistsException

_RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified repository name already exists.

MaximumRepositoryNamesExceededException

_MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source

The maximum number of allowed repository names was exceeded. Currently, this number is 25.

InvalidRepositoryDescriptionException

_InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified repository description is not valid.

BranchNameRequiredException

_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source

A branch name is required but was not specified.

InvalidBranchNameException

_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified branch name is not valid.

EncryptionKeyUnavailableException

InvalidOrderException

_InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified sort order is not valid.

BranchDoesNotExistException

_BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified branch does not exist.

RepositoryNamesRequiredException

_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source

A repository names object is required but was not specified.

RepositoryDoesNotExistException

_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified repository does not exist.

EncryptionIntegrityChecksFailedException

EncryptionKeyAccessDeniedException

_EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source

An encryption key could not be accessed.

BranchNameExistsException

_BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified branch name already exists.

EncryptionKeyDisabledException

InvalidSortByException

_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified sort by value is not valid.

CommitIdRequiredException

InvalidCommitIdException

_InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified commit ID is not valid.

CommitDoesNotExistException

_CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

RepositoryLimitExceededException

_RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source

A repository resource limit was exceeded.

InvalidRepositoryNameException

_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError Source

At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

RepositoryNameRequiredException

_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source

A repository name is required but was not specified.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

UpdateRepositoryName

GetBranch

UpdateRepositoryDescription

ListBranches

CreateBranch

UpdateDefaultBranch

CreateRepository

ListRepositories

GetRepository

DeleteRepository

BatchGetRepositories

Types

OrderEnum

SortByEnum

BranchInfo

branchInfo :: BranchInfo Source

Creates a value of BranchInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

biCommitId :: Lens' BranchInfo (Maybe Text) Source

The ID of the last commit made to the branch.

biBranchName :: Lens' BranchInfo (Maybe Text) Source

The name of the branch.

RepositoryMetadata

repositoryMetadata :: RepositoryMetadata Source

Creates a value of RepositoryMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rmRepositoryDescription :: Lens' RepositoryMetadata (Maybe Text) Source

A comment or description about the repository.

rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime) Source

The date and time the repository was last modified, in timestamp format.

rmARN :: Lens' RepositoryMetadata (Maybe Text) Source

The Amazon Resource Name (ARN) of the repository.

rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text) Source

The URL to use for cloning the repository over HTTPS.

rmAccountId :: Lens' RepositoryMetadata (Maybe Text) Source

The ID of the AWS account associated with the repository.

rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text) Source

The repository's default branch name.

rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text) Source

The ID of the repository.

rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime) Source

The date and time the repository was created, in timestamp format.

rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text) Source

The URL to use for cloning the repository over SSH.

RepositoryNameIdPair

repositoryNameIdPair :: RepositoryNameIdPair Source

Creates a value of RepositoryNameIdPair with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text) Source

The ID associated with the repository name.