amazonka-codepipeline-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Data ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.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 Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Show ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Generic ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Associated Types

type Rep ListWebhooks :: Type -> Type #

Hashable ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

ToJSON ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

AWSRequest ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Associated Types

type Rs ListWebhooks :: Type #

ToHeaders ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

ToPath ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

ToQuery ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

NFData ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Methods

rnf :: ListWebhooks -> () #

type Rep ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

type Rep ListWebhooks = D1 (MetaData "ListWebhooks" "Network.AWS.CodePipeline.ListWebhooks" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" False) (C1 (MetaCons "ListWebhooks'" PrefixI True) (S1 (MetaSel (Just "_lwNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lwMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListWebhooks Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

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 # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Data ListWebhooksResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

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 # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Show ListWebhooksResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Generic ListWebhooksResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Associated Types

type Rep ListWebhooksResponse :: Type -> Type #

NFData ListWebhooksResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

Methods

rnf :: ListWebhooksResponse -> () #

type Rep ListWebhooksResponse Source # 
Instance details

Defined in Network.AWS.CodePipeline.ListWebhooks

type Rep ListWebhooksResponse = D1 (MetaData "ListWebhooksResponse" "Network.AWS.CodePipeline.ListWebhooks" "amazonka-codepipeline-1.6.1-F3QDNRTP6GQJdBGUcFnM9u" False) (C1 (MetaCons "ListWebhooksResponse'" PrefixI True) (S1 (MetaSel (Just "_lwrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lwrsWebhooks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ListWebhookItem])) :*: S1 (MetaSel (Just "_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.