amazonka-cloudfront-1.6.0: Amazon CloudFront 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.CloudFront.ListPublicKeys

Contents

Description

List all public keys that have been added to CloudFront for this account.

Synopsis

Creating a Request

listPublicKeys :: ListPublicKeys Source #

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

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

  • lpkMarker - Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last public key on that page).
  • lpkMaxItems - The maximum number of public keys you want in the response body.

data ListPublicKeys Source #

See: listPublicKeys smart constructor.

Instances

Eq ListPublicKeys Source # 
Data ListPublicKeys Source # 

Methods

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

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

toConstr :: ListPublicKeys -> Constr #

dataTypeOf :: ListPublicKeys -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPublicKeys Source # 
Show ListPublicKeys Source # 
Generic ListPublicKeys Source # 

Associated Types

type Rep ListPublicKeys :: * -> * #

Hashable ListPublicKeys Source # 
NFData ListPublicKeys Source # 

Methods

rnf :: ListPublicKeys -> () #

AWSRequest ListPublicKeys Source # 
ToHeaders ListPublicKeys Source # 
ToPath ListPublicKeys Source # 
ToQuery ListPublicKeys Source # 
type Rep ListPublicKeys Source # 
type Rep ListPublicKeys = D1 * (MetaData "ListPublicKeys" "Network.AWS.CloudFront.ListPublicKeys" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "ListPublicKeys'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpkMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lpkMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs ListPublicKeys Source # 

Request Lenses

lpkMarker :: Lens' ListPublicKeys (Maybe Text) Source #

Use this when paginating results to indicate where to begin in your list of public keys. The results include public keys in the list that occur after the marker. To get the next page of results, set the Marker to the value of the NextMarker from the current page's response (which is also the ID of the last public key on that page).

lpkMaxItems :: Lens' ListPublicKeys (Maybe Text) Source #

The maximum number of public keys you want in the response body.

Destructuring the Response

listPublicKeysResponse Source #

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

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

data ListPublicKeysResponse Source #

See: listPublicKeysResponse smart constructor.

Instances

Eq ListPublicKeysResponse Source # 
Data ListPublicKeysResponse Source # 

Methods

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

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

toConstr :: ListPublicKeysResponse -> Constr #

dataTypeOf :: ListPublicKeysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListPublicKeysResponse Source # 
Show ListPublicKeysResponse Source # 
Generic ListPublicKeysResponse Source # 
NFData ListPublicKeysResponse Source # 

Methods

rnf :: ListPublicKeysResponse -> () #

type Rep ListPublicKeysResponse Source # 
type Rep ListPublicKeysResponse = D1 * (MetaData "ListPublicKeysResponse" "Network.AWS.CloudFront.ListPublicKeys" "amazonka-cloudfront-1.6.0-GTmJBWQTc5OFcqzFNdHHM3" False) (C1 * (MetaCons "ListPublicKeysResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lpkrsPublicKeyList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe PublicKeyList))) (S1 * (MetaSel (Just Symbol "_lpkrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

lpkrsPublicKeyList :: Lens' ListPublicKeysResponse (Maybe PublicKeyList) Source #

Returns a list of all public keys that have been added to CloudFront for this account.