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

Description

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

Required permissions: rolesanywhere:ListCrls.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCrls Source #

See: newListCrls smart constructor.

Constructors

ListCrls' 

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 ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Methods

toHeaders :: ListCrls -> [Header] #

ToPath ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

ToQuery ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

AWSPager ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

AWSRequest ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Associated Types

type AWSResponse ListCrls #

Generic ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Associated Types

type Rep ListCrls :: Type -> Type #

Methods

from :: ListCrls -> Rep ListCrls x #

to :: Rep ListCrls x -> ListCrls #

Read ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Show ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

NFData ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Methods

rnf :: ListCrls -> () #

Eq ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Hashable ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Methods

hashWithSalt :: Int -> ListCrls -> Int #

hash :: ListCrls -> Int #

type AWSResponse ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

type Rep ListCrls Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

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

newListCrls :: ListCrls Source #

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

ListCrls, listCrls_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.

ListCrls, listCrls_pageSize - The number of resources in the paginated list.

Request Lenses

listCrls_nextToken :: Lens' ListCrls (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.

listCrls_pageSize :: Lens' ListCrls (Maybe Int) Source #

The number of resources in the paginated list.

Destructuring the Response

data ListCrlsResponse Source #

See: newListCrlsResponse smart constructor.

Constructors

ListCrlsResponse' 

Fields

  • crls :: Maybe [CrlDetail]

    A list of certificate revocation lists (CRL).

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListCrlsResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Associated Types

type Rep ListCrlsResponse :: Type -> Type #

Read ListCrlsResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Show ListCrlsResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

NFData ListCrlsResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

Methods

rnf :: ListCrlsResponse -> () #

Eq ListCrlsResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

type Rep ListCrlsResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.ListCrls

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

newListCrlsResponse Source #

Create a value of ListCrlsResponse 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:crls:ListCrlsResponse', listCrlsResponse_crls - A list of certificate revocation lists (CRL).

ListCrls, listCrlsResponse_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:httpStatus:ListCrlsResponse', listCrlsResponse_httpStatus - The response's http status code.

Response Lenses

listCrlsResponse_crls :: Lens' ListCrlsResponse (Maybe [CrlDetail]) Source #

A list of certificate revocation lists (CRL).

listCrlsResponse_nextToken :: Lens' ListCrlsResponse (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.

listCrlsResponse_httpStatus :: Lens' ListCrlsResponse Int Source #

The response's http status code.