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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.CreateGroup

Contents

Description

Creates a new group.

For information about the number of groups you can create, see Limitations on IAM Entities in the IAM User Guide.

See: AWS API Reference for CreateGroup.

Synopsis

Creating a Request

createGroup Source

Creates a value of CreateGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

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 (/).

cgGroupName :: Lens' CreateGroup Text Source

The name of the group to create. Do not include the path in this value.

Destructuring the Response

createGroupResponse Source

Creates a value of CreateGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

cgrsGroup :: Lens' CreateGroupResponse Group Source

Information about the group.