amazonka-iot-1.6.1: Amazon IoT SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IoT.ListCertificates

Contents

Description

Lists the certificates registered in your AWS account.

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

This operation returns paginated results.

Synopsis

Creating a Request

listCertificates :: ListCertificates Source #

Creates a value of ListCertificates with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lcMarker - The marker for the next set of results.
  • lcAscendingOrder - Specifies the order for results. If True, the results are returned in ascending order, based on the creation date.
  • lcPageSize - The result page size.

data ListCertificates Source #

The input for the ListCertificates operation.

See: listCertificates smart constructor.

Instances
Eq ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Data ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListCertificates -> c ListCertificates #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListCertificates #

toConstr :: ListCertificates -> Constr #

dataTypeOf :: ListCertificates -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListCertificates) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListCertificates) #

gmapT :: (forall b. Data b => b -> b) -> ListCertificates -> ListCertificates #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListCertificates -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListCertificates -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListCertificates -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListCertificates -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListCertificates -> m ListCertificates #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCertificates -> m ListCertificates #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCertificates -> m ListCertificates #

Read ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Show ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Generic ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Associated Types

type Rep ListCertificates :: Type -> Type #

Hashable ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

AWSPager ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

AWSRequest ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Associated Types

type Rs ListCertificates :: Type #

ToHeaders ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

ToPath ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

ToQuery ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

NFData ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Methods

rnf :: ListCertificates -> () #

type Rep ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

type Rep ListCertificates = D1 (MetaData "ListCertificates" "Network.AWS.IoT.ListCertificates" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListCertificates'" PrefixI True) (S1 (MetaSel (Just "_lcMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lcAscendingOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_lcPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListCertificates Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Request Lenses

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

The marker for the next set of results.

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

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

Destructuring the Response

listCertificatesResponse Source #

Creates a value of ListCertificatesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListCertificatesResponse Source #

The output of the ListCertificates operation.

See: listCertificatesResponse smart constructor.

Instances
Eq ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Data ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListCertificatesResponse -> c ListCertificatesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListCertificatesResponse #

toConstr :: ListCertificatesResponse -> Constr #

dataTypeOf :: ListCertificatesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListCertificatesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListCertificatesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListCertificatesResponse -> ListCertificatesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListCertificatesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListCertificatesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListCertificatesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListCertificatesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListCertificatesResponse -> m ListCertificatesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCertificatesResponse -> m ListCertificatesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCertificatesResponse -> m ListCertificatesResponse #

Read ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Show ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Generic ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: Type -> Type #

NFData ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

type Rep ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListCertificates

type Rep ListCertificatesResponse = D1 (MetaData "ListCertificatesResponse" "Network.AWS.IoT.ListCertificates" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ListCertificatesResponse'" PrefixI True) (S1 (MetaSel (Just "_lcrsCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Certificate])) :*: (S1 (MetaSel (Just "_lcrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lcrsCertificates :: Lens' ListCertificatesResponse [Certificate] Source #

The descriptions of the certificates.

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

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