amazonka-iam-0.2.1: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.CreateGroup

Contents

Description

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

Synopsis

Request

Request constructor

createGroup Source

CreateGroup constructor.

The fields accessible through corresponding lenses are:

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 Source

CreateGroupResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

cgrGroup :: Lens' CreateGroupResponse Group Source

Information about the group.