libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.ListStreams

Description

Lists all of the streams in your Amazon Web Services account.

Requires permission to access the ListStreams action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListStreams Source #

See: newListStreams smart constructor.

Constructors

ListStreams' 

Fields

Instances

Instances details
Eq ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Read ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Show ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Generic ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Associated Types

type Rep ListStreams :: Type -> Type #

NFData ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Methods

rnf :: ListStreams -> () #

Hashable ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

AWSPager ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

AWSRequest ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Associated Types

type AWSResponse ListStreams #

ToHeaders ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Methods

toHeaders :: ListStreams -> [Header] #

ToPath ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

ToQuery ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

type Rep ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

type Rep ListStreams = D1 ('MetaData "ListStreams" "Amazonka.IoT.ListStreams" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListStreams'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ascendingOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListStreams Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

newListStreams :: ListStreams Source #

Create a value of ListStreams 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:ListStreams', listStreams_nextToken - A token used to get the next set of results.

$sel:ascendingOrder:ListStreams', listStreams_ascendingOrder - Set to true to return the list of streams in ascending order.

$sel:maxResults:ListStreams', listStreams_maxResults - The maximum number of results to return at a time.

Request Lenses

listStreams_nextToken :: Lens' ListStreams (Maybe Text) Source #

A token used to get the next set of results.

listStreams_ascendingOrder :: Lens' ListStreams (Maybe Bool) Source #

Set to true to return the list of streams in ascending order.

listStreams_maxResults :: Lens' ListStreams (Maybe Natural) Source #

The maximum number of results to return at a time.

Destructuring the Response

data ListStreamsResponse Source #

See: newListStreamsResponse smart constructor.

Constructors

ListStreamsResponse' 

Fields

Instances

Instances details
Eq ListStreamsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Read ListStreamsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Show ListStreamsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Generic ListStreamsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Associated Types

type Rep ListStreamsResponse :: Type -> Type #

NFData ListStreamsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

Methods

rnf :: ListStreamsResponse -> () #

type Rep ListStreamsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListStreams

type Rep ListStreamsResponse = D1 ('MetaData "ListStreamsResponse" "Amazonka.IoT.ListStreams" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListStreamsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "streams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StreamSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListStreamsResponse Source #

Create a value of ListStreamsResponse 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:ListStreams', listStreamsResponse_nextToken - A token used to get the next set of results.

$sel:streams:ListStreamsResponse', listStreamsResponse_streams - A list of streams.

$sel:httpStatus:ListStreamsResponse', listStreamsResponse_httpStatus - The response's http status code.

Response Lenses

listStreamsResponse_nextToken :: Lens' ListStreamsResponse (Maybe Text) Source #

A token used to get the next set of results.