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 Source #

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 Source #

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 Source #

The specified continuation token is not valid.

EncryptionKeyNotFoundException

InvalidRepositoryTriggerBranchNameException

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

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

InvalidRepositoryTriggerCustomDataException

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

The custom data provided for the trigger is not valid.

MaximumRepositoryNamesExceededException

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

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

InvalidRepositoryDescriptionException

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

The specified repository description is not valid.

RepositoryNameExistsException

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

The specified repository name already exists.

MaximumRepositoryTriggersExceededException

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

The number of triggers allowed for the repository was exceeded.

InvalidBranchNameException

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

The specified branch name is not valid.

BranchNameRequiredException

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

A branch name is required but was not specified.

RepositoryTriggersListRequiredException

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

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

EncryptionKeyUnavailableException

InvalidRepositoryTriggerDestinationARNException

_InvalidRepositoryTriggerDestinationARNException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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 Source #

A repository names object is required but was not specified.

InvalidOrderException

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

The specified sort order is not valid.

BranchDoesNotExistException

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

The specified branch does not exist.

RepositoryTriggerNameRequiredException

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

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

RepositoryDoesNotExistException

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

The specified repository does not exist.

MaximumBranchesExceededException

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

The number of branches for the trigger was exceeded.

EncryptionIntegrityChecksFailedException

RepositoryTriggerEventsListRequiredException

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

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

EncryptionKeyAccessDeniedException

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

An encryption key could not be accessed.

BranchNameExistsException

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

The specified branch name already exists.

InvalidSortByException

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

The specified sort by value is not valid.

EncryptionKeyDisabledException

CommitIdRequiredException

InvalidCommitIdException

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

The specified commit ID is not valid.

RepositoryTriggerDestinationARNRequiredException

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

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 Source #

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 Source #

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

CommitIdDoesNotExistException

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

The specified commit ID does not exist.

InvalidRepositoryTriggerNameException

RepositoryNameRequiredException

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

A repository name is required but was not specified.

RepositoryLimitExceededException

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

A repository resource limit was exceeded.

InvalidRepositoryTriggerEventsException

_InvalidRepositoryTriggerEventsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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 Source #

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 Source #

Constructors

Ascending 
Descending 

Instances

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

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 Source # 
Read OrderEnum Source # 
Show OrderEnum Source # 
Generic OrderEnum Source # 

Associated Types

type Rep OrderEnum :: * -> * #

Hashable OrderEnum Source # 
ToJSON OrderEnum Source # 
NFData OrderEnum Source # 

Methods

rnf :: OrderEnum -> () #

ToHeader OrderEnum Source # 
ToQuery OrderEnum Source # 
ToByteString OrderEnum Source # 

Methods

toBS :: OrderEnum -> ByteString #

FromText OrderEnum Source # 
ToText OrderEnum Source # 

Methods

toText :: OrderEnum -> Text #

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

RepositoryTriggerEventEnum

data RepositoryTriggerEventEnum Source #

Instances

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

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 Source # 
Read RepositoryTriggerEventEnum Source # 
Show RepositoryTriggerEventEnum Source # 
Generic RepositoryTriggerEventEnum Source # 
Hashable RepositoryTriggerEventEnum Source # 
ToJSON RepositoryTriggerEventEnum Source # 
FromJSON RepositoryTriggerEventEnum Source # 
NFData RepositoryTriggerEventEnum Source # 
ToHeader RepositoryTriggerEventEnum Source # 
ToQuery RepositoryTriggerEventEnum Source # 
ToByteString RepositoryTriggerEventEnum Source # 
FromText RepositoryTriggerEventEnum Source # 
ToText RepositoryTriggerEventEnum Source # 
type Rep RepositoryTriggerEventEnum Source # 
type Rep RepositoryTriggerEventEnum = D1 (MetaData "RepositoryTriggerEventEnum" "Network.AWS.CodeCommit.Types.Sum" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" 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 Source #

Instances

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

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 Source # 
Read SortByEnum Source # 
Show SortByEnum Source # 
Generic SortByEnum Source # 

Associated Types

type Rep SortByEnum :: * -> * #

Hashable SortByEnum Source # 
ToJSON SortByEnum Source # 
NFData SortByEnum Source # 

Methods

rnf :: SortByEnum -> () #

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

Methods

toText :: SortByEnum -> Text #

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

BranchInfo

data BranchInfo Source #

Returns information about a branch.

See: branchInfo smart constructor.

Instances

Eq BranchInfo Source # 
Data BranchInfo Source # 

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 Source # 
Show BranchInfo Source # 
Generic BranchInfo Source # 

Associated Types

type Rep BranchInfo :: * -> * #

Hashable BranchInfo Source # 
FromJSON BranchInfo Source # 
NFData BranchInfo Source # 

Methods

rnf :: BranchInfo -> () #

type Rep BranchInfo Source # 
type Rep BranchInfo = D1 (MetaData "BranchInfo" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" 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 Source #

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) Source #

The ID of the last commit made to the branch.

biBranchName :: Lens' BranchInfo (Maybe Text) Source #

The name of the branch.

Commit

data Commit Source #

Returns information about a specific commit.

See: commit smart constructor.

Instances

Eq Commit Source # 

Methods

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

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

Data Commit Source # 

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 Source # 
Show Commit Source # 
Generic Commit Source # 

Associated Types

type Rep Commit :: * -> * #

Methods

from :: Commit -> Rep Commit x #

to :: Rep Commit x -> Commit #

Hashable Commit Source # 

Methods

hashWithSalt :: Int -> Commit -> Int #

hash :: Commit -> Int #

FromJSON Commit Source # 
NFData Commit Source # 

Methods

rnf :: Commit -> () #

type Rep Commit Source # 

commit :: Commit Source #

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) Source #

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) Source #

Tree information for the specified commit.

cAdditionalData :: Lens' Commit (Maybe Text) Source #

Any additional data associated with the specified commit.

cParents :: Lens' Commit [Text] Source #

The parent list for the specified commit.

cAuthor :: Lens' Commit (Maybe UserInfo) Source #

Information about the author of the specified commit.

cMessage :: Lens' Commit (Maybe Text) Source #

The message associated with the specified commit.

RepositoryMetadata

data RepositoryMetadata Source #

Information about a repository.

See: repositoryMetadata smart constructor.

Instances

Eq RepositoryMetadata Source # 
Data RepositoryMetadata Source # 

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 Source # 
Show RepositoryMetadata Source # 
Generic RepositoryMetadata Source # 
Hashable RepositoryMetadata Source # 
FromJSON RepositoryMetadata Source # 
NFData RepositoryMetadata Source # 

Methods

rnf :: RepositoryMetadata -> () #

type Rep RepositoryMetadata Source # 

repositoryMetadata :: RepositoryMetadata Source #

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) Source #

A comment or description about the repository.

rmLastModifiedDate :: Lens' RepositoryMetadata (Maybe UTCTime) Source #

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

rmARN :: Lens' RepositoryMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the repository.

rmCloneURLHTTP :: Lens' RepositoryMetadata (Maybe Text) Source #

The URL to use for cloning the repository over HTTPS.

rmAccountId :: Lens' RepositoryMetadata (Maybe Text) Source #

The ID of the AWS account associated with the repository.

rmDefaultBranch :: Lens' RepositoryMetadata (Maybe Text) Source #

The repository's default branch name.

rmRepositoryId :: Lens' RepositoryMetadata (Maybe Text) Source #

The ID of the repository.

rmCreationDate :: Lens' RepositoryMetadata (Maybe UTCTime) Source #

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

rmCloneURLSSH :: Lens' RepositoryMetadata (Maybe Text) Source #

The URL to use for cloning the repository over SSH.

RepositoryNameIdPair

data RepositoryNameIdPair Source #

Information about a repository name and ID.

See: repositoryNameIdPair smart constructor.

Instances

Eq RepositoryNameIdPair Source # 
Data RepositoryNameIdPair Source # 

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 Source # 
Show RepositoryNameIdPair Source # 
Generic RepositoryNameIdPair Source # 
Hashable RepositoryNameIdPair Source # 
FromJSON RepositoryNameIdPair Source # 
NFData RepositoryNameIdPair Source # 

Methods

rnf :: RepositoryNameIdPair -> () #

type Rep RepositoryNameIdPair Source # 
type Rep RepositoryNameIdPair = D1 (MetaData "RepositoryNameIdPair" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" 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 Source #

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) Source #

The ID associated with the repository.

rnipRepositoryName :: Lens' RepositoryNameIdPair (Maybe Text) Source #

The name associated with the repository.

RepositoryTrigger

data RepositoryTrigger Source #

Information about a trigger for a repository.

See: repositoryTrigger smart constructor.

Instances

Eq RepositoryTrigger Source # 
Data RepositoryTrigger Source # 

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 Source # 
Show RepositoryTrigger Source # 
Generic RepositoryTrigger Source # 
Hashable RepositoryTrigger Source # 
ToJSON RepositoryTrigger Source # 
FromJSON RepositoryTrigger Source # 
NFData RepositoryTrigger Source # 

Methods

rnf :: RepositoryTrigger -> () #

type Rep RepositoryTrigger Source # 
type Rep RepositoryTrigger = D1 (MetaData "RepositoryTrigger" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" 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 Source #

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] Source #

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) Source #

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) Source #

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) Source #

The name of the trigger.

rtEvents :: Lens' RepositoryTrigger [RepositoryTriggerEventEnum] Source #

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 Source #

A trigger failed to run.

See: repositoryTriggerExecutionFailure smart constructor.

Instances

Eq RepositoryTriggerExecutionFailure Source # 
Data RepositoryTriggerExecutionFailure Source # 

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 Source # 
Show RepositoryTriggerExecutionFailure Source # 
Generic RepositoryTriggerExecutionFailure Source # 
Hashable RepositoryTriggerExecutionFailure Source # 
FromJSON RepositoryTriggerExecutionFailure Source # 
NFData RepositoryTriggerExecutionFailure Source # 
type Rep RepositoryTriggerExecutionFailure Source # 
type Rep RepositoryTriggerExecutionFailure = D1 (MetaData "RepositoryTriggerExecutionFailure" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" 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 Source #

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) Source #

Additional message information about the trigger that did not run.

rtefTrigger :: Lens' RepositoryTriggerExecutionFailure (Maybe Text) Source #

The name of the trigger that did not run.

UserInfo

data UserInfo Source #

Information about the user who made a specified commit.

See: userInfo smart constructor.

Instances

Eq UserInfo Source # 
Data UserInfo Source # 

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 Source # 
Show UserInfo Source # 
Generic UserInfo Source # 

Associated Types

type Rep UserInfo :: * -> * #

Methods

from :: UserInfo -> Rep UserInfo x #

to :: Rep UserInfo x -> UserInfo #

Hashable UserInfo Source # 

Methods

hashWithSalt :: Int -> UserInfo -> Int #

hash :: UserInfo -> Int #

FromJSON UserInfo Source # 
NFData UserInfo Source # 

Methods

rnf :: UserInfo -> () #

type Rep UserInfo Source # 
type Rep UserInfo = D1 (MetaData "UserInfo" "Network.AWS.CodeCommit.Types.Product" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" 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 Source #

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) Source #

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

uiDate :: Lens' UserInfo (Maybe Text) Source #

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

uiName :: Lens' UserInfo (Maybe Text) Source #

The name of the user who made the specified commit.