Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Network.AWS.CodeCommit
Contents
- Service Configuration
- Errors
- InvalidRepositoryTriggerRegionException
- InvalidContinuationTokenException
- EncryptionKeyNotFoundException
- InvalidRepositoryTriggerBranchNameException
- InvalidRepositoryTriggerCustomDataException
- BlobIdDoesNotExistException
- MaximumRepositoryNamesExceededException
- InvalidRepositoryDescriptionException
- RepositoryNameExistsException
- MaximumRepositoryTriggersExceededException
- InvalidBranchNameException
- BranchNameRequiredException
- RepositoryTriggersListRequiredException
- EncryptionKeyUnavailableException
- InvalidRepositoryTriggerDestinationARNException
- BlobIdRequiredException
- RepositoryNamesRequiredException
- InvalidBlobIdException
- InvalidOrderException
- BranchDoesNotExistException
- DefaultBranchCannotBeDeletedException
- InvalidPathException
- RepositoryTriggerNameRequiredException
- RepositoryDoesNotExistException
- MaximumBranchesExceededException
- PathDoesNotExistException
- EncryptionIntegrityChecksFailedException
- RepositoryTriggerEventsListRequiredException
- EncryptionKeyAccessDeniedException
- BranchNameExistsException
- InvalidCommitException
- InvalidSortByException
- EncryptionKeyDisabledException
- CommitRequiredException
- CommitIdRequiredException
- InvalidCommitIdException
- RepositoryTriggerDestinationARNRequiredException
- CommitDoesNotExistException
- RepositoryTriggerBranchNameListRequiredException
- InvalidMaxResultsException
- FileTooLargeException
- CommitIdDoesNotExistException
- InvalidRepositoryTriggerNameException
- RepositoryNameRequiredException
- RepositoryLimitExceededException
- InvalidRepositoryTriggerEventsException
- InvalidRepositoryNameException
- Waiters
- Operations
- UpdateRepositoryName
- GetCommit
- GetBranch
- GetDifferences
- DeleteBranch
- UpdateRepositoryDescription
- CreateBranch
- ListBranches (Paginated)
- ListRepositories (Paginated)
- CreateRepository
- UpdateDefaultBranch
- GetRepository
- GetRepositoryTriggers
- TestRepositoryTriggers
- GetBlob
- PutRepositoryTriggers
- DeleteRepository
- BatchGetRepositories
- Types
Description
AWS CodeCommit
This is the AWS CodeCommit API Reference . This reference provides descriptions of the operations and data types for AWS CodeCommit API along with usage examples.
You can use the AWS CodeCommit API to work with the following objects:
Repositories, by calling the following:
BatchGetRepositories
, which returns information about one or more repositories associated with your AWS accountCreateRepository
, which creates an AWS CodeCommit repositoryDeleteRepository
, which deletes an AWS CodeCommit repositoryGetRepository
, which returns information about a specified repositoryListRepositories
, which lists all AWS CodeCommit repositories associated with your AWS accountUpdateRepositoryDescription
, which sets or updates the description of the repositoryUpdateRepositoryName
, which changes the name of the repository. If you change the name of a repository, no other users of that repository will be able to access it until you send them the new HTTPS or SSH URL to use.
Branches, by calling the following:
CreateBranch
, which creates a new branch in a specified repositoryDeleteBranch
, which deletes the specified branch in a repository unless it is the default branchGetBranch
, which returns information about a specified branchListBranches
, which lists all branches for a specified repositoryUpdateDefaultBranch
, which changes the default branch for a repository
Information about committed code in a repository, by calling the following:
GetBlob
, which returns the base-64 encoded content of an individual Git blob object within a repositoryGetCommit
, which returns information about a commit, including commit messages and author and committer informationGetDifferences
, which returns information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID or other fully qualified reference)
Triggers, by calling the following:
GetRepositoryTriggers
, which returns information about triggers configured for a repositoryPutRepositoryTriggers
, which replaces all triggers for a repository and can be used to create or delete triggersTestRepositoryTriggers
, which tests the functionality of a repository trigger by sending data to the trigger target
For information about how to use AWS CodeCommit, see the AWS CodeCommit User Guide .
- codeCommit :: Service
- _InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerCustomDataException :: AsError a => Getting (First ServiceError) a ServiceError
- _BlobIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerDestinationARNException :: AsError a => Getting (First ServiceError) a ServiceError
- _BlobIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidBlobIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _DefaultBranchCannotBeDeletedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidPathException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _MaximumBranchesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _PathDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerEventsListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCommitException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
- _EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerDestinationARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryTriggerBranchNameListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidMaxResultsException :: AsError a => Getting (First ServiceError) a ServiceError
- _FileTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
- _CommitIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerNameException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
- _RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryTriggerEventsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.CodeCommit.UpdateRepositoryName
- module Network.AWS.CodeCommit.GetCommit
- module Network.AWS.CodeCommit.GetBranch
- module Network.AWS.CodeCommit.GetDifferences
- module Network.AWS.CodeCommit.DeleteBranch
- module Network.AWS.CodeCommit.UpdateRepositoryDescription
- module Network.AWS.CodeCommit.CreateBranch
- module Network.AWS.CodeCommit.ListBranches
- module Network.AWS.CodeCommit.ListRepositories
- module Network.AWS.CodeCommit.CreateRepository
- module Network.AWS.CodeCommit.UpdateDefaultBranch
- module Network.AWS.CodeCommit.GetRepository
- module Network.AWS.CodeCommit.GetRepositoryTriggers
- module Network.AWS.CodeCommit.TestRepositoryTriggers
- module Network.AWS.CodeCommit.GetBlob
- module Network.AWS.CodeCommit.PutRepositoryTriggers
- module Network.AWS.CodeCommit.DeleteRepository
- module Network.AWS.CodeCommit.BatchGetRepositories
- data ChangeTypeEnum
- data OrderEnum
- data RepositoryTriggerEventEnum
- data SortByEnum
- data BlobMetadata
- blobMetadata :: BlobMetadata
- bmPath :: Lens' BlobMetadata (Maybe Text)
- bmMode :: Lens' BlobMetadata (Maybe Text)
- bmBlobId :: Lens' BlobMetadata (Maybe Text)
- data BranchInfo
- branchInfo :: BranchInfo
- biCommitId :: Lens' BranchInfo (Maybe Text)
- biBranchName :: Lens' BranchInfo (Maybe Text)
- data Commit
- commit :: Commit
- cCommitId :: Lens' Commit (Maybe Text)
- cCommitter :: Lens' Commit (Maybe UserInfo)
- cTreeId :: Lens' Commit (Maybe Text)
- cAdditionalData :: Lens' Commit (Maybe Text)
- cParents :: Lens' Commit [Text]
- cAuthor :: Lens' Commit (Maybe UserInfo)
- cMessage :: Lens' Commit (Maybe Text)
- data Difference
- difference :: Difference
- dAfterBlob :: Lens' Difference (Maybe BlobMetadata)
- dBeforeBlob :: Lens' Difference (Maybe BlobMetadata)
- dChangeType :: Lens' Difference (Maybe ChangeTypeEnum)
- 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)
- rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text)
- rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime)
- rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text)
- data RepositoryNameIdPair
- repositoryNameIdPair :: RepositoryNameIdPair
- rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text)
- rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text)
- data RepositoryTrigger
- repositoryTrigger :: Text -> Text -> RepositoryTrigger
- rtBranches :: Lens' RepositoryTrigger [Text]
- rtCustomData :: Lens' RepositoryTrigger (Maybe Text)
- rtName :: Lens' RepositoryTrigger Text
- rtDestinationARN :: Lens' RepositoryTrigger Text
- rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum]
- data RepositoryTriggerExecutionFailure
- repositoryTriggerExecutionFailure :: RepositoryTriggerExecutionFailure
- rtefFailureMessage :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
- rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
- data UserInfo
- userInfo :: UserInfo
- uiEmail :: Lens' UserInfo (Maybe Text)
- uiDate :: Lens' UserInfo (Maybe Text)
- uiName :: Lens' UserInfo (Maybe Text)
Service Configuration
codeCommit :: Service Source #
API version 2015-04-13
of the Amazon CodeCommit SDK configuration.
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
.
InvalidRepositoryTriggerRegionException
_InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The region for the trigger target does not match the region for the repository. Triggers must be created in the same region as the target for the trigger.
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.
InvalidRepositoryTriggerBranchNameException
_InvalidRepositoryTriggerBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more branch names specified for the trigger is not valid.
InvalidRepositoryTriggerCustomDataException
_InvalidRepositoryTriggerCustomDataException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The custom data provided for the trigger is not valid.
BlobIdDoesNotExistException
_BlobIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified blob does not exist.
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.
RepositoryNameExistsException
_RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository name already exists.
MaximumRepositoryTriggersExceededException
_MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of triggers allowed for the repository was exceeded.
InvalidBranchNameException
_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified branch name is not valid.
BranchNameRequiredException
_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A branch name is required but was not specified.
RepositoryTriggersListRequiredException
_RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The list of triggers for the repository is required but was not specified.
EncryptionKeyUnavailableException
_EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The encryption key is not available.
InvalidRepositoryTriggerDestinationARNException
_InvalidRepositoryTriggerDestinationARNException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.
BlobIdRequiredException
_BlobIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A blob ID is required but was not specified.
RepositoryNamesRequiredException
_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A repository names object is required but was not specified.
InvalidBlobIdException
_InvalidBlobIdException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified blob is not valid.
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.
DefaultBranchCannotBeDeletedException
_DefaultBranchCannotBeDeletedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.
InvalidPathException
_InvalidPathException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified path is not valid.
RepositoryTriggerNameRequiredException
_RepositoryTriggerNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A name for the trigger is required but was not specified.
RepositoryDoesNotExistException
_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified repository does not exist.
MaximumBranchesExceededException
_MaximumBranchesExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of branches for the trigger was exceeded.
PathDoesNotExistException
_PathDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified path does not exist.
EncryptionIntegrityChecksFailedException
_EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An encryption integrity check failed.
RepositoryTriggerEventsListRequiredException
_RepositoryTriggerEventsListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
At least one event for the trigger is required but was not specified.
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.
InvalidCommitException
_InvalidCommitException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified commit is not valid.
InvalidSortByException
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified sort by value is not valid.
EncryptionKeyDisabledException
_EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The encryption key is disabled.
CommitRequiredException
_CommitRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A commit was not specified.
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.
RepositoryTriggerDestinationARNRequiredException
_RepositoryTriggerDestinationARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A destination ARN for the target service for the trigger is required but was not specified.
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.
RepositoryTriggerBranchNameListRequiredException
_RepositoryTriggerBranchNameListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
At least one branch name is required but was not specified in the trigger configuration.
InvalidMaxResultsException
_InvalidMaxResultsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified number of maximum results is not valid.
FileTooLargeException
_FileTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified file exceeds the file size limit for AWS CodeCommit. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide .
CommitIdDoesNotExistException
_CommitIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified commit ID does not exist.
InvalidRepositoryTriggerNameException
_InvalidRepositoryTriggerNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The name of the trigger is not valid.
RepositoryNameRequiredException
_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A repository name is required but was not specified.
RepositoryLimitExceededException
_RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A repository resource limit was exceeded.
InvalidRepositoryTriggerEventsException
_InvalidRepositoryTriggerEventsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.
InvalidRepositoryNameException
_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError Source #
At least one specified repository name is not valid.
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
GetCommit
GetBranch
GetDifferences
DeleteBranch
UpdateRepositoryDescription
CreateBranch
ListBranches (Paginated)
ListRepositories (Paginated)
CreateRepository
UpdateDefaultBranch
GetRepository
GetRepositoryTriggers
TestRepositoryTriggers
GetBlob
PutRepositoryTriggers
DeleteRepository
BatchGetRepositories
Types
ChangeTypeEnum
data ChangeTypeEnum Source #
Instances
OrderEnum
Constructors
Ascending | |
Descending |
Instances
RepositoryTriggerEventEnum
data RepositoryTriggerEventEnum Source #
Constructors
All | |
CreateReference | |
DeleteReference | |
UpdateReference |
Instances
SortByEnum
data SortByEnum Source #
Constructors
LastModifiedDate | |
RepositoryName |
Instances
BlobMetadata
data BlobMetadata Source #
Returns information about a specific Git blob object.
See: blobMetadata
smart constructor.
blobMetadata :: BlobMetadata Source #
Creates a value of BlobMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bmPath
- The path to the blob and any associated file name, if any.bmMode
- The file mode permissions of the blob. File mode permission codes include: *100644
indicates readwrite *100755
indicates readwrite/execute *160000
indicates a submodule *120000
indicates a symlinkbmBlobId
- The full ID of the blob.
bmPath :: Lens' BlobMetadata (Maybe Text) Source #
The path to the blob and any associated file name, if any.
bmMode :: Lens' BlobMetadata (Maybe Text) Source #
The file mode permissions of the blob. File mode permission codes include: * 100644
indicates readwrite * 100755
indicates readwrite/execute * 160000
indicates a submodule * 120000
indicates a symlink
BranchInfo
data BranchInfo Source #
Returns information about a branch.
See: branchInfo
smart constructor.
Instances
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
- The ID of the last commit made to the branch.biBranchName
- The name of the branch.
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.
Commit
Returns information about a specific commit.
See: commit
smart constructor.
Creates a value of Commit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cCommitId
- The full SHA of the specified commit.cCommitter
- Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.cTreeId
- Tree information for the specified commit.cAdditionalData
- Any additional data associated with the specified commit.cParents
- The parent list for the specified commit.cAuthor
- Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.cMessage
- The commit message associated with the specified commit.
cCommitter :: Lens' Commit (Maybe UserInfo) Source #
Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.
cAdditionalData :: Lens' Commit (Maybe Text) Source #
Any additional data associated with the specified commit.
cAuthor :: Lens' Commit (Maybe UserInfo) Source #
Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.
cMessage :: Lens' Commit (Maybe Text) Source #
The commit message associated with the specified commit.
Difference
data Difference Source #
Returns information about a set of differences for a commit specifier.
See: difference
smart constructor.
Instances
difference :: Difference Source #
Creates a value of Difference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dAfterBlob
- Information about anafterBlob
data type object, including the ID, the file mode permission code, and the path.dBeforeBlob
- Information about abeforeBlob
data type object, including the ID, the file mode permission code, and the path.dChangeType
- Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
dAfterBlob :: Lens' Difference (Maybe BlobMetadata) Source #
Information about an afterBlob
data type object, including the ID, the file mode permission code, and the path.
dBeforeBlob :: Lens' Difference (Maybe BlobMetadata) Source #
Information about a beforeBlob
data type object, including the ID, the file mode permission code, and the path.
dChangeType :: Lens' Difference (Maybe ChangeTypeEnum) Source #
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
RepositoryMetadata
data RepositoryMetadata Source #
Information about a repository.
See: repositoryMetadata
smart constructor.
Instances
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
- A comment or description about the repository.rmLastModifiedDate
- The date and time the repository was last modified, in timestamp format.rmARN
- The Amazon Resource Name (ARN) of the repository.rmCloneURLHTTP
- The URL to use for cloning the repository over HTTPS.rmAccountId
- The ID of the AWS account associated with the repository.rmDefaultBranch
- The repository's default branch name.rmRepositoryId
- The ID of the repository.rmRepositoryName
- The repository's name.rmCreationDate
- The date and time the repository was created, in timestamp format.rmCloneURLSSH
- The URL to use for cloning the repository over SSH.
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.
rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text) Source #
The repository's name.
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
data RepositoryNameIdPair Source #
Information about a repository name and ID.
See: repositoryNameIdPair
smart constructor.
Instances
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
- The ID associated with the repository.rnipRepositoryName
- The name associated with the repository.
rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text) Source #
The ID associated with the repository.
rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text) Source #
The name associated with the repository.
RepositoryTrigger
data RepositoryTrigger Source #
Information about a trigger for a repository.
See: repositoryTrigger
smart constructor.
Instances
Arguments
:: Text | |
-> Text | |
-> RepositoryTrigger |
Creates a value of RepositoryTrigger
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtBranches
- The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.rtCustomData
- Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.rtName
- The name of the trigger.rtDestinationARN
- The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).rtEvents
- The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS).
rtBranches :: Lens' RepositoryTrigger [Text] Source #
The branches that will be included in the trigger configuration. If you specify an empty array, the trigger will apply to all branches.
rtCustomData :: Lens' RepositoryTrigger (Maybe Text) Source #
Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
rtDestinationARN :: Lens' RepositoryTrigger Text Source #
The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum] Source #
The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS).
RepositoryTriggerExecutionFailure
data RepositoryTriggerExecutionFailure Source #
A trigger failed to run.
See: repositoryTriggerExecutionFailure
smart constructor.
Instances
repositoryTriggerExecutionFailure :: RepositoryTriggerExecutionFailure Source #
Creates a value of RepositoryTriggerExecutionFailure
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rtefFailureMessage
- Additional message information about the trigger that did not run.rtefTrigger
- The name of the trigger that did not run.
rtefFailureMessage :: Lens' RepositoryTriggerExecutionFailure (Maybe Text) Source #
Additional message information about the trigger that did not run.
rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text) Source #
The name of the trigger that did not run.
UserInfo
Information about the user who made a specified commit.
See: userInfo
smart constructor.
Creates a value of UserInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uiEmail :: Lens' UserInfo (Maybe Text) Source #
The email address associated with the user who made the commit, if any.