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

Contents

Description

Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate.

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:

  • lcCertificateStatuses - Filter the certificate list by status value.
  • lcNextToken - Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.
  • lcIncludes - Filter the certificate list. For more information, see the Filters structure.
  • lcMaxItems - Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

data ListCertificates Source #

See: listCertificates smart constructor.

Instances
Eq ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Data ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.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.CertificateManager.ListCertificates

Show ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Generic ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Associated Types

type Rep ListCertificates :: Type -> Type #

Hashable ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

ToJSON ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

AWSPager ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

AWSRequest ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Associated Types

type Rs ListCertificates :: Type #

ToHeaders ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

ToPath ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

ToQuery ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

NFData ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Methods

rnf :: ListCertificates -> () #

type Rep ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

type Rep ListCertificates = D1 (MetaData "ListCertificates" "Network.AWS.CertificateManager.ListCertificates" "amazonka-certificatemanager-1.6.1-4shwck4gg3E1zBQz4D8KdL" False) (C1 (MetaCons "ListCertificates'" PrefixI True) ((S1 (MetaSel (Just "_lcCertificateStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CertificateStatus])) :*: S1 (MetaSel (Just "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lcIncludes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Filters)) :*: S1 (MetaSel (Just "_lcMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListCertificates Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Request Lenses

lcCertificateStatuses :: Lens' ListCertificates [CertificateStatus] Source #

Filter the certificate list by status value.

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

Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

lcIncludes :: Lens' ListCertificates (Maybe Filters) Source #

Filter the certificate list. For more information, see the Filters structure.

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

Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

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

Defined in Network.AWS.CertificateManager.ListCertificates

Data ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.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.CertificateManager.ListCertificates

Show ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Generic ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: Type -> Type #

NFData ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

type Rep ListCertificatesResponse Source # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

type Rep ListCertificatesResponse = D1 (MetaData "ListCertificatesResponse" "Network.AWS.CertificateManager.ListCertificates" "amazonka-certificatemanager-1.6.1-4shwck4gg3E1zBQz4D8KdL" False) (C1 (MetaCons "ListCertificatesResponse'" PrefixI True) (S1 (MetaSel (Just "_lcrsCertificateSummaryList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CertificateSummary])) :*: (S1 (MetaSel (Just "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

When the list is truncated, this value is present and contains the value to use for the NextToken parameter in a subsequent pagination request.