amazonka-workmail-2.0: Amazon WorkMail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkMail.CreateGroup

Description

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

Synopsis

Creating a Request

data CreateGroup Source #

See: newCreateGroup smart constructor.

Constructors

CreateGroup' 

Fields

Instances

Instances details
ToJSON CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.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

AWSRequest CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Associated Types

type AWSResponse CreateGroup #

Generic CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Associated Types

type Rep CreateGroup :: Type -> Type #

Read CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Show CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

NFData CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Methods

rnf :: CreateGroup -> () #

Eq CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Hashable CreateGroup Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

type AWSResponse 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" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "CreateGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

CreateGroup, createGroup_organizationId - The organization under which the group is to be created.

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
Generic CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Associated Types

type Rep CreateGroupResponse :: Type -> Type #

Read CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Show CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

NFData CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

Methods

rnf :: CreateGroupResponse -> () #

Eq CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

type Rep CreateGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateGroup

type Rep CreateGroupResponse = D1 ('MetaData "CreateGroupResponse" "Amazonka.WorkMail.CreateGroup" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" '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