-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeCommit SDK.
--
@package amazonka-codecommit
@version 1.2.0
module Network.AWS.CodeCommit.Types
-- | API version '2015-04-13' of the Amazon CodeCommit SDK configuration.
codeCommit :: Service
-- | 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
-- | The specified repository name already exists.
_RepositoryNameExistsException :: 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
-- | A branch name is required but was not specified.
_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch name is not valid.
_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is not available.
_EncryptionKeyUnavailableException :: 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 repository names object is required but was not specified.
_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository does not exist.
_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An encryption integrity check failed.
_EncryptionIntegrityChecksFailedException :: 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 encryption key is disabled.
_EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified sort by value is not valid.
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A commit ID was not specified.
_CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit ID is not valid.
_InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The 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
-- | A repository resource limit was exceeded.
_RepositoryLimitExceededException :: 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
-- | A repository name is required but was not specified.
_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
data OrderEnum
Ascending :: OrderEnum
Descending :: OrderEnum
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)
-- | 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 date and time the repository was created, in timestamp format.
rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime)
-- | The repository's name.
rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text)
-- | 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 name.
rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text)
-- | Undocumented member.
rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text)
module Network.AWS.CodeCommit.Waiters
-- | Gets 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.
--
-- See: AWS API Reference for BatchGetRepositories.
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.
bgrrsStatus :: Lens' BatchGetRepositoriesResponse Int
instance Typeable BatchGetRepositories
instance Typeable BatchGetRepositoriesResponse
instance Eq BatchGetRepositories
instance Read BatchGetRepositories
instance Show BatchGetRepositories
instance Data BatchGetRepositories
instance Generic BatchGetRepositories
instance Eq BatchGetRepositoriesResponse
instance Read BatchGetRepositoriesResponse
instance Show BatchGetRepositoriesResponse
instance Data BatchGetRepositoriesResponse
instance Generic BatchGetRepositoriesResponse
instance Datatype D1BatchGetRepositories
instance Constructor C1_0BatchGetRepositories
instance Selector S1_0_0BatchGetRepositories
instance Datatype D1BatchGetRepositoriesResponse
instance Constructor C1_0BatchGetRepositoriesResponse
instance Selector S1_0_0BatchGetRepositoriesResponse
instance Selector S1_0_1BatchGetRepositoriesResponse
instance Selector S1_0_2BatchGetRepositoriesResponse
instance ToQuery BatchGetRepositories
instance ToPath BatchGetRepositories
instance ToJSON BatchGetRepositories
instance ToHeaders BatchGetRepositories
instance AWSRequest BatchGetRepositories
-- | 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.
--
-- See: AWS API Reference for DeleteRepository.
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.
drrsStatus :: Lens' DeleteRepositoryResponse Int
instance Typeable DeleteRepository
instance Typeable DeleteRepositoryResponse
instance Eq DeleteRepository
instance Read DeleteRepository
instance Show DeleteRepository
instance Data DeleteRepository
instance Generic DeleteRepository
instance Eq DeleteRepositoryResponse
instance Read DeleteRepositoryResponse
instance Show DeleteRepositoryResponse
instance Data DeleteRepositoryResponse
instance Generic DeleteRepositoryResponse
instance Datatype D1DeleteRepository
instance Constructor C1_0DeleteRepository
instance Selector S1_0_0DeleteRepository
instance Datatype D1DeleteRepositoryResponse
instance Constructor C1_0DeleteRepositoryResponse
instance Selector S1_0_0DeleteRepositoryResponse
instance Selector S1_0_1DeleteRepositoryResponse
instance ToQuery DeleteRepository
instance ToPath DeleteRepository
instance ToJSON DeleteRepository
instance ToHeaders DeleteRepository
instance AWSRequest DeleteRepository
-- | Gets 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.
--
-- See: AWS API Reference for GetRepository.
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.
grrsStatus :: Lens' GetRepositoryResponse Int
instance Typeable GetRepository
instance Typeable GetRepositoryResponse
instance Eq GetRepository
instance Read GetRepository
instance Show GetRepository
instance Data GetRepository
instance Generic GetRepository
instance Eq GetRepositoryResponse
instance Read GetRepositoryResponse
instance Show GetRepositoryResponse
instance Data GetRepositoryResponse
instance Generic GetRepositoryResponse
instance Datatype D1GetRepository
instance Constructor C1_0GetRepository
instance Selector S1_0_0GetRepository
instance Datatype D1GetRepositoryResponse
instance Constructor C1_0GetRepositoryResponse
instance Selector S1_0_0GetRepositoryResponse
instance Selector S1_0_1GetRepositoryResponse
instance ToQuery GetRepository
instance ToPath GetRepository
instance ToJSON GetRepository
instance ToHeaders GetRepository
instance AWSRequest GetRepository
-- | Gets information about one or more repositories.
--
-- See: AWS API Reference for ListRepositories.
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
-- | 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)
-- | Lists the repositories called by the list repositories operation.
lrrsRepositories :: Lens' ListRepositoriesResponse [RepositoryNameIdPair]
-- | The response status code.
lrrsStatus :: Lens' ListRepositoriesResponse Int
instance Typeable ListRepositories
instance Typeable ListRepositoriesResponse
instance Eq ListRepositories
instance Read ListRepositories
instance Show ListRepositories
instance Data ListRepositories
instance Generic ListRepositories
instance Eq ListRepositoriesResponse
instance Read ListRepositoriesResponse
instance Show ListRepositoriesResponse
instance Data ListRepositoriesResponse
instance Generic ListRepositoriesResponse
instance Datatype D1ListRepositories
instance Constructor C1_0ListRepositories
instance Selector S1_0_0ListRepositories
instance Selector S1_0_1ListRepositories
instance Selector S1_0_2ListRepositories
instance Datatype D1ListRepositoriesResponse
instance Constructor C1_0ListRepositoriesResponse
instance Selector S1_0_0ListRepositoriesResponse
instance Selector S1_0_1ListRepositoriesResponse
instance Selector S1_0_2ListRepositoriesResponse
instance ToQuery ListRepositories
instance ToPath ListRepositories
instance ToJSON ListRepositories
instance ToHeaders ListRepositories
instance AWSRequest ListRepositories
-- | Creates a new, empty repository.
--
-- See: AWS API Reference for CreateRepository.
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.
--
-- The repository name must be unique across the calling AWS account. In
-- addition, repository names are restricted to alphanumeric characters.
-- 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.
crrsStatus :: Lens' CreateRepositoryResponse Int
instance Typeable CreateRepository
instance Typeable CreateRepositoryResponse
instance Eq CreateRepository
instance Read CreateRepository
instance Show CreateRepository
instance Data CreateRepository
instance Generic CreateRepository
instance Eq CreateRepositoryResponse
instance Read CreateRepositoryResponse
instance Show CreateRepositoryResponse
instance Data CreateRepositoryResponse
instance Generic CreateRepositoryResponse
instance Datatype D1CreateRepository
instance Constructor C1_0CreateRepository
instance Selector S1_0_0CreateRepository
instance Selector S1_0_1CreateRepository
instance Datatype D1CreateRepositoryResponse
instance Constructor C1_0CreateRepositoryResponse
instance Selector S1_0_0CreateRepositoryResponse
instance Selector S1_0_1CreateRepositoryResponse
instance ToQuery CreateRepository
instance ToPath CreateRepository
instance ToJSON CreateRepository
instance ToHeaders CreateRepository
instance AWSRequest CreateRepository
-- | 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.
--
-- See: AWS API Reference for UpdateDefaultBranch.
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 Typeable UpdateDefaultBranch
instance Typeable UpdateDefaultBranchResponse
instance Eq UpdateDefaultBranch
instance Read UpdateDefaultBranch
instance Show UpdateDefaultBranch
instance Data UpdateDefaultBranch
instance Generic UpdateDefaultBranch
instance Eq UpdateDefaultBranchResponse
instance Read UpdateDefaultBranchResponse
instance Show UpdateDefaultBranchResponse
instance Data UpdateDefaultBranchResponse
instance Generic UpdateDefaultBranchResponse
instance Datatype D1UpdateDefaultBranch
instance Constructor C1_0UpdateDefaultBranch
instance Selector S1_0_0UpdateDefaultBranch
instance Selector S1_0_1UpdateDefaultBranch
instance Datatype D1UpdateDefaultBranchResponse
instance Constructor C1_0UpdateDefaultBranchResponse
instance ToQuery UpdateDefaultBranch
instance ToPath UpdateDefaultBranch
instance ToJSON UpdateDefaultBranch
instance ToHeaders UpdateDefaultBranch
instance AWSRequest UpdateDefaultBranch
-- | 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.
--
-- See: AWS API Reference for CreateBranch.
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.
--
-- If this commit ID is not specified, the new branch will point to the
-- commit that is pointed to by the repository's default branch.
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 Typeable CreateBranch
instance Typeable CreateBranchResponse
instance Eq CreateBranch
instance Read CreateBranch
instance Show CreateBranch
instance Data CreateBranch
instance Generic CreateBranch
instance Eq CreateBranchResponse
instance Read CreateBranchResponse
instance Show CreateBranchResponse
instance Data CreateBranchResponse
instance Generic CreateBranchResponse
instance Datatype D1CreateBranch
instance Constructor C1_0CreateBranch
instance Selector S1_0_0CreateBranch
instance Selector S1_0_1CreateBranch
instance Selector S1_0_2CreateBranch
instance Datatype D1CreateBranchResponse
instance Constructor C1_0CreateBranchResponse
instance ToQuery CreateBranch
instance ToPath CreateBranch
instance ToJSON CreateBranch
instance ToHeaders CreateBranch
instance AWSRequest CreateBranch
-- | Gets information about one or more branches in a repository.
--
-- See: AWS API Reference for ListBranches.
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.
lbrsStatus :: Lens' ListBranchesResponse Int
instance Typeable ListBranches
instance Typeable ListBranchesResponse
instance Eq ListBranches
instance Read ListBranches
instance Show ListBranches
instance Data ListBranches
instance Generic ListBranches
instance Eq ListBranchesResponse
instance Read ListBranchesResponse
instance Show ListBranchesResponse
instance Data ListBranchesResponse
instance Generic ListBranchesResponse
instance Datatype D1ListBranches
instance Constructor C1_0ListBranches
instance Selector S1_0_0ListBranches
instance Selector S1_0_1ListBranches
instance Datatype D1ListBranchesResponse
instance Constructor C1_0ListBranchesResponse
instance Selector S1_0_0ListBranchesResponse
instance Selector S1_0_1ListBranchesResponse
instance Selector S1_0_2ListBranchesResponse
instance ToQuery ListBranches
instance ToPath ListBranches
instance ToJSON ListBranches
instance ToHeaders ListBranches
instance AWSRequest ListBranches
-- | 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.
--
-- See: AWS API Reference for UpdateRepositoryDescription.
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.
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 Typeable UpdateRepositoryDescription
instance Typeable UpdateRepositoryDescriptionResponse
instance Eq UpdateRepositoryDescription
instance Read UpdateRepositoryDescription
instance Show UpdateRepositoryDescription
instance Data UpdateRepositoryDescription
instance Generic UpdateRepositoryDescription
instance Eq UpdateRepositoryDescriptionResponse
instance Read UpdateRepositoryDescriptionResponse
instance Show UpdateRepositoryDescriptionResponse
instance Data UpdateRepositoryDescriptionResponse
instance Generic UpdateRepositoryDescriptionResponse
instance Datatype D1UpdateRepositoryDescription
instance Constructor C1_0UpdateRepositoryDescription
instance Selector S1_0_0UpdateRepositoryDescription
instance Selector S1_0_1UpdateRepositoryDescription
instance Datatype D1UpdateRepositoryDescriptionResponse
instance Constructor C1_0UpdateRepositoryDescriptionResponse
instance ToQuery UpdateRepositoryDescription
instance ToPath UpdateRepositoryDescription
instance ToJSON UpdateRepositoryDescription
instance ToHeaders UpdateRepositoryDescription
instance AWSRequest UpdateRepositoryDescription
-- | Retrieves information about a repository branch, including its name
-- and the last commit ID.
--
-- See: AWS API Reference for GetBranch.
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)
-- | Undocumented member.
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.
gbrsStatus :: Lens' GetBranchResponse Int
instance Typeable GetBranch
instance Typeable GetBranchResponse
instance Eq GetBranch
instance Read GetBranch
instance Show GetBranch
instance Data GetBranch
instance Generic GetBranch
instance Eq GetBranchResponse
instance Read GetBranchResponse
instance Show GetBranchResponse
instance Data GetBranchResponse
instance Generic GetBranchResponse
instance Datatype D1GetBranch
instance Constructor C1_0GetBranch
instance Selector S1_0_0GetBranch
instance Selector S1_0_1GetBranch
instance Datatype D1GetBranchResponse
instance Constructor C1_0GetBranchResponse
instance Selector S1_0_0GetBranchResponse
instance Selector S1_0_1GetBranchResponse
instance ToQuery GetBranch
instance ToPath GetBranch
instance ToJSON GetBranch
instance ToHeaders GetBranch
instance AWSRequest GetBranch
-- | Renames a repository.
--
-- See: AWS API Reference for UpdateRepositoryName.
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
-- | Undocumented member.
urnOldName :: Lens' UpdateRepositoryName Text
-- | Undocumented member.
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 Typeable UpdateRepositoryName
instance Typeable UpdateRepositoryNameResponse
instance Eq UpdateRepositoryName
instance Read UpdateRepositoryName
instance Show UpdateRepositoryName
instance Data UpdateRepositoryName
instance Generic UpdateRepositoryName
instance Eq UpdateRepositoryNameResponse
instance Read UpdateRepositoryNameResponse
instance Show UpdateRepositoryNameResponse
instance Data UpdateRepositoryNameResponse
instance Generic UpdateRepositoryNameResponse
instance Datatype D1UpdateRepositoryName
instance Constructor C1_0UpdateRepositoryName
instance Selector S1_0_0UpdateRepositoryName
instance Selector S1_0_1UpdateRepositoryName
instance Datatype D1UpdateRepositoryNameResponse
instance Constructor C1_0UpdateRepositoryNameResponse
instance ToQuery UpdateRepositoryName
instance ToPath UpdateRepositoryName
instance ToJSON UpdateRepositoryName
instance ToHeaders UpdateRepositoryName
instance AWSRequest UpdateRepositoryName
-- | AWS CodeCommit
--
-- This is the AWS CodeCommit API Reference. This reference
-- provides descriptions of the AWS CodeCommit API.
--
-- You can use the AWS CodeCommit API to work with the following objects:
--
--
-- - Repositories
-- - Branches
-- - Commits
--
--
-- For information about how to use AWS CodeCommit, see the /AWS
-- CodeCommit User Guide/.
--
-- See: AWS API Reference
module Network.AWS.CodeCommit
-- | API version '2015-04-13' of the Amazon CodeCommit SDK configuration.
codeCommit :: Service
-- | 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
-- | The specified repository name already exists.
_RepositoryNameExistsException :: 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
-- | A branch name is required but was not specified.
_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified branch name is not valid.
_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The encryption key is not available.
_EncryptionKeyUnavailableException :: 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 repository names object is required but was not specified.
_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified repository does not exist.
_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError
-- | An encryption integrity check failed.
_EncryptionIntegrityChecksFailedException :: 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 encryption key is disabled.
_EncryptionKeyDisabledException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified sort by value is not valid.
_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError
-- | A commit ID was not specified.
_CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified commit ID is not valid.
_InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The 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
-- | A repository resource limit was exceeded.
_RepositoryLimitExceededException :: 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
-- | A repository name is required but was not specified.
_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError
data OrderEnum
Ascending :: OrderEnum
Descending :: OrderEnum
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)
-- | 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 date and time the repository was created, in timestamp format.
rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime)
-- | The repository's name.
rmRepositoryName :: Lens' RepositoryMetadata (Maybe Text)
-- | 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 name.
rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text)
-- | Undocumented member.
rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text)