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

Amazonka.CodeCommit.TestRepositoryTriggers

Description

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

Synopsis

Creating a Request

data TestRepositoryTriggers Source #

Represents the input of a test repository triggers operation.

See: newTestRepositoryTriggers smart constructor.

Constructors

TestRepositoryTriggers' 

Fields

Instances

Instances details
Eq TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Read TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Show TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Generic TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Associated Types

type Rep TestRepositoryTriggers :: Type -> Type #

NFData TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Methods

rnf :: TestRepositoryTriggers -> () #

Hashable TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

ToJSON TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

AWSRequest TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Associated Types

type AWSResponse TestRepositoryTriggers #

ToHeaders TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

ToPath TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

ToQuery TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

type Rep TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

type Rep TestRepositoryTriggers = D1 ('MetaData "TestRepositoryTriggers" "Amazonka.CodeCommit.TestRepositoryTriggers" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "TestRepositoryTriggers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "triggers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RepositoryTrigger])))
type AWSResponse TestRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

newTestRepositoryTriggers Source #

Create a value of TestRepositoryTriggers with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:repositoryName:TestRepositoryTriggers', testRepositoryTriggers_repositoryName - The name of the repository in which to test the triggers.

$sel:triggers:TestRepositoryTriggers', testRepositoryTriggers_triggers - The list of triggers to test.

Request Lenses

testRepositoryTriggers_repositoryName :: Lens' TestRepositoryTriggers Text Source #

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

Destructuring the Response

data TestRepositoryTriggersResponse Source #

Represents the output of a test repository triggers operation.

See: newTestRepositoryTriggersResponse smart constructor.

Constructors

TestRepositoryTriggersResponse' 

Fields

Instances

Instances details
Eq TestRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Read TestRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Show TestRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Generic TestRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

Associated Types

type Rep TestRepositoryTriggersResponse :: Type -> Type #

NFData TestRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

type Rep TestRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.TestRepositoryTriggers

type Rep TestRepositoryTriggersResponse = D1 ('MetaData "TestRepositoryTriggersResponse" "Amazonka.CodeCommit.TestRepositoryTriggers" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "TestRepositoryTriggersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RepositoryTriggerExecutionFailure])) :*: (S1 ('MetaSel ('Just "successfulExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newTestRepositoryTriggersResponse Source #

Create a value of TestRepositoryTriggersResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:failedExecutions:TestRepositoryTriggersResponse', testRepositoryTriggersResponse_failedExecutions - The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.

$sel:successfulExecutions:TestRepositoryTriggersResponse', testRepositoryTriggersResponse_successfulExecutions - The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.

$sel:httpStatus:TestRepositoryTriggersResponse', testRepositoryTriggersResponse_httpStatus - The response's http status code.

Response Lenses

testRepositoryTriggersResponse_failedExecutions :: Lens' TestRepositoryTriggersResponse (Maybe [RepositoryTriggerExecutionFailure]) Source #

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

testRepositoryTriggersResponse_successfulExecutions :: Lens' TestRepositoryTriggersResponse (Maybe [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.