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

Contents

Description

Replaces all triggers for a repository. This can be used to create or delete triggers.

Synopsis

Creating a Request

putRepositoryTriggers :: PutRepositoryTriggers Source

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

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

Request Lenses

prtTriggers :: Lens' PutRepositoryTriggers [RepositoryTrigger] Source

The JSON block of configuration information for each trigger.

prtRepositoryName :: Lens' PutRepositoryTriggers (Maybe Text) Source

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

Destructuring the Response

putRepositoryTriggersResponse Source

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

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

Response Lenses

prtrsConfigurationId :: Lens' PutRepositoryTriggersResponse (Maybe Text) Source

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