libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.ListGateways

Description

Retrieves a list of gateway summaries. Use GetGateway to retrieve details of a specific gateway. An optional gateway group ARN can be provided to only retrieve gateway summaries of gateways that are associated with that gateway group ARN.

Synopsis

Creating a Request

data ListGateways Source #

See: newListGateways smart constructor.

Constructors

ListGateways' 

Fields

Instances

Instances details
Eq ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Read ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Show ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Generic ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Associated Types

type Rep ListGateways :: Type -> Type #

NFData ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Methods

rnf :: ListGateways -> () #

Hashable ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

ToJSON ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

AWSRequest ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Associated Types

type AWSResponse ListGateways #

ToHeaders ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

ToPath ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

ToQuery ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

type Rep ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

type Rep ListGateways = D1 ('MetaData "ListGateways" "Amazonka.AlexaBusiness.ListGateways" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "ListGateways'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "gatewayGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListGateways Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

newListGateways :: ListGateways Source #

Create a value of ListGateways 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:ListGateways', listGateways_nextToken - The token used to paginate though multiple pages of gateway summaries.

$sel:gatewayGroupArn:ListGateways', listGateways_gatewayGroupArn - The gateway group ARN for which to list gateways.

$sel:maxResults:ListGateways', listGateways_maxResults - The maximum number of gateway summaries to return. The default is 50.

Request Lenses

listGateways_nextToken :: Lens' ListGateways (Maybe Text) Source #

The token used to paginate though multiple pages of gateway summaries.

listGateways_gatewayGroupArn :: Lens' ListGateways (Maybe Text) Source #

The gateway group ARN for which to list gateways.

listGateways_maxResults :: Lens' ListGateways (Maybe Natural) Source #

The maximum number of gateway summaries to return. The default is 50.

Destructuring the Response

data ListGatewaysResponse Source #

See: newListGatewaysResponse smart constructor.

Constructors

ListGatewaysResponse' 

Fields

Instances

Instances details
Eq ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Read ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Show ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Generic ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Associated Types

type Rep ListGatewaysResponse :: Type -> Type #

NFData ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

Methods

rnf :: ListGatewaysResponse -> () #

type Rep ListGatewaysResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.ListGateways

type Rep ListGatewaysResponse = D1 ('MetaData "ListGatewaysResponse" "Amazonka.AlexaBusiness.ListGateways" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "ListGatewaysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "gateways") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GatewaySummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListGatewaysResponse Source #

Create a value of ListGatewaysResponse 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:ListGateways', listGatewaysResponse_nextToken - The token used to paginate though multiple pages of gateway summaries.

$sel:gateways:ListGatewaysResponse', listGatewaysResponse_gateways - The gateways in the list.

$sel:httpStatus:ListGatewaysResponse', listGatewaysResponse_httpStatus - The response's http status code.

Response Lenses

listGatewaysResponse_nextToken :: Lens' ListGatewaysResponse (Maybe Text) Source #

The token used to paginate though multiple pages of gateway summaries.