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 #

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 #

See: listWebhooks smart constructor.

Instances

Eq ListWebhooks # 
Data ListWebhooks # 

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 # 
Show ListWebhooks # 
Generic ListWebhooks # 

Associated Types

type Rep ListWebhooks :: * -> * #

Hashable ListWebhooks # 
ToJSON ListWebhooks # 
NFData ListWebhooks # 

Methods

rnf :: ListWebhooks -> () #

AWSRequest ListWebhooks # 
ToHeaders ListWebhooks # 
ToPath ListWebhooks # 
ToQuery ListWebhooks # 
type Rep ListWebhooks # 
type Rep ListWebhooks = D1 * (MetaData "ListWebhooks" "Network.AWS.CodePipeline.ListWebhooks" "amazonka-codepipeline-1.6.0-GX4ZtkGvrnsLYRyLBFiLdF" 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 # 

Request Lenses

lwNextToken :: Lens' ListWebhooks (Maybe Text) #

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) #

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 #

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 #

See: listWebhooksResponse smart constructor.

Instances

Eq ListWebhooksResponse # 
Data ListWebhooksResponse # 

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 # 
Show ListWebhooksResponse # 
Generic ListWebhooksResponse # 
NFData ListWebhooksResponse # 

Methods

rnf :: ListWebhooksResponse -> () #

type Rep ListWebhooksResponse # 
type Rep ListWebhooksResponse = D1 * (MetaData "ListWebhooksResponse" "Network.AWS.CodePipeline.ListWebhooks" "amazonka-codepipeline-1.6.0-GX4ZtkGvrnsLYRyLBFiLdF" 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) #

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] #

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

lwrsResponseStatus :: Lens' ListWebhooksResponse Int #

  • - | The response status code.