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

Amazonka.WorkMail.CreateGroup

Description

Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

Synopsis

Creating a Request

data CreateGroup Source #

See: newCreateGroup smart constructor.

Constructors

CreateGroup' 

Fields

Instances

Instances details
Eq CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Read CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Generic CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

NFData CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Methods

rnf :: CreateGroup -> () #

Hashable CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

ToJSON CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

AWSRequest CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Associated Types

type AWSResponse CreateGroup #

ToHeaders CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Methods

toHeaders :: CreateGroup -> [Header] #

ToPath CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

ToQuery CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

type Rep CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

type Rep CreateGroup = D1 ('MetaData "CreateGroup" "Amazonka.WorkMail.CreateGroup" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "CreateGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

newCreateGroup Source #

Create a value of CreateGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:organizationId:CreateGroup', createGroup_organizationId - The organization under which the group is to be created.

$sel:name:CreateGroup', createGroup_name - The name of the group.

Request Lenses

createGroup_organizationId :: Lens' CreateGroup Text Source #

The organization under which the group is to be created.

createGroup_name :: Lens' CreateGroup Text Source #

The name of the group.

Destructuring the Response

data CreateGroupResponse Source #

See: newCreateGroupResponse smart constructor.

Constructors

CreateGroupResponse' 

Fields

Instances

Instances details
Eq CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Read CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Generic CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

NFData CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

type Rep CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

type Rep CreateGroupResponse = D1 ('MetaData "CreateGroupResponse" "Amazonka.WorkMail.CreateGroup" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "CreateGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateGroupResponse Source #

Create a value of CreateGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:groupId:CreateGroupResponse', createGroupResponse_groupId - The identifier of the group.

$sel:httpStatus:CreateGroupResponse', createGroupResponse_httpStatus - The response's http status code.

Response Lenses