amazonka-cloudtrail-1.6.1: Amazon CloudTrail 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.CloudTrail.ListPublicKeys

Contents

Description

Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.

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:

  • lpkStartTime - Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.
  • lpkNextToken - Reserved for future use.
  • lpkEndTime - Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used.

data ListPublicKeys Source #

Requests the public keys for a specified time range.

See: listPublicKeys smart constructor.

Instances
Eq ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Data ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

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

Defined in Network.AWS.CloudTrail.ListPublicKeys

Show ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Generic ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Associated Types

type Rep ListPublicKeys :: Type -> Type #

Hashable ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

ToJSON ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

AWSRequest ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Associated Types

type Rs ListPublicKeys :: Type #

ToHeaders ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

ToPath ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

ToQuery ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

NFData ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Methods

rnf :: ListPublicKeys -> () #

type Rep ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

type Rep ListPublicKeys = D1 (MetaData "ListPublicKeys" "Network.AWS.CloudTrail.ListPublicKeys" "amazonka-cloudtrail-1.6.1-1ASQobB9oxr6dsaqg3j95A" False) (C1 (MetaCons "ListPublicKeys'" PrefixI True) (S1 (MetaSel (Just "_lpkStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_lpkNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lpkEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)))))
type Rs ListPublicKeys Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Request Lenses

lpkStartTime :: Lens' ListPublicKeys (Maybe UTCTime) Source #

Optionally specifies, in UTC, the start of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used, and the current public key is returned.

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

Reserved for future use.

lpkEndTime :: Lens' ListPublicKeys (Maybe UTCTime) Source #

Optionally specifies, in UTC, the end of the time range to look up public keys for CloudTrail digest files. If not specified, the current time is used.

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 #

Returns the objects or data listed below if successful. Otherwise, returns an error.

See: listPublicKeysResponse smart constructor.

Instances
Eq ListPublicKeysResponse Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Data ListPublicKeysResponse Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

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

Defined in Network.AWS.CloudTrail.ListPublicKeys

Show ListPublicKeysResponse Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Generic ListPublicKeysResponse Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Associated Types

type Rep ListPublicKeysResponse :: Type -> Type #

NFData ListPublicKeysResponse Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

Methods

rnf :: ListPublicKeysResponse -> () #

type Rep ListPublicKeysResponse Source # 
Instance details

Defined in Network.AWS.CloudTrail.ListPublicKeys

type Rep ListPublicKeysResponse = D1 (MetaData "ListPublicKeysResponse" "Network.AWS.CloudTrail.ListPublicKeys" "amazonka-cloudtrail-1.6.1-1ASQobB9oxr6dsaqg3j95A" False) (C1 (MetaCons "ListPublicKeysResponse'" PrefixI True) (S1 (MetaSel (Just "_lpkrsPublicKeyList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PublicKey])) :*: (S1 (MetaSel (Just "_lpkrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lpkrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lpkrsPublicKeyList :: Lens' ListPublicKeysResponse [PublicKey] Source #

Contains an array of PublicKey objects.