amazonka-rolesanywhere-2.0: Amazon IAM Roles Anywhere 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.RolesAnywhere.ListProfiles

Description

Lists all profiles in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListProfiles.

This operation returns paginated results.

Synopsis

Creating a Request

data ListProfiles Source #

See: newListProfiles smart constructor.

Constructors

ListProfiles' 

Fields

  • nextToken :: Maybe Text

    A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

  • pageSize :: Maybe Int

    The number of resources in the paginated list.

Instances

Instances details
ToHeaders ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

ToPath ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

ToQuery ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

AWSPager ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

AWSRequest ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Associated Types

type AWSResponse ListProfiles #

Generic ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Associated Types

type Rep ListProfiles :: Type -> Type #

Read ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Show ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

NFData ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Methods

rnf :: ListProfiles -> () #

Eq ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Hashable ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

type AWSResponse ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

type Rep ListProfiles Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

type Rep ListProfiles = D1 ('MetaData "ListProfiles" "Amazonka.RolesAnywhere.ListProfiles" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "ListProfiles'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newListProfiles :: ListProfiles Source #

Create a value of ListProfiles 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:

ListProfiles, listProfiles_nextToken - A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

ListProfiles, listProfiles_pageSize - The number of resources in the paginated list.

Request Lenses

listProfiles_nextToken :: Lens' ListProfiles (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

listProfiles_pageSize :: Lens' ListProfiles (Maybe Int) Source #

The number of resources in the paginated list.

Destructuring the Response

data ListProfilesResponse Source #

See: newListProfilesResponse smart constructor.

Constructors

ListProfilesResponse' 

Fields

  • nextToken :: Maybe Text

    A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

  • profiles :: Maybe [ProfileDetail]

    A list of profiles.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListProfilesResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Associated Types

type Rep ListProfilesResponse :: Type -> Type #

Read ListProfilesResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Show ListProfilesResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

NFData ListProfilesResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

Methods

rnf :: ListProfilesResponse -> () #

Eq ListProfilesResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

type Rep ListProfilesResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListProfiles

type Rep ListProfilesResponse = D1 ('MetaData "ListProfilesResponse" "Amazonka.RolesAnywhere.ListProfiles" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "ListProfilesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "profiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProfileDetail])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListProfilesResponse Source #

Create a value of ListProfilesResponse 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:

ListProfiles, listProfilesResponse_nextToken - A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.

$sel:profiles:ListProfilesResponse', listProfilesResponse_profiles - A list of profiles.

$sel:httpStatus:ListProfilesResponse', listProfilesResponse_httpStatus - The response's http status code.

Response Lenses

listProfilesResponse_nextToken :: Lens' ListProfilesResponse (Maybe Text) Source #

A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.