aws-0.13.0: Amazon Web Services (AWS) for Haskell

Safe HaskellNone
LanguageHaskell2010

Aws.Iam.Core

Synopsis

Documentation

iamSignQuery Source

Arguments

:: [(ByteString, ByteString)]

Pairs of parameter names and values that will be passed as part of the request data.

-> IamConfiguration qt 
-> SignatureData 
-> SignedQuery 

Constructs a SignedQuery with the specified request parameters.

iamResponseConsumer :: (Cursor -> Response IamMetadata a) -> IORef IamMetadata -> HTTPResponseConsumer a Source

Reads the metadata from an IAM response and delegates parsing the rest of the data from the response to the given function.

parseDateTime :: MonadThrow m => String -> m UTCTime Source

Parses IAM DateTime data type.

data User Source

Constructors

User 

Fields

userArn :: Text

ARN used to refer to this user.

userCreateDate :: UTCTime

Date and time at which the user was created.

userPath :: Text

Path under which the user was created.

userUserId :: Text

Unique identifier used to refer to this user.

userUserName :: Text

Name of the user.

parseUser :: MonadThrow m => Cursor -> m User Source

Parses the IAM User data type.

data MfaDevice Source

Constructors

MfaDevice 

Fields

mfaEnableDate :: UTCTime

The date when the MFA device was enabled for the user.

mfaSerialNumber :: Text

The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.

mfaUserName :: Text

The user with whom the MFA device is associated. Minimum length of 1. Maximum length of 64.

parseMfaDevice :: MonadThrow m => Cursor -> m MfaDevice Source

Parses the IAM MFADevice data type.