amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.ListRoleAliases

Description

Lists the role aliases registered in your account.

Requires permission to access the ListRoleAliases action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListRoleAliases Source #

See: newListRoleAliases smart constructor.

Constructors

ListRoleAliases' 

Fields

Instances

Instances details
ToHeaders ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

ToPath ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

ToQuery ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

AWSPager ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

AWSRequest ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Associated Types

type AWSResponse ListRoleAliases #

Generic ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Associated Types

type Rep ListRoleAliases :: Type -> Type #

Read ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Show ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

NFData ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Methods

rnf :: ListRoleAliases -> () #

Eq ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Hashable ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

type AWSResponse ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

type Rep ListRoleAliases Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

type Rep ListRoleAliases = D1 ('MetaData "ListRoleAliases" "Amazonka.IoT.ListRoleAliases" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListRoleAliases'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ascendingOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newListRoleAliases :: ListRoleAliases Source #

Create a value of ListRoleAliases 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:ascendingOrder:ListRoleAliases', listRoleAliases_ascendingOrder - Return the list of role aliases in ascending alphabetical order.

$sel:marker:ListRoleAliases', listRoleAliases_marker - A marker used to get the next set of results.

$sel:pageSize:ListRoleAliases', listRoleAliases_pageSize - The maximum number of results to return at one time.

Request Lenses

listRoleAliases_ascendingOrder :: Lens' ListRoleAliases (Maybe Bool) Source #

Return the list of role aliases in ascending alphabetical order.

listRoleAliases_marker :: Lens' ListRoleAliases (Maybe Text) Source #

A marker used to get the next set of results.

listRoleAliases_pageSize :: Lens' ListRoleAliases (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

data ListRoleAliasesResponse Source #

See: newListRoleAliasesResponse smart constructor.

Constructors

ListRoleAliasesResponse' 

Fields

Instances

Instances details
Generic ListRoleAliasesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Associated Types

type Rep ListRoleAliasesResponse :: Type -> Type #

Read ListRoleAliasesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Show ListRoleAliasesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

NFData ListRoleAliasesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

Methods

rnf :: ListRoleAliasesResponse -> () #

Eq ListRoleAliasesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

type Rep ListRoleAliasesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListRoleAliases

type Rep ListRoleAliasesResponse = D1 ('MetaData "ListRoleAliasesResponse" "Amazonka.IoT.ListRoleAliases" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListRoleAliasesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleAliases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRoleAliasesResponse Source #

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

$sel:roleAliases:ListRoleAliasesResponse', listRoleAliasesResponse_roleAliases - The role aliases.

$sel:httpStatus:ListRoleAliasesResponse', listRoleAliasesResponse_httpStatus - The response's http status code.

Response Lenses

listRoleAliasesResponse_nextMarker :: Lens' ListRoleAliasesResponse (Maybe Text) Source #

A marker used to get the next set of results.