amazonka-codecommit-1.4.0: 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 Source

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:

Request Lenses

trtRepositoryName :: Lens' TestRepositoryTriggers (Maybe Text) Source

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

Destructuring the Response

testRepositoryTriggersResponse Source

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:

Response Lenses

trtrsFailedExecutions :: Lens' TestRepositoryTriggersResponse [RepositoryTriggerExecutionFailure] Source

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

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