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

Safe Haskell | None
Language | Haskell2010

Aws.Iam.Commands.CreateUser

Synopsis

- data CreateUser = CreateUser {
  - cuUserName :: Text
  - cuPath :: Maybe Text
  }
- data CreateUserResponse = CreateUserResponse User
- data User = User {
  - userArn :: Text
  - userCreateDate :: UTCTime
  - userPath :: Text
  - userUserId :: Text
  - userUserName :: Text
  }

# Documentation

data CreateUser #

Creates a new user.

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

Constructors

CreateUser |
Fields cuUserName :: Text Name of the new user cuPath :: Maybe Text Path under which the user will be created. Defaults to `/` if omitted.

Instances

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

data CreateUserResponse #

Constructors

CreateUserResponse User |

Instances

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

data User #

The IAM `User` data type.

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

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.

Instances

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