amazonka-iot-1.4.5: Amazon IoT SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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.

Synopsis

Creating a Request

listCertificates :: ListCertificates #

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 #

The input for the ListCertificates operation.

See: listCertificates smart constructor.

Instances

Eq ListCertificates # 
Data 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 # 
Show ListCertificates # 
Generic ListCertificates # 
Hashable ListCertificates # 
NFData ListCertificates # 

Methods

rnf :: ListCertificates -> () #

AWSRequest ListCertificates # 
ToQuery ListCertificates # 
ToPath ListCertificates # 
ToHeaders ListCertificates # 
type Rep ListCertificates # 
type Rep ListCertificates = D1 (MetaData "ListCertificates" "Network.AWS.IoT.ListCertificates" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" False) (C1 (MetaCons "ListCertificates'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lcAscendingOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_lcPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs ListCertificates # 

Request Lenses

lcMarker :: Lens' ListCertificates (Maybe Text) #

The marker for the next set of results.

lcAscendingOrder :: Lens' ListCertificates (Maybe Bool) #

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

lcPageSize :: Lens' ListCertificates (Maybe Natural) #

The result page size.

Destructuring the Response

listCertificatesResponse #

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 #

The output of the ListCertificates operation.

See: listCertificatesResponse smart constructor.

Instances

Eq ListCertificatesResponse # 
Data ListCertificatesResponse # 

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 # 
Show ListCertificatesResponse # 
Generic ListCertificatesResponse # 
NFData ListCertificatesResponse # 
type Rep ListCertificatesResponse # 
type Rep ListCertificatesResponse = D1 (MetaData "ListCertificatesResponse" "Network.AWS.IoT.ListCertificates" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" False) (C1 (MetaCons "ListCertificatesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsCertificates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Certificate]))) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lcrsCertificates :: Lens' ListCertificatesResponse [Certificate] #

The descriptions of the certificates.

lcrsNextMarker :: Lens' ListCertificatesResponse (Maybe Text) #

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

lcrsResponseStatus :: Lens' ListCertificatesResponse Int #

  • - | The response status code.