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.ListPolicies

Description

Lists your policies.

Requires permission to access the ListPolicies action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPolicies Source #

The input for the ListPolicies operation.

See: newListPolicies smart constructor.

Constructors

ListPolicies' 

Fields

Instances

Instances details
Eq ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Read ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Show ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Generic ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Associated Types

type Rep ListPolicies :: Type -> Type #

NFData ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Methods

rnf :: ListPolicies -> () #

Hashable ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

AWSPager ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

AWSRequest ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Associated Types

type AWSResponse ListPolicies #

ToHeaders ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

ToPath ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

ToQuery ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

type Rep ListPolicies Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

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

Defined in Amazonka.IoT.ListPolicies

newListPolicies :: ListPolicies Source #

Create a value of ListPolicies 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:marker:ListPolicies', listPolicies_marker - The marker for the next set of results.

$sel:ascendingOrder:ListPolicies', listPolicies_ascendingOrder - Specifies the order for results. If true, the results are returned in ascending creation order.

$sel:pageSize:ListPolicies', listPolicies_pageSize - The result page size.

Request Lenses

listPolicies_marker :: Lens' ListPolicies (Maybe Text) Source #

The marker for the next set of results.

listPolicies_ascendingOrder :: Lens' ListPolicies (Maybe Bool) Source #

Specifies the order for results. If true, the results are returned in ascending creation order.

Destructuring the Response

data ListPoliciesResponse Source #

The output from the ListPolicies operation.

See: newListPoliciesResponse smart constructor.

Constructors

ListPoliciesResponse' 

Fields

Instances

Instances details
Eq ListPoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Read ListPoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Show ListPoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Generic ListPoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Associated Types

type Rep ListPoliciesResponse :: Type -> Type #

NFData ListPoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

Methods

rnf :: ListPoliciesResponse -> () #

type Rep ListPoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListPolicies

type Rep ListPoliciesResponse = D1 ('MetaData "ListPoliciesResponse" "Amazonka.IoT.ListPolicies" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListPoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Policy])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPoliciesResponse Source #

Create a value of ListPoliciesResponse 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:nextMarker:ListPoliciesResponse', listPoliciesResponse_nextMarker - The marker for the next set of results, or null if there are no additional results.

$sel:policies:ListPoliciesResponse', listPoliciesResponse_policies - The descriptions of the policies.

$sel:httpStatus:ListPoliciesResponse', listPoliciesResponse_httpStatus - The response's http status code.

Response Lenses

listPoliciesResponse_nextMarker :: Lens' ListPoliciesResponse (Maybe Text) Source #

The marker for the next set of results, or null if there are no additional results.