libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator
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.GlobalAccelerator.ListListeners

Description

List the listeners for an accelerator.

This operation returns paginated results.

Synopsis

Creating a Request

data ListListeners Source #

See: newListListeners smart constructor.

Constructors

ListListeners' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. You receive this token from a previous call.

  • maxResults :: Maybe Natural

    The number of listener objects that you want to return with this call. The default value is 10.

  • acceleratorArn :: Text

    The Amazon Resource Name (ARN) of the accelerator for which you want to list listener objects.

Instances

Instances details
Eq ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Read ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Show ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Generic ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Associated Types

type Rep ListListeners :: Type -> Type #

NFData ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Methods

rnf :: ListListeners -> () #

Hashable ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

ToJSON ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

AWSPager ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

AWSRequest ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Associated Types

type AWSResponse ListListeners #

ToHeaders ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

ToPath ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

ToQuery ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

type Rep ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

type Rep ListListeners = D1 ('MetaData "ListListeners" "Amazonka.GlobalAccelerator.ListListeners" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "ListListeners'" '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 "acceleratorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListListeners Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

newListListeners Source #

Create a value of ListListeners 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:ListListeners', listListeners_nextToken - The token for the next set of results. You receive this token from a previous call.

$sel:maxResults:ListListeners', listListeners_maxResults - The number of listener objects that you want to return with this call. The default value is 10.

$sel:acceleratorArn:ListListeners', listListeners_acceleratorArn - The Amazon Resource Name (ARN) of the accelerator for which you want to list listener objects.

Request Lenses

listListeners_nextToken :: Lens' ListListeners (Maybe Text) Source #

The token for the next set of results. You receive this token from a previous call.

listListeners_maxResults :: Lens' ListListeners (Maybe Natural) Source #

The number of listener objects that you want to return with this call. The default value is 10.

listListeners_acceleratorArn :: Lens' ListListeners Text Source #

The Amazon Resource Name (ARN) of the accelerator for which you want to list listener objects.

Destructuring the Response

data ListListenersResponse Source #

See: newListListenersResponse smart constructor.

Constructors

ListListenersResponse' 

Fields

Instances

Instances details
Eq ListListenersResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Read ListListenersResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Show ListListenersResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Generic ListListenersResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Associated Types

type Rep ListListenersResponse :: Type -> Type #

NFData ListListenersResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

Methods

rnf :: ListListenersResponse -> () #

type Rep ListListenersResponse Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.ListListeners

type Rep ListListenersResponse = D1 ('MetaData "ListListenersResponse" "Amazonka.GlobalAccelerator.ListListeners" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "ListListenersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "listeners") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Listener])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListListenersResponse Source #

Create a value of ListListenersResponse 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:ListListeners', listListenersResponse_nextToken - The token for the next set of results. You receive this token from a previous call.

$sel:listeners:ListListenersResponse', listListenersResponse_listeners - The list of listeners for an accelerator.

$sel:httpStatus:ListListenersResponse', listListenersResponse_httpStatus - The response's http status code.

Response Lenses

listListenersResponse_nextToken :: Lens' ListListenersResponse (Maybe Text) Source #

The token for the next set of results. You receive this token from a previous call.

listListenersResponse_listeners :: Lens' ListListenersResponse (Maybe [Listener]) Source #

The list of listeners for an accelerator.