amazonka-certificatemanager-1.4.2: Amazon Certificate Manager 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.CertificateManager.ListCertificates

Contents

Description

Retrieves a list of the ACM Certificate ARNs, and the domain name for each ARN, owned by the calling account. You can filter the list based on the CertificateStatuses parameter, and you can display up to MaxItems certificates at one time. If you have more than MaxItems certificates, use the NextToken marker from the response object in your next call to the ListCertificates action to retrieve the next set of certificate ARNs.

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:

data ListCertificates Source #

See: listCertificates smart constructor.

Instances

Eq ListCertificates Source # 
Data ListCertificates Source # 

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 # 
Show ListCertificates Source # 
Generic ListCertificates Source # 
ToJSON ListCertificates Source # 
Hashable ListCertificates Source # 
NFData ListCertificates Source # 

Methods

rnf :: ListCertificates -> () #

AWSRequest ListCertificates Source # 
ToPath ListCertificates Source # 
ToHeaders ListCertificates Source # 
ToQuery ListCertificates Source # 
type Rep ListCertificates Source # 
type Rep ListCertificates = D1 (MetaData "ListCertificates" "Network.AWS.CertificateManager.ListCertificates" "amazonka-certificatemanager-1.4.2-6MBpEGpqoNwAnY7LGxPhTL" False) (C1 (MetaCons "ListCertificates'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcCertificateStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CertificateStatus]))) ((:*:) (S1 (MetaSel (Just Symbol "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs ListCertificates Source # 

Request Lenses

lcCertificateStatuses :: Lens' ListCertificates [CertificateStatus] Source #

Identifies the statuses of the ACM Certificates for which you want to retrieve the ARNs. This can be one or more of the following values:

  • PENDING_VALIDATION
  • ISSUED
  • INACTIVE
  • EXPIRED
  • VALIDATION_TIMED_OUT
  • REVOKED
  • FAILED

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

String that contains an opaque marker of the next ACM Certificate ARN to be displayed. Use this parameter when paginating results, and only in a subsequent request after you've received a response where the results have been truncated. Set it to an empty string the first time you call this action, and set it to the value of the NextToken element you receive in the response object for subsequent calls.

lcMaxItems :: Lens' ListCertificates (Maybe Natural) Source #

Specify this parameter when paginating results to indicate the maximum number of ACM Certificates that you want to display for each response. If there are additional certificates beyond the maximum you specify, use the NextToken value in your next call to the ListCertificates action.

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 #

See: listCertificatesResponse smart constructor.

Instances

Eq ListCertificatesResponse Source # 
Data ListCertificatesResponse Source # 

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 # 
Show ListCertificatesResponse Source # 
Generic ListCertificatesResponse Source # 
NFData ListCertificatesResponse Source # 
type Rep ListCertificatesResponse Source # 
type Rep ListCertificatesResponse = D1 (MetaData "ListCertificatesResponse" "Network.AWS.CertificateManager.ListCertificates" "amazonka-certificatemanager-1.4.2-6MBpEGpqoNwAnY7LGxPhTL" False) (C1 (MetaCons "ListCertificatesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsCertificateSummaryList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CertificateSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

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

If the list has been truncated, this value is present and should be used for the NextToken input parameter on your next call to ListCertificates.