amazonka-codecommit-1.4.5: Amazon CodeCommit SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CodeCommit

Contents

Description

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 .

Synopsis

Service Configuration

codeCommit :: Service #

API version 2015-04-13 of the Amazon CodeCommit SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CodeCommit.

InvalidRepositoryTriggerRegionException

_InvalidRepositoryTriggerRegionException :: AsError a => Getting (First ServiceError) a ServiceError #

The region for the trigger target does not match the region for the repository. Triggers must be created in the same region as the target for the trigger.

InvalidContinuationTokenException

_InvalidContinuationTokenException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified continuation token is not valid.

EncryptionKeyNotFoundException

InvalidRepositoryTriggerBranchNameException

_InvalidRepositoryTriggerBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError #

One or more branch names specified for the trigger is not valid.

InvalidRepositoryTriggerCustomDataException

_InvalidRepositoryTriggerCustomDataException :: AsError a => Getting (First ServiceError) a ServiceError #

The custom data provided for the trigger is not valid.

MaximumRepositoryNamesExceededException

_MaximumRepositoryNamesExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

The maximum number of allowed repository names was exceeded. Currently, this number is 25.

InvalidRepositoryDescriptionException

_InvalidRepositoryDescriptionException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified repository description is not valid.

RepositoryNameExistsException

_RepositoryNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified repository name already exists.

MaximumRepositoryTriggersExceededException

_MaximumRepositoryTriggersExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

The number of triggers allowed for the repository was exceeded.

InvalidBranchNameException

_InvalidBranchNameException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified branch name is not valid.

BranchNameRequiredException

_BranchNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

A branch name is required but was not specified.

RepositoryTriggersListRequiredException

_RepositoryTriggersListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

The list of triggers for the repository is required but was not specified.

EncryptionKeyUnavailableException

_EncryptionKeyUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError #

The encryption key is not available.

InvalidRepositoryTriggerDestinationARNException

_InvalidRepositoryTriggerDestinationARNException :: 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.

RepositoryNamesRequiredException

_RepositoryNamesRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

A repository names object is required but was not specified.

InvalidOrderException

_InvalidOrderException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified sort order is not valid.

BranchDoesNotExistException

_BranchDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified branch does not exist.

RepositoryTriggerNameRequiredException

_RepositoryTriggerNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

A name for the trigger is required but was not specified.

RepositoryDoesNotExistException

_RepositoryDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified repository does not exist.

MaximumBranchesExceededException

_MaximumBranchesExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

The number of branches for the trigger was exceeded.

EncryptionIntegrityChecksFailedException

RepositoryTriggerEventsListRequiredException

_RepositoryTriggerEventsListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

At least one event for the trigger is required but was not specified.

EncryptionKeyAccessDeniedException

_EncryptionKeyAccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError #

An encryption key could not be accessed.

BranchNameExistsException

_BranchNameExistsException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified branch name already exists.

InvalidSortByException

_InvalidSortByException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified sort by value is not valid.

EncryptionKeyDisabledException

CommitIdRequiredException

_CommitIdRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

A commit ID was not specified.

InvalidCommitIdException

_InvalidCommitIdException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified commit ID is not valid.

RepositoryTriggerDestinationARNRequiredException

_RepositoryTriggerDestinationARNRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

A destination ARN for the target service for the trigger is required but was not specified.

CommitDoesNotExistException

_CommitDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified commit does not exist or no commit was specified, and the specified repository has no default branch.

RepositoryTriggerBranchNameListRequiredException

_RepositoryTriggerBranchNameListRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

At least one branch name is required but was not specified in the trigger configuration.

CommitIdDoesNotExistException

_CommitIdDoesNotExistException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified commit ID does not exist.

InvalidRepositoryTriggerNameException

_InvalidRepositoryTriggerNameException :: AsError a => Getting (First ServiceError) a ServiceError #

The name of the trigger is not valid.

RepositoryNameRequiredException

_RepositoryNameRequiredException :: AsError a => Getting (First ServiceError) a ServiceError #

A repository name is required but was not specified.

RepositoryLimitExceededException

_RepositoryLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

A repository resource limit was exceeded.

InvalidRepositoryTriggerEventsException

_InvalidRepositoryTriggerEventsException :: 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.

InvalidRepositoryNameException

_InvalidRepositoryNameException :: AsError a => Getting (First ServiceError) a ServiceError #

At least one specified repository name is not valid.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

UpdateRepositoryName

GetCommit

GetBranch

UpdateRepositoryDescription

CreateBranch

ListBranches (Paginated)

ListRepositories (Paginated)

CreateRepository

UpdateDefaultBranch

GetRepository

GetRepositoryTriggers

TestRepositoryTriggers

PutRepositoryTriggers

DeleteRepository

BatchGetRepositories

Types

OrderEnum

data OrderEnum #

Constructors

Ascending 
Descending 

Instances

Bounded OrderEnum # 
Enum OrderEnum # 
Eq OrderEnum # 
Data OrderEnum # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderEnum -> c OrderEnum #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderEnum #

toConstr :: OrderEnum -> Constr #

dataTypeOf :: OrderEnum -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OrderEnum) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderEnum) #

gmapT :: (forall b. Data b => b -> b) -> OrderEnum -> OrderEnum #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderEnum -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderEnum -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderEnum -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderEnum -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderEnum -> m OrderEnum #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderEnum -> m OrderEnum #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderEnum -> m OrderEnum #

Ord OrderEnum # 
Read OrderEnum # 
Show OrderEnum # 
Generic OrderEnum # 

Associated Types

type Rep OrderEnum :: * -> * #

Hashable OrderEnum # 
ToJSON OrderEnum # 
NFData OrderEnum # 

Methods

rnf :: OrderEnum -> () #

ToQuery OrderEnum # 
ToHeader OrderEnum # 
ToByteString OrderEnum # 

Methods

toBS :: OrderEnum -> ByteString #

FromText OrderEnum # 
ToText OrderEnum # 

Methods

toText :: OrderEnum -> Text #

type Rep OrderEnum # 
type Rep OrderEnum = D1 (MetaData "OrderEnum" "Network.AWS.CodeCommit.Types.Sum" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) ((:+:) (C1 (MetaCons "Ascending" PrefixI False) U1) (C1 (MetaCons "Descending" PrefixI False) U1))

RepositoryTriggerEventEnum

data RepositoryTriggerEventEnum #

Instances

Bounded RepositoryTriggerEventEnum # 
Enum RepositoryTriggerEventEnum # 
Eq RepositoryTriggerEventEnum # 
Data RepositoryTriggerEventEnum # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepositoryTriggerEventEnum -> c RepositoryTriggerEventEnum #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepositoryTriggerEventEnum #

toConstr :: RepositoryTriggerEventEnum -> Constr #

dataTypeOf :: RepositoryTriggerEventEnum -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RepositoryTriggerEventEnum) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepositoryTriggerEventEnum) #

gmapT :: (forall b. Data b => b -> b) -> RepositoryTriggerEventEnum -> RepositoryTriggerEventEnum #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryTriggerEventEnum -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryTriggerEventEnum -> r #

gmapQ :: (forall d. Data d => d -> u) -> RepositoryTriggerEventEnum -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RepositoryTriggerEventEnum -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepositoryTriggerEventEnum -> m RepositoryTriggerEventEnum #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryTriggerEventEnum -> m RepositoryTriggerEventEnum #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryTriggerEventEnum -> m RepositoryTriggerEventEnum #

Ord RepositoryTriggerEventEnum # 
Read RepositoryTriggerEventEnum # 
Show RepositoryTriggerEventEnum # 
Generic RepositoryTriggerEventEnum # 
Hashable RepositoryTriggerEventEnum # 
ToJSON RepositoryTriggerEventEnum # 
FromJSON RepositoryTriggerEventEnum # 
NFData RepositoryTriggerEventEnum # 
ToQuery RepositoryTriggerEventEnum # 
ToHeader RepositoryTriggerEventEnum # 
ToByteString RepositoryTriggerEventEnum # 
FromText RepositoryTriggerEventEnum # 
ToText RepositoryTriggerEventEnum # 
type Rep RepositoryTriggerEventEnum # 
type Rep RepositoryTriggerEventEnum = D1 (MetaData "RepositoryTriggerEventEnum" "Network.AWS.CodeCommit.Types.Sum" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) ((:+:) ((:+:) (C1 (MetaCons "All" PrefixI False) U1) (C1 (MetaCons "CreateReference" PrefixI False) U1)) ((:+:) (C1 (MetaCons "DeleteReference" PrefixI False) U1) (C1 (MetaCons "UpdateReference" PrefixI False) U1)))

SortByEnum

data SortByEnum #

Instances

Bounded SortByEnum # 
Enum SortByEnum # 
Eq SortByEnum # 
Data SortByEnum # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SortByEnum -> c SortByEnum #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SortByEnum #

toConstr :: SortByEnum -> Constr #

dataTypeOf :: SortByEnum -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SortByEnum) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SortByEnum) #

gmapT :: (forall b. Data b => b -> b) -> SortByEnum -> SortByEnum #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SortByEnum -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SortByEnum -> r #

gmapQ :: (forall d. Data d => d -> u) -> SortByEnum -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SortByEnum -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SortByEnum -> m SortByEnum #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SortByEnum -> m SortByEnum #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SortByEnum -> m SortByEnum #

Ord SortByEnum # 
Read SortByEnum # 
Show SortByEnum # 
Generic SortByEnum # 

Associated Types

type Rep SortByEnum :: * -> * #

Hashable SortByEnum # 
ToJSON SortByEnum # 
NFData SortByEnum # 

Methods

rnf :: SortByEnum -> () #

ToQuery SortByEnum # 
ToHeader SortByEnum # 
ToByteString SortByEnum # 
FromText SortByEnum # 
ToText SortByEnum # 

Methods

toText :: SortByEnum -> Text #

type Rep SortByEnum # 
type Rep SortByEnum = D1 (MetaData "SortByEnum" "Network.AWS.CodeCommit.Types.Sum" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) ((:+:) (C1 (MetaCons "LastModifiedDate" PrefixI False) U1) (C1 (MetaCons "RepositoryName" PrefixI False) U1))

BranchInfo

data BranchInfo #

Returns information about a branch.

See: branchInfo smart constructor.

Instances

Eq BranchInfo # 
Data BranchInfo # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BranchInfo -> c BranchInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BranchInfo #

toConstr :: BranchInfo -> Constr #

dataTypeOf :: BranchInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c BranchInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BranchInfo) #

gmapT :: (forall b. Data b => b -> b) -> BranchInfo -> BranchInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BranchInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BranchInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> BranchInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BranchInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BranchInfo -> m BranchInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BranchInfo -> m BranchInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BranchInfo -> m BranchInfo #

Read BranchInfo # 
Show BranchInfo # 
Generic BranchInfo # 

Associated Types

type Rep BranchInfo :: * -> * #

Hashable BranchInfo # 
FromJSON BranchInfo # 
NFData BranchInfo # 

Methods

rnf :: BranchInfo -> () #

type Rep BranchInfo # 
type Rep BranchInfo = D1 (MetaData "BranchInfo" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "BranchInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_biCommitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_biBranchName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

branchInfo :: 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:

biCommitId :: Lens' BranchInfo (Maybe Text) #

The ID of the last commit made to the branch.

biBranchName :: Lens' BranchInfo (Maybe Text) #

The name of the branch.

Commit

data Commit #

Returns information about a specific commit.

See: commit smart constructor.

Instances

Eq Commit # 

Methods

(==) :: Commit -> Commit -> Bool #

(/=) :: Commit -> Commit -> Bool #

Data Commit # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Commit -> c Commit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Commit #

toConstr :: Commit -> Constr #

dataTypeOf :: Commit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Commit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Commit) #

gmapT :: (forall b. Data b => b -> b) -> Commit -> Commit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Commit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Commit -> r #

gmapQ :: (forall d. Data d => d -> u) -> Commit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Commit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Commit -> m Commit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Commit -> m Commit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Commit -> m Commit #

Read Commit # 
Show Commit # 
Generic Commit # 

Associated Types

type Rep Commit :: * -> * #

Methods

from :: Commit -> Rep Commit x #

to :: Rep Commit x -> Commit #

Hashable Commit # 

Methods

hashWithSalt :: Int -> Commit -> Int #

hash :: Commit -> Int #

FromJSON Commit # 
NFData Commit # 

Methods

rnf :: Commit -> () #

type Rep Commit # 

commit :: 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:

  • cCommitter - 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.
  • cTreeId - Tree information for the specified commit.
  • cAdditionalData - Any additional data associated with the specified commit.
  • cParents - The parent list for the specified commit.
  • cAuthor - Information about the author of the specified commit.
  • cMessage - The message associated with the specified commit.

cCommitter :: Lens' Commit (Maybe UserInfo) #

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.

cTreeId :: Lens' Commit (Maybe Text) #

Tree information for the specified commit.

cAdditionalData :: Lens' Commit (Maybe Text) #

Any additional data associated with the specified commit.

cParents :: Lens' Commit [Text] #

The parent list for the specified commit.

cAuthor :: Lens' Commit (Maybe UserInfo) #

Information about the author of the specified commit.

cMessage :: Lens' Commit (Maybe Text) #

The message associated with the specified commit.

RepositoryMetadata

data RepositoryMetadata #

Information about a repository.

See: repositoryMetadata smart constructor.

Instances

Eq RepositoryMetadata # 
Data RepositoryMetadata # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepositoryMetadata -> c RepositoryMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepositoryMetadata #

toConstr :: RepositoryMetadata -> Constr #

dataTypeOf :: RepositoryMetadata -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RepositoryMetadata) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepositoryMetadata) #

gmapT :: (forall b. Data b => b -> b) -> RepositoryMetadata -> RepositoryMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> RepositoryMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RepositoryMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepositoryMetadata -> m RepositoryMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryMetadata -> m RepositoryMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryMetadata -> m RepositoryMetadata #

Read RepositoryMetadata # 
Show RepositoryMetadata # 
Generic RepositoryMetadata # 
Hashable RepositoryMetadata # 
FromJSON RepositoryMetadata # 
NFData RepositoryMetadata # 

Methods

rnf :: RepositoryMetadata -> () #

type Rep RepositoryMetadata # 

repositoryMetadata :: RepositoryMetadata #

Creates a value of RepositoryMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rmRepositoryDescription :: Lens' RepositoryMetadata (Maybe Text) #

A comment or description about the repository.

rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime) #

The date and time the repository was last modified, in timestamp format.

rmARN :: Lens' RepositoryMetadata (Maybe Text) #

The Amazon Resource Name (ARN) of the repository.

rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text) #

The URL to use for cloning the repository over HTTPS.

rmAccountId :: Lens' RepositoryMetadata (Maybe Text) #

The ID of the AWS account associated with the repository.

rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text) #

The repository's default branch name.

rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text) #

The ID of the repository.

rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime) #

The date and time the repository was created, in timestamp format.

rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text) #

The URL to use for cloning the repository over SSH.

RepositoryNameIdPair

data RepositoryNameIdPair #

Information about a repository name and ID.

See: repositoryNameIdPair smart constructor.

Instances

Eq RepositoryNameIdPair # 
Data RepositoryNameIdPair # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepositoryNameIdPair -> c RepositoryNameIdPair #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepositoryNameIdPair #

toConstr :: RepositoryNameIdPair -> Constr #

dataTypeOf :: RepositoryNameIdPair -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RepositoryNameIdPair) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepositoryNameIdPair) #

gmapT :: (forall b. Data b => b -> b) -> RepositoryNameIdPair -> RepositoryNameIdPair #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryNameIdPair -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryNameIdPair -> r #

gmapQ :: (forall d. Data d => d -> u) -> RepositoryNameIdPair -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RepositoryNameIdPair -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepositoryNameIdPair -> m RepositoryNameIdPair #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryNameIdPair -> m RepositoryNameIdPair #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryNameIdPair -> m RepositoryNameIdPair #

Read RepositoryNameIdPair # 
Show RepositoryNameIdPair # 
Generic RepositoryNameIdPair # 
Hashable RepositoryNameIdPair # 
FromJSON RepositoryNameIdPair # 
NFData RepositoryNameIdPair # 

Methods

rnf :: RepositoryNameIdPair -> () #

type Rep RepositoryNameIdPair # 
type Rep RepositoryNameIdPair = D1 (MetaData "RepositoryNameIdPair" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "RepositoryNameIdPair'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rnipRepositoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rnipRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

repositoryNameIdPair :: 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:

rnipRepositoryId :: Lens' RepositoryNameIdPair (Maybe Text) #

The ID associated with the repository.

rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text) #

The name associated with the repository.

RepositoryTrigger

data RepositoryTrigger #

Information about a trigger for a repository.

See: repositoryTrigger smart constructor.

Instances

Eq RepositoryTrigger # 
Data RepositoryTrigger # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepositoryTrigger -> c RepositoryTrigger #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepositoryTrigger #

toConstr :: RepositoryTrigger -> Constr #

dataTypeOf :: RepositoryTrigger -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RepositoryTrigger) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepositoryTrigger) #

gmapT :: (forall b. Data b => b -> b) -> RepositoryTrigger -> RepositoryTrigger #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryTrigger -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryTrigger -> r #

gmapQ :: (forall d. Data d => d -> u) -> RepositoryTrigger -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RepositoryTrigger -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepositoryTrigger -> m RepositoryTrigger #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryTrigger -> m RepositoryTrigger #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryTrigger -> m RepositoryTrigger #

Read RepositoryTrigger # 
Show RepositoryTrigger # 
Generic RepositoryTrigger # 
Hashable RepositoryTrigger # 
ToJSON RepositoryTrigger # 
FromJSON RepositoryTrigger # 
NFData RepositoryTrigger # 

Methods

rnf :: RepositoryTrigger -> () #

type Rep RepositoryTrigger # 
type Rep RepositoryTrigger = D1 (MetaData "RepositoryTrigger" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "RepositoryTrigger'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rtBranches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_rtCustomData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_rtDestinationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rtName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rtEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RepositoryTriggerEventEnum])))))))

repositoryTrigger :: RepositoryTrigger #

Creates a value of RepositoryTrigger with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • rtBranches - The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.
  • rtCustomData - Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.
  • rtDestinationARN - The ARN of the resource that is the target for a trigger. For example, the ARN of a topic in Amazon Simple Notification Service (SNS).
  • rtName - The name of the trigger.
  • rtEvents - The repository events that will cause the trigger to run actions in another service, such as sending a notification through Amazon Simple Notification Service (SNS). If no events are specified, the trigger will run for all repository events.

rtBranches :: Lens' RepositoryTrigger [Text] #

The branches that will be included in the trigger configuration. If no branches are specified, the trigger will apply to all branches.

rtCustomData :: Lens' RepositoryTrigger (Maybe Text) #

Any custom data associated with the trigger that will be included in the information sent to the target of the trigger.

rtDestinationARN :: 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).

rtName :: Lens' RepositoryTrigger (Maybe Text) #

The name of the trigger.

rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum] #

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.

RepositoryTriggerExecutionFailure

data RepositoryTriggerExecutionFailure #

A trigger failed to run.

See: repositoryTriggerExecutionFailure smart constructor.

Instances

Eq RepositoryTriggerExecutionFailure # 
Data RepositoryTriggerExecutionFailure # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepositoryTriggerExecutionFailure -> c RepositoryTriggerExecutionFailure #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepositoryTriggerExecutionFailure #

toConstr :: RepositoryTriggerExecutionFailure -> Constr #

dataTypeOf :: RepositoryTriggerExecutionFailure -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RepositoryTriggerExecutionFailure) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepositoryTriggerExecutionFailure) #

gmapT :: (forall b. Data b => b -> b) -> RepositoryTriggerExecutionFailure -> RepositoryTriggerExecutionFailure #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryTriggerExecutionFailure -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepositoryTriggerExecutionFailure -> r #

gmapQ :: (forall d. Data d => d -> u) -> RepositoryTriggerExecutionFailure -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RepositoryTriggerExecutionFailure -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepositoryTriggerExecutionFailure -> m RepositoryTriggerExecutionFailure #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryTriggerExecutionFailure -> m RepositoryTriggerExecutionFailure #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepositoryTriggerExecutionFailure -> m RepositoryTriggerExecutionFailure #

Read RepositoryTriggerExecutionFailure # 
Show RepositoryTriggerExecutionFailure # 
Generic RepositoryTriggerExecutionFailure # 
Hashable RepositoryTriggerExecutionFailure # 
FromJSON RepositoryTriggerExecutionFailure # 
NFData RepositoryTriggerExecutionFailure # 
type Rep RepositoryTriggerExecutionFailure # 
type Rep RepositoryTriggerExecutionFailure = D1 (MetaData "RepositoryTriggerExecutionFailure" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "RepositoryTriggerExecutionFailure'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtefFailureMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rtefTrigger") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

repositoryTriggerExecutionFailure :: RepositoryTriggerExecutionFailure #

Creates a value of RepositoryTriggerExecutionFailure with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rtefFailureMessage :: Lens' RepositoryTriggerExecutionFailure (Maybe Text) #

Additional message information about the trigger that did not run.

rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text) #

The name of the trigger that did not run.

UserInfo

data UserInfo #

Information about the user who made a specified commit.

See: userInfo smart constructor.

Instances

Eq UserInfo # 
Data UserInfo # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserInfo -> c UserInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserInfo #

toConstr :: UserInfo -> Constr #

dataTypeOf :: UserInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UserInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserInfo) #

gmapT :: (forall b. Data b => b -> b) -> UserInfo -> UserInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserInfo -> m UserInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserInfo -> m UserInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserInfo -> m UserInfo #

Read UserInfo # 
Show UserInfo # 
Generic UserInfo # 

Associated Types

type Rep UserInfo :: * -> * #

Methods

from :: UserInfo -> Rep UserInfo x #

to :: Rep UserInfo x -> UserInfo #

Hashable UserInfo # 

Methods

hashWithSalt :: Int -> UserInfo -> Int #

hash :: UserInfo -> Int #

FromJSON UserInfo # 
NFData UserInfo # 

Methods

rnf :: UserInfo -> () #

type Rep UserInfo # 
type Rep UserInfo = D1 (MetaData "UserInfo" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "UserInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uiEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_uiDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_uiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

userInfo :: UserInfo #

Creates a value of UserInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • uiEmail - The email address associated with the user who made the commit, if any.
  • uiDate - The date when the specified commit was pushed to the repository.
  • uiName - The name of the user who made the specified commit.

uiEmail :: Lens' UserInfo (Maybe Text) #

The email address associated with the user who made the commit, if any.

uiDate :: Lens' UserInfo (Maybe Text) #

The date when the specified commit was pushed to the repository.

uiName :: Lens' UserInfo (Maybe Text) #

The name of the user who made the specified commit.