-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeCommit SDK.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- Lenses are used for constructing and manipulating types, due to the
-- depth of nesting of AWS types and transparency regarding
-- de/serialisation into more palatable Haskell values. The provided
-- lenses should be compatible with any of the major lens libraries such
-- as lens or lens-family-core.
--
-- See Network.AWS.CodeCommit or the AWS documentation to
-- get started.
@package amazonka-codecommit
@version 1.6.1
module Network.AWS.CodeCommit.Types
-- | API version 2015-04-13 of the Amazon CodeCommit SDK
-- configuration.
codeCommit :: Service
-- | 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.
_InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified continuation token is not valid.
_InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request cannot be merged automatically into the destination
-- branch. You must manually merge the branches and resolve any
-- conflicts.
_ManualMergeRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An array of target objects is required. It cannot be empty or null.
_TargetsRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | No encryption key was found.
_EncryptionKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The divergence between the tips of the provided commit specifiers is
-- too great to determine whether there might be any merge conflicts.
-- Locally compare the specifiers using git diff or a diff tool.
_TipsDivergenceExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more branch names specified for the trigger is not valid.
_InvalidRepositoryTriggerBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request status cannot be updated because it is already
-- closed.
_PullRequestAlreadyClosedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The custom data provided for the trigger is not valid.
_InvalidRepositoryTriggerCustomDataException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A file cannot be added to the repository because the specified path
-- name has the same name as a file that already exists in this
-- repository. Either provide a different name for the file, or specify a
-- different path for the file.
_DirectoryNameConflictsWithFileNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference does not exist. You must provide a full commit
-- ID.
_ReferenceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified Amazon Resource Name (ARN) does not exist in the AWS
-- account.
_ActorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request ID is required, but none was provided.
_PullRequestIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified email address either contains one or more characters
-- that are not allowed, or it exceeds the maximum number of characters
-- allowed for an email address.
_InvalidEmailException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The commit message is too long. Provide a shorter string.
_CommitMessageLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified blob does not exist.
_BlobIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum number of allowed repository names was exceeded.
-- Currently, this number is 25.
_MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository description is not valid.
_InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository name already exists.
_RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A reference name is required, but none was provided.
_ReferenceNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of triggers allowed for the repository was exceeded.
_MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference name is not valid.
_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A branch name is required but was not specified.
_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A merge option or stategy is required, and none was provided.
_MergeOptionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The location of the file is not valid. Make sure that you include the
-- extension of the file as well as the file name.
_InvalidFileLocationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The before commit ID and the after commit ID are the same, which is
-- not valid. The before commit ID and the after commit ID must be
-- different commit IDs.
_BeforeCommitIdAndAfterCommitIdAreSameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The list of triggers for the repository is required but was not
-- specified.
_RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The client request token is not valid. Either the token is not in a
-- valid format, or the token has been used in a previous request and
-- cannot be re-used.
_IdempotencyParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is not available.
_EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Either the enum is not in a valid format, or the specified file
-- version enum is not valid in respect to the current file version.
_InvalidRelativeFileVersionEnumException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_InvalidRepositoryTriggerDestinationARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A blob ID is required but was not specified.
_BlobIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A repository names object is required but was not specified.
_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Amazon Resource Name (ARN) is not valid. Make sure that you have
-- provided the full ARN for the user who initiated the change for the
-- pull request, and then try again.
_InvalidActorARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment ID is not in a valid format. Make sure that you have
-- provided the full comment ID.
_InvalidCommentIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request description is not valid. Descriptions are limited to
-- 1,000 characters in length.
_InvalidDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified blob is not valid.
_InvalidBlobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request ID could not be found. Make sure that you have
-- specified the correct repository name and pull request ID, and then
-- try again.
_PullRequestDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified sort order is not valid.
_InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch does not exist.
_BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_DefaultBranchCannotBeDeletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified path is not valid.
_InvalidPathException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The filePath for a location cannot be empty or null.
_PathRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A name for the trigger is required but was not specified.
_RepositoryTriggerNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified file mode permission is not valid. For a list of valid
-- file mode permissions, see PutFile .
_InvalidFileModeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request status is not valid. The only valid values are
-- OPEN and CLOSED .
_InvalidPullRequestStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A parent commit ID is required. To view the full commit ID of a branch
-- in a repository, use GetBranch or a Git command (for example,
-- git pull or git log).
_ParentCommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The source commit specifier is not valid. You must provide a valid
-- branch name, tag, or full commit ID.
_InvalidSourceCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository does not exist.
_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of branches for the trigger was exceeded.
_MaximumBranchesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The title of the pull request is not valid. Pull request titles cannot
-- exceed 100 characters in length.
_InvalidTitleException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment is too large. Comments are limited to 1,000 characters.
_CommentContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The parent commit ID is not valid. The commit ID cannot be empty, and
-- must match the head commit ID for the branch of the repository where
-- you want to add or update a file.
_InvalidParentCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request event type is not valid.
_InvalidPullRequestEventTypeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file cannot be added because it is empty. Empty files cannot be
-- added to the repository with this API.
_FileContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The source branch and the destination branch for the pull request are
-- the same. You must specify different branches for the source and
-- destination.
_SourceAndDestinationAreSameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified path does not exist.
_PathDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An encryption integrity check failed.
_EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file could not be added because the provided parent commit ID is
-- not the current tip of the specified branch. To view the full commit
-- ID of the current head of the branch, use GetBranch .
_ParentCommitIdOutdatedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one event for the trigger is required but was not specified.
_RepositoryTriggerEventsListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment is empty. You must provide some content for a comment. The
-- content cannot be null.
_CommentContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The targets for the pull request is not valid or not in a valid
-- format. Targets are a list of target objects. Each target object must
-- contain the full values for the repository name, source branch, and
-- destination branch for a pull request.
_InvalidTargetsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An encryption key could not be accessed.
_EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch name already exists.
_BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit is not valid.
_InvalidCommitException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request target is required. It cannot be empty or null. A pull
-- request target must contain the full values for the repository name,
-- source branch, and destination branch for the pull request.
_TargetRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The destination commit specifier is not valid. You must provide a
-- valid branch name, tag, or full commit ID.
_InvalidDestinationCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError
-- | No comment exists with the provided ID. Verify that you have provided
-- the correct ID, and then try again.
_CommentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference is not a supported type.
_ReferenceTypeNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A file cannot be added to the repository because the specified file
-- name has the same name as a directory in this repository. Either
-- provide another name for the file, or add the file in a directory that
-- does not match the file name.
_FileNameConflictsWithDirectoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file name is not valid because it has exceeded the character limit
-- for file names. File names, including the path to the file, cannot
-- exceed the character limit.
_NameLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified sort by value is not valid.
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is disabled.
_EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A commit was not specified.
_CommitRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | You cannot create the pull request because the repository has too many
-- open pull requests. The maximum number of open pull requests for a
-- repository is 1,000. Close one or more open pull requests, and then
-- try again.
_MaximumOpenPullRequestsExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The target for the pull request is not valid. A target must contain
-- the full values for the repository name, source branch, and
-- destination branch for the pull request.
_InvalidTargetException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request ID is not valid. Make sure that you have provided the
-- full ID and that the pull request is in the specified repository, and
-- then try again.
_InvalidPullRequestIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | You cannot modify or delete this comment. Only comment authors can
-- modify or delete their comments.
_CommentNotCreatedByCallerException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request status update is not valid. The only valid update is
-- from OPEN to CLOSED .
_InvalidPullRequestStatusUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference name format is not valid. Reference names must
-- conform to the Git references format, for example
-- refsheadsmaster. For more information, see Git Internals -
-- Git References or consult your Git documentation.
_InvalidReferenceNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file was not added or updated because the content of the file is
-- exactly the same as the content of that file in the repository and
-- branch that you specified.
_SameFileContentException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A commit ID was not specified.
_CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit ID is not valid.
_InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The tip of the source branch in the destination repository does not
-- match the tip of the source branch specified in your request. The pull
-- request might have been updated. Make sure that you have the latest
-- changes.
_TipOfSourceReferenceIsDifferentException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A destination ARN for the target service for the trigger is required
-- but was not specified.
_RepositoryTriggerDestinationARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The client request token is not valid.
_InvalidClientRequestTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit does not exist or no commit was specified, and
-- the specified repository has no default branch.
_CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one branch name is required but was not specified in the
-- trigger configuration.
_RepositoryTriggerBranchNameListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A client request token is required. A client request token is an
-- unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
_ClientRequestTokenRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified merge option is not valid. The only valid value is
-- FAST_FORWARD_MERGE.
_InvalidMergeOptionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment ID is missing or null. A comment ID is required.
_CommentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified number of maximum results is not valid.
_InvalidMaxResultsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified file exceeds the file size limit for AWS CodeCommit. For
-- more information about limits in AWS CodeCommit, see AWS CodeCommit
-- User Guide .
_FileTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit ID does not exist.
_CommitIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | You cannot include more than one repository in a pull request. Make
-- sure you have specified only one repository name in your request, and
-- then try again.
_MultipleRepositoriesInPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file cannot be added because it is too large. The maximum file
-- size that can be added using PutFile is 6 MB. For files larger than 6
-- MB but smaller than 2 GB, add them using a Git client.
_FileContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The name of the trigger is not valid.
_InvalidRepositoryTriggerNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A repository name is required but was not specified.
_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A repository resource limit was exceeded.
_RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_InvalidRepositoryTriggerEventsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch name is not valid because it is a tag name. Type
-- the name of a current branch in the repository. For a list of valid
-- branch names, use ListBranches .
_BranchNameIsTagNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one specified repository name is not valid.
_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Amazon Resource Name (ARN) is not valid. Make sure that you have
-- provided the full ARN for the author of the pull request, and then try
-- again.
_InvalidAuthorARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request status is required, but none was provided.
_PullRequestStatusRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The repository does not contain any pull requests with that pull
-- request ID. Check to make sure you have provided the correct
-- repository name for the pull request.
_RepositoryNotAssociatedWithPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request title is required. It cannot be empty or null.
_TitleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The position is not valid. Make sure that the line number exists in
-- the version of the file you want to comment on.
_InvalidFilePositionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | This comment has already been deleted. You cannot edit or delete a
-- deleted comment.
_CommentDeletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The parent commit ID is not valid. The specified parent commit ID does
-- not exist in the specified branch of the repository.
_ParentCommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified Amazon Resource Name (ARN) does not exist in the AWS
-- account.
_AuthorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
data ChangeTypeEnum
A :: ChangeTypeEnum
D :: ChangeTypeEnum
M :: ChangeTypeEnum
data FileModeTypeEnum
Executable :: FileModeTypeEnum
Normal :: FileModeTypeEnum
Symlink :: FileModeTypeEnum
data MergeOptionTypeEnum
FastForwardMerge :: MergeOptionTypeEnum
data OrderEnum
Ascending :: OrderEnum
Descending :: OrderEnum
data PullRequestEventType
PullRequestCreated :: PullRequestEventType
PullRequestMergeStateChanged :: PullRequestEventType
PullRequestSourceReferenceUpdated :: PullRequestEventType
PullRequestStatusChanged :: PullRequestEventType
data PullRequestStatusEnum
Closed :: PullRequestStatusEnum
Open :: PullRequestStatusEnum
data RelativeFileVersionEnum
After :: RelativeFileVersionEnum
Before :: RelativeFileVersionEnum
data RepositoryTriggerEventEnum
All :: RepositoryTriggerEventEnum
CreateReference :: RepositoryTriggerEventEnum
DeleteReference :: RepositoryTriggerEventEnum
UpdateReference :: RepositoryTriggerEventEnum
data SortByEnum
LastModifiedDate :: SortByEnum
RepositoryName :: SortByEnum
-- | Returns information about a specific Git blob object.
--
-- See: blobMetadata smart constructor.
data BlobMetadata
-- | 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 symlink
-- - bmBlobId - The full ID of the blob.
--
blobMetadata :: BlobMetadata
-- | The path to the blob and any associated file name, if any.
bmPath :: Lens' BlobMetadata (Maybe Text)
-- | 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
bmMode :: Lens' BlobMetadata (Maybe Text)
-- | The full ID of the blob.
bmBlobId :: Lens' BlobMetadata (Maybe Text)
-- | Returns information about a branch.
--
-- See: branchInfo smart constructor.
data BranchInfo
-- | 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:
--
--
branchInfo :: BranchInfo
-- | The ID of the last commit made to the branch.
biCommitId :: Lens' BranchInfo (Maybe Text)
-- | The name of the branch.
biBranchName :: Lens' BranchInfo (Maybe Text)
-- | Returns information about a specific comment.
--
-- See: comment smart constructor.
data Comment
-- | Creates a value of Comment with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cLastModifiedDate - The date and time the comment was most
-- recently modified, in timestamp format.
-- - cAuthorARN - The Amazon Resource Name (ARN) of the person
-- who posted the comment.
-- - cContent - The content of the comment.
-- - cCreationDate - The date and time the comment was created,
-- in timestamp format.
-- - cDeleted - A Boolean value indicating whether the comment
-- has been deleted.
-- - cClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - cCommentId - The system-generated comment ID.
-- - cInReplyTo - The ID of the comment for which this comment
-- is a reply, if any.
--
comment :: Comment
-- | The date and time the comment was most recently modified, in timestamp
-- format.
cLastModifiedDate :: Lens' Comment (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the person who posted the comment.
cAuthorARN :: Lens' Comment (Maybe Text)
-- | The content of the comment.
cContent :: Lens' Comment (Maybe Text)
-- | The date and time the comment was created, in timestamp format.
cCreationDate :: Lens' Comment (Maybe UTCTime)
-- | A Boolean value indicating whether the comment has been deleted.
cDeleted :: Lens' Comment (Maybe Bool)
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
cClientRequestToken :: Lens' Comment (Maybe Text)
-- | The system-generated comment ID.
cCommentId :: Lens' Comment (Maybe Text)
-- | The ID of the comment for which this comment is a reply, if any.
cInReplyTo :: Lens' Comment (Maybe Text)
-- | Returns information about comments on the comparison between two
-- commits.
--
-- See: commentsForComparedCommit smart constructor.
data CommentsForComparedCommit
-- | Creates a value of CommentsForComparedCommit with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cfccBeforeBlobId - The full blob ID of the commit used to
-- establish the before of the comparison.
-- - cfccLocation - Location information about the comment on
-- the comparison, including the file name, line number, and whether the
-- version of the file where the comment was made is BEFORE or
-- AFTER.
-- - cfccAfterCommitId - The full commit ID of the commit used
-- to establish the after of the comparison.
-- - cfccAfterBlobId - The full blob ID of the commit used to
-- establish the after of the comparison.
-- - cfccBeforeCommitId - The full commit ID of the commit used
-- to establish the before of the comparison.
-- - cfccRepositoryName - The name of the repository that
-- contains the compared commits.
-- - cfccComments - An array of comment objects. Each comment
-- object contains information about a comment on the comparison between
-- commits.
--
commentsForComparedCommit :: CommentsForComparedCommit
-- | The full blob ID of the commit used to establish the before
-- of the comparison.
cfccBeforeBlobId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | Location information about the comment on the comparison, including
-- the file name, line number, and whether the version of the file where
-- the comment was made is BEFORE or AFTER.
cfccLocation :: Lens' CommentsForComparedCommit (Maybe Location)
-- | The full commit ID of the commit used to establish the after
-- of the comparison.
cfccAfterCommitId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | The full blob ID of the commit used to establish the after of
-- the comparison.
cfccAfterBlobId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | The full commit ID of the commit used to establish the before
-- of the comparison.
cfccBeforeCommitId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | The name of the repository that contains the compared commits.
cfccRepositoryName :: Lens' CommentsForComparedCommit (Maybe Text)
-- | An array of comment objects. Each comment object contains information
-- about a comment on the comparison between commits.
cfccComments :: Lens' CommentsForComparedCommit [Comment]
-- | Returns information about comments on a pull request.
--
-- See: commentsForPullRequest smart constructor.
data CommentsForPullRequest
-- | Creates a value of CommentsForPullRequest with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cfprBeforeBlobId - The full blob ID of the file on which
-- you want to comment on the destination commit.
-- - cfprLocation - Location information about the comment on
-- the pull request, including the file name, line number, and whether
-- the version of the file where the comment was made is BEFORE
-- (destination branch) or AFTER (source branch).
-- - cfprAfterCommitId - he full commit ID of the commit that
-- was the tip of the source branch at the time the comment was
-- made.
-- - cfprPullRequestId - The system-generated ID of the pull
-- request.
-- - cfprAfterBlobId - The full blob ID of the file on which you
-- want to comment on the source commit.
-- - cfprBeforeCommitId - The full commit ID of the commit that
-- was the tip of the destination branch when the pull request was
-- created. This commit will be superceded by the after commit in the
-- source branch when and if you merge the source branch into the
-- destination branch.
-- - cfprRepositoryName - The name of the repository that
-- contains the pull request.
-- - cfprComments - An array of comment objects. Each comment
-- object contains information about a comment on the pull request.
--
commentsForPullRequest :: CommentsForPullRequest
-- | The full blob ID of the file on which you want to comment on the
-- destination commit.
cfprBeforeBlobId :: Lens' CommentsForPullRequest (Maybe Text)
-- | Location information about the comment on the pull request, including
-- the file name, line number, and whether the version of the file where
-- the comment was made is BEFORE (destination branch) or
-- AFTER (source branch).
cfprLocation :: Lens' CommentsForPullRequest (Maybe Location)
-- | he full commit ID of the commit that was the tip of the source branch
-- at the time the comment was made.
cfprAfterCommitId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The system-generated ID of the pull request.
cfprPullRequestId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The full blob ID of the file on which you want to comment on the
-- source commit.
cfprAfterBlobId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The full commit ID of the commit that was the tip of the destination
-- branch when the pull request was created. This commit will be
-- superceded by the after commit in the source branch when and if you
-- merge the source branch into the destination branch.
cfprBeforeCommitId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The name of the repository that contains the pull request.
cfprRepositoryName :: Lens' CommentsForPullRequest (Maybe Text)
-- | An array of comment objects. Each comment object contains information
-- about a comment on the pull request.
cfprComments :: Lens' CommentsForPullRequest [Comment]
-- | Returns information about a specific commit.
--
-- See: commit smart constructor.
data Commit
-- | 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 - A list of parent commits for the specified
-- commit. Each parent commit ID is the full commit ID.
-- - 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.
--
commit :: Commit
-- | The full SHA of the specified commit.
cCommitId :: Lens' Commit (Maybe Text)
-- | 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.
cCommitter :: Lens' Commit (Maybe UserInfo)
-- | Tree information for the specified commit.
cTreeId :: Lens' Commit (Maybe Text)
-- | Any additional data associated with the specified commit.
cAdditionalData :: Lens' Commit (Maybe Text)
-- | A list of parent commits for the specified commit. Each parent commit
-- ID is the full commit ID.
cParents :: Lens' Commit [Text]
-- | 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.
cAuthor :: Lens' Commit (Maybe UserInfo)
-- | The commit message associated with the specified commit.
cMessage :: Lens' Commit (Maybe Text)
-- | Returns information about a set of differences for a commit specifier.
--
-- See: difference smart constructor.
data Difference
-- | 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 an afterBlob data
-- type object, including the ID, the file mode permission code, and the
-- path.
-- - dBeforeBlob - Information about a beforeBlob 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).
--
difference :: Difference
-- | Information about an afterBlob data type object, including
-- the ID, the file mode permission code, and the path.
dAfterBlob :: Lens' Difference (Maybe BlobMetadata)
-- | Information about a beforeBlob data type object, including
-- the ID, the file mode permission code, and the path.
dBeforeBlob :: Lens' Difference (Maybe BlobMetadata)
-- | Whether the change type of the difference is an addition (A), deletion
-- (D), or modification (M).
dChangeType :: Lens' Difference (Maybe ChangeTypeEnum)
-- | Returns information about the location of a change or comment in the
-- comparison between two commits or a pull request.
--
-- See: location smart constructor.
data Location
-- | Creates a value of Location with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lRelativeFileVersion - In a comparison of commits or a pull
-- request, whether the change is in the before or
-- after of that comparison.
-- - lFilePath - The name of the file being compared, including
-- its extension and subdirectory, if any.
-- - lFilePosition - The position of a change within a compared
-- file, in line number format.
--
location :: Location
-- | In a comparison of commits or a pull request, whether the change is in
-- the before or after of that comparison.
lRelativeFileVersion :: Lens' Location (Maybe RelativeFileVersionEnum)
-- | The name of the file being compared, including its extension and
-- subdirectory, if any.
lFilePath :: Lens' Location (Maybe Text)
-- | The position of a change within a compared file, in line number
-- format.
lFilePosition :: Lens' Location (Maybe Integer)
-- | Returns information about a merge or potential merge between a source
-- reference and a destination reference in a pull request.
--
-- See: mergeMetadata smart constructor.
data MergeMetadata
-- | Creates a value of MergeMetadata with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - mmMergedBy - The Amazon Resource Name (ARN) of the user who
-- merged the branches.
-- - mmIsMerged - A Boolean value indicating whether the merge
-- has been made.
--
mergeMetadata :: MergeMetadata
-- | The Amazon Resource Name (ARN) of the user who merged the branches.
mmMergedBy :: Lens' MergeMetadata (Maybe Text)
-- | A Boolean value indicating whether the merge has been made.
mmIsMerged :: Lens' MergeMetadata (Maybe Bool)
-- | Returns information about a pull request.
--
-- See: pullRequest smart constructor.
data PullRequest
-- | Creates a value of PullRequest with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - prAuthorARN - The Amazon Resource Name (ARN) of the user
-- who created the pull request.
-- - prPullRequestId - The system-generated ID of the pull
-- request.
-- - prCreationDate - The date and time the pull request was
-- originally created, in timestamp format.
-- - prPullRequestStatus - The status of the pull request. Pull
-- request status can only change from OPEN to CLOSED
-- .
-- - prTitle - The user-defined title of the pull request. This
-- title is displayed in the list of pull requests to other users of the
-- repository.
-- - prClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - prLastActivityDate - The day and time of the last user or
-- system activity on the pull request, in timestamp format.
-- - prPullRequestTargets - The targets of the pull request,
-- including the source branch and destination branch for the pull
-- request.
-- - prDescription - The user-defined description of the pull
-- request. This description can be used to clarify what should be
-- reviewed and other details of the request.
--
pullRequest :: PullRequest
-- | The Amazon Resource Name (ARN) of the user who created the pull
-- request.
prAuthorARN :: Lens' PullRequest (Maybe Text)
-- | The system-generated ID of the pull request.
prPullRequestId :: Lens' PullRequest (Maybe Text)
-- | The date and time the pull request was originally created, in
-- timestamp format.
prCreationDate :: Lens' PullRequest (Maybe UTCTime)
-- | The status of the pull request. Pull request status can only change
-- from OPEN to CLOSED .
prPullRequestStatus :: Lens' PullRequest (Maybe PullRequestStatusEnum)
-- | The user-defined title of the pull request. This title is displayed in
-- the list of pull requests to other users of the repository.
prTitle :: Lens' PullRequest (Maybe Text)
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
prClientRequestToken :: Lens' PullRequest (Maybe Text)
-- | The day and time of the last user or system activity on the pull
-- request, in timestamp format.
prLastActivityDate :: Lens' PullRequest (Maybe UTCTime)
-- | The targets of the pull request, including the source branch and
-- destination branch for the pull request.
prPullRequestTargets :: Lens' PullRequest [PullRequestTarget]
-- | The user-defined description of the pull request. This description can
-- be used to clarify what should be reviewed and other details of the
-- request.
prDescription :: Lens' PullRequest (Maybe Text)
-- | Returns information about a pull request event.
--
-- See: pullRequestEvent smart constructor.
data PullRequestEvent
-- | Creates a value of PullRequestEvent with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pullRequestEvent :: PullRequestEvent
-- | Information about the change in mergability state for the pull request
-- event.
prePullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata)
-- | The type of the pull request event, for example a status change event
-- (PULL_REQUEST_STATUS_CHANGED) or update event
-- (PULL_REQUEST_SOURCE_REFERENCE_UPDATED).
prePullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType)
-- | Information about the change in status for the pull request event.
prePullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata)
-- | The Amazon Resource Name (ARN) of the user whose actions resulted in
-- the event. Examples include updating the pull request with additional
-- commits or changing the status of a pull request.
preActorARN :: Lens' PullRequestEvent (Maybe Text)
-- | The system-generated ID of the pull request.
prePullRequestId :: Lens' PullRequestEvent (Maybe Text)
-- | The day and time of the pull request event, in timestamp format.
preEventDate :: Lens' PullRequestEvent (Maybe UTCTime)
-- | Information about the updated source branch for the pull request
-- event.
prePullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata)
-- | Returns information about the change in the merge state for a pull
-- request event.
--
-- See: pullRequestMergedStateChangedEventMetadata smart
-- constructor.
data PullRequestMergedStateChangedEventMetadata
-- | Creates a value of PullRequestMergedStateChangedEventMetadata
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pullRequestMergedStateChangedEventMetadata :: PullRequestMergedStateChangedEventMetadata
-- | The name of the branch that the pull request will be merged into.
prmscemDestinationReference :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text)
-- | Information about the merge state change event.
prmscemMergeMetadata :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe MergeMetadata)
-- | The name of the repository where the pull request was created.
prmscemRepositoryName :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text)
-- | Information about an update to the source branch of a pull request.
--
-- See: pullRequestSourceReferenceUpdatedEventMetadata
-- smart constructor.
data PullRequestSourceReferenceUpdatedEventMetadata
-- | Creates a value of
-- PullRequestSourceReferenceUpdatedEventMetadata with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - prsruemAfterCommitId - The full commit ID of the commit in
-- the source branch that was the tip of the branch at the time the pull
-- request was updated.
-- - prsruemBeforeCommitId - The full commit ID of the commit in
-- the destination branch that was the tip of the branch at the time the
-- pull request was updated.
-- - prsruemRepositoryName - The name of the repository where
-- the pull request was updated.
--
pullRequestSourceReferenceUpdatedEventMetadata :: PullRequestSourceReferenceUpdatedEventMetadata
-- | The full commit ID of the commit in the source branch that was the tip
-- of the branch at the time the pull request was updated.
prsruemAfterCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
-- | The full commit ID of the commit in the destination branch that was
-- the tip of the branch at the time the pull request was updated.
prsruemBeforeCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
-- | The name of the repository where the pull request was updated.
prsruemRepositoryName :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
-- | Information about a change to the status of a pull request.
--
-- See: pullRequestStatusChangedEventMetadata smart
-- constructor.
data PullRequestStatusChangedEventMetadata
-- | Creates a value of PullRequestStatusChangedEventMetadata with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pullRequestStatusChangedEventMetadata :: PullRequestStatusChangedEventMetadata
-- | The changed status of the pull request.
prscemPullRequestStatus :: Lens' PullRequestStatusChangedEventMetadata (Maybe PullRequestStatusEnum)
-- | Returns information about a pull request target.
--
-- See: pullRequestTarget smart constructor.
data PullRequestTarget
-- | Creates a value of PullRequestTarget with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - prtSourceCommit - The full commit ID of the tip of the
-- source branch used to create the pull request. If the pull request
-- branch is updated by a push while the pull request is open, the commit
-- ID will change to reflect the new tip of the branch.
-- - prtDestinationReference - The branch of the repository
-- where the pull request changes will be merged into. Also known as the
-- destination branch.
-- - prtMergeMetadata - Returns metadata about the state of the
-- merge, including whether the merge has been made.
-- - prtDestinationCommit - The full commit ID that is the tip
-- of the destination branch. This is the commit where the pull request
-- was or will be merged.
-- - prtRepositoryName - The name of the repository that
-- contains the pull request source and destination branches.
-- - prtSourceReference - The branch of the repository that
-- contains the changes for the pull request. Also known as the source
-- branch.
--
pullRequestTarget :: PullRequestTarget
-- | The full commit ID of the tip of the source branch used to create the
-- pull request. If the pull request branch is updated by a push while
-- the pull request is open, the commit ID will change to reflect the new
-- tip of the branch.
prtSourceCommit :: Lens' PullRequestTarget (Maybe Text)
-- | The branch of the repository where the pull request changes will be
-- merged into. Also known as the destination branch.
prtDestinationReference :: Lens' PullRequestTarget (Maybe Text)
-- | Returns metadata about the state of the merge, including whether the
-- merge has been made.
prtMergeMetadata :: Lens' PullRequestTarget (Maybe MergeMetadata)
-- | The full commit ID that is the tip of the destination branch. This is
-- the commit where the pull request was or will be merged.
prtDestinationCommit :: Lens' PullRequestTarget (Maybe Text)
-- | The name of the repository that contains the pull request source and
-- destination branches.
prtRepositoryName :: Lens' PullRequestTarget (Maybe Text)
-- | The branch of the repository that contains the changes for the pull
-- request. Also known as the source branch.
prtSourceReference :: Lens' PullRequestTarget (Maybe Text)
-- | Information about a repository.
--
-- See: repositoryMetadata smart constructor.
data RepositoryMetadata
-- | 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.
--
repositoryMetadata :: RepositoryMetadata
-- | A comment or description about the repository.
rmRepositoryDescription :: Lens' RepositoryMetadata (Maybe Text)
-- | The date and time the repository was last modified, in timestamp
-- format.
rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the repository.
rmARN :: Lens' RepositoryMetadata (Maybe Text)
-- | The URL to use for cloning the repository over HTTPS.
rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text)
-- | The ID of the AWS account associated with the repository.
rmAccountId :: Lens' RepositoryMetadata (Maybe Text)
-- | The repository's default branch name.
rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text)
-- | The ID of the repository.
rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text)
-- | The repository's name.
rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text)
-- | The date and time the repository was created, in timestamp format.
rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime)
-- | The URL to use for cloning the repository over SSH.
rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text)
-- | Information about a repository name and ID.
--
-- See: repositoryNameIdPair smart constructor.
data RepositoryNameIdPair
-- | 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:
--
--
repositoryNameIdPair :: RepositoryNameIdPair
-- | The ID associated with the repository.
rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text)
-- | The name associated with the repository.
rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text)
-- | Information about a trigger for a repository.
--
-- See: repositoryTrigger smart constructor.
data 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).
--
repositoryTrigger :: Text -> Text -> RepositoryTrigger
-- | The branches that will be included in the trigger configuration. If
-- you specify an empty array, the trigger will apply to all branches.
rtBranches :: Lens' RepositoryTrigger [Text]
-- | Any custom data associated with the trigger that will be included in
-- the information sent to the target of the trigger.
rtCustomData :: Lens' RepositoryTrigger (Maybe Text)
-- | The name of the trigger.
rtName :: Lens' RepositoryTrigger Text
-- | 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).
rtDestinationARN :: Lens' RepositoryTrigger Text
-- | 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).
rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum]
-- | A trigger failed to run.
--
-- See: repositoryTriggerExecutionFailure smart
-- constructor.
data RepositoryTriggerExecutionFailure
-- | 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.
--
repositoryTriggerExecutionFailure :: RepositoryTriggerExecutionFailure
-- | Additional message information about the trigger that did not run.
rtefFailureMessage :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
-- | The name of the trigger that did not run.
rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
-- | Returns information about a target for a pull request.
--
-- See: target smart constructor.
data Target
-- | Creates a value of Target with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tDestinationReference - The branch of the repository where
-- the pull request changes will be merged into. Also known as the
-- destination branch.
-- - tRepositoryName - The name of the repository that contains
-- the pull request.
-- - tSourceReference - The branch of the repository that
-- contains the changes for the pull request. Also known as the source
-- branch.
--
target :: Text -> Text -> Target
-- | The branch of the repository where the pull request changes will be
-- merged into. Also known as the destination branch.
tDestinationReference :: Lens' Target (Maybe Text)
-- | The name of the repository that contains the pull request.
tRepositoryName :: Lens' Target Text
-- | The branch of the repository that contains the changes for the pull
-- request. Also known as the source branch.
tSourceReference :: Lens' Target Text
-- | Information about the user who made a specified commit.
--
-- See: userInfo smart constructor.
data UserInfo
-- | 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 - The email address associated with the user who
-- made the commit, if any.
-- - uiDate - The date when the specified commit was commited,
-- in timestamp format with GMT offset.
-- - uiName - The name of the user who made the specified
-- commit.
--
userInfo :: UserInfo
-- | The email address associated with the user who made the commit, if
-- any.
uiEmail :: Lens' UserInfo (Maybe Text)
-- | The date when the specified commit was commited, in timestamp format
-- with GMT offset.
uiDate :: Lens' UserInfo (Maybe Text)
-- | The name of the user who made the specified commit.
uiName :: Lens' UserInfo (Maybe Text)
-- | Tests the functionality of repository triggers by sending information
-- to the trigger target. If real data is available in the repository,
-- the test will send data from the last commit. If no data is available,
-- sample data will be generated.
module Network.AWS.CodeCommit.TestRepositoryTriggers
-- | Creates a value of TestRepositoryTriggers with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
testRepositoryTriggers :: Text -> TestRepositoryTriggers
-- | Represents the input of a test repository triggers operation.
--
-- See: testRepositoryTriggers smart constructor.
data TestRepositoryTriggers
-- | The name of the repository in which to test the triggers.
trtRepositoryName :: Lens' TestRepositoryTriggers Text
-- | The list of triggers to test.
trtTriggers :: Lens' TestRepositoryTriggers [RepositoryTrigger]
-- | Creates a value of TestRepositoryTriggersResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - trtrsFailedExecutions - The list of triggers that were not
-- able to be tested. This list provides the names of the triggers that
-- could not be tested, separated by commas.
-- - trtrsSuccessfulExecutions - The list of triggers that were
-- successfully tested. This list provides the names of the triggers that
-- were successfully tested, separated by commas.
-- - trtrsResponseStatus - -- | The response status code.
--
testRepositoryTriggersResponse :: Int -> TestRepositoryTriggersResponse
-- | Represents the output of a test repository triggers operation.
--
-- See: testRepositoryTriggersResponse smart constructor.
data TestRepositoryTriggersResponse
-- | The list of triggers that were not able to be tested. This list
-- provides the names of the triggers that could not be tested, separated
-- by commas.
trtrsFailedExecutions :: Lens' TestRepositoryTriggersResponse [RepositoryTriggerExecutionFailure]
-- | The list of triggers that were successfully tested. This list provides
-- the names of the triggers that were successfully tested, separated by
-- commas.
trtrsSuccessfulExecutions :: Lens' TestRepositoryTriggersResponse [Text]
-- |
-- - - | The response status code.
--
trtrsResponseStatus :: Lens' TestRepositoryTriggersResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggersResponse
instance Data.Data.Data Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggersResponse
instance GHC.Show.Show Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggersResponse
instance GHC.Read.Read Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggersResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggersResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Data.Data.Data Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance GHC.Show.Show Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance GHC.Read.Read Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance GHC.Classes.Eq Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggersResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggers
-- | Replaces all triggers for a repository. This can be used to create or
-- delete triggers.
module Network.AWS.CodeCommit.PutRepositoryTriggers
-- | Creates a value of PutRepositoryTriggers with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pRepositoryName - The name of the repository where you want
-- to create or update the trigger.
-- - pTriggers - The JSON block of configuration information for
-- each trigger.
--
putRepositoryTriggers :: Text -> PutRepositoryTriggers
-- | Represents the input ofa put repository triggers operation.
--
-- See: putRepositoryTriggers smart constructor.
data PutRepositoryTriggers
-- | The name of the repository where you want to create or update the
-- trigger.
pRepositoryName :: Lens' PutRepositoryTriggers Text
-- | The JSON block of configuration information for each trigger.
pTriggers :: Lens' PutRepositoryTriggers [RepositoryTrigger]
-- | Creates a value of PutRepositoryTriggersResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
putRepositoryTriggersResponse :: Int -> PutRepositoryTriggersResponse
-- | Represents the output of a put repository triggers operation.
--
-- See: putRepositoryTriggersResponse smart constructor.
data PutRepositoryTriggersResponse
-- | The system-generated unique ID for the create or update operation.
prtrsConfigurationId :: Lens' PutRepositoryTriggersResponse (Maybe Text)
-- |
-- - - | The response status code.
--
prtrsResponseStatus :: Lens' PutRepositoryTriggersResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggersResponse
instance Data.Data.Data Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggersResponse
instance GHC.Show.Show Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggersResponse
instance GHC.Read.Read Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggersResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggersResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Data.Data.Data Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance GHC.Show.Show Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance GHC.Read.Read Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance GHC.Classes.Eq Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggersResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggers
-- | Adds or updates a file in an AWS CodeCommit repository.
module Network.AWS.CodeCommit.PutFile
-- | Creates a value of PutFile with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pfEmail - An email address for the person adding or
-- updating the file.
-- - pfFileMode - The file mode permissions of the blob. Valid
-- file mode permissions are listed below.
-- - pfParentCommitId - The full commit ID of the head commit in
-- the branch where you want to add or update the file. If the commit ID
-- does not match the ID of the head commit at the time of the operation,
-- an error will occur, and the file will not be added or updated.
-- - pfName - The name of the person adding or updating the
-- file. While optional, adding a name is strongly encouraged in order to
-- provide a more useful commit history for your repository.
-- - pfCommitMessage - A message about why this file was added
-- or updated. While optional, adding a message is strongly encouraged in
-- order to provide a more useful commit history for your
-- repository.
-- - pfRepositoryName - The name of the repository where you
-- want to add or update the file.
-- - pfBranchName - The name of the branch where you want to add
-- or update the file.
-- - pfFileContent - The content of the file, in binary object
-- format. -- Note: This Lens automatically encodes and
-- decodes Base64 data. The underlying isomorphism will encode to Base64
-- representation during serialisation, and decode from Base64
-- representation during deserialisation. This Lens accepts and
-- returns only raw unencoded data.
-- - pfFilePath - The name of the file you want to add or
-- update, including the relative path to the file in the
-- repository.
--
putFile :: Text -> Text -> ByteString -> Text -> PutFile
-- | See: putFile smart constructor.
data PutFile
-- | An email address for the person adding or updating the file.
pfEmail :: Lens' PutFile (Maybe Text)
-- | The file mode permissions of the blob. Valid file mode permissions are
-- listed below.
pfFileMode :: Lens' PutFile (Maybe FileModeTypeEnum)
-- | The full commit ID of the head commit in the branch where you want to
-- add or update the file. If the commit ID does not match the ID of the
-- head commit at the time of the operation, an error will occur, and the
-- file will not be added or updated.
pfParentCommitId :: Lens' PutFile (Maybe Text)
-- | The name of the person adding or updating the file. While optional,
-- adding a name is strongly encouraged in order to provide a more useful
-- commit history for your repository.
pfName :: Lens' PutFile (Maybe Text)
-- | A message about why this file was added or updated. While optional,
-- adding a message is strongly encouraged in order to provide a more
-- useful commit history for your repository.
pfCommitMessage :: Lens' PutFile (Maybe Text)
-- | The name of the repository where you want to add or update the file.
pfRepositoryName :: Lens' PutFile Text
-- | The name of the branch where you want to add or update the file.
pfBranchName :: Lens' PutFile Text
-- | The content of the file, in binary object format. -- Note: This
-- Lens automatically encodes and decodes Base64 data. The
-- underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during
-- deserialisation. This Lens accepts and returns only raw
-- unencoded data.
pfFileContent :: Lens' PutFile ByteString
-- | The name of the file you want to add or update, including the relative
-- path to the file in the repository.
pfFilePath :: Lens' PutFile Text
-- | Creates a value of PutFileResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pfrsResponseStatus - -- | The response status code.
-- - pfrsCommitId - The full SHA of the commit that contains
-- this file change.
-- - pfrsBlobId - The ID of the blob, which is its SHA-1
-- pointer.
-- - pfrsTreeId - Tree information for the commit that contains
-- this file change.
--
putFileResponse :: Int -> Text -> Text -> Text -> PutFileResponse
-- | See: putFileResponse smart constructor.
data PutFileResponse
-- |
-- - - | The response status code.
--
pfrsResponseStatus :: Lens' PutFileResponse Int
-- | The full SHA of the commit that contains this file change.
pfrsCommitId :: Lens' PutFileResponse Text
-- | The ID of the blob, which is its SHA-1 pointer.
pfrsBlobId :: Lens' PutFileResponse Text
-- | Tree information for the commit that contains this file change.
pfrsTreeId :: Lens' PutFileResponse Text
instance GHC.Generics.Generic Network.AWS.CodeCommit.PutFile.PutFileResponse
instance Data.Data.Data Network.AWS.CodeCommit.PutFile.PutFileResponse
instance GHC.Show.Show Network.AWS.CodeCommit.PutFile.PutFileResponse
instance GHC.Read.Read Network.AWS.CodeCommit.PutFile.PutFileResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.PutFile.PutFileResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.PutFile.PutFile
instance Data.Data.Data Network.AWS.CodeCommit.PutFile.PutFile
instance GHC.Show.Show Network.AWS.CodeCommit.PutFile.PutFile
instance GHC.Read.Read Network.AWS.CodeCommit.PutFile.PutFile
instance GHC.Classes.Eq Network.AWS.CodeCommit.PutFile.PutFile
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.PutFile.PutFile
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PutFile.PutFileResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.PutFile.PutFile
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PutFile.PutFile
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.PutFile.PutFile
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.PutFile.PutFile
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.PutFile.PutFile
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.PutFile.PutFile
-- | Posts a comment in reply to an existing comment on a comparison
-- between commits or a pull request.
module Network.AWS.CodeCommit.PostCommentReply
-- | Creates a value of PostCommentReply with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcrClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - pcrInReplyTo - The system-generated ID of the comment to
-- which you want to reply. To get this ID, use
-- GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
-- - pcrContent - The contents of your reply to a comment.
--
postCommentReply :: Text -> Text -> PostCommentReply
-- | See: postCommentReply smart constructor.
data PostCommentReply
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
pcrClientRequestToken :: Lens' PostCommentReply (Maybe Text)
-- | The system-generated ID of the comment to which you want to reply. To
-- get this ID, use GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
pcrInReplyTo :: Lens' PostCommentReply Text
-- | The contents of your reply to a comment.
pcrContent :: Lens' PostCommentReply Text
-- | Creates a value of PostCommentReplyResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
postCommentReplyResponse :: Int -> PostCommentReplyResponse
-- | See: postCommentReplyResponse smart constructor.
data PostCommentReplyResponse
-- | Information about the reply to a comment.
pcrrsComment :: Lens' PostCommentReplyResponse (Maybe Comment)
-- |
-- - - | The response status code.
--
pcrrsResponseStatus :: Lens' PostCommentReplyResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.PostCommentReply.PostCommentReplyResponse
instance Data.Data.Data Network.AWS.CodeCommit.PostCommentReply.PostCommentReplyResponse
instance GHC.Show.Show Network.AWS.CodeCommit.PostCommentReply.PostCommentReplyResponse
instance GHC.Read.Read Network.AWS.CodeCommit.PostCommentReply.PostCommentReplyResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.PostCommentReply.PostCommentReplyResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Data.Data.Data Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance GHC.Show.Show Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance GHC.Read.Read Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance GHC.Classes.Eq Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PostCommentReply.PostCommentReplyResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.PostCommentReply.PostCommentReply
-- | Posts a comment on a pull request.
module Network.AWS.CodeCommit.PostCommentForPullRequest
-- | Creates a value of PostCommentForPullRequest with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcfprLocation - The location of the change where you want
-- to post your comment. If no location is provided, the comment will be
-- posted as a general comment on the pull request difference between the
-- before commit ID and the after commit ID.
-- - pcfprClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - pcfprPullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
-- - pcfprRepositoryName - The name of the repository where you
-- want to post a comment on a pull request.
-- - pcfprBeforeCommitId - The full commit ID of the commit in
-- the destination branch that was the tip of the branch at the time the
-- pull request was created.
-- - pcfprAfterCommitId - The full commit ID of the commit in
-- the source branch that is the current tip of the branch for the pull
-- request when you post the comment.
-- - pcfprContent - The content of your comment on the
-- change.
--
postCommentForPullRequest :: Text -> Text -> Text -> Text -> Text -> PostCommentForPullRequest
-- | See: postCommentForPullRequest smart constructor.
data PostCommentForPullRequest
-- | The location of the change where you want to post your comment. If no
-- location is provided, the comment will be posted as a general comment
-- on the pull request difference between the before commit ID and the
-- after commit ID.
pcfprLocation :: Lens' PostCommentForPullRequest (Maybe Location)
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
pcfprClientRequestToken :: Lens' PostCommentForPullRequest (Maybe Text)
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
pcfprPullRequestId :: Lens' PostCommentForPullRequest Text
-- | The name of the repository where you want to post a comment on a pull
-- request.
pcfprRepositoryName :: Lens' PostCommentForPullRequest Text
-- | The full commit ID of the commit in the destination branch that was
-- the tip of the branch at the time the pull request was created.
pcfprBeforeCommitId :: Lens' PostCommentForPullRequest Text
-- | The full commit ID of the commit in the source branch that is the
-- current tip of the branch for the pull request when you post the
-- comment.
pcfprAfterCommitId :: Lens' PostCommentForPullRequest Text
-- | The content of your comment on the change.
pcfprContent :: Lens' PostCommentForPullRequest Text
-- | Creates a value of PostCommentForPullRequestResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcfprrsBeforeBlobId - In the directionality of the pull
-- request, the blob ID of the before blob.
-- - pcfprrsLocation - The location of the change where you
-- posted your comment.
-- - pcfprrsAfterCommitId - The full commit ID of the commit in
-- the destination branch where the pull request will be merged.
-- - pcfprrsPullRequestId - The system-generated ID of the pull
-- request.
-- - pcfprrsAfterBlobId - In the directionality of the pull
-- request, the blob ID of the after blob.
-- - pcfprrsBeforeCommitId - The full commit ID of the commit in
-- the source branch used to create the pull request, or in the case of
-- an updated pull request, the full commit ID of the commit used to
-- update the pull request.
-- - pcfprrsRepositoryName - The name of the repository where
-- you posted a comment on a pull request.
-- - pcfprrsComment - The content of the comment you
-- posted.
-- - pcfprrsResponseStatus - -- | The response status code.
--
postCommentForPullRequestResponse :: Int -> PostCommentForPullRequestResponse
-- | See: postCommentForPullRequestResponse smart
-- constructor.
data PostCommentForPullRequestResponse
-- | In the directionality of the pull request, the blob ID of the
-- before blob.
pcfprrsBeforeBlobId :: Lens' PostCommentForPullRequestResponse (Maybe Text)
-- | The location of the change where you posted your comment.
pcfprrsLocation :: Lens' PostCommentForPullRequestResponse (Maybe Location)
-- | The full commit ID of the commit in the destination branch where the
-- pull request will be merged.
pcfprrsAfterCommitId :: Lens' PostCommentForPullRequestResponse (Maybe Text)
-- | The system-generated ID of the pull request.
pcfprrsPullRequestId :: Lens' PostCommentForPullRequestResponse (Maybe Text)
-- | In the directionality of the pull request, the blob ID of the
-- after blob.
pcfprrsAfterBlobId :: Lens' PostCommentForPullRequestResponse (Maybe Text)
-- | The full commit ID of the commit in the source branch used to create
-- the pull request, or in the case of an updated pull request, the full
-- commit ID of the commit used to update the pull request.
pcfprrsBeforeCommitId :: Lens' PostCommentForPullRequestResponse (Maybe Text)
-- | The name of the repository where you posted a comment on a pull
-- request.
pcfprrsRepositoryName :: Lens' PostCommentForPullRequestResponse (Maybe Text)
-- | The content of the comment you posted.
pcfprrsComment :: Lens' PostCommentForPullRequestResponse (Maybe Comment)
-- |
-- - - | The response status code.
--
pcfprrsResponseStatus :: Lens' PostCommentForPullRequestResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequestResponse
instance Data.Data.Data Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequestResponse
instance GHC.Show.Show Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequestResponse
instance GHC.Read.Read Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequestResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequestResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Data.Data.Data Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance GHC.Show.Show Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance GHC.Read.Read Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance GHC.Classes.Eq Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequestResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.PostCommentForPullRequest.PostCommentForPullRequest
-- | Posts a comment on the comparison between two commits.
module Network.AWS.CodeCommit.PostCommentForComparedCommit
-- | Creates a value of PostCommentForComparedCommit with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcfccLocation - The location of the comparison where you
-- want to comment.
-- - pcfccBeforeCommitId - To establish the directionality of
-- the comparison, the full commit ID of the before commit.
-- - pcfccClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - pcfccRepositoryName - The name of the repository where you
-- want to post a comment on the comparison between commits.
-- - pcfccAfterCommitId - To establish the directionality of the
-- comparison, the full commit ID of the after commit.
-- - pcfccContent - The content of the comment you want to
-- make.
--
postCommentForComparedCommit :: Text -> Text -> Text -> PostCommentForComparedCommit
-- | See: postCommentForComparedCommit smart constructor.
data PostCommentForComparedCommit
-- | The location of the comparison where you want to comment.
pcfccLocation :: Lens' PostCommentForComparedCommit (Maybe Location)
-- | To establish the directionality of the comparison, the full commit ID
-- of the before commit.
pcfccBeforeCommitId :: Lens' PostCommentForComparedCommit (Maybe Text)
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
pcfccClientRequestToken :: Lens' PostCommentForComparedCommit (Maybe Text)
-- | The name of the repository where you want to post a comment on the
-- comparison between commits.
pcfccRepositoryName :: Lens' PostCommentForComparedCommit Text
-- | To establish the directionality of the comparison, the full commit ID
-- of the after commit.
pcfccAfterCommitId :: Lens' PostCommentForComparedCommit Text
-- | The content of the comment you want to make.
pcfccContent :: Lens' PostCommentForComparedCommit Text
-- | Creates a value of PostCommentForComparedCommitResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - pcfccrsBeforeBlobId - In the directionality you
-- established, the blob ID of the before blob.
-- - pcfccrsLocation - The location of the comment in the
-- comparison between the two commits.
-- - pcfccrsAfterCommitId - In the directionality you
-- established, the full commit ID of the after commit.
-- - pcfccrsAfterBlobId - In the directionality you established,
-- the blob ID of the after blob.
-- - pcfccrsBeforeCommitId - In the directionality you
-- established, the full commit ID of the before commit.
-- - pcfccrsRepositoryName - The name of the repository where
-- you posted a comment on the comparison between commits.
-- - pcfccrsComment - The content of the comment you
-- posted.
-- - pcfccrsResponseStatus - -- | The response status code.
--
postCommentForComparedCommitResponse :: Int -> PostCommentForComparedCommitResponse
-- | See: postCommentForComparedCommitResponse smart
-- constructor.
data PostCommentForComparedCommitResponse
-- | In the directionality you established, the blob ID of the
-- before blob.
pcfccrsBeforeBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
-- | The location of the comment in the comparison between the two commits.
pcfccrsLocation :: Lens' PostCommentForComparedCommitResponse (Maybe Location)
-- | In the directionality you established, the full commit ID of the
-- after commit.
pcfccrsAfterCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
-- | In the directionality you established, the blob ID of the
-- after blob.
pcfccrsAfterBlobId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
-- | In the directionality you established, the full commit ID of the
-- before commit.
pcfccrsBeforeCommitId :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
-- | The name of the repository where you posted a comment on the
-- comparison between commits.
pcfccrsRepositoryName :: Lens' PostCommentForComparedCommitResponse (Maybe Text)
-- | The content of the comment you posted.
pcfccrsComment :: Lens' PostCommentForComparedCommitResponse (Maybe Comment)
-- |
-- - - | The response status code.
--
pcfccrsResponseStatus :: Lens' PostCommentForComparedCommitResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommitResponse
instance Data.Data.Data Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommitResponse
instance GHC.Show.Show Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommitResponse
instance GHC.Read.Read Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommitResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommitResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Data.Data.Data Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance GHC.Show.Show Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance GHC.Read.Read Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance GHC.Classes.Eq Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommitResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.PostCommentForComparedCommit.PostCommentForComparedCommit
-- | Closes a pull request and attempts to merge the source commit of a
-- pull request into the specified destination branch for that pull
-- request at the specified commit using the fast-forward merge option.
module Network.AWS.CodeCommit.MergePullRequestByFastForward
-- | Creates a value of MergePullRequestByFastForward with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - mprbffSourceCommitId - The full commit ID of the original
-- or updated commit in the pull request source branch. Pass this value
-- if you want an exception thrown if the current commit ID of the tip of
-- the source branch does not match this commit ID.
-- - mprbffPullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
-- - mprbffRepositoryName - The name of the repository where the
-- pull request was created.
--
mergePullRequestByFastForward :: Text -> Text -> MergePullRequestByFastForward
-- | See: mergePullRequestByFastForward smart constructor.
data MergePullRequestByFastForward
-- | The full commit ID of the original or updated commit in the pull
-- request source branch. Pass this value if you want an exception thrown
-- if the current commit ID of the tip of the source branch does not
-- match this commit ID.
mprbffSourceCommitId :: Lens' MergePullRequestByFastForward (Maybe Text)
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
mprbffPullRequestId :: Lens' MergePullRequestByFastForward Text
-- | The name of the repository where the pull request was created.
mprbffRepositoryName :: Lens' MergePullRequestByFastForward Text
-- | Creates a value of MergePullRequestByFastForwardResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
mergePullRequestByFastForwardResponse :: Int -> MergePullRequestByFastForwardResponse
-- | See: mergePullRequestByFastForwardResponse smart
-- constructor.
data MergePullRequestByFastForwardResponse
-- | Information about the specified pull request, including information
-- about the merge.
mprbffrsPullRequest :: Lens' MergePullRequestByFastForwardResponse (Maybe PullRequest)
-- |
-- - - | The response status code.
--
mprbffrsResponseStatus :: Lens' MergePullRequestByFastForwardResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForwardResponse
instance Data.Data.Data Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForwardResponse
instance GHC.Show.Show Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForwardResponse
instance GHC.Read.Read Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForwardResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForwardResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Data.Data.Data Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance GHC.Show.Show Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance GHC.Read.Read Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance GHC.Classes.Eq Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForwardResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.MergePullRequestByFastForward.MergePullRequestByFastForward
-- | Gets information about one or more repositories.
--
-- This operation returns paginated results.
module Network.AWS.CodeCommit.ListRepositories
-- | Creates a value of ListRepositories with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lrNextToken - An enumeration token that allows the
-- operation to batch the results of the operation. Batch sizes are 1,000
-- for list repository operations. When the client sends the token back
-- to AWS CodeCommit, another page of 1,000 records is retrieved.
-- - lrOrder - The order in which to sort the results of a list
-- repositories operation.
-- - lrSortBy - The criteria used to sort the results of a list
-- repositories operation.
--
listRepositories :: ListRepositories
-- | Represents the input of a list repositories operation.
--
-- See: listRepositories smart constructor.
data ListRepositories
-- | An enumeration token that allows the operation to batch the results of
-- the operation. Batch sizes are 1,000 for list repository operations.
-- When the client sends the token back to AWS CodeCommit, another page
-- of 1,000 records is retrieved.
lrNextToken :: Lens' ListRepositories (Maybe Text)
-- | The order in which to sort the results of a list repositories
-- operation.
lrOrder :: Lens' ListRepositories (Maybe OrderEnum)
-- | The criteria used to sort the results of a list repositories
-- operation.
lrSortBy :: Lens' ListRepositories (Maybe SortByEnum)
-- | Creates a value of ListRepositoriesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lrrsRepositories - Lists the repositories called by the
-- list repositories operation.
-- - lrrsNextToken - An enumeration token that allows the
-- operation to batch the results of the operation. Batch sizes are 1,000
-- for list repository operations. When the client sends the token back
-- to AWS CodeCommit, another page of 1,000 records is retrieved.
-- - lrrsResponseStatus - -- | The response status code.
--
listRepositoriesResponse :: Int -> ListRepositoriesResponse
-- | Represents the output of a list repositories operation.
--
-- See: listRepositoriesResponse smart constructor.
data ListRepositoriesResponse
-- | Lists the repositories called by the list repositories operation.
lrrsRepositories :: Lens' ListRepositoriesResponse [RepositoryNameIdPair]
-- | An enumeration token that allows the operation to batch the results of
-- the operation. Batch sizes are 1,000 for list repository operations.
-- When the client sends the token back to AWS CodeCommit, another page
-- of 1,000 records is retrieved.
lrrsNextToken :: Lens' ListRepositoriesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lrrsResponseStatus :: Lens' ListRepositoriesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.ListRepositories.ListRepositoriesResponse
instance Data.Data.Data Network.AWS.CodeCommit.ListRepositories.ListRepositoriesResponse
instance GHC.Show.Show Network.AWS.CodeCommit.ListRepositories.ListRepositoriesResponse
instance GHC.Read.Read Network.AWS.CodeCommit.ListRepositories.ListRepositoriesResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.ListRepositories.ListRepositoriesResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Data.Data.Data Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance GHC.Show.Show Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance GHC.Read.Read Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance GHC.Classes.Eq Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListRepositories.ListRepositoriesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.ListRepositories.ListRepositories
-- | Returns a list of pull requests for a specified repository. The return
-- list can be refined by pull request status or pull request author ARN.
--
-- This operation returns paginated results.
module Network.AWS.CodeCommit.ListPullRequests
-- | Creates a value of ListPullRequests with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lprAuthorARN - Optional. The Amazon Resource Name (ARN) of
-- the user who created the pull request. If used, this filters the
-- results to pull requests created by that user.
-- - lprNextToken - An enumeration token that when provided in a
-- request, returns the next batch of the results.
-- - lprPullRequestStatus - Optional. The status of the pull
-- request. If used, this refines the results to the pull requests that
-- match the specified status.
-- - lprMaxResults - A non-negative integer used to limit the
-- number of returned results.
-- - lprRepositoryName - The name of the repository for which
-- you want to list pull requests.
--
listPullRequests :: Text -> ListPullRequests
-- | See: listPullRequests smart constructor.
data ListPullRequests
-- | Optional. The Amazon Resource Name (ARN) of the user who created the
-- pull request. If used, this filters the results to pull requests
-- created by that user.
lprAuthorARN :: Lens' ListPullRequests (Maybe Text)
-- | An enumeration token that when provided in a request, returns the next
-- batch of the results.
lprNextToken :: Lens' ListPullRequests (Maybe Text)
-- | Optional. The status of the pull request. If used, this refines the
-- results to the pull requests that match the specified status.
lprPullRequestStatus :: Lens' ListPullRequests (Maybe PullRequestStatusEnum)
-- | A non-negative integer used to limit the number of returned results.
lprMaxResults :: Lens' ListPullRequests (Maybe Int)
-- | The name of the repository for which you want to list pull requests.
lprRepositoryName :: Lens' ListPullRequests Text
-- | Creates a value of ListPullRequestsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listPullRequestsResponse :: Int -> ListPullRequestsResponse
-- | See: listPullRequestsResponse smart constructor.
data ListPullRequestsResponse
-- | An enumeration token that when provided in a request, returns the next
-- batch of the results.
lprrsNextToken :: Lens' ListPullRequestsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lprrsResponseStatus :: Lens' ListPullRequestsResponse Int
-- | The system-generated IDs of the pull requests.
lprrsPullRequestIds :: Lens' ListPullRequestsResponse [Text]
instance GHC.Generics.Generic Network.AWS.CodeCommit.ListPullRequests.ListPullRequestsResponse
instance Data.Data.Data Network.AWS.CodeCommit.ListPullRequests.ListPullRequestsResponse
instance GHC.Show.Show Network.AWS.CodeCommit.ListPullRequests.ListPullRequestsResponse
instance GHC.Read.Read Network.AWS.CodeCommit.ListPullRequests.ListPullRequestsResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.ListPullRequests.ListPullRequestsResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Data.Data.Data Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance GHC.Show.Show Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance GHC.Read.Read Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance GHC.Classes.Eq Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListPullRequests.ListPullRequestsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.ListPullRequests.ListPullRequests
-- | Gets information about one or more branches in a repository.
--
-- This operation returns paginated results.
module Network.AWS.CodeCommit.ListBranches
-- | Creates a value of ListBranches with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lbNextToken - An enumeration token that allows the
-- operation to batch the results.
-- - lbRepositoryName - The name of the repository that contains
-- the branches.
--
listBranches :: Text -> ListBranches
-- | Represents the input of a list branches operation.
--
-- See: listBranches smart constructor.
data ListBranches
-- | An enumeration token that allows the operation to batch the results.
lbNextToken :: Lens' ListBranches (Maybe Text)
-- | The name of the repository that contains the branches.
lbRepositoryName :: Lens' ListBranches Text
-- | Creates a value of ListBranchesResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listBranchesResponse :: Int -> ListBranchesResponse
-- | Represents the output of a list branches operation.
--
-- See: listBranchesResponse smart constructor.
data ListBranchesResponse
-- | The list of branch names.
lbrsBranches :: Lens' ListBranchesResponse [Text]
-- | An enumeration token that returns the batch of the results.
lbrsNextToken :: Lens' ListBranchesResponse (Maybe Text)
-- |
-- - - | The response status code.
--
lbrsResponseStatus :: Lens' ListBranchesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.ListBranches.ListBranchesResponse
instance Data.Data.Data Network.AWS.CodeCommit.ListBranches.ListBranchesResponse
instance GHC.Show.Show Network.AWS.CodeCommit.ListBranches.ListBranchesResponse
instance GHC.Read.Read Network.AWS.CodeCommit.ListBranches.ListBranchesResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.ListBranches.ListBranchesResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.ListBranches.ListBranches
instance Data.Data.Data Network.AWS.CodeCommit.ListBranches.ListBranches
instance GHC.Show.Show Network.AWS.CodeCommit.ListBranches.ListBranches
instance GHC.Read.Read Network.AWS.CodeCommit.ListBranches.ListBranches
instance GHC.Classes.Eq Network.AWS.CodeCommit.ListBranches.ListBranches
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.ListBranches.ListBranches
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListBranches.ListBranchesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeCommit.ListBranches.ListBranches
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.ListBranches.ListBranches
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListBranches.ListBranches
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.ListBranches.ListBranches
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.ListBranches.ListBranches
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.ListBranches.ListBranches
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.ListBranches.ListBranches
-- | Gets information about triggers configured for a repository.
module Network.AWS.CodeCommit.GetRepositoryTriggers
-- | Creates a value of GetRepositoryTriggers with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - grtRepositoryName - The name of the repository for which
-- the trigger is configured.
--
getRepositoryTriggers :: Text -> GetRepositoryTriggers
-- | Represents the input of a get repository triggers operation.
--
-- See: getRepositoryTriggers smart constructor.
data GetRepositoryTriggers
-- | The name of the repository for which the trigger is configured.
grtRepositoryName :: Lens' GetRepositoryTriggers Text
-- | Creates a value of GetRepositoryTriggersResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getRepositoryTriggersResponse :: Int -> GetRepositoryTriggersResponse
-- | Represents the output of a get repository triggers operation.
--
-- See: getRepositoryTriggersResponse smart constructor.
data GetRepositoryTriggersResponse
-- | The system-generated unique ID for the trigger.
grtrsConfigurationId :: Lens' GetRepositoryTriggersResponse (Maybe Text)
-- | The JSON block of configuration information for each trigger.
grtrsTriggers :: Lens' GetRepositoryTriggersResponse [RepositoryTrigger]
-- |
-- - - | The response status code.
--
grtrsResponseStatus :: Lens' GetRepositoryTriggersResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggersResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggersResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggersResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggersResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggersResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Data.Data.Data Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance GHC.Show.Show Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance GHC.Read.Read Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggersResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggers
-- | Returns information about a repository.
module Network.AWS.CodeCommit.GetRepository
-- | Creates a value of GetRepository with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - grRepositoryName - The name of the repository to get
-- information about.
--
getRepository :: Text -> GetRepository
-- | Represents the input of a get repository operation.
--
-- See: getRepository smart constructor.
data GetRepository
-- | The name of the repository to get information about.
grRepositoryName :: Lens' GetRepository Text
-- | Creates a value of GetRepositoryResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getRepositoryResponse :: Int -> GetRepositoryResponse
-- | Represents the output of a get repository operation.
--
-- See: getRepositoryResponse smart constructor.
data GetRepositoryResponse
-- | Information about the repository.
grrsRepositoryMetadata :: Lens' GetRepositoryResponse (Maybe RepositoryMetadata)
-- |
-- - - | The response status code.
--
grrsResponseStatus :: Lens' GetRepositoryResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetRepository.GetRepositoryResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetRepository.GetRepositoryResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetRepository.GetRepositoryResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetRepository.GetRepositoryResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetRepository.GetRepositoryResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetRepository.GetRepository
instance Data.Data.Data Network.AWS.CodeCommit.GetRepository.GetRepository
instance GHC.Show.Show Network.AWS.CodeCommit.GetRepository.GetRepository
instance GHC.Read.Read Network.AWS.CodeCommit.GetRepository.GetRepository
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetRepository.GetRepository
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetRepository.GetRepository
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetRepository.GetRepositoryResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetRepository.GetRepository
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetRepository.GetRepository
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetRepository.GetRepository
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetRepository.GetRepository
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetRepository.GetRepository
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetRepository.GetRepository
-- | Gets information about a pull request in a specified repository.
module Network.AWS.CodeCommit.GetPullRequest
-- | Creates a value of GetPullRequest with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gprPullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
--
getPullRequest :: Text -> GetPullRequest
-- | See: getPullRequest smart constructor.
data GetPullRequest
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
gprPullRequestId :: Lens' GetPullRequest Text
-- | Creates a value of GetPullRequestResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getPullRequestResponse :: Int -> PullRequest -> GetPullRequestResponse
-- | See: getPullRequestResponse smart constructor.
data GetPullRequestResponse
-- |
-- - - | The response status code.
--
gprrsResponseStatus :: Lens' GetPullRequestResponse Int
-- | Information about the specified pull request.
gprrsPullRequest :: Lens' GetPullRequestResponse PullRequest
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetPullRequest.GetPullRequestResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetPullRequest.GetPullRequestResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetPullRequest.GetPullRequestResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetPullRequest.GetPullRequestResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetPullRequest.GetPullRequestResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Data.Data.Data Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance GHC.Show.Show Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance GHC.Read.Read Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetPullRequest.GetPullRequestResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetPullRequest.GetPullRequest
-- | Returns information about merge conflicts between the before and after
-- commit IDs for a pull request in a repository.
module Network.AWS.CodeCommit.GetMergeConflicts
-- | Creates a value of GetMergeConflicts with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gmcRepositoryName - The name of the repository where the
-- pull request was created.
-- - gmcDestinationCommitSpecifier - The branch, tag, HEAD, or
-- other fully qualified reference used to identify a commit. For
-- example, a branch name or a full commit ID.
-- - gmcSourceCommitSpecifier - The branch, tag, HEAD, or other
-- fully qualified reference used to identify a commit. For example, a
-- branch name or a full commit ID.
-- - gmcMergeOption - The merge option or strategy you want to
-- use to merge the code. The only valid value is
-- FAST_FORWARD_MERGE.
--
getMergeConflicts :: Text -> Text -> Text -> MergeOptionTypeEnum -> GetMergeConflicts
-- | See: getMergeConflicts smart constructor.
data GetMergeConflicts
-- | The name of the repository where the pull request was created.
gmcRepositoryName :: Lens' GetMergeConflicts Text
-- | The branch, tag, HEAD, or other fully qualified reference used to
-- identify a commit. For example, a branch name or a full commit ID.
gmcDestinationCommitSpecifier :: Lens' GetMergeConflicts Text
-- | The branch, tag, HEAD, or other fully qualified reference used to
-- identify a commit. For example, a branch name or a full commit ID.
gmcSourceCommitSpecifier :: Lens' GetMergeConflicts Text
-- | The merge option or strategy you want to use to merge the code. The
-- only valid value is FAST_FORWARD_MERGE.
gmcMergeOption :: Lens' GetMergeConflicts MergeOptionTypeEnum
-- | Creates a value of GetMergeConflictsResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gmcrsResponseStatus - -- | The response status code.
-- - gmcrsMergeable - A Boolean value that indicates whether the
-- code is mergable by the specified merge option.
-- - gmcrsDestinationCommitId - The commit ID of the destination
-- commit specifier that was used in the merge evaluation.
-- - gmcrsSourceCommitId - The commit ID of the source commit
-- specifier that was used in the merge evaluation.
--
getMergeConflictsResponse :: Int -> Bool -> Text -> Text -> GetMergeConflictsResponse
-- | See: getMergeConflictsResponse smart constructor.
data GetMergeConflictsResponse
-- |
-- - - | The response status code.
--
gmcrsResponseStatus :: Lens' GetMergeConflictsResponse Int
-- | A Boolean value that indicates whether the code is mergable by the
-- specified merge option.
gmcrsMergeable :: Lens' GetMergeConflictsResponse Bool
-- | The commit ID of the destination commit specifier that was used in the
-- merge evaluation.
gmcrsDestinationCommitId :: Lens' GetMergeConflictsResponse Text
-- | The commit ID of the source commit specifier that was used in the
-- merge evaluation.
gmcrsSourceCommitId :: Lens' GetMergeConflictsResponse Text
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflictsResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflictsResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflictsResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflictsResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflictsResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Data.Data.Data Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance GHC.Show.Show Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance GHC.Read.Read Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflictsResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetMergeConflicts.GetMergeConflicts
-- | Returns information about the differences in a valid commit specifier
-- (such as a branch, tag, HEAD, commit ID or other fully qualified
-- reference). Results can be limited to a specified path.
--
-- This operation returns paginated results.
module Network.AWS.CodeCommit.GetDifferences
-- | Creates a value of GetDifferences with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gdAfterPath - The file path in which to check differences.
-- Limits the results to this path. Can also be used to specify the
-- changed name of a directory or folder, if it has changed. If not
-- specified, differences will be shown for all paths.
-- - gdNextToken - An enumeration token that when provided in a
-- request, returns the next batch of the results.
-- - gdBeforeCommitSpecifier - The branch, tag, HEAD, or other
-- fully qualified reference used to identify a commit. For example, the
-- full commit ID. Optional. If not specified, all changes prior to the
-- afterCommitSpecifier value will be shown. If you do not use
-- beforeCommitSpecifier in your request, consider limiting the
-- results with maxResults .
-- - gdBeforePath - The file path in which to check for
-- differences. Limits the results to this path. Can also be used to
-- specify the previous name of a directory or folder. If
-- beforePath and afterPath are not specified,
-- differences will be shown for all paths.
-- - gdMaxResults - A non-negative integer used to limit the
-- number of returned results.
-- - gdRepositoryName - The name of the repository where you
-- want to get differences.
-- - gdAfterCommitSpecifier - The branch, tag, HEAD, or other
-- fully qualified reference used to identify a commit.
--
getDifferences :: Text -> Text -> GetDifferences
-- | See: getDifferences smart constructor.
data GetDifferences
-- | The file path in which to check differences. Limits the results to
-- this path. Can also be used to specify the changed name of a directory
-- or folder, if it has changed. If not specified, differences will be
-- shown for all paths.
gdAfterPath :: Lens' GetDifferences (Maybe Text)
-- | An enumeration token that when provided in a request, returns the next
-- batch of the results.
gdNextToken :: Lens' GetDifferences (Maybe Text)
-- | The branch, tag, HEAD, or other fully qualified reference used to
-- identify a commit. For example, the full commit ID. Optional. If not
-- specified, all changes prior to the afterCommitSpecifier
-- value will be shown. If you do not use beforeCommitSpecifier
-- in your request, consider limiting the results with
-- maxResults .
gdBeforeCommitSpecifier :: Lens' GetDifferences (Maybe Text)
-- | The file path in which to check for differences. Limits the results to
-- this path. Can also be used to specify the previous name of a
-- directory or folder. If beforePath and afterPath are
-- not specified, differences will be shown for all paths.
gdBeforePath :: Lens' GetDifferences (Maybe Text)
-- | A non-negative integer used to limit the number of returned results.
gdMaxResults :: Lens' GetDifferences (Maybe Int)
-- | The name of the repository where you want to get differences.
gdRepositoryName :: Lens' GetDifferences Text
-- | The branch, tag, HEAD, or other fully qualified reference used to
-- identify a commit.
gdAfterCommitSpecifier :: Lens' GetDifferences Text
-- | Creates a value of GetDifferencesResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gdrsNextToken - An enumeration token that can be used in a
-- request to return the next batch of the results.
-- - gdrsDifferences - A differences data type object that
-- contains information about the differences, including whether the
-- difference is added, modified, or deleted (A, D, M).
-- - gdrsResponseStatus - -- | The response status code.
--
getDifferencesResponse :: Int -> GetDifferencesResponse
-- | See: getDifferencesResponse smart constructor.
data GetDifferencesResponse
-- | An enumeration token that can be used in a request to return the next
-- batch of the results.
gdrsNextToken :: Lens' GetDifferencesResponse (Maybe Text)
-- | A differences data type object that contains information about the
-- differences, including whether the difference is added, modified, or
-- deleted (A, D, M).
gdrsDifferences :: Lens' GetDifferencesResponse [Difference]
-- |
-- - - | The response status code.
--
gdrsResponseStatus :: Lens' GetDifferencesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetDifferences.GetDifferencesResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetDifferences.GetDifferencesResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetDifferences.GetDifferencesResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetDifferences.GetDifferencesResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetDifferences.GetDifferencesResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Data.Data.Data Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance GHC.Show.Show Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance GHC.Read.Read Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetDifferences.GetDifferencesResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetDifferences.GetDifferences
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetDifferences.GetDifferences
-- | Returns information about a commit, including commit message and
-- committer information.
module Network.AWS.CodeCommit.GetCommit
-- | Creates a value of GetCommit with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gcRepositoryName - The name of the repository to which the
-- commit was made.
-- - gcCommitId - The commit ID. Commit IDs are the full SHA of
-- the commit.
--
getCommit :: Text -> Text -> GetCommit
-- | Represents the input of a get commit operation.
--
-- See: getCommit smart constructor.
data GetCommit
-- | The name of the repository to which the commit was made.
gcRepositoryName :: Lens' GetCommit Text
-- | The commit ID. Commit IDs are the full SHA of the commit.
gcCommitId :: Lens' GetCommit Text
-- | Creates a value of GetCommitResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gcrsResponseStatus - -- | The response status code.
-- - gcrsCommit - A commit data type object that contains
-- information about the specified commit.
--
getCommitResponse :: Int -> Commit -> GetCommitResponse
-- | Represents the output of a get commit operation.
--
-- See: getCommitResponse smart constructor.
data GetCommitResponse
-- |
-- - - | The response status code.
--
gcrsResponseStatus :: Lens' GetCommitResponse Int
-- | A commit data type object that contains information about the
-- specified commit.
gcrsCommit :: Lens' GetCommitResponse Commit
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetCommit.GetCommitResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetCommit.GetCommitResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetCommit.GetCommitResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetCommit.GetCommitResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetCommit.GetCommitResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetCommit.GetCommit
instance Data.Data.Data Network.AWS.CodeCommit.GetCommit.GetCommit
instance GHC.Show.Show Network.AWS.CodeCommit.GetCommit.GetCommit
instance GHC.Read.Read Network.AWS.CodeCommit.GetCommit.GetCommit
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetCommit.GetCommit
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetCommit.GetCommit
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetCommit.GetCommitResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetCommit.GetCommit
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetCommit.GetCommit
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetCommit.GetCommit
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetCommit.GetCommit
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetCommit.GetCommit
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetCommit.GetCommit
-- | Returns comments made on a pull request.
--
-- This operation returns paginated results.
module Network.AWS.CodeCommit.GetCommentsForPullRequest
-- | Creates a value of GetCommentsForPullRequest with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gcfprAfterCommitId - The full commit ID of the commit in
-- the source branch that was the tip of the branch at the time the
-- comment was made.
-- - gcfprNextToken - An enumeration token that when provided in
-- a request, returns the next batch of the results.
-- - gcfprBeforeCommitId - The full commit ID of the commit in
-- the destination branch that was the tip of the branch at the time the
-- pull request was created.
-- - gcfprRepositoryName - The name of the repository that
-- contains the pull request.
-- - gcfprMaxResults - A non-negative integer used to limit the
-- number of returned results. The default is 100 comments. You can
-- return up to 500 comments with a single request.
-- - gcfprPullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
--
getCommentsForPullRequest :: Text -> GetCommentsForPullRequest
-- | See: getCommentsForPullRequest smart constructor.
data GetCommentsForPullRequest
-- | The full commit ID of the commit in the source branch that was the tip
-- of the branch at the time the comment was made.
gcfprAfterCommitId :: Lens' GetCommentsForPullRequest (Maybe Text)
-- | An enumeration token that when provided in a request, returns the next
-- batch of the results.
gcfprNextToken :: Lens' GetCommentsForPullRequest (Maybe Text)
-- | The full commit ID of the commit in the destination branch that was
-- the tip of the branch at the time the pull request was created.
gcfprBeforeCommitId :: Lens' GetCommentsForPullRequest (Maybe Text)
-- | The name of the repository that contains the pull request.
gcfprRepositoryName :: Lens' GetCommentsForPullRequest (Maybe Text)
-- | A non-negative integer used to limit the number of returned results.
-- The default is 100 comments. You can return up to 500 comments with a
-- single request.
gcfprMaxResults :: Lens' GetCommentsForPullRequest (Maybe Int)
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
gcfprPullRequestId :: Lens' GetCommentsForPullRequest Text
-- | Creates a value of GetCommentsForPullRequestResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getCommentsForPullRequestResponse :: Int -> GetCommentsForPullRequestResponse
-- | See: getCommentsForPullRequestResponse smart
-- constructor.
data GetCommentsForPullRequestResponse
-- | An array of comment objects on the pull request.
gcfprrsCommentsForPullRequestData :: Lens' GetCommentsForPullRequestResponse [CommentsForPullRequest]
-- | An enumeration token that can be used in a request to return the next
-- batch of the results.
gcfprrsNextToken :: Lens' GetCommentsForPullRequestResponse (Maybe Text)
-- |
-- - - | The response status code.
--
gcfprrsResponseStatus :: Lens' GetCommentsForPullRequestResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequestResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequestResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequestResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequestResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequestResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Data.Data.Data Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance GHC.Show.Show Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance GHC.Read.Read Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequestResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetCommentsForPullRequest.GetCommentsForPullRequest
-- | Returns information about comments made on the comparison between two
-- commits.
--
-- This operation returns paginated results.
module Network.AWS.CodeCommit.GetCommentsForComparedCommit
-- | Creates a value of GetCommentsForComparedCommit with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gcfccNextToken - An enumeration token that when provided in
-- a request, returns the next batch of the results.
-- - gcfccBeforeCommitId - To establish the directionality of
-- the comparison, the full commit ID of the before commit.
-- - gcfccMaxResults - A non-negative integer used to limit the
-- number of returned results. The default is 100 comments, and is
-- configurable up to 500.
-- - gcfccRepositoryName - The name of the repository where you
-- want to compare commits.
-- - gcfccAfterCommitId - To establish the directionality of the
-- comparison, the full commit ID of the after commit.
--
getCommentsForComparedCommit :: Text -> Text -> GetCommentsForComparedCommit
-- | See: getCommentsForComparedCommit smart constructor.
data GetCommentsForComparedCommit
-- | An enumeration token that when provided in a request, returns the next
-- batch of the results.
gcfccNextToken :: Lens' GetCommentsForComparedCommit (Maybe Text)
-- | To establish the directionality of the comparison, the full commit ID
-- of the before commit.
gcfccBeforeCommitId :: Lens' GetCommentsForComparedCommit (Maybe Text)
-- | A non-negative integer used to limit the number of returned results.
-- The default is 100 comments, and is configurable up to 500.
gcfccMaxResults :: Lens' GetCommentsForComparedCommit (Maybe Int)
-- | The name of the repository where you want to compare commits.
gcfccRepositoryName :: Lens' GetCommentsForComparedCommit Text
-- | To establish the directionality of the comparison, the full commit ID
-- of the after commit.
gcfccAfterCommitId :: Lens' GetCommentsForComparedCommit Text
-- | Creates a value of GetCommentsForComparedCommitResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getCommentsForComparedCommitResponse :: Int -> GetCommentsForComparedCommitResponse
-- | See: getCommentsForComparedCommitResponse smart
-- constructor.
data GetCommentsForComparedCommitResponse
-- | A list of comment objects on the compared commit.
gcfccrsCommentsForComparedCommitData :: Lens' GetCommentsForComparedCommitResponse [CommentsForComparedCommit]
-- | An enumeration token that can be used in a request to return the next
-- batch of the results.
gcfccrsNextToken :: Lens' GetCommentsForComparedCommitResponse (Maybe Text)
-- |
-- - - | The response status code.
--
gcfccrsResponseStatus :: Lens' GetCommentsForComparedCommitResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommitResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommitResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommitResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommitResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommitResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Data.Data.Data Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance GHC.Show.Show Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance GHC.Read.Read Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommitResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetCommentsForComparedCommit.GetCommentsForComparedCommit
-- | Returns the content of a comment made on a change, file, or commit in
-- a repository.
module Network.AWS.CodeCommit.GetComment
-- | Creates a value of GetComment with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gcCommentId - The unique, system-generated ID of the
-- comment. To get this ID, use GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
--
getComment :: Text -> GetComment
-- | See: getComment smart constructor.
data GetComment
-- | The unique, system-generated ID of the comment. To get this ID, use
-- GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
gcCommentId :: Lens' GetComment Text
-- | Creates a value of GetCommentResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getCommentResponse :: Int -> GetCommentResponse
-- | See: getCommentResponse smart constructor.
data GetCommentResponse
-- | The contents of the comment.
getrsComment :: Lens' GetCommentResponse (Maybe Comment)
-- |
-- - - | The response status code.
--
getrsResponseStatus :: Lens' GetCommentResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetComment.GetCommentResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetComment.GetCommentResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetComment.GetCommentResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetComment.GetCommentResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetComment.GetCommentResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetComment.GetComment
instance Data.Data.Data Network.AWS.CodeCommit.GetComment.GetComment
instance GHC.Show.Show Network.AWS.CodeCommit.GetComment.GetComment
instance GHC.Read.Read Network.AWS.CodeCommit.GetComment.GetComment
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetComment.GetComment
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetComment.GetComment
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetComment.GetCommentResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetComment.GetComment
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetComment.GetComment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetComment.GetComment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetComment.GetComment
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetComment.GetComment
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetComment.GetComment
-- | Returns information about a repository branch, including its name and
-- the last commit ID.
module Network.AWS.CodeCommit.GetBranch
-- | Creates a value of GetBranch with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gbBranchName - The name of the branch for which you want to
-- retrieve information.
-- - gbRepositoryName - The name of the repository that contains
-- the branch for which you want to retrieve information.
--
getBranch :: GetBranch
-- | Represents the input of a get branch operation.
--
-- See: getBranch smart constructor.
data GetBranch
-- | The name of the branch for which you want to retrieve information.
gbBranchName :: Lens' GetBranch (Maybe Text)
-- | The name of the repository that contains the branch for which you want
-- to retrieve information.
gbRepositoryName :: Lens' GetBranch (Maybe Text)
-- | Creates a value of GetBranchResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getBranchResponse :: Int -> GetBranchResponse
-- | Represents the output of a get branch operation.
--
-- See: getBranchResponse smart constructor.
data GetBranchResponse
-- | The name of the branch.
grsBranch :: Lens' GetBranchResponse (Maybe BranchInfo)
-- |
-- - - | The response status code.
--
grsResponseStatus :: Lens' GetBranchResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetBranch.GetBranchResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetBranch.GetBranchResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetBranch.GetBranchResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetBranch.GetBranchResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetBranch.GetBranchResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetBranch.GetBranch
instance Data.Data.Data Network.AWS.CodeCommit.GetBranch.GetBranch
instance GHC.Show.Show Network.AWS.CodeCommit.GetBranch.GetBranch
instance GHC.Read.Read Network.AWS.CodeCommit.GetBranch.GetBranch
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetBranch.GetBranch
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetBranch.GetBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetBranch.GetBranchResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetBranch.GetBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetBranch.GetBranch
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetBranch.GetBranch
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetBranch.GetBranch
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetBranch.GetBranch
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetBranch.GetBranch
-- | Returns the base-64 encoded content of an individual blob within a
-- repository.
module Network.AWS.CodeCommit.GetBlob
-- | Creates a value of GetBlob with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gRepositoryName - The name of the repository that contains
-- the blob.
-- - gBlobId - The ID of the blob, which is its SHA-1
-- pointer.
--
getBlob :: Text -> Text -> GetBlob
-- | Represents the input of a get blob operation.
--
-- See: getBlob smart constructor.
data GetBlob
-- | The name of the repository that contains the blob.
gRepositoryName :: Lens' GetBlob Text
-- | The ID of the blob, which is its SHA-1 pointer.
gBlobId :: Lens' GetBlob Text
-- | Creates a value of GetBlobResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - gbrsResponseStatus - -- | The response status code.
-- - gbrsContent - The content of the blob, usually a file.--
-- Note: This Lens automatically encodes and decodes
-- Base64 data. The underlying isomorphism will encode to Base64
-- representation during serialisation, and decode from Base64
-- representation during deserialisation. This Lens accepts and
-- returns only raw unencoded data.
--
getBlobResponse :: Int -> ByteString -> GetBlobResponse
-- | Represents the output of a get blob operation.
--
-- See: getBlobResponse smart constructor.
data GetBlobResponse
-- |
-- - - | The response status code.
--
gbrsResponseStatus :: Lens' GetBlobResponse Int
-- | The content of the blob, usually a file.-- Note: This
-- Lens automatically encodes and decodes Base64 data. The
-- underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during
-- deserialisation. This Lens accepts and returns only raw
-- unencoded data.
gbrsContent :: Lens' GetBlobResponse ByteString
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetBlob.GetBlobResponse
instance Data.Data.Data Network.AWS.CodeCommit.GetBlob.GetBlobResponse
instance GHC.Show.Show Network.AWS.CodeCommit.GetBlob.GetBlobResponse
instance GHC.Read.Read Network.AWS.CodeCommit.GetBlob.GetBlobResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetBlob.GetBlobResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.GetBlob.GetBlob
instance Data.Data.Data Network.AWS.CodeCommit.GetBlob.GetBlob
instance GHC.Show.Show Network.AWS.CodeCommit.GetBlob.GetBlob
instance GHC.Read.Read Network.AWS.CodeCommit.GetBlob.GetBlob
instance GHC.Classes.Eq Network.AWS.CodeCommit.GetBlob.GetBlob
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.GetBlob.GetBlob
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetBlob.GetBlobResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.GetBlob.GetBlob
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetBlob.GetBlob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.GetBlob.GetBlob
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.GetBlob.GetBlob
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.GetBlob.GetBlob
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.GetBlob.GetBlob
-- | Returns information about one or more pull request events.
--
-- This operation returns paginated results.
module Network.AWS.CodeCommit.DescribePullRequestEvents
-- | Creates a value of DescribePullRequestEvents with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dprePullRequestEventType - Optional. The pull request event
-- type about which you want to return information.
-- - dpreActorARN - The Amazon Resource Name (ARN) of the user
-- whose actions resulted in the event. Examples include updating the
-- pull request with additional commits or changing the status of a pull
-- request.
-- - dpreNextToken - An enumeration token that when provided in
-- a request, returns the next batch of the results.
-- - dpreMaxResults - A non-negative integer used to limit the
-- number of returned results. The default is 100 events, which is also
-- the maximum number of events that can be returned in a result.
-- - dprePullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
--
describePullRequestEvents :: Text -> DescribePullRequestEvents
-- | See: describePullRequestEvents smart constructor.
data DescribePullRequestEvents
-- | Optional. The pull request event type about which you want to return
-- information.
dprePullRequestEventType :: Lens' DescribePullRequestEvents (Maybe PullRequestEventType)
-- | The Amazon Resource Name (ARN) of the user whose actions resulted in
-- the event. Examples include updating the pull request with additional
-- commits or changing the status of a pull request.
dpreActorARN :: Lens' DescribePullRequestEvents (Maybe Text)
-- | An enumeration token that when provided in a request, returns the next
-- batch of the results.
dpreNextToken :: Lens' DescribePullRequestEvents (Maybe Text)
-- | A non-negative integer used to limit the number of returned results.
-- The default is 100 events, which is also the maximum number of events
-- that can be returned in a result.
dpreMaxResults :: Lens' DescribePullRequestEvents (Maybe Int)
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
dprePullRequestId :: Lens' DescribePullRequestEvents Text
-- | Creates a value of DescribePullRequestEventsResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
describePullRequestEventsResponse :: Int -> DescribePullRequestEventsResponse
-- | See: describePullRequestEventsResponse smart
-- constructor.
data DescribePullRequestEventsResponse
-- | An enumeration token that can be used in a request to return the next
-- batch of the results.
dprersNextToken :: Lens' DescribePullRequestEventsResponse (Maybe Text)
-- |
-- - - | The response status code.
--
dprersResponseStatus :: Lens' DescribePullRequestEventsResponse Int
-- | Information about the pull request events.
dprersPullRequestEvents :: Lens' DescribePullRequestEventsResponse [PullRequestEvent]
instance GHC.Generics.Generic Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEventsResponse
instance Data.Data.Data Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEventsResponse
instance GHC.Show.Show Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEventsResponse
instance GHC.Read.Read Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEventsResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEventsResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Data.Data.Data Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance GHC.Show.Show Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance GHC.Read.Read Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance GHC.Classes.Eq Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEventsResponse
instance Network.AWS.Pager.AWSPager Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.DescribePullRequestEvents.DescribePullRequestEvents
-- | Deletes a repository. If a specified repository was already deleted, a
-- null repository ID will be returned.
--
-- Important: Deleting a repository also deletes all associated
-- objects and metadata. After a repository is deleted, all future push
-- calls to the deleted repository will fail.
module Network.AWS.CodeCommit.DeleteRepository
-- | Creates a value of DeleteRepository with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteRepository :: Text -> DeleteRepository
-- | Represents the input of a delete repository operation.
--
-- See: deleteRepository smart constructor.
data DeleteRepository
-- | The name of the repository to delete.
drRepositoryName :: Lens' DeleteRepository Text
-- | Creates a value of DeleteRepositoryResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteRepositoryResponse :: Int -> DeleteRepositoryResponse
-- | Represents the output of a delete repository operation.
--
-- See: deleteRepositoryResponse smart constructor.
data DeleteRepositoryResponse
-- | The ID of the repository that was deleted.
drrsRepositoryId :: Lens' DeleteRepositoryResponse (Maybe Text)
-- |
-- - - | The response status code.
--
drrsResponseStatus :: Lens' DeleteRepositoryResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.DeleteRepository.DeleteRepositoryResponse
instance Data.Data.Data Network.AWS.CodeCommit.DeleteRepository.DeleteRepositoryResponse
instance GHC.Show.Show Network.AWS.CodeCommit.DeleteRepository.DeleteRepositoryResponse
instance GHC.Read.Read Network.AWS.CodeCommit.DeleteRepository.DeleteRepositoryResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.DeleteRepository.DeleteRepositoryResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Data.Data.Data Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance GHC.Show.Show Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance GHC.Read.Read Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance GHC.Classes.Eq Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteRepository.DeleteRepositoryResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.DeleteRepository.DeleteRepository
-- | Deletes the content of a comment made on a change, file, or commit in
-- a repository.
module Network.AWS.CodeCommit.DeleteCommentContent
-- | Creates a value of DeleteCommentContent with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dccCommentId - The unique, system-generated ID of the
-- comment. To get this ID, use GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
--
deleteCommentContent :: Text -> DeleteCommentContent
-- | See: deleteCommentContent smart constructor.
data DeleteCommentContent
-- | The unique, system-generated ID of the comment. To get this ID, use
-- GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
dccCommentId :: Lens' DeleteCommentContent Text
-- | Creates a value of DeleteCommentContentResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
deleteCommentContentResponse :: Int -> DeleteCommentContentResponse
-- | See: deleteCommentContentResponse smart constructor.
data DeleteCommentContentResponse
-- | Information about the comment you just deleted.
dccrsComment :: Lens' DeleteCommentContentResponse (Maybe Comment)
-- |
-- - - | The response status code.
--
dccrsResponseStatus :: Lens' DeleteCommentContentResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContentResponse
instance Data.Data.Data Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContentResponse
instance GHC.Show.Show Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContentResponse
instance GHC.Read.Read Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContentResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContentResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Data.Data.Data Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance GHC.Show.Show Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance GHC.Read.Read Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance GHC.Classes.Eq Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContentResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.DeleteCommentContent.DeleteCommentContent
-- | Deletes a branch from a repository, unless that branch is the default
-- branch for the repository.
module Network.AWS.CodeCommit.DeleteBranch
-- | Creates a value of DeleteBranch with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dbRepositoryName - The name of the repository that contains
-- the branch to be deleted.
-- - dbBranchName - The name of the branch to delete.
--
deleteBranch :: Text -> Text -> DeleteBranch
-- | Represents the input of a delete branch operation.
--
-- See: deleteBranch smart constructor.
data DeleteBranch
-- | The name of the repository that contains the branch to be deleted.
dbRepositoryName :: Lens' DeleteBranch Text
-- | The name of the branch to delete.
dbBranchName :: Lens' DeleteBranch Text
-- | Creates a value of DeleteBranchResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - dbrsDeletedBranch - Information about the branch deleted by
-- the operation, including the branch name and the commit ID that was
-- the tip of the branch.
-- - dbrsResponseStatus - -- | The response status code.
--
deleteBranchResponse :: Int -> DeleteBranchResponse
-- | Represents the output of a delete branch operation.
--
-- See: deleteBranchResponse smart constructor.
data DeleteBranchResponse
-- | Information about the branch deleted by the operation, including the
-- branch name and the commit ID that was the tip of the branch.
dbrsDeletedBranch :: Lens' DeleteBranchResponse (Maybe BranchInfo)
-- |
-- - - | The response status code.
--
dbrsResponseStatus :: Lens' DeleteBranchResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.DeleteBranch.DeleteBranchResponse
instance Data.Data.Data Network.AWS.CodeCommit.DeleteBranch.DeleteBranchResponse
instance GHC.Show.Show Network.AWS.CodeCommit.DeleteBranch.DeleteBranchResponse
instance GHC.Read.Read Network.AWS.CodeCommit.DeleteBranch.DeleteBranchResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.DeleteBranch.DeleteBranchResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Data.Data.Data Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance GHC.Show.Show Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance GHC.Read.Read Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance GHC.Classes.Eq Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteBranch.DeleteBranchResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.DeleteBranch.DeleteBranch
-- | Creates a new, empty repository.
module Network.AWS.CodeCommit.CreateRepository
-- | 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:
--
--
createRepository :: Text -> CreateRepository
-- | Represents the input of a create repository operation.
--
-- See: createRepository smart constructor.
data CreateRepository
-- | A comment or description about the new repository.
crRepositoryDescription :: Lens' CreateRepository (Maybe Text)
-- | The name of the new repository to be created.
crRepositoryName :: Lens' CreateRepository Text
-- | 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:
--
--
createRepositoryResponse :: Int -> CreateRepositoryResponse
-- | Represents the output of a create repository operation.
--
-- See: createRepositoryResponse smart constructor.
data CreateRepositoryResponse
-- | Information about the newly created repository.
crrsRepositoryMetadata :: Lens' CreateRepositoryResponse (Maybe RepositoryMetadata)
-- |
-- - - | The response status code.
--
crrsResponseStatus :: Lens' CreateRepositoryResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.CreateRepository.CreateRepositoryResponse
instance Data.Data.Data Network.AWS.CodeCommit.CreateRepository.CreateRepositoryResponse
instance GHC.Show.Show Network.AWS.CodeCommit.CreateRepository.CreateRepositoryResponse
instance GHC.Read.Read Network.AWS.CodeCommit.CreateRepository.CreateRepositoryResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.CreateRepository.CreateRepositoryResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Data.Data.Data Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance GHC.Show.Show Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance GHC.Read.Read Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance GHC.Classes.Eq Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreateRepository.CreateRepositoryResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.CreateRepository.CreateRepository
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.CreateRepository.CreateRepository
-- | Creates a pull request in the specified repository.
module Network.AWS.CodeCommit.CreatePullRequest
-- | Creates a value of CreatePullRequest with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cprClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - cprDescription - A description of the pull request.
-- - cprTitle - The title of the pull request. This title will
-- be used to identify the pull request to other users in the
-- repository.
-- - cprTargets - The targets for the pull request, including
-- the source of the code to be reviewed (the source branch), and the
-- destination where the creator of the pull request intends the code to
-- be merged after the pull request is closed (the destination
-- branch).
--
createPullRequest :: Text -> CreatePullRequest
-- | See: createPullRequest smart constructor.
data CreatePullRequest
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
cprClientRequestToken :: Lens' CreatePullRequest (Maybe Text)
-- | A description of the pull request.
cprDescription :: Lens' CreatePullRequest (Maybe Text)
-- | The title of the pull request. This title will be used to identify the
-- pull request to other users in the repository.
cprTitle :: Lens' CreatePullRequest Text
-- | The targets for the pull request, including the source of the code to
-- be reviewed (the source branch), and the destination where the creator
-- of the pull request intends the code to be merged after the pull
-- request is closed (the destination branch).
cprTargets :: Lens' CreatePullRequest [Target]
-- | Creates a value of CreatePullRequestResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createPullRequestResponse :: Int -> PullRequest -> CreatePullRequestResponse
-- | See: createPullRequestResponse smart constructor.
data CreatePullRequestResponse
-- |
-- - - | The response status code.
--
cprrsResponseStatus :: Lens' CreatePullRequestResponse Int
-- | Information about the newly created pull request.
cprrsPullRequest :: Lens' CreatePullRequestResponse PullRequest
instance GHC.Generics.Generic Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequestResponse
instance Data.Data.Data Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequestResponse
instance GHC.Show.Show Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequestResponse
instance GHC.Read.Read Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequestResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequestResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Data.Data.Data Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance GHC.Show.Show Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance GHC.Read.Read Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance GHC.Classes.Eq Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequestResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.CreatePullRequest.CreatePullRequest
-- | Creates a new branch in a repository and points the branch to a
-- commit.
module Network.AWS.CodeCommit.CreateBranch
-- | Creates a value of CreateBranch with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cbRepositoryName - The name of the repository in which you
-- want to create the new branch.
-- - cbBranchName - The name of the new branch to create.
-- - cbCommitId - The ID of the commit to point the new branch
-- to.
--
createBranch :: Text -> Text -> Text -> CreateBranch
-- | Represents the input of a create branch operation.
--
-- See: createBranch smart constructor.
data CreateBranch
-- | The name of the repository in which you want to create the new branch.
cbRepositoryName :: Lens' CreateBranch Text
-- | The name of the new branch to create.
cbBranchName :: Lens' CreateBranch Text
-- | The ID of the commit to point the new branch to.
cbCommitId :: Lens' CreateBranch Text
-- | Creates a value of CreateBranchResponse with the minimum fields
-- required to make a request.
createBranchResponse :: CreateBranchResponse
-- | See: createBranchResponse smart constructor.
data CreateBranchResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.CreateBranch.CreateBranchResponse
instance Data.Data.Data Network.AWS.CodeCommit.CreateBranch.CreateBranchResponse
instance GHC.Show.Show Network.AWS.CodeCommit.CreateBranch.CreateBranchResponse
instance GHC.Read.Read Network.AWS.CodeCommit.CreateBranch.CreateBranchResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.CreateBranch.CreateBranchResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Data.Data.Data Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance GHC.Show.Show Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance GHC.Read.Read Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance GHC.Classes.Eq Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreateBranch.CreateBranchResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.CreateBranch.CreateBranch
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.CreateBranch.CreateBranch
-- | Returns information about one or more repositories.
module Network.AWS.CodeCommit.BatchGetRepositories
-- | Creates a value of BatchGetRepositories with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetRepositories :: BatchGetRepositories
-- | Represents the input of a batch get repositories operation.
--
-- See: batchGetRepositories smart constructor.
data BatchGetRepositories
-- | The names of the repositories to get information about.
bgrRepositoryNames :: Lens' BatchGetRepositories [Text]
-- | Creates a value of BatchGetRepositoriesResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
batchGetRepositoriesResponse :: Int -> BatchGetRepositoriesResponse
-- | Represents the output of a batch get repositories operation.
--
-- See: batchGetRepositoriesResponse smart constructor.
data BatchGetRepositoriesResponse
-- | A list of repositories returned by the batch get repositories
-- operation.
bgrrsRepositories :: Lens' BatchGetRepositoriesResponse [RepositoryMetadata]
-- | Returns a list of repository names for which information could not be
-- found.
bgrrsRepositoriesNotFound :: Lens' BatchGetRepositoriesResponse [Text]
-- |
-- - - | The response status code.
--
bgrrsResponseStatus :: Lens' BatchGetRepositoriesResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositoriesResponse
instance Data.Data.Data Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositoriesResponse
instance GHC.Show.Show Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositoriesResponse
instance GHC.Read.Read Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositoriesResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositoriesResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Data.Data.Data Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance GHC.Show.Show Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance GHC.Read.Read Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance GHC.Classes.Eq Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositoriesResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositories
-- | Replaces the contents of a comment.
module Network.AWS.CodeCommit.UpdateComment
-- | Creates a value of UpdateComment with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - ucCommentId - The system-generated ID of the comment you
-- want to update. To get this ID, use
-- GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
-- - ucContent - The updated content with which you want to
-- replace the existing content of the comment.
--
updateComment :: Text -> Text -> UpdateComment
-- | See: updateComment smart constructor.
data UpdateComment
-- | The system-generated ID of the comment you want to update. To get this
-- ID, use GetCommentsForComparedCommit or
-- GetCommentsForPullRequest .
ucCommentId :: Lens' UpdateComment Text
-- | The updated content with which you want to replace the existing
-- content of the comment.
ucContent :: Lens' UpdateComment Text
-- | Creates a value of UpdateCommentResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateCommentResponse :: Int -> UpdateCommentResponse
-- | See: updateCommentResponse smart constructor.
data UpdateCommentResponse
-- | Information about the updated comment.
ucrsComment :: Lens' UpdateCommentResponse (Maybe Comment)
-- |
-- - - | The response status code.
--
ucrsResponseStatus :: Lens' UpdateCommentResponse Int
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateComment.UpdateCommentResponse
instance Data.Data.Data Network.AWS.CodeCommit.UpdateComment.UpdateCommentResponse
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateComment.UpdateCommentResponse
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateComment.UpdateCommentResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateComment.UpdateCommentResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Data.Data.Data Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateComment.UpdateCommentResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.UpdateComment.UpdateComment
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.UpdateComment.UpdateComment
-- | Sets or changes the default branch name for the specified repository.
module Network.AWS.CodeCommit.UpdateDefaultBranch
-- | Creates a value of UpdateDefaultBranch with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateDefaultBranch :: Text -> Text -> UpdateDefaultBranch
-- | Represents the input of an update default branch operation.
--
-- See: updateDefaultBranch smart constructor.
data UpdateDefaultBranch
-- | The name of the repository to set or change the default branch for.
udbRepositoryName :: Lens' UpdateDefaultBranch Text
-- | The name of the branch to set as the default.
udbDefaultBranchName :: Lens' UpdateDefaultBranch Text
-- | Creates a value of UpdateDefaultBranchResponse with the minimum
-- fields required to make a request.
updateDefaultBranchResponse :: UpdateDefaultBranchResponse
-- | See: updateDefaultBranchResponse smart constructor.
data UpdateDefaultBranchResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranchResponse
instance Data.Data.Data Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranchResponse
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranchResponse
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranchResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranchResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Data.Data.Data Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranchResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranch
-- | Replaces the contents of the description of a pull request.
module Network.AWS.CodeCommit.UpdatePullRequestDescription
-- | Creates a value of UpdatePullRequestDescription with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uprdPullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
-- - uprdDescription - The updated content of the description
-- for the pull request. This content will replace the existing
-- description.
--
updatePullRequestDescription :: Text -> Text -> UpdatePullRequestDescription
-- | See: updatePullRequestDescription smart constructor.
data UpdatePullRequestDescription
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
uprdPullRequestId :: Lens' UpdatePullRequestDescription Text
-- | The updated content of the description for the pull request. This
-- content will replace the existing description.
uprdDescription :: Lens' UpdatePullRequestDescription Text
-- | Creates a value of UpdatePullRequestDescriptionResponse with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updatePullRequestDescriptionResponse :: Int -> PullRequest -> UpdatePullRequestDescriptionResponse
-- | See: updatePullRequestDescriptionResponse smart
-- constructor.
data UpdatePullRequestDescriptionResponse
-- |
-- - - | The response status code.
--
uprdrsResponseStatus :: Lens' UpdatePullRequestDescriptionResponse Int
-- | Information about the updated pull request.
uprdrsPullRequest :: Lens' UpdatePullRequestDescriptionResponse PullRequest
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescriptionResponse
instance Data.Data.Data Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescriptionResponse
instance GHC.Show.Show Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescriptionResponse
instance GHC.Read.Read Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescriptionResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescriptionResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Data.Data.Data Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance GHC.Show.Show Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance GHC.Read.Read Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescriptionResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.UpdatePullRequestDescription.UpdatePullRequestDescription
-- | Updates the status of a pull request.
module Network.AWS.CodeCommit.UpdatePullRequestStatus
-- | Creates a value of UpdatePullRequestStatus with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uprsPullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
-- - uprsPullRequestStatus - The status of the pull request. The
-- only valid operations are to update the status from OPEN to
-- OPEN , OPEN to CLOSED or from from
-- CLOSED to CLOSED .
--
updatePullRequestStatus :: Text -> PullRequestStatusEnum -> UpdatePullRequestStatus
-- | See: updatePullRequestStatus smart constructor.
data UpdatePullRequestStatus
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
uprsPullRequestId :: Lens' UpdatePullRequestStatus Text
-- | The status of the pull request. The only valid operations are to
-- update the status from OPEN to OPEN , OPEN
-- to CLOSED or from from CLOSED to CLOSED .
uprsPullRequestStatus :: Lens' UpdatePullRequestStatus PullRequestStatusEnum
-- | Creates a value of UpdatePullRequestStatusResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updatePullRequestStatusResponse :: Int -> PullRequest -> UpdatePullRequestStatusResponse
-- | See: updatePullRequestStatusResponse smart constructor.
data UpdatePullRequestStatusResponse
-- |
-- - - | The response status code.
--
uprsrsResponseStatus :: Lens' UpdatePullRequestStatusResponse Int
-- | Information about the pull request.
uprsrsPullRequest :: Lens' UpdatePullRequestStatusResponse PullRequest
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatusResponse
instance Data.Data.Data Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatusResponse
instance GHC.Show.Show Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatusResponse
instance GHC.Read.Read Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatusResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatusResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Data.Data.Data Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance GHC.Show.Show Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance GHC.Read.Read Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatusResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.UpdatePullRequestStatus.UpdatePullRequestStatus
-- | Replaces the title of a pull request.
module Network.AWS.CodeCommit.UpdatePullRequestTitle
-- | Creates a value of UpdatePullRequestTitle with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - uprtPullRequestId - The system-generated ID of the pull
-- request. To get this ID, use ListPullRequests .
-- - uprtTitle - The updated title of the pull request. This
-- will replace the existing title.
--
updatePullRequestTitle :: Text -> Text -> UpdatePullRequestTitle
-- | See: updatePullRequestTitle smart constructor.
data UpdatePullRequestTitle
-- | The system-generated ID of the pull request. To get this ID, use
-- ListPullRequests .
uprtPullRequestId :: Lens' UpdatePullRequestTitle Text
-- | The updated title of the pull request. This will replace the existing
-- title.
uprtTitle :: Lens' UpdatePullRequestTitle Text
-- | Creates a value of UpdatePullRequestTitleResponse with the
-- minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updatePullRequestTitleResponse :: Int -> PullRequest -> UpdatePullRequestTitleResponse
-- | See: updatePullRequestTitleResponse smart constructor.
data UpdatePullRequestTitleResponse
-- |
-- - - | The response status code.
--
uprtrsResponseStatus :: Lens' UpdatePullRequestTitleResponse Int
-- | Information about the updated pull request.
uprtrsPullRequest :: Lens' UpdatePullRequestTitleResponse PullRequest
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitleResponse
instance Data.Data.Data Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitleResponse
instance GHC.Show.Show Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitleResponse
instance GHC.Read.Read Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitleResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitleResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Data.Data.Data Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance GHC.Show.Show Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance GHC.Read.Read Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitleResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.UpdatePullRequestTitle.UpdatePullRequestTitle
-- | Sets or changes the comment or description for a repository.
module Network.AWS.CodeCommit.UpdateRepositoryDescription
-- | Creates a value of UpdateRepositoryDescription with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - urdRepositoryDescription - The new comment or description
-- for the specified repository. Repository descriptions are limited to
-- 1,000 characters.
-- - urdRepositoryName - The name of the repository to set or
-- change the comment or description for.
--
updateRepositoryDescription :: Text -> UpdateRepositoryDescription
-- | Represents the input of an update repository description operation.
--
-- See: updateRepositoryDescription smart constructor.
data UpdateRepositoryDescription
-- | The new comment or description for the specified repository.
-- Repository descriptions are limited to 1,000 characters.
urdRepositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text)
-- | The name of the repository to set or change the comment or description
-- for.
urdRepositoryName :: Lens' UpdateRepositoryDescription Text
-- | Creates a value of UpdateRepositoryDescriptionResponse with the
-- minimum fields required to make a request.
updateRepositoryDescriptionResponse :: UpdateRepositoryDescriptionResponse
-- | See: updateRepositoryDescriptionResponse smart
-- constructor.
data UpdateRepositoryDescriptionResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescriptionResponse
instance Data.Data.Data Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescriptionResponse
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescriptionResponse
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescriptionResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescriptionResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Data.Data.Data Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescriptionResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescription
-- | Renames a repository. 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. The suffix ".git" is prohibited. For a full
-- description of the limits on repository names, see Limits in
-- the AWS CodeCommit User Guide.
module Network.AWS.CodeCommit.UpdateRepositoryName
-- | Creates a value of UpdateRepositoryName with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - urnOldName - The existing name of the repository.
-- - urnNewName - The new name for the repository.
--
updateRepositoryName :: Text -> Text -> UpdateRepositoryName
-- | Represents the input of an update repository description operation.
--
-- See: updateRepositoryName smart constructor.
data UpdateRepositoryName
-- | The existing name of the repository.
urnOldName :: Lens' UpdateRepositoryName Text
-- | The new name for the repository.
urnNewName :: Lens' UpdateRepositoryName Text
-- | Creates a value of UpdateRepositoryNameResponse with the
-- minimum fields required to make a request.
updateRepositoryNameResponse :: UpdateRepositoryNameResponse
-- | See: updateRepositoryNameResponse smart constructor.
data UpdateRepositoryNameResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryNameResponse
instance Data.Data.Data Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryNameResponse
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryNameResponse
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryNameResponse
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryNameResponse
instance GHC.Generics.Generic Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Data.Data.Data Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance GHC.Show.Show Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance GHC.Read.Read Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance GHC.Classes.Eq Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Network.AWS.Types.AWSRequest Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryNameResponse
instance Data.Hashable.Class.Hashable Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Network.AWS.Data.Path.ToPath Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
instance Network.AWS.Data.Query.ToQuery Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryName
module Network.AWS.CodeCommit.Waiters
-- | 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 account.
-- - CreateRepository , which creates an AWS CodeCommit
-- repository.
-- - DeleteRepository , which deletes an AWS CodeCommit
-- repository.
-- - GetRepository , which returns information about a specified
-- repository.
-- - ListRepositories , which lists all AWS CodeCommit
-- repositories associated with your AWS account.
-- - UpdateRepositoryDescription , which sets or updates the
-- description of the repository.
-- - UpdateRepositoryName , 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
-- repository.
-- - DeleteBranch , which deletes the specified branch in a
-- repository unless it is the default branch.
-- - GetBranch , which returns information about a specified
-- branch.
-- - ListBranches , which lists all branches for a specified
-- repository.
-- - UpdateDefaultBranch , which changes the default branch for
-- a repository.
--
--
-- Files, by calling the following:
--
--
-- - PutFile , which adds or modifies a file in a specified
-- repository and branch.
--
--
-- 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 repository.
-- - GetCommit , which returns information about a commit,
-- including commit messages and author and committer information.
-- - GetDifferences , which returns information about the
-- differences in a valid commit specifier (such as a branch, tag, HEAD,
-- commit ID or other fully qualified reference).
--
--
-- Pull requests, by calling the following:
--
--
-- - CreatePullRequest , which creates a pull request in a
-- specified repository.
-- - DescribePullRequestEvents , which returns information about
-- one or more pull request events.
-- - GetCommentsForPullRequest , which returns information about
-- comments on a specified pull request.
-- - GetMergeConflicts , which returns information about merge
-- conflicts between the source and destination branch in a pull
-- request.
-- - GetPullRequest , which returns information about a
-- specified pull request.
-- - ListPullRequests , which lists all pull requests for a
-- repository.
-- - MergePullRequestByFastForward , which merges the source
-- destination branch of a pull request into the specified destination
-- branch for that pull request using the fast-forward merge option.
-- - PostCommentForPullRequest , which posts a comment to a pull
-- request at the specified line, file, or request.
-- - UpdatePullRequestDescription , which updates the
-- description of a pull request.
-- - UpdatePullRequestStatus , which updates the status of a
-- pull request.
-- - UpdatePullRequestTitle , which updates the title of a pull
-- request.
--
--
-- Information about comments in a repository, by calling the following:
--
--
-- - DeleteCommentContent , which deletes the content of a
-- comment on a commit in a repository.
-- - GetComment , which returns information about a comment on a
-- commit.
-- - GetCommentsForComparedCommit , which returns information
-- about comments on the comparison between two commit specifiers in a
-- repository.
-- - PostCommentForComparedCommit , which creates a comment on
-- the comparison between two commit specifiers in a repository.
-- - PostCommentReply , which creates a reply to a comment.
-- - UpdateComment , which updates the content of a comment on a
-- commit in a repository.
--
--
-- Triggers, by calling the following:
--
--
-- - GetRepositoryTriggers , which returns information about
-- triggers configured for a repository.
-- - PutRepositoryTriggers , which replaces all triggers for a
-- repository and can be used to create or delete triggers.
-- - TestRepositoryTriggers , 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 .
module Network.AWS.CodeCommit
-- | API version 2015-04-13 of the Amazon CodeCommit SDK
-- configuration.
codeCommit :: Service
-- | 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.
_InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified continuation token is not valid.
_InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request cannot be merged automatically into the destination
-- branch. You must manually merge the branches and resolve any
-- conflicts.
_ManualMergeRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An array of target objects is required. It cannot be empty or null.
_TargetsRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | No encryption key was found.
_EncryptionKeyNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The divergence between the tips of the provided commit specifiers is
-- too great to determine whether there might be any merge conflicts.
-- Locally compare the specifiers using git diff or a diff tool.
_TipsDivergenceExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more branch names specified for the trigger is not valid.
_InvalidRepositoryTriggerBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request status cannot be updated because it is already
-- closed.
_PullRequestAlreadyClosedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The custom data provided for the trigger is not valid.
_InvalidRepositoryTriggerCustomDataException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A file cannot be added to the repository because the specified path
-- name has the same name as a file that already exists in this
-- repository. Either provide a different name for the file, or specify a
-- different path for the file.
_DirectoryNameConflictsWithFileNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference does not exist. You must provide a full commit
-- ID.
_ReferenceDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified Amazon Resource Name (ARN) does not exist in the AWS
-- account.
_ActorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request ID is required, but none was provided.
_PullRequestIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified email address either contains one or more characters
-- that are not allowed, or it exceeds the maximum number of characters
-- allowed for an email address.
_InvalidEmailException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The commit message is too long. Provide a shorter string.
_CommitMessageLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified blob does not exist.
_BlobIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The maximum number of allowed repository names was exceeded.
-- Currently, this number is 25.
_MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository description is not valid.
_InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository name already exists.
_RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A reference name is required, but none was provided.
_ReferenceNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of triggers allowed for the repository was exceeded.
_MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference name is not valid.
_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A branch name is required but was not specified.
_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A merge option or stategy is required, and none was provided.
_MergeOptionRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The location of the file is not valid. Make sure that you include the
-- extension of the file as well as the file name.
_InvalidFileLocationException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The before commit ID and the after commit ID are the same, which is
-- not valid. The before commit ID and the after commit ID must be
-- different commit IDs.
_BeforeCommitIdAndAfterCommitIdAreSameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The list of triggers for the repository is required but was not
-- specified.
_RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The client request token is not valid. Either the token is not in a
-- valid format, or the token has been used in a previous request and
-- cannot be re-used.
_IdempotencyParameterMismatchException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is not available.
_EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Either the enum is not in a valid format, or the specified file
-- version enum is not valid in respect to the current file version.
_InvalidRelativeFileVersionEnumException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_InvalidRepositoryTriggerDestinationARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A blob ID is required but was not specified.
_BlobIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A repository names object is required but was not specified.
_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Amazon Resource Name (ARN) is not valid. Make sure that you have
-- provided the full ARN for the user who initiated the change for the
-- pull request, and then try again.
_InvalidActorARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment ID is not in a valid format. Make sure that you have
-- provided the full comment ID.
_InvalidCommentIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request description is not valid. Descriptions are limited to
-- 1,000 characters in length.
_InvalidDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified blob is not valid.
_InvalidBlobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request ID could not be found. Make sure that you have
-- specified the correct repository name and pull request ID, and then
-- try again.
_PullRequestDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified sort order is not valid.
_InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch does not exist.
_BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_DefaultBranchCannotBeDeletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified path is not valid.
_InvalidPathException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The filePath for a location cannot be empty or null.
_PathRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A name for the trigger is required but was not specified.
_RepositoryTriggerNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified file mode permission is not valid. For a list of valid
-- file mode permissions, see PutFile .
_InvalidFileModeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request status is not valid. The only valid values are
-- OPEN and CLOSED .
_InvalidPullRequestStatusException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A parent commit ID is required. To view the full commit ID of a branch
-- in a repository, use GetBranch or a Git command (for example,
-- git pull or git log).
_ParentCommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The source commit specifier is not valid. You must provide a valid
-- branch name, tag, or full commit ID.
_InvalidSourceCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository does not exist.
_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The number of branches for the trigger was exceeded.
_MaximumBranchesExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The title of the pull request is not valid. Pull request titles cannot
-- exceed 100 characters in length.
_InvalidTitleException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment is too large. Comments are limited to 1,000 characters.
_CommentContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The parent commit ID is not valid. The commit ID cannot be empty, and
-- must match the head commit ID for the branch of the repository where
-- you want to add or update a file.
_InvalidParentCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request event type is not valid.
_InvalidPullRequestEventTypeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file cannot be added because it is empty. Empty files cannot be
-- added to the repository with this API.
_FileContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The source branch and the destination branch for the pull request are
-- the same. You must specify different branches for the source and
-- destination.
_SourceAndDestinationAreSameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified path does not exist.
_PathDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An encryption integrity check failed.
_EncryptionIntegrityChecksFailedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file could not be added because the provided parent commit ID is
-- not the current tip of the specified branch. To view the full commit
-- ID of the current head of the branch, use GetBranch .
_ParentCommitIdOutdatedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one event for the trigger is required but was not specified.
_RepositoryTriggerEventsListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment is empty. You must provide some content for a comment. The
-- content cannot be null.
_CommentContentRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The targets for the pull request is not valid or not in a valid
-- format. Targets are a list of target objects. Each target object must
-- contain the full values for the repository name, source branch, and
-- destination branch for a pull request.
_InvalidTargetsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An encryption key could not be accessed.
_EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch name already exists.
_BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit is not valid.
_InvalidCommitException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request target is required. It cannot be empty or null. A pull
-- request target must contain the full values for the repository name,
-- source branch, and destination branch for the pull request.
_TargetRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The destination commit specifier is not valid. You must provide a
-- valid branch name, tag, or full commit ID.
_InvalidDestinationCommitSpecifierException :: AsError a => Getting (First ServiceError) a ServiceError
-- | No comment exists with the provided ID. Verify that you have provided
-- the correct ID, and then try again.
_CommentDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference is not a supported type.
_ReferenceTypeNotSupportedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A file cannot be added to the repository because the specified file
-- name has the same name as a directory in this repository. Either
-- provide another name for the file, or add the file in a directory that
-- does not match the file name.
_FileNameConflictsWithDirectoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file name is not valid because it has exceeded the character limit
-- for file names. File names, including the path to the file, cannot
-- exceed the character limit.
_NameLengthExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified sort by value is not valid.
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is disabled.
_EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A commit was not specified.
_CommitRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | You cannot create the pull request because the repository has too many
-- open pull requests. The maximum number of open pull requests for a
-- repository is 1,000. Close one or more open pull requests, and then
-- try again.
_MaximumOpenPullRequestsExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The target for the pull request is not valid. A target must contain
-- the full values for the repository name, source branch, and
-- destination branch for the pull request.
_InvalidTargetException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request ID is not valid. Make sure that you have provided the
-- full ID and that the pull request is in the specified repository, and
-- then try again.
_InvalidPullRequestIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | You cannot modify or delete this comment. Only comment authors can
-- modify or delete their comments.
_CommentNotCreatedByCallerException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The pull request status update is not valid. The only valid update is
-- from OPEN to CLOSED .
_InvalidPullRequestStatusUpdateException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified reference name format is not valid. Reference names must
-- conform to the Git references format, for example
-- refsheadsmaster. For more information, see Git Internals -
-- Git References or consult your Git documentation.
_InvalidReferenceNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file was not added or updated because the content of the file is
-- exactly the same as the content of that file in the repository and
-- branch that you specified.
_SameFileContentException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A commit ID was not specified.
_CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit ID is not valid.
_InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The tip of the source branch in the destination repository does not
-- match the tip of the source branch specified in your request. The pull
-- request might have been updated. Make sure that you have the latest
-- changes.
_TipOfSourceReferenceIsDifferentException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A destination ARN for the target service for the trigger is required
-- but was not specified.
_RepositoryTriggerDestinationARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The client request token is not valid.
_InvalidClientRequestTokenException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit does not exist or no commit was specified, and
-- the specified repository has no default branch.
_CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one branch name is required but was not specified in the
-- trigger configuration.
_RepositoryTriggerBranchNameListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A client request token is required. A client request token is an
-- unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
_ClientRequestTokenRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified merge option is not valid. The only valid value is
-- FAST_FORWARD_MERGE.
_InvalidMergeOptionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The comment ID is missing or null. A comment ID is required.
_CommentIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified number of maximum results is not valid.
_InvalidMaxResultsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified file exceeds the file size limit for AWS CodeCommit. For
-- more information about limits in AWS CodeCommit, see AWS CodeCommit
-- User Guide .
_FileTooLargeException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit ID does not exist.
_CommitIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | You cannot include more than one repository in a pull request. Make
-- sure you have specified only one repository name in your request, and
-- then try again.
_MultipleRepositoriesInPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The file cannot be added because it is too large. The maximum file
-- size that can be added using PutFile is 6 MB. For files larger than 6
-- MB but smaller than 2 GB, add them using a Git client.
_FileContentSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The name of the trigger is not valid.
_InvalidRepositoryTriggerNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A repository name is required but was not specified.
_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A repository resource limit was exceeded.
_RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_InvalidRepositoryTriggerEventsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch name is not valid because it is a tag name. Type
-- the name of a current branch in the repository. For a list of valid
-- branch names, use ListBranches .
_BranchNameIsTagNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | At least one specified repository name is not valid.
_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The Amazon Resource Name (ARN) is not valid. Make sure that you have
-- provided the full ARN for the author of the pull request, and then try
-- again.
_InvalidAuthorARNException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request status is required, but none was provided.
_PullRequestStatusRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The repository does not contain any pull requests with that pull
-- request ID. Check to make sure you have provided the correct
-- repository name for the pull request.
_RepositoryNotAssociatedWithPullRequestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A pull request title is required. It cannot be empty or null.
_TitleRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The position is not valid. Make sure that the line number exists in
-- the version of the file you want to comment on.
_InvalidFilePositionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | This comment has already been deleted. You cannot edit or delete a
-- deleted comment.
_CommentDeletedException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The parent commit ID is not valid. The specified parent commit ID does
-- not exist in the specified branch of the repository.
_ParentCommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified Amazon Resource Name (ARN) does not exist in the AWS
-- account.
_AuthorDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
data ChangeTypeEnum
A :: ChangeTypeEnum
D :: ChangeTypeEnum
M :: ChangeTypeEnum
data FileModeTypeEnum
Executable :: FileModeTypeEnum
Normal :: FileModeTypeEnum
Symlink :: FileModeTypeEnum
data MergeOptionTypeEnum
FastForwardMerge :: MergeOptionTypeEnum
data OrderEnum
Ascending :: OrderEnum
Descending :: OrderEnum
data PullRequestEventType
PullRequestCreated :: PullRequestEventType
PullRequestMergeStateChanged :: PullRequestEventType
PullRequestSourceReferenceUpdated :: PullRequestEventType
PullRequestStatusChanged :: PullRequestEventType
data PullRequestStatusEnum
Closed :: PullRequestStatusEnum
Open :: PullRequestStatusEnum
data RelativeFileVersionEnum
After :: RelativeFileVersionEnum
Before :: RelativeFileVersionEnum
data RepositoryTriggerEventEnum
All :: RepositoryTriggerEventEnum
CreateReference :: RepositoryTriggerEventEnum
DeleteReference :: RepositoryTriggerEventEnum
UpdateReference :: RepositoryTriggerEventEnum
data SortByEnum
LastModifiedDate :: SortByEnum
RepositoryName :: SortByEnum
-- | Returns information about a specific Git blob object.
--
-- See: blobMetadata smart constructor.
data BlobMetadata
-- | 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 symlink
-- - bmBlobId - The full ID of the blob.
--
blobMetadata :: BlobMetadata
-- | The path to the blob and any associated file name, if any.
bmPath :: Lens' BlobMetadata (Maybe Text)
-- | 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
bmMode :: Lens' BlobMetadata (Maybe Text)
-- | The full ID of the blob.
bmBlobId :: Lens' BlobMetadata (Maybe Text)
-- | Returns information about a branch.
--
-- See: branchInfo smart constructor.
data BranchInfo
-- | 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:
--
--
branchInfo :: BranchInfo
-- | The ID of the last commit made to the branch.
biCommitId :: Lens' BranchInfo (Maybe Text)
-- | The name of the branch.
biBranchName :: Lens' BranchInfo (Maybe Text)
-- | Returns information about a specific comment.
--
-- See: comment smart constructor.
data Comment
-- | Creates a value of Comment with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cLastModifiedDate - The date and time the comment was most
-- recently modified, in timestamp format.
-- - cAuthorARN - The Amazon Resource Name (ARN) of the person
-- who posted the comment.
-- - cContent - The content of the comment.
-- - cCreationDate - The date and time the comment was created,
-- in timestamp format.
-- - cDeleted - A Boolean value indicating whether the comment
-- has been deleted.
-- - cClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - cCommentId - The system-generated comment ID.
-- - cInReplyTo - The ID of the comment for which this comment
-- is a reply, if any.
--
comment :: Comment
-- | The date and time the comment was most recently modified, in timestamp
-- format.
cLastModifiedDate :: Lens' Comment (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the person who posted the comment.
cAuthorARN :: Lens' Comment (Maybe Text)
-- | The content of the comment.
cContent :: Lens' Comment (Maybe Text)
-- | The date and time the comment was created, in timestamp format.
cCreationDate :: Lens' Comment (Maybe UTCTime)
-- | A Boolean value indicating whether the comment has been deleted.
cDeleted :: Lens' Comment (Maybe Bool)
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
cClientRequestToken :: Lens' Comment (Maybe Text)
-- | The system-generated comment ID.
cCommentId :: Lens' Comment (Maybe Text)
-- | The ID of the comment for which this comment is a reply, if any.
cInReplyTo :: Lens' Comment (Maybe Text)
-- | Returns information about comments on the comparison between two
-- commits.
--
-- See: commentsForComparedCommit smart constructor.
data CommentsForComparedCommit
-- | Creates a value of CommentsForComparedCommit with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cfccBeforeBlobId - The full blob ID of the commit used to
-- establish the before of the comparison.
-- - cfccLocation - Location information about the comment on
-- the comparison, including the file name, line number, and whether the
-- version of the file where the comment was made is BEFORE or
-- AFTER.
-- - cfccAfterCommitId - The full commit ID of the commit used
-- to establish the after of the comparison.
-- - cfccAfterBlobId - The full blob ID of the commit used to
-- establish the after of the comparison.
-- - cfccBeforeCommitId - The full commit ID of the commit used
-- to establish the before of the comparison.
-- - cfccRepositoryName - The name of the repository that
-- contains the compared commits.
-- - cfccComments - An array of comment objects. Each comment
-- object contains information about a comment on the comparison between
-- commits.
--
commentsForComparedCommit :: CommentsForComparedCommit
-- | The full blob ID of the commit used to establish the before
-- of the comparison.
cfccBeforeBlobId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | Location information about the comment on the comparison, including
-- the file name, line number, and whether the version of the file where
-- the comment was made is BEFORE or AFTER.
cfccLocation :: Lens' CommentsForComparedCommit (Maybe Location)
-- | The full commit ID of the commit used to establish the after
-- of the comparison.
cfccAfterCommitId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | The full blob ID of the commit used to establish the after of
-- the comparison.
cfccAfterBlobId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | The full commit ID of the commit used to establish the before
-- of the comparison.
cfccBeforeCommitId :: Lens' CommentsForComparedCommit (Maybe Text)
-- | The name of the repository that contains the compared commits.
cfccRepositoryName :: Lens' CommentsForComparedCommit (Maybe Text)
-- | An array of comment objects. Each comment object contains information
-- about a comment on the comparison between commits.
cfccComments :: Lens' CommentsForComparedCommit [Comment]
-- | Returns information about comments on a pull request.
--
-- See: commentsForPullRequest smart constructor.
data CommentsForPullRequest
-- | Creates a value of CommentsForPullRequest with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - cfprBeforeBlobId - The full blob ID of the file on which
-- you want to comment on the destination commit.
-- - cfprLocation - Location information about the comment on
-- the pull request, including the file name, line number, and whether
-- the version of the file where the comment was made is BEFORE
-- (destination branch) or AFTER (source branch).
-- - cfprAfterCommitId - he full commit ID of the commit that
-- was the tip of the source branch at the time the comment was
-- made.
-- - cfprPullRequestId - The system-generated ID of the pull
-- request.
-- - cfprAfterBlobId - The full blob ID of the file on which you
-- want to comment on the source commit.
-- - cfprBeforeCommitId - The full commit ID of the commit that
-- was the tip of the destination branch when the pull request was
-- created. This commit will be superceded by the after commit in the
-- source branch when and if you merge the source branch into the
-- destination branch.
-- - cfprRepositoryName - The name of the repository that
-- contains the pull request.
-- - cfprComments - An array of comment objects. Each comment
-- object contains information about a comment on the pull request.
--
commentsForPullRequest :: CommentsForPullRequest
-- | The full blob ID of the file on which you want to comment on the
-- destination commit.
cfprBeforeBlobId :: Lens' CommentsForPullRequest (Maybe Text)
-- | Location information about the comment on the pull request, including
-- the file name, line number, and whether the version of the file where
-- the comment was made is BEFORE (destination branch) or
-- AFTER (source branch).
cfprLocation :: Lens' CommentsForPullRequest (Maybe Location)
-- | he full commit ID of the commit that was the tip of the source branch
-- at the time the comment was made.
cfprAfterCommitId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The system-generated ID of the pull request.
cfprPullRequestId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The full blob ID of the file on which you want to comment on the
-- source commit.
cfprAfterBlobId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The full commit ID of the commit that was the tip of the destination
-- branch when the pull request was created. This commit will be
-- superceded by the after commit in the source branch when and if you
-- merge the source branch into the destination branch.
cfprBeforeCommitId :: Lens' CommentsForPullRequest (Maybe Text)
-- | The name of the repository that contains the pull request.
cfprRepositoryName :: Lens' CommentsForPullRequest (Maybe Text)
-- | An array of comment objects. Each comment object contains information
-- about a comment on the pull request.
cfprComments :: Lens' CommentsForPullRequest [Comment]
-- | Returns information about a specific commit.
--
-- See: commit smart constructor.
data Commit
-- | 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 - A list of parent commits for the specified
-- commit. Each parent commit ID is the full commit ID.
-- - 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.
--
commit :: Commit
-- | The full SHA of the specified commit.
cCommitId :: Lens' Commit (Maybe Text)
-- | 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.
cCommitter :: Lens' Commit (Maybe UserInfo)
-- | Tree information for the specified commit.
cTreeId :: Lens' Commit (Maybe Text)
-- | Any additional data associated with the specified commit.
cAdditionalData :: Lens' Commit (Maybe Text)
-- | A list of parent commits for the specified commit. Each parent commit
-- ID is the full commit ID.
cParents :: Lens' Commit [Text]
-- | 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.
cAuthor :: Lens' Commit (Maybe UserInfo)
-- | The commit message associated with the specified commit.
cMessage :: Lens' Commit (Maybe Text)
-- | Returns information about a set of differences for a commit specifier.
--
-- See: difference smart constructor.
data Difference
-- | 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 an afterBlob data
-- type object, including the ID, the file mode permission code, and the
-- path.
-- - dBeforeBlob - Information about a beforeBlob 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).
--
difference :: Difference
-- | Information about an afterBlob data type object, including
-- the ID, the file mode permission code, and the path.
dAfterBlob :: Lens' Difference (Maybe BlobMetadata)
-- | Information about a beforeBlob data type object, including
-- the ID, the file mode permission code, and the path.
dBeforeBlob :: Lens' Difference (Maybe BlobMetadata)
-- | Whether the change type of the difference is an addition (A), deletion
-- (D), or modification (M).
dChangeType :: Lens' Difference (Maybe ChangeTypeEnum)
-- | Returns information about the location of a change or comment in the
-- comparison between two commits or a pull request.
--
-- See: location smart constructor.
data Location
-- | Creates a value of Location with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - lRelativeFileVersion - In a comparison of commits or a pull
-- request, whether the change is in the before or
-- after of that comparison.
-- - lFilePath - The name of the file being compared, including
-- its extension and subdirectory, if any.
-- - lFilePosition - The position of a change within a compared
-- file, in line number format.
--
location :: Location
-- | In a comparison of commits or a pull request, whether the change is in
-- the before or after of that comparison.
lRelativeFileVersion :: Lens' Location (Maybe RelativeFileVersionEnum)
-- | The name of the file being compared, including its extension and
-- subdirectory, if any.
lFilePath :: Lens' Location (Maybe Text)
-- | The position of a change within a compared file, in line number
-- format.
lFilePosition :: Lens' Location (Maybe Integer)
-- | Returns information about a merge or potential merge between a source
-- reference and a destination reference in a pull request.
--
-- See: mergeMetadata smart constructor.
data MergeMetadata
-- | Creates a value of MergeMetadata with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - mmMergedBy - The Amazon Resource Name (ARN) of the user who
-- merged the branches.
-- - mmIsMerged - A Boolean value indicating whether the merge
-- has been made.
--
mergeMetadata :: MergeMetadata
-- | The Amazon Resource Name (ARN) of the user who merged the branches.
mmMergedBy :: Lens' MergeMetadata (Maybe Text)
-- | A Boolean value indicating whether the merge has been made.
mmIsMerged :: Lens' MergeMetadata (Maybe Bool)
-- | Returns information about a pull request.
--
-- See: pullRequest smart constructor.
data PullRequest
-- | Creates a value of PullRequest with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - prAuthorARN - The Amazon Resource Name (ARN) of the user
-- who created the pull request.
-- - prPullRequestId - The system-generated ID of the pull
-- request.
-- - prCreationDate - The date and time the pull request was
-- originally created, in timestamp format.
-- - prPullRequestStatus - The status of the pull request. Pull
-- request status can only change from OPEN to CLOSED
-- .
-- - prTitle - The user-defined title of the pull request. This
-- title is displayed in the list of pull requests to other users of the
-- repository.
-- - prClientRequestToken - A unique, client-generated
-- idempotency token that when provided in a request, ensures the request
-- cannot be repeated with a changed parameter. If a request is received
-- with the same parameters and a token is included, the request will
-- return information about the initial request that used that
-- token.
-- - prLastActivityDate - The day and time of the last user or
-- system activity on the pull request, in timestamp format.
-- - prPullRequestTargets - The targets of the pull request,
-- including the source branch and destination branch for the pull
-- request.
-- - prDescription - The user-defined description of the pull
-- request. This description can be used to clarify what should be
-- reviewed and other details of the request.
--
pullRequest :: PullRequest
-- | The Amazon Resource Name (ARN) of the user who created the pull
-- request.
prAuthorARN :: Lens' PullRequest (Maybe Text)
-- | The system-generated ID of the pull request.
prPullRequestId :: Lens' PullRequest (Maybe Text)
-- | The date and time the pull request was originally created, in
-- timestamp format.
prCreationDate :: Lens' PullRequest (Maybe UTCTime)
-- | The status of the pull request. Pull request status can only change
-- from OPEN to CLOSED .
prPullRequestStatus :: Lens' PullRequest (Maybe PullRequestStatusEnum)
-- | The user-defined title of the pull request. This title is displayed in
-- the list of pull requests to other users of the repository.
prTitle :: Lens' PullRequest (Maybe Text)
-- | A unique, client-generated idempotency token that when provided in a
-- request, ensures the request cannot be repeated with a changed
-- parameter. If a request is received with the same parameters and a
-- token is included, the request will return information about the
-- initial request that used that token.
prClientRequestToken :: Lens' PullRequest (Maybe Text)
-- | The day and time of the last user or system activity on the pull
-- request, in timestamp format.
prLastActivityDate :: Lens' PullRequest (Maybe UTCTime)
-- | The targets of the pull request, including the source branch and
-- destination branch for the pull request.
prPullRequestTargets :: Lens' PullRequest [PullRequestTarget]
-- | The user-defined description of the pull request. This description can
-- be used to clarify what should be reviewed and other details of the
-- request.
prDescription :: Lens' PullRequest (Maybe Text)
-- | Returns information about a pull request event.
--
-- See: pullRequestEvent smart constructor.
data PullRequestEvent
-- | Creates a value of PullRequestEvent with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pullRequestEvent :: PullRequestEvent
-- | Information about the change in mergability state for the pull request
-- event.
prePullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata)
-- | The type of the pull request event, for example a status change event
-- (PULL_REQUEST_STATUS_CHANGED) or update event
-- (PULL_REQUEST_SOURCE_REFERENCE_UPDATED).
prePullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType)
-- | Information about the change in status for the pull request event.
prePullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata)
-- | The Amazon Resource Name (ARN) of the user whose actions resulted in
-- the event. Examples include updating the pull request with additional
-- commits or changing the status of a pull request.
preActorARN :: Lens' PullRequestEvent (Maybe Text)
-- | The system-generated ID of the pull request.
prePullRequestId :: Lens' PullRequestEvent (Maybe Text)
-- | The day and time of the pull request event, in timestamp format.
preEventDate :: Lens' PullRequestEvent (Maybe UTCTime)
-- | Information about the updated source branch for the pull request
-- event.
prePullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata)
-- | Returns information about the change in the merge state for a pull
-- request event.
--
-- See: pullRequestMergedStateChangedEventMetadata smart
-- constructor.
data PullRequestMergedStateChangedEventMetadata
-- | Creates a value of PullRequestMergedStateChangedEventMetadata
-- with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pullRequestMergedStateChangedEventMetadata :: PullRequestMergedStateChangedEventMetadata
-- | The name of the branch that the pull request will be merged into.
prmscemDestinationReference :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text)
-- | Information about the merge state change event.
prmscemMergeMetadata :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe MergeMetadata)
-- | The name of the repository where the pull request was created.
prmscemRepositoryName :: Lens' PullRequestMergedStateChangedEventMetadata (Maybe Text)
-- | Information about an update to the source branch of a pull request.
--
-- See: pullRequestSourceReferenceUpdatedEventMetadata
-- smart constructor.
data PullRequestSourceReferenceUpdatedEventMetadata
-- | Creates a value of
-- PullRequestSourceReferenceUpdatedEventMetadata with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - prsruemAfterCommitId - The full commit ID of the commit in
-- the source branch that was the tip of the branch at the time the pull
-- request was updated.
-- - prsruemBeforeCommitId - The full commit ID of the commit in
-- the destination branch that was the tip of the branch at the time the
-- pull request was updated.
-- - prsruemRepositoryName - The name of the repository where
-- the pull request was updated.
--
pullRequestSourceReferenceUpdatedEventMetadata :: PullRequestSourceReferenceUpdatedEventMetadata
-- | The full commit ID of the commit in the source branch that was the tip
-- of the branch at the time the pull request was updated.
prsruemAfterCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
-- | The full commit ID of the commit in the destination branch that was
-- the tip of the branch at the time the pull request was updated.
prsruemBeforeCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
-- | The name of the repository where the pull request was updated.
prsruemRepositoryName :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text)
-- | Information about a change to the status of a pull request.
--
-- See: pullRequestStatusChangedEventMetadata smart
-- constructor.
data PullRequestStatusChangedEventMetadata
-- | Creates a value of PullRequestStatusChangedEventMetadata with
-- the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
pullRequestStatusChangedEventMetadata :: PullRequestStatusChangedEventMetadata
-- | The changed status of the pull request.
prscemPullRequestStatus :: Lens' PullRequestStatusChangedEventMetadata (Maybe PullRequestStatusEnum)
-- | Returns information about a pull request target.
--
-- See: pullRequestTarget smart constructor.
data PullRequestTarget
-- | Creates a value of PullRequestTarget with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - prtSourceCommit - The full commit ID of the tip of the
-- source branch used to create the pull request. If the pull request
-- branch is updated by a push while the pull request is open, the commit
-- ID will change to reflect the new tip of the branch.
-- - prtDestinationReference - The branch of the repository
-- where the pull request changes will be merged into. Also known as the
-- destination branch.
-- - prtMergeMetadata - Returns metadata about the state of the
-- merge, including whether the merge has been made.
-- - prtDestinationCommit - The full commit ID that is the tip
-- of the destination branch. This is the commit where the pull request
-- was or will be merged.
-- - prtRepositoryName - The name of the repository that
-- contains the pull request source and destination branches.
-- - prtSourceReference - The branch of the repository that
-- contains the changes for the pull request. Also known as the source
-- branch.
--
pullRequestTarget :: PullRequestTarget
-- | The full commit ID of the tip of the source branch used to create the
-- pull request. If the pull request branch is updated by a push while
-- the pull request is open, the commit ID will change to reflect the new
-- tip of the branch.
prtSourceCommit :: Lens' PullRequestTarget (Maybe Text)
-- | The branch of the repository where the pull request changes will be
-- merged into. Also known as the destination branch.
prtDestinationReference :: Lens' PullRequestTarget (Maybe Text)
-- | Returns metadata about the state of the merge, including whether the
-- merge has been made.
prtMergeMetadata :: Lens' PullRequestTarget (Maybe MergeMetadata)
-- | The full commit ID that is the tip of the destination branch. This is
-- the commit where the pull request was or will be merged.
prtDestinationCommit :: Lens' PullRequestTarget (Maybe Text)
-- | The name of the repository that contains the pull request source and
-- destination branches.
prtRepositoryName :: Lens' PullRequestTarget (Maybe Text)
-- | The branch of the repository that contains the changes for the pull
-- request. Also known as the source branch.
prtSourceReference :: Lens' PullRequestTarget (Maybe Text)
-- | Information about a repository.
--
-- See: repositoryMetadata smart constructor.
data RepositoryMetadata
-- | 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.
--
repositoryMetadata :: RepositoryMetadata
-- | A comment or description about the repository.
rmRepositoryDescription :: Lens' RepositoryMetadata (Maybe Text)
-- | The date and time the repository was last modified, in timestamp
-- format.
rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) of the repository.
rmARN :: Lens' RepositoryMetadata (Maybe Text)
-- | The URL to use for cloning the repository over HTTPS.
rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text)
-- | The ID of the AWS account associated with the repository.
rmAccountId :: Lens' RepositoryMetadata (Maybe Text)
-- | The repository's default branch name.
rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text)
-- | The ID of the repository.
rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text)
-- | The repository's name.
rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text)
-- | The date and time the repository was created, in timestamp format.
rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime)
-- | The URL to use for cloning the repository over SSH.
rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text)
-- | Information about a repository name and ID.
--
-- See: repositoryNameIdPair smart constructor.
data RepositoryNameIdPair
-- | 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:
--
--
repositoryNameIdPair :: RepositoryNameIdPair
-- | The ID associated with the repository.
rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text)
-- | The name associated with the repository.
rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text)
-- | Information about a trigger for a repository.
--
-- See: repositoryTrigger smart constructor.
data 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).
--
repositoryTrigger :: Text -> Text -> RepositoryTrigger
-- | The branches that will be included in the trigger configuration. If
-- you specify an empty array, the trigger will apply to all branches.
rtBranches :: Lens' RepositoryTrigger [Text]
-- | Any custom data associated with the trigger that will be included in
-- the information sent to the target of the trigger.
rtCustomData :: Lens' RepositoryTrigger (Maybe Text)
-- | The name of the trigger.
rtName :: Lens' RepositoryTrigger Text
-- | 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).
rtDestinationARN :: Lens' RepositoryTrigger Text
-- | 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).
rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum]
-- | A trigger failed to run.
--
-- See: repositoryTriggerExecutionFailure smart
-- constructor.
data RepositoryTriggerExecutionFailure
-- | 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.
--
repositoryTriggerExecutionFailure :: RepositoryTriggerExecutionFailure
-- | Additional message information about the trigger that did not run.
rtefFailureMessage :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
-- | The name of the trigger that did not run.
rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text)
-- | Returns information about a target for a pull request.
--
-- See: target smart constructor.
data Target
-- | Creates a value of Target with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
-- - tDestinationReference - The branch of the repository where
-- the pull request changes will be merged into. Also known as the
-- destination branch.
-- - tRepositoryName - The name of the repository that contains
-- the pull request.
-- - tSourceReference - The branch of the repository that
-- contains the changes for the pull request. Also known as the source
-- branch.
--
target :: Text -> Text -> Target
-- | The branch of the repository where the pull request changes will be
-- merged into. Also known as the destination branch.
tDestinationReference :: Lens' Target (Maybe Text)
-- | The name of the repository that contains the pull request.
tRepositoryName :: Lens' Target Text
-- | The branch of the repository that contains the changes for the pull
-- request. Also known as the source branch.
tSourceReference :: Lens' Target Text
-- | Information about the user who made a specified commit.
--
-- See: userInfo smart constructor.
data UserInfo
-- | 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 - The email address associated with the user who
-- made the commit, if any.
-- - uiDate - The date when the specified commit was commited,
-- in timestamp format with GMT offset.
-- - uiName - The name of the user who made the specified
-- commit.
--
userInfo :: UserInfo
-- | The email address associated with the user who made the commit, if
-- any.
uiEmail :: Lens' UserInfo (Maybe Text)
-- | The date when the specified commit was commited, in timestamp format
-- with GMT offset.
uiDate :: Lens' UserInfo (Maybe Text)
-- | The name of the user who made the specified commit.
uiName :: Lens' UserInfo (Maybe Text)