libZSservicesZSamazonka-locationZSamazonka-location
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.Location.ListRouteCalculators

Description

Lists route calculator resources in your AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRouteCalculators Source #

See: newListRouteCalculators smart constructor.

Constructors

ListRouteCalculators' 

Fields

  • nextToken :: Maybe Text

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default Value: null

  • maxResults :: Maybe Natural

    An optional maximum number of results returned in a single call.

    Default Value: 100

Instances

Instances details
Eq ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Read ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Show ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Generic ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Associated Types

type Rep ListRouteCalculators :: Type -> Type #

NFData ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Methods

rnf :: ListRouteCalculators -> () #

Hashable ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

ToJSON ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

AWSPager ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

AWSRequest ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Associated Types

type AWSResponse ListRouteCalculators #

ToHeaders ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

ToPath ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

ToQuery ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

type Rep ListRouteCalculators Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

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

Defined in Amazonka.Location.ListRouteCalculators

newListRouteCalculators :: ListRouteCalculators Source #

Create a value of ListRouteCalculators 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:ListRouteCalculators', listRouteCalculators_nextToken - The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

Default Value: null

$sel:maxResults:ListRouteCalculators', listRouteCalculators_maxResults - An optional maximum number of results returned in a single call.

Default Value: 100

Request Lenses

listRouteCalculators_nextToken :: Lens' ListRouteCalculators (Maybe Text) Source #

The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

Default Value: null

listRouteCalculators_maxResults :: Lens' ListRouteCalculators (Maybe Natural) Source #

An optional maximum number of results returned in a single call.

Default Value: 100

Destructuring the Response

data ListRouteCalculatorsResponse Source #

See: newListRouteCalculatorsResponse smart constructor.

Constructors

ListRouteCalculatorsResponse' 

Fields

Instances

Instances details
Eq ListRouteCalculatorsResponse Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Read ListRouteCalculatorsResponse Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Show ListRouteCalculatorsResponse Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Generic ListRouteCalculatorsResponse Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

Associated Types

type Rep ListRouteCalculatorsResponse :: Type -> Type #

NFData ListRouteCalculatorsResponse Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

type Rep ListRouteCalculatorsResponse Source # 
Instance details

Defined in Amazonka.Location.ListRouteCalculators

type Rep ListRouteCalculatorsResponse = D1 ('MetaData "ListRouteCalculatorsResponse" "Amazonka.Location.ListRouteCalculators" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "ListRouteCalculatorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListRouteCalculatorsResponseEntry]))))

newListRouteCalculatorsResponse Source #

Create a value of ListRouteCalculatorsResponse 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:ListRouteCalculators', listRouteCalculatorsResponse_nextToken - A pagination token indicating there are additional pages available. You can use the token in a subsequent request to fetch the next set of results.

$sel:httpStatus:ListRouteCalculatorsResponse', listRouteCalculatorsResponse_httpStatus - The response's http status code.

$sel:entries:ListRouteCalculatorsResponse', listRouteCalculatorsResponse_entries - Lists the route calculator resources that exist in your AWS account

Response Lenses

listRouteCalculatorsResponse_nextToken :: Lens' ListRouteCalculatorsResponse (Maybe Text) Source #

A pagination token indicating there are additional pages available. You can use the token in a subsequent request to fetch the next set of results.

listRouteCalculatorsResponse_entries :: Lens' ListRouteCalculatorsResponse [ListRouteCalculatorsResponseEntry] Source #

Lists the route calculator resources that exist in your AWS account