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

Description

Lists the certificates registered in your Amazon Web Services account.

The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.

Requires permission to access the ListCertificates action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCertificates Source #

The input for the ListCertificates operation.

See: newListCertificates smart constructor.

Constructors

ListCertificates' 

Fields

Instances

Instances details
ToHeaders ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

ToPath ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

ToQuery ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

AWSPager ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

AWSRequest ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Associated Types

type AWSResponse ListCertificates #

Generic ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Associated Types

type Rep ListCertificates :: Type -> Type #

Read ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Show ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

NFData ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Methods

rnf :: ListCertificates -> () #

Eq ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Hashable ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

type AWSResponse ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

type Rep ListCertificates Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

type Rep ListCertificates = D1 ('MetaData "ListCertificates" "Amazonka.IoT.ListCertificates" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListCertificates'" '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)))))

newListCertificates :: ListCertificates Source #

Create a value of ListCertificates 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:ListCertificates', listCertificates_ascendingOrder - Specifies the order for results. If True, the results are returned in ascending order, based on the creation date.

$sel:marker:ListCertificates', listCertificates_marker - The marker for the next set of results.

$sel:pageSize:ListCertificates', listCertificates_pageSize - The result page size.

Request Lenses

listCertificates_ascendingOrder :: Lens' ListCertificates (Maybe Bool) Source #

Specifies the order for results. If True, the results are returned in ascending order, based on the creation date.

listCertificates_marker :: Lens' ListCertificates (Maybe Text) Source #

The marker for the next set of results.

Destructuring the Response

data ListCertificatesResponse Source #

The output of the ListCertificates operation.

See: newListCertificatesResponse smart constructor.

Constructors

ListCertificatesResponse' 

Fields

Instances

Instances details
Generic ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: Type -> Type #

Read ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Show ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

NFData ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

Eq ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

type Rep ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.IoT.ListCertificates

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

newListCertificatesResponse Source #

Create a value of ListCertificatesResponse 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:certificates:ListCertificatesResponse', listCertificatesResponse_certificates - The descriptions of the certificates.

$sel:nextMarker:ListCertificatesResponse', listCertificatesResponse_nextMarker - The marker for the next set of results, or null if there are no additional results.

$sel:httpStatus:ListCertificatesResponse', listCertificatesResponse_httpStatus - The response's http status code.

Response Lenses

listCertificatesResponse_nextMarker :: Lens' ListCertificatesResponse (Maybe Text) Source #

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