amazonka-iam-1.6.0: Amazon Identity and Access Management 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.IAM.GetAccessKeyLastUsed

Contents

Description

Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the AWS service and region that were specified in the last request made with that key.

Synopsis

Creating a Request

getAccessKeyLastUsed Source #

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

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

  • gakluAccessKeyId - The identifier of an access key. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.

data GetAccessKeyLastUsed Source #

See: getAccessKeyLastUsed smart constructor.

Instances

Eq GetAccessKeyLastUsed Source # 
Data GetAccessKeyLastUsed Source # 

Methods

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

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

toConstr :: GetAccessKeyLastUsed -> Constr #

dataTypeOf :: GetAccessKeyLastUsed -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAccessKeyLastUsed Source # 
Show GetAccessKeyLastUsed Source # 
Generic GetAccessKeyLastUsed Source # 
Hashable GetAccessKeyLastUsed Source # 
NFData GetAccessKeyLastUsed Source # 

Methods

rnf :: GetAccessKeyLastUsed -> () #

AWSRequest GetAccessKeyLastUsed Source # 
ToHeaders GetAccessKeyLastUsed Source # 
ToPath GetAccessKeyLastUsed Source # 
ToQuery GetAccessKeyLastUsed Source # 
type Rep GetAccessKeyLastUsed Source # 
type Rep GetAccessKeyLastUsed = D1 * (MetaData "GetAccessKeyLastUsed" "Network.AWS.IAM.GetAccessKeyLastUsed" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" True) (C1 * (MetaCons "GetAccessKeyLastUsed'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gakluAccessKeyId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * AccessKey)))
type Rs GetAccessKeyLastUsed Source # 

Request Lenses

gakluAccessKeyId :: Lens' GetAccessKeyLastUsed AccessKey Source #

The identifier of an access key. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.

Destructuring the Response

getAccessKeyLastUsedResponse Source #

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

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

data GetAccessKeyLastUsedResponse Source #

Contains the response to a successful GetAccessKeyLastUsed request. It is also returned as a member of the AccessKeyMetaData structure returned by the ListAccessKeys action.

See: getAccessKeyLastUsedResponse smart constructor.

Instances

Eq GetAccessKeyLastUsedResponse Source # 
Data GetAccessKeyLastUsedResponse Source # 

Methods

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

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

toConstr :: GetAccessKeyLastUsedResponse -> Constr #

dataTypeOf :: GetAccessKeyLastUsedResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAccessKeyLastUsedResponse Source # 
Show GetAccessKeyLastUsedResponse Source # 
Generic GetAccessKeyLastUsedResponse Source # 
NFData GetAccessKeyLastUsedResponse Source # 
type Rep GetAccessKeyLastUsedResponse Source # 
type Rep GetAccessKeyLastUsedResponse = D1 * (MetaData "GetAccessKeyLastUsedResponse" "Network.AWS.IAM.GetAccessKeyLastUsed" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "GetAccessKeyLastUsedResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gaklursUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gaklursAccessKeyLastUsed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe AccessKeyLastUsed))) (S1 * (MetaSel (Just Symbol "_gaklursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gaklursUserName :: Lens' GetAccessKeyLastUsedResponse (Maybe Text) Source #

The name of the AWS IAM user that owns this access key.

gaklursAccessKeyLastUsed :: Lens' GetAccessKeyLastUsedResponse (Maybe AccessKeyLastUsed) Source #

Contains information about the last time the access key was used.