amazonka-certificatemanager-1.6.0: 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 #

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 #

See: listCertificates smart constructor.

Instances
Eq ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

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

Defined in Network.AWS.CertificateManager.ListCertificates

Show ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Generic ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Associated Types

type Rep ListCertificates :: * -> * #

Hashable ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

ToJSON ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

AWSPager ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

AWSRequest ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Associated Types

type Rs ListCertificates :: * #

ToHeaders ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

ToPath ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

ToQuery ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

NFData ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Methods

rnf :: ListCertificates -> () #

type Rep ListCertificates # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

type Rep ListCertificates = D1 (MetaData "ListCertificates" "Network.AWS.CertificateManager.ListCertificates" "amazonka-certificatemanager-1.6.0-7JB8JsCwrfRJtf8W91f9vY" 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 # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Request Lenses

lcCertificateStatuses :: Lens' ListCertificates [CertificateStatus] #

Filter the certificate list by status value.

lcNextToken :: Lens' ListCertificates (Maybe Text) #

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) #

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

lcMaxItems :: Lens' ListCertificates (Maybe Natural) #

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 #

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 #

See: listCertificatesResponse smart constructor.

Instances
Eq ListCertificatesResponse # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

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

Defined in Network.AWS.CertificateManager.ListCertificates

Show ListCertificatesResponse # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Generic ListCertificatesResponse # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: * -> * #

NFData ListCertificatesResponse # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

type Rep ListCertificatesResponse # 
Instance details

Defined in Network.AWS.CertificateManager.ListCertificates

type Rep ListCertificatesResponse = D1 (MetaData "ListCertificatesResponse" "Network.AWS.CertificateManager.ListCertificates" "amazonka-certificatemanager-1.6.0-7JB8JsCwrfRJtf8W91f9vY" 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) #

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

lcrsResponseStatus :: Lens' ListCertificatesResponse Int #

  • - | The response status code.