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

Description

Replaces all triggers for a repository. Used to create or delete triggers.

Synopsis

Creating a Request

data PutRepositoryTriggers Source #

Represents the input of a put repository triggers operation.

See: newPutRepositoryTriggers smart constructor.

Constructors

PutRepositoryTriggers' 

Fields

Instances

Instances details
Eq PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Read PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Show PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Generic PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Associated Types

type Rep PutRepositoryTriggers :: Type -> Type #

NFData PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Methods

rnf :: PutRepositoryTriggers -> () #

Hashable PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

ToJSON PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

AWSRequest PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Associated Types

type AWSResponse PutRepositoryTriggers #

ToHeaders PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

ToPath PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

ToQuery PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

type Rep PutRepositoryTriggers Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

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

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

newPutRepositoryTriggers Source #

Create a value of PutRepositoryTriggers 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:PutRepositoryTriggers', putRepositoryTriggers_repositoryName - The name of the repository where you want to create or update the trigger.

$sel:triggers:PutRepositoryTriggers', putRepositoryTriggers_triggers - The JSON block of configuration information for each trigger.

Request Lenses

putRepositoryTriggers_repositoryName :: Lens' PutRepositoryTriggers Text Source #

The name of the repository where you want to create or update the trigger.

putRepositoryTriggers_triggers :: Lens' PutRepositoryTriggers [RepositoryTrigger] Source #

The JSON block of configuration information for each trigger.

Destructuring the Response

data PutRepositoryTriggersResponse Source #

Represents the output of a put repository triggers operation.

See: newPutRepositoryTriggersResponse smart constructor.

Constructors

PutRepositoryTriggersResponse' 

Fields

Instances

Instances details
Eq PutRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Read PutRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Show PutRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Generic PutRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

Associated Types

type Rep PutRepositoryTriggersResponse :: Type -> Type #

NFData PutRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

type Rep PutRepositoryTriggersResponse Source # 
Instance details

Defined in Amazonka.CodeCommit.PutRepositoryTriggers

type Rep PutRepositoryTriggersResponse = D1 ('MetaData "PutRepositoryTriggersResponse" "Amazonka.CodeCommit.PutRepositoryTriggers" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "PutRepositoryTriggersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "configurationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutRepositoryTriggersResponse Source #

Create a value of PutRepositoryTriggersResponse 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:configurationId:PutRepositoryTriggersResponse', putRepositoryTriggersResponse_configurationId - The system-generated unique ID for the create or update operation.

$sel:httpStatus:PutRepositoryTriggersResponse', putRepositoryTriggersResponse_httpStatus - The response's http status code.

Response Lenses

putRepositoryTriggersResponse_configurationId :: Lens' PutRepositoryTriggersResponse (Maybe Text) Source #

The system-generated unique ID for the create or update operation.