-- 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.5.0
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
-- | No encryption key was found.
_EncryptionKeyNotFoundException :: 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 custom data provided for the trigger is not valid.
_InvalidRepositoryTriggerCustomDataException :: 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
-- | The number of triggers allowed for the repository was exceeded.
_MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch 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
-- | The list of triggers for the repository is required but was not
-- specified.
_RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is not available.
_EncryptionKeyUnavailableException :: 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 specified blob is not valid.
_InvalidBlobIdException :: 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
-- | A name for the trigger is required but was not specified.
_RepositoryTriggerNameRequiredException :: 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 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
-- | At least one event for the trigger is required but was not specified.
_RepositoryTriggerEventsListRequiredException :: 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
-- | 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
-- | 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
-- | 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 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
-- | 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
-- | 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
-- | At least one specified repository name is not valid.
_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
data ChangeTypeEnum
A :: ChangeTypeEnum
D :: ChangeTypeEnum
M :: ChangeTypeEnum
data OrderEnum
Ascending :: OrderEnum
Descending :: OrderEnum
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 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 - The parent list for the specified commit.
-- - cAuthor - Information about the author of the specified
-- commit. Information includes the date in timestamp format with GMT
-- offset, the name of the author, and the email address for the author,
-- as configured in Git.
-- - cMessage - The commit message associated with the specified
-- commit.
--
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)
-- | The parent list for the specified commit.
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)
-- | 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)
-- | 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 pushed to
-- the repository.
-- - 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 pushed to the repository.
uiDate :: Lens' UserInfo (Maybe Text)
-- | The name of the user who made the specified commit.
uiName :: Lens' UserInfo (Maybe Text)
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateDefaultBranch.UpdateDefaultBranchResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateRepositoryDescription.UpdateRepositoryDescriptionResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.UpdateRepositoryName.UpdateRepositoryNameResponse
module Network.AWS.CodeCommit.Waiters
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.TestRepositoryTriggers.TestRepositoryTriggersResponse
-- | 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:
--
--
-- - prtRepositoryName - The name of the repository where you
-- want to create or update the trigger.
-- - prtTriggers - 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.
prtRepositoryName :: Lens' PutRepositoryTriggers Text
-- | The JSON block of configuration information for each trigger.
prtTriggers :: 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.PutRepositoryTriggers.PutRepositoryTriggersResponse
-- | 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.Pager.AWSPager Network.AWS.CodeCommit.ListRepositories.ListRepositories
instance Network.AWS.Types.AWSRequest 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListRepositories.ListRepositoriesResponse
-- | 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.Pager.AWSPager Network.AWS.CodeCommit.ListBranches.ListBranches
instance Network.AWS.Types.AWSRequest 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.ListBranches.ListBranchesResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetRepositoryTriggers.GetRepositoryTriggersResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetRepository.GetRepositoryResponse
-- | 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.
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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetDifferences.GetDifferencesResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetCommit.GetCommitResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetBranch.GetBranchResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.GetBlob.GetBlobResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteRepository.DeleteRepositoryResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.DeleteBranch.DeleteBranchResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreateRepository.CreateRepositoryResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.CreateBranch.CreateBranchResponse
-- | 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 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
instance Control.DeepSeq.NFData Network.AWS.CodeCommit.BatchGetRepositories.BatchGetRepositoriesResponse
-- | 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
--
--
-- 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)
--
--
-- 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
-- | No encryption key was found.
_EncryptionKeyNotFoundException :: 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 custom data provided for the trigger is not valid.
_InvalidRepositoryTriggerCustomDataException :: 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
-- | The number of triggers allowed for the repository was exceeded.
_MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch 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
-- | The list of triggers for the repository is required but was not
-- specified.
_RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is not available.
_EncryptionKeyUnavailableException :: 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 specified blob is not valid.
_InvalidBlobIdException :: 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
-- | A name for the trigger is required but was not specified.
_RepositoryTriggerNameRequiredException :: 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 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
-- | At least one event for the trigger is required but was not specified.
_RepositoryTriggerEventsListRequiredException :: 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
-- | 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
-- | 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
-- | 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 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
-- | 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
-- | 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
-- | At least one specified repository name is not valid.
_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError
data ChangeTypeEnum
A :: ChangeTypeEnum
D :: ChangeTypeEnum
M :: ChangeTypeEnum
data OrderEnum
Ascending :: OrderEnum
Descending :: OrderEnum
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 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 - The parent list for the specified commit.
-- - cAuthor - Information about the author of the specified
-- commit. Information includes the date in timestamp format with GMT
-- offset, the name of the author, and the email address for the author,
-- as configured in Git.
-- - cMessage - The commit message associated with the specified
-- commit.
--
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)
-- | The parent list for the specified commit.
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)
-- | 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)
-- | 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 pushed to
-- the repository.
-- - 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 pushed to the repository.
uiDate :: Lens' UserInfo (Maybe Text)
-- | The name of the user who made the specified commit.
uiName :: Lens' UserInfo (Maybe Text)