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.TestRepositoryTriggers

Contents

Description

Tests the functionality of repository triggers by sending information to the trigger target. If real data is available in the repository, the test will send data from the last commit. If no data is available, sample data will be generated.

Synopsis

Creating a Request

testRepositoryTriggers :: TestRepositoryTriggers #

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

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

data TestRepositoryTriggers #

Represents the input of a test repository triggers operation.

See: testRepositoryTriggers smart constructor.

Instances

Eq TestRepositoryTriggers # 
Data TestRepositoryTriggers # 

Methods

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

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

toConstr :: TestRepositoryTriggers -> Constr #

dataTypeOf :: TestRepositoryTriggers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TestRepositoryTriggers # 
Show TestRepositoryTriggers # 
Generic TestRepositoryTriggers # 
Hashable TestRepositoryTriggers # 
ToJSON TestRepositoryTriggers # 
NFData TestRepositoryTriggers # 

Methods

rnf :: TestRepositoryTriggers -> () #

AWSRequest TestRepositoryTriggers # 
ToQuery TestRepositoryTriggers # 
ToPath TestRepositoryTriggers # 
ToHeaders TestRepositoryTriggers # 
type Rep TestRepositoryTriggers # 
type Rep TestRepositoryTriggers = D1 (MetaData "TestRepositoryTriggers" "Network.AWS.CodeCommit.TestRepositoryTriggers" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "TestRepositoryTriggers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_trtTriggers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RepositoryTrigger]))) (S1 (MetaSel (Just Symbol "_trtRepositoryName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs TestRepositoryTriggers # 

Request Lenses

trtTriggers :: Lens' TestRepositoryTriggers [RepositoryTrigger] #

The list of triggers to test.

trtRepositoryName :: Lens' TestRepositoryTriggers (Maybe Text) #

The name of the repository in which to test the triggers.

Destructuring the Response

testRepositoryTriggersResponse #

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

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

  • trtrsFailedExecutions - The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.
  • trtrsSuccessfulExecutions - The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
  • trtrsResponseStatus - -- | The response status code.

data TestRepositoryTriggersResponse #

Represents the output of a test repository triggers operation.

See: testRepositoryTriggersResponse smart constructor.

Instances

Eq TestRepositoryTriggersResponse # 
Data TestRepositoryTriggersResponse # 

Methods

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

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

toConstr :: TestRepositoryTriggersResponse -> Constr #

dataTypeOf :: TestRepositoryTriggersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read TestRepositoryTriggersResponse # 
Show TestRepositoryTriggersResponse # 
Generic TestRepositoryTriggersResponse # 
NFData TestRepositoryTriggersResponse # 
type Rep TestRepositoryTriggersResponse # 
type Rep TestRepositoryTriggersResponse = D1 (MetaData "TestRepositoryTriggersResponse" "Network.AWS.CodeCommit.TestRepositoryTriggers" "amazonka-codecommit-1.4.5-IwWwQ2aHJNDDGjtjK0Oyfa" False) (C1 (MetaCons "TestRepositoryTriggersResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_trtrsFailedExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RepositoryTriggerExecutionFailure]))) ((:*:) (S1 (MetaSel (Just Symbol "_trtrsSuccessfulExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_trtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

trtrsFailedExecutions :: Lens' TestRepositoryTriggersResponse [RepositoryTriggerExecutionFailure] #

The list of triggers that were not able to be tested. This list provides the names of the triggers that could not be tested, separated by commas.

trtrsSuccessfulExecutions :: Lens' TestRepositoryTriggersResponse [Text] #

The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.