amazonka-codepipeline-1.6.0: Amazon CodePipeline SDK.

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

Network.AWS.CodePipeline.ListWebhooks

Contents

Description

Gets a listing of all the webhooks in this region for this account. The output lists all webhooks and includes the webhook URL and ARN, as well the configuration for each webhook.

Synopsis

Creating a Request

listWebhooks :: ListWebhooks Source #

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

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

  • lwNextToken - The token that was returned from the previous ListWebhooks call, which can be used to return the next set of webhooks in the list.
  • lwMaxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

data ListWebhooks Source #

See: listWebhooks smart constructor.

Instances

Eq ListWebhooks Source # 
Data ListWebhooks Source # 

Methods

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

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

toConstr :: ListWebhooks -> Constr #

dataTypeOf :: ListWebhooks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListWebhooks Source # 
Show ListWebhooks Source # 
Generic ListWebhooks Source # 

Associated Types

type Rep ListWebhooks :: * -> * #

Hashable ListWebhooks Source # 
ToJSON ListWebhooks Source # 
NFData ListWebhooks Source # 

Methods

rnf :: ListWebhooks -> () #

AWSRequest ListWebhooks Source # 
ToHeaders ListWebhooks Source # 
ToPath ListWebhooks Source # 
ToQuery ListWebhooks Source # 
type Rep ListWebhooks Source # 
type Rep ListWebhooks = D1 * (MetaData "ListWebhooks" "Network.AWS.CodePipeline.ListWebhooks" "amazonka-codepipeline-1.6.0-EK1TXgMpZBH3zXFbRFQIXQ" False) (C1 * (MetaCons "ListWebhooks'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lwNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lwMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListWebhooks Source # 

Request Lenses

lwNextToken :: Lens' ListWebhooks (Maybe Text) Source #

The token that was returned from the previous ListWebhooks call, which can be used to return the next set of webhooks in the list.

lwMaxResults :: Lens' ListWebhooks (Maybe Natural) Source #

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

listWebhooksResponse Source #

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

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

  • lwrsNextToken - If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.
  • lwrsWebhooks - The JSON detail returned for each webhook in the list output for the ListWebhooks call.
  • lwrsResponseStatus - -- | The response status code.

data ListWebhooksResponse Source #

See: listWebhooksResponse smart constructor.

Instances

Eq ListWebhooksResponse Source # 
Data ListWebhooksResponse Source # 

Methods

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

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

toConstr :: ListWebhooksResponse -> Constr #

dataTypeOf :: ListWebhooksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListWebhooksResponse Source # 
Show ListWebhooksResponse Source # 
Generic ListWebhooksResponse Source # 
NFData ListWebhooksResponse Source # 

Methods

rnf :: ListWebhooksResponse -> () #

type Rep ListWebhooksResponse Source # 
type Rep ListWebhooksResponse = D1 * (MetaData "ListWebhooksResponse" "Network.AWS.CodePipeline.ListWebhooks" "amazonka-codepipeline-1.6.0-EK1TXgMpZBH3zXFbRFQIXQ" False) (C1 * (MetaCons "ListWebhooksResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lwrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lwrsWebhooks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ListWebhookItem]))) (S1 * (MetaSel (Just Symbol "_lwrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lwrsNextToken :: Lens' ListWebhooksResponse (Maybe Text) Source #

If the amount of returned information is significantly large, an identifier is also returned and can be used in a subsequent ListWebhooks call to return the next set of webhooks in the list.

lwrsWebhooks :: Lens' ListWebhooksResponse [ListWebhookItem] Source #

The JSON detail returned for each webhook in the list output for the ListWebhooks call.

lwrsResponseStatus :: Lens' ListWebhooksResponse Int Source #

  • - | The response status code.