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

Contents

Description

Gets information about triggers configured for a repository.

Synopsis

Creating a Request

getRepositoryTriggers :: GetRepositoryTriggers Source #

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

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

data GetRepositoryTriggers Source #

Represents the input of a get repository triggers operation.

See: getRepositoryTriggers smart constructor.

Instances

Eq GetRepositoryTriggers Source # 
Data GetRepositoryTriggers Source # 

Methods

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

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

toConstr :: GetRepositoryTriggers -> Constr #

dataTypeOf :: GetRepositoryTriggers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRepositoryTriggers Source # 
Show GetRepositoryTriggers Source # 
Generic GetRepositoryTriggers Source # 
Hashable GetRepositoryTriggers Source # 
ToJSON GetRepositoryTriggers Source # 
NFData GetRepositoryTriggers Source # 

Methods

rnf :: GetRepositoryTriggers -> () #

AWSRequest GetRepositoryTriggers Source # 
ToPath GetRepositoryTriggers Source # 
ToHeaders GetRepositoryTriggers Source # 
ToQuery GetRepositoryTriggers Source # 
type Rep GetRepositoryTriggers Source # 
type Rep GetRepositoryTriggers = D1 (MetaData "GetRepositoryTriggers" "Network.AWS.CodeCommit.GetRepositoryTriggers" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" True) (C1 (MetaCons "GetRepositoryTriggers'" PrefixI True) (S1 (MetaSel (Just Symbol "_grtRepositoryName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetRepositoryTriggers Source # 

Request Lenses

grtRepositoryName :: Lens' GetRepositoryTriggers (Maybe Text) Source #

The name of the repository for which the trigger is configured.

Destructuring the Response

getRepositoryTriggersResponse Source #

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

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

data GetRepositoryTriggersResponse Source #

Represents the output of a get repository triggers operation.

See: getRepositoryTriggersResponse smart constructor.

Instances

Eq GetRepositoryTriggersResponse Source # 
Data GetRepositoryTriggersResponse Source # 

Methods

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

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

toConstr :: GetRepositoryTriggersResponse -> Constr #

dataTypeOf :: GetRepositoryTriggersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetRepositoryTriggersResponse Source # 
Show GetRepositoryTriggersResponse Source # 
Generic GetRepositoryTriggersResponse Source # 
NFData GetRepositoryTriggersResponse Source # 
type Rep GetRepositoryTriggersResponse Source # 
type Rep GetRepositoryTriggersResponse = D1 (MetaData "GetRepositoryTriggersResponse" "Network.AWS.CodeCommit.GetRepositoryTriggers" "amazonka-codecommit-1.4.5-92hxoO5NQbL79RJ3cHsV8Z" False) (C1 (MetaCons "GetRepositoryTriggersResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grtrsConfigurationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_grtrsTriggers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RepositoryTrigger]))) (S1 (MetaSel (Just Symbol "_grtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

grtrsConfigurationId :: Lens' GetRepositoryTriggersResponse (Maybe Text) Source #

The system-generated unique ID for the trigger.

grtrsTriggers :: Lens' GetRepositoryTriggersResponse [RepositoryTrigger] Source #

The JSON block of configuration information for each trigger.