Copyright | (c) 2013-2015 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 |
- Service
- Errors
- InvalidContinuationTokenException
- EncryptionKeyNotFoundException
- RepositoryNameExistsException
- MaximumRepositoryNamesExceededException
- InvalidRepositoryDescriptionException
- BranchNameRequiredException
- InvalidBranchNameException
- EncryptionKeyUnavailableException
- InvalidOrderException
- BranchDoesNotExistException
- RepositoryNamesRequiredException
- RepositoryDoesNotExistException
- EncryptionIntegrityChecksFailedException
- EncryptionKeyAccessDeniedException
- BranchNameExistsException
- EncryptionKeyDisabledException
- InvalidSortByException
- CommitIdRequiredException
- InvalidCommitIdException
- CommitDoesNotExistException
- RepositoryLimitExceededException
- InvalidRepositoryNameException
- RepositoryNameRequiredException
- Waiters
- Operations
- Types
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
- data CodeCommit
- _InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.CodeCommit.UpdateRepositoryName
- module Network.AWS.CodeCommit.GetBranch
- module Network.AWS.CodeCommit.UpdateRepositoryDescription
- module Network.AWS.CodeCommit.ListBranches
- module Network.AWS.CodeCommit.CreateBranch
- module Network.AWS.CodeCommit.UpdateDefaultBranch
- module Network.AWS.CodeCommit.CreateRepository
- module Network.AWS.CodeCommit.ListRepositories
- module Network.AWS.CodeCommit.GetRepository
- module Network.AWS.CodeCommit.DeleteRepository
- module Network.AWS.CodeCommit.BatchGetRepositories
- data OrderEnum
- data SortByEnum
- data BranchInfo
- branchInfo :: BranchInfo
- biCommitId :: Lens' BranchInfo (Maybe Text)
- biBranchName :: Lens' BranchInfo (Maybe Text)
- data RepositoryMetadata
- repositoryMetadata :: RepositoryMetadata
- rmRepositoryDescription :: Lens' RepositoryMetadata (Maybe Text)
- rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime)
- rmARN :: Lens' RepositoryMetadata (Maybe Text)
- rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text)
- rmAccountId :: Lens' RepositoryMetadata (Maybe Text)
- rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text)
- rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text)
- rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime)
- rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text)
- rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text)
- data RepositoryNameIdPair
- repositoryNameIdPair :: RepositoryNameIdPair
- rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text)
- rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text)
Service
data CodeCommit Source
Version 2015-04-13
of the Amazon CodeCommit SDK.
AWSService CodeCommit Source | |
type Sg CodeCommit = V4 Source |
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
_EncryptionKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source
No encryption key was found.
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
_EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source
The encryption key is not available.
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
_EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source
An encryption integrity check failed.
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
_EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source
The encryption key is disabled.
InvalidSortByException
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError Source
The specified sort by value is not valid.
CommitIdRequiredException
_CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source
A commit ID was not specified.
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
data SortByEnum Source
BranchInfo
data BranchInfo Source
Returns information about a branch.
See: branchInfo
smart constructor.
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
data RepositoryMetadata Source
Information about a repository.
See: repositoryMetadata
smart constructor.
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.
rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text) Source
The repository's name.
rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text) Source
The URL to use for cloning the repository over SSH.
RepositoryNameIdPair
data RepositoryNameIdPair Source
Information about a repository name and ID.
See: repositoryNameIdPair
smart constructor.
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.
rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text) Source
Undocumented member.