-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon CodeCommit SDK. -- -- AWS CodeCommit This is the AWS CodeCommit API Reference. This -- reference provides descriptions of the operations and data types for -- AWS CodeCommit API. 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 - 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: - GetCommit, which returns information -- about a commit, including commit messages and committer information. - -- 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. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information and sending requests. -- -- Use of lenses is required for constructing and manipulating types. -- This is due to the amount 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.4.1 module Network.AWS.CodeCommit.Types -- | API version '2015-04-13' of the Amazon CodeCommit SDK configuration. codeCommit :: Service -- | The region for the trigger target does not match the region for the -- repository. Triggers must be created in the same region as the target -- for the trigger. _InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError -- | The specified continuation token is not valid. _InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError -- | 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 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 repository names object is required but was not specified. _RepositoryNamesRequiredException :: 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 -- | 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 -- | 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 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 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 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. -- -- This exception only occurs when a specified repository name is not -- valid. Other exceptions occur when a required repository parameter is -- missing, or when a specified repository does not exist. _InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError 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 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: -- -- commit :: Commit -- | Information about the person who committed the specified commit, also -- known as the committer. 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. cAuthor :: Lens' Commit (Maybe UserInfo) -- | The message associated with the specified commit. cMessage :: Lens' Commit (Maybe Text) -- | Information about a repository. -- -- See: repositoryMetadata smart constructor. data RepositoryMetadata -- | Creates a value of RepositoryMetadata with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- 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: -- -- repositoryTrigger :: RepositoryTrigger -- | The branches that will be included in the trigger configuration. If no -- branches are specified, 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 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 (Maybe Text) -- | The name of the trigger. rtName :: Lens' RepositoryTrigger (Maybe 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). If no events are specified, the trigger -- will run for all repository events. 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: -- -- 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: -- -- 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. -- -- If you use this operation to change the default branch name to the -- current default branch name, a success message is returned even though -- the default branch did not change. 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. -- -- The description field for a repository accepts all HTML characters and -- all valid Unicode characters. Applications that do not HTML-encode the -- description and display it in a web page could expose users to -- potentially malicious code. Make sure that you HTML-encode the -- description field in any application that uses this API to display the -- repository description on a web page. 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: -- -- 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: -- -- 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 :: TestRepositoryTriggers -- | Represents the input of a test repository triggers operation. -- -- See: testRepositoryTriggers smart constructor. data TestRepositoryTriggers -- | The list of triggers to test. trtTriggers :: Lens' TestRepositoryTriggers [RepositoryTrigger] -- | The name of the repository in which to test the triggers. trtRepositoryName :: Lens' TestRepositoryTriggers (Maybe Text) -- | 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: -- -- 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: -- -- putRepositoryTriggers :: PutRepositoryTriggers -- | Represents the input ofa put repository triggers operation. -- -- See: putRepositoryTriggers smart constructor. data PutRepositoryTriggers -- | The JSON block of configuration information for each trigger. prtTriggers :: Lens' PutRepositoryTriggers [RepositoryTrigger] -- | The name of the repository where you want to create or update the -- trigger. prtRepositoryName :: Lens' PutRepositoryTriggers (Maybe Text) -- | 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: -- -- 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: -- -- 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: -- -- 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: -- -- getRepositoryTriggers :: 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 (Maybe 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. -- -- The description field for a repository accepts all HTML characters and -- all valid Unicode characters. Applications that do not HTML-encode the -- description and display it in a web page could expose users to -- potentially malicious code. Make sure that you HTML-encode the -- description field in any application that uses this API to display the -- repository description on a web page. 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: -- -- 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 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: -- -- 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. 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: -- -- 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 -- | 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: -- -- 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. gbrsBranch :: Lens' GetBranchResponse (Maybe BranchInfo) -- | The response status code. gbrsResponseStatus :: 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 -- | Deletes a repository. If a specified repository was already deleted, a -- null repository ID will be returned. -- -- 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 -- | 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. -- -- The description field for a repository accepts all HTML characters and -- all valid Unicode characters. Applications that do not HTML-encode the -- description and display it in a web page could expose users to -- potentially malicious code. Make sure that you HTML-encode the -- description field in any application that uses this API to display the -- repository description on a web page. crRepositoryDescription :: Lens' CreateRepository (Maybe Text) -- | The name of the new repository to be created. -- -- 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. For a -- full description of the limits on repository names, see Limits -- in the AWS CodeCommit User Guide. The suffix ".git" is prohibited. 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. -- -- Calling the create branch operation does not set a repository's -- default branch. To do this, call the update default branch operation. 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: -- -- 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. -- -- The description field for a repository accepts all HTML characters and -- all valid Unicode characters. Applications that do not HTML-encode the -- description and display it in a web page could expose users to -- potentially malicious code. Make sure that you HTML-encode the -- description field in any application that uses this API to display the -- repository description on a web page. 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. -- -- You can use the AWS CodeCommit API to work with the following objects: -- -- -- -- 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 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 repository names object is required but was not specified. _RepositoryNamesRequiredException :: 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 -- | 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 -- | 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 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 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 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. -- -- This exception only occurs when a specified repository name is not -- valid. Other exceptions occur when a required repository parameter is -- missing, or when a specified repository does not exist. _InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError 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 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: -- -- commit :: Commit -- | Information about the person who committed the specified commit, also -- known as the committer. 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. cAuthor :: Lens' Commit (Maybe UserInfo) -- | The message associated with the specified commit. cMessage :: Lens' Commit (Maybe Text) -- | Information about a repository. -- -- See: repositoryMetadata smart constructor. data RepositoryMetadata -- | Creates a value of RepositoryMetadata with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- 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: -- -- repositoryTrigger :: RepositoryTrigger -- | The branches that will be included in the trigger configuration. If no -- branches are specified, 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 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 (Maybe Text) -- | The name of the trigger. rtName :: Lens' RepositoryTrigger (Maybe 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). If no events are specified, the trigger -- will run for all repository events. 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: -- -- 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: -- -- 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)