libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.Amplify.ListWebhooks

Description

Returns a list of webhooks for an Amplify app.

Synopsis

Creating a Request

data ListWebhooks Source #

The request structure for the list webhooks request.

See: newListWebhooks smart constructor.

Constructors

ListWebhooks' 

Fields

  • nextToken :: Maybe Text

    A pagination token. Set to null to start listing webhooks from the start. If non-null,the pagination token is returned in a result. Pass its value in here to list more webhooks.

  • maxResults :: Maybe Natural

    The maximum number of records to list in a single response.

  • appId :: Text

    The unique ID for an Amplify app.

Instances

Instances details
Eq ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Read ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Show ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Generic ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Associated Types

type Rep ListWebhooks :: Type -> Type #

NFData ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Methods

rnf :: ListWebhooks -> () #

Hashable ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

AWSRequest ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Associated Types

type AWSResponse ListWebhooks #

ToHeaders ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

ToPath ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

ToQuery ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

type Rep ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

type Rep ListWebhooks = D1 ('MetaData "ListWebhooks" "Amazonka.Amplify.ListWebhooks" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" '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)) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListWebhooks Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

newListWebhooks 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 - A pagination token. Set to null to start listing webhooks from the start. If non-null,the pagination token is returned in a result. Pass its value in here to list more webhooks.

$sel:maxResults:ListWebhooks', listWebhooks_maxResults - The maximum number of records to list in a single response.

$sel:appId:ListWebhooks', listWebhooks_appId - The unique ID for an Amplify app.

Request Lenses

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

A pagination token. Set to null to start listing webhooks from the start. If non-null,the pagination token is returned in a result. Pass its value in here to list more webhooks.

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

The maximum number of records to list in a single response.

listWebhooks_appId :: Lens' ListWebhooks Text Source #

The unique ID for an Amplify app.

Destructuring the Response

data ListWebhooksResponse Source #

The result structure for the list webhooks request.

See: newListWebhooksResponse smart constructor.

Constructors

ListWebhooksResponse' 

Fields

  • nextToken :: Maybe Text

    A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

  • httpStatus :: Int

    The response's http status code.

  • webhooks :: [Webhook]

    A list of webhooks.

Instances

Instances details
Eq ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Read ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Show ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Generic ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Associated Types

type Rep ListWebhooksResponse :: Type -> Type #

NFData ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

Methods

rnf :: ListWebhooksResponse -> () #

type Rep ListWebhooksResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListWebhooks

type Rep ListWebhooksResponse = D1 ('MetaData "ListWebhooksResponse" "Amazonka.Amplify.ListWebhooks" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "ListWebhooksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "webhooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Webhook]))))

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 - A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.

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

$sel:webhooks:ListWebhooksResponse', listWebhooksResponse_webhooks - A list of webhooks.

Response Lenses

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

A pagination token. If non-null, the pagination token is returned in a result. Pass its value in another request to retrieve more entries.