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

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

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

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

Instances

Instances details
Eq ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Read ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Show ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Generic ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Associated Types

type Rep ListWebhooks :: Type -> Type #

NFData ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Methods

rnf :: ListWebhooks -> () #

Hashable ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

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

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

type Rep ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

type Rep ListWebhooks = D1 ('MetaData "ListWebhooks" "Amazonka.CodePipeline.ListWebhooks" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "ListWebhooks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListWebhooks Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

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

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

Request Lenses

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.

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.

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
Eq ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Read ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Show ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Generic ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Associated Types

type Rep ListWebhooksResponse :: Type -> Type #

NFData ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

Methods

rnf :: ListWebhooksResponse -> () #

type Rep ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.CodePipeline.ListWebhooks

type Rep ListWebhooksResponse = D1 ('MetaData "ListWebhooksResponse" "Amazonka.CodePipeline.ListWebhooks" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" '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:

$sel:nextToken: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.