Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a new group.
For information about the number of groups you can create, see Limitationson IAM Entities in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateGroup.html
Request
data CreateGroup Source
Eq CreateGroup | |
Ord CreateGroup | |
Read CreateGroup | |
Show CreateGroup | |
AWSRequest CreateGroup | |
ToQuery CreateGroup | |
ToPath CreateGroup | |
ToHeaders CreateGroup | |
type Sv CreateGroup = IAM | |
type Rs CreateGroup = CreateGroupResponse |
Request constructor
CreateGroup
constructor.
The fields accessible through corresponding lenses are:
cgGroupName
::
Text
cgPath
::
Maybe
Text
Request lenses
cgGroupName :: Lens' CreateGroup Text Source
The name of the group to create. Do not include the path in this value.
cgPath :: Lens' CreateGroup (Maybe Text) Source
The path to the group. For more information about paths, see IAM Identifiers in the Using IAM guide.
This parameter is optional. If it is not included, it defaults to a slash (/).
Response
Response constructor
CreateGroupResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cgrGroup :: Lens' CreateGroupResponse Group Source
Information about the group.