amazonka-codepipeline-2.0: Amazon CodePipeline SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodePipeline.ListWebhooks

Description

Gets a listing of all the webhooks in this AWS Region for this account. The output lists all webhooks and includes the webhook URL and ARN and the configuration for each webhook.

This operation returns paginated results.

Synopsis

Creating a Request

data ListWebhooks Source #

See: newListWebhooks smart constructor.

Constructors

ListWebhooks' 

Fields

  • maxResults :: 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.

  • nextToken :: 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.

Instances

Instances details
ToJSON ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

ToHeaders ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

ToPath ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

ToQuery ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

AWSPager ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

AWSRequest ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Associated Types

type AWSResponse ListWebhooks #

Generic ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Associated Types

type Rep ListWebhooks :: Type -> Type #

Read ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Show ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

NFData ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Methods

rnf :: ListWebhooks -> () #

Eq ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Hashable ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

type AWSResponse ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

type Rep ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

type Rep ListWebhooks = D1 ('MetaData "ListWebhooks" "Amazonka.CodePipeline.ListWebhooks" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "ListWebhooks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListWebhooks :: ListWebhooks Source #

Create a value of ListWebhooks with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:maxResults:ListWebhooks', listWebhooks_maxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.

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

Request Lenses

listWebhooks_maxResults :: 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.

listWebhooks_nextToken :: 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.

Destructuring the Response

data ListWebhooksResponse Source #

See: newListWebhooksResponse smart constructor.

Constructors

ListWebhooksResponse' 

Fields

  • nextToken :: 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.

  • webhooks :: Maybe [ListWebhookItem]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Associated Types

type Rep ListWebhooksResponse :: Type -> Type #

Read ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Show ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

NFData ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Methods

rnf :: ListWebhooksResponse -> () #

Eq ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

type Rep ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

type Rep ListWebhooksResponse = D1 ('MetaData "ListWebhooksResponse" "Amazonka.CodePipeline.ListWebhooks" "amazonka-codepipeline-2.0-AHHPJTmnvhi1gPjRAFzjQE" 'False) (C1 ('MetaCons "ListWebhooksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "webhooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ListWebhookItem])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListWebhooksResponse Source #

Create a value of ListWebhooksResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ListWebhooks, listWebhooksResponse_nextToken - 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.

$sel:webhooks:ListWebhooksResponse', listWebhooksResponse_webhooks - The JSON detail returned for each webhook in the list output for the ListWebhooks call.

$sel:httpStatus:ListWebhooksResponse', listWebhooksResponse_httpStatus - The response's http status code.

Response Lenses

listWebhooksResponse_nextToken :: 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.

listWebhooksResponse_webhooks :: Lens' ListWebhooksResponse (Maybe [ListWebhookItem]) Source #

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