Aws.Iam.Commands.CreateAccessKey

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

Safe Haskell | None
Language | Haskell2010

Aws.Iam.Commands.CreateAccessKey

Synopsis

- data CreateAccessKey = CreateAccessKey (Maybe Text)
- data CreateAccessKeyResponse = CreateAccessKeyResponse AccessKey
- data AccessKey = AccessKey {
  - akAccessKeyId :: Text
  - akCreateDate :: Maybe UTCTime
  - akSecretAccessKey :: Text
  - akStatus :: AccessKeyStatus
  - akUserName :: Text
  }

# Documentation

data CreateAccessKey #

Creates a new AWS secret access key and corresponding AWS access key ID for the given user name.

If a user name is not provided, IAM will determine the user name based on the access key signing the request.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html

Constructors

CreateAccessKey (Maybe Text) |

Instances

Eq CreateAccessKey # |
Methods (==) :: CreateAccessKey -> CreateAccessKey -> Bool # (/=) :: CreateAccessKey -> CreateAccessKey -> Bool #
Ord CreateAccessKey # |
Methods compare :: CreateAccessKey -> CreateAccessKey -> Ordering # (<) :: CreateAccessKey -> CreateAccessKey -> Bool # (<=) :: CreateAccessKey -> CreateAccessKey -> Bool # (>) :: CreateAccessKey -> CreateAccessKey -> Bool # (>=) :: CreateAccessKey -> CreateAccessKey -> Bool # max :: CreateAccessKey -> CreateAccessKey -> CreateAccessKey # min :: CreateAccessKey -> CreateAccessKey -> CreateAccessKey #
Show CreateAccessKey # |
Methods showsPrec :: Int -> CreateAccessKey -> ShowS # show :: CreateAccessKey -> String # showList :: [CreateAccessKey] -> ShowS #
SignQuery CreateAccessKey # |
Associated Types type ServiceConfiguration CreateAccessKey :: * -> * # Methods signQuery :: CreateAccessKey -> ServiceConfiguration CreateAccessKey queryType -> SignatureData -> SignedQuery #
Transaction CreateAccessKey CreateAccessKeyResponse # |
ResponseConsumer CreateAccessKey CreateAccessKeyResponse # |
Associated Types type ResponseMetadata CreateAccessKeyResponse :: * # Methods responseConsumer :: Request -> CreateAccessKey -> IORef (ResponseMetadata CreateAccessKeyResponse) -> HTTPResponseConsumer CreateAccessKeyResponse #
type ServiceConfiguration CreateAccessKey # |
type ServiceConfiguration CreateAccessKey = IamConfiguration

data CreateAccessKeyResponse #

Constructors

CreateAccessKeyResponse AccessKey |

Instances

Eq CreateAccessKeyResponse # |
Methods (==) :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> Bool # (/=) :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> Bool #
Ord CreateAccessKeyResponse # |
Methods compare :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> Ordering # (<) :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> Bool # (<=) :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> Bool # (>) :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> Bool # (>=) :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> Bool # max :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> CreateAccessKeyResponse # min :: CreateAccessKeyResponse -> CreateAccessKeyResponse -> CreateAccessKeyResponse #
Show CreateAccessKeyResponse # |
Methods showsPrec :: Int -> CreateAccessKeyResponse -> ShowS # show :: CreateAccessKeyResponse -> String # showList :: [CreateAccessKeyResponse] -> ShowS #
AsMemoryResponse CreateAccessKeyResponse # |
Associated Types type MemoryResponse CreateAccessKeyResponse :: * # Methods loadToMemory :: CreateAccessKeyResponse -> ResourceT IO (MemoryResponse CreateAccessKeyResponse) #
Transaction CreateAccessKey CreateAccessKeyResponse # |
ResponseConsumer CreateAccessKey CreateAccessKeyResponse # |
Associated Types type ResponseMetadata CreateAccessKeyResponse :: * # Methods responseConsumer :: Request -> CreateAccessKey -> IORef (ResponseMetadata CreateAccessKeyResponse) -> HTTPResponseConsumer CreateAccessKeyResponse #
type MemoryResponse CreateAccessKeyResponse # |
type MemoryResponse CreateAccessKeyResponse = CreateAccessKeyResponse
type ResponseMetadata CreateAccessKeyResponse # |
type ResponseMetadata CreateAccessKeyResponse = IamMetadata

data AccessKey #

Represents the IAM `AccessKey` data type.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_AccessKey.html

Constructors

AccessKey |
Fields akAccessKeyId :: Text The Access Key ID. akCreateDate :: Maybe UTCTime Date and time at which the access key was created. akSecretAccessKey :: Text Secret key used to sign requests. The secret key is accessible only during key creation. akStatus :: AccessKeyStatus Whether the access key is active or not. akUserName :: Text The user name for which this key is defined.

Instances

Eq AccessKey # |
Methods (==) :: AccessKey -> AccessKey -> Bool # (/=) :: AccessKey -> AccessKey -> Bool #
Ord AccessKey # |
Methods compare :: AccessKey -> AccessKey -> Ordering # (<) :: AccessKey -> AccessKey -> Bool # (<=) :: AccessKey -> AccessKey -> Bool # (>) :: AccessKey -> AccessKey -> Bool # (>=) :: AccessKey -> AccessKey -> Bool # max :: AccessKey -> AccessKey -> AccessKey # min :: AccessKey -> AccessKey -> AccessKey #
Show AccessKey # |
Methods showsPrec :: Int -> AccessKey -> ShowS # show :: AccessKey -> String # showList :: [AccessKey] -> ShowS #