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.AssociateMemberToGroup

Description

Adds a member (user or group) to the group's set.

Synopsis

Creating a Request

data AssociateMemberToGroup Source #

See: newAssociateMemberToGroup smart constructor.

Constructors

AssociateMemberToGroup' 

Fields

  • organizationId :: Text

    The organization under which the group exists.

  • groupId :: Text

    The group to which the member (user or group) is associated.

  • memberId :: Text

    The member (user or group) to associate to the group.

Instances

Instances details
Eq AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Read AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Show AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Generic AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Associated Types

type Rep AssociateMemberToGroup :: Type -> Type #

NFData AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Methods

rnf :: AssociateMemberToGroup -> () #

Hashable AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

ToJSON AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

AWSRequest AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Associated Types

type AWSResponse AssociateMemberToGroup #

ToHeaders AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

ToPath AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

ToQuery AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

type Rep AssociateMemberToGroup Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

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

Defined in Amazonka.WorkMail.AssociateMemberToGroup

newAssociateMemberToGroup Source #

Create a value of AssociateMemberToGroup 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:AssociateMemberToGroup', associateMemberToGroup_organizationId - The organization under which the group exists.

$sel:groupId:AssociateMemberToGroup', associateMemberToGroup_groupId - The group to which the member (user or group) is associated.

$sel:memberId:AssociateMemberToGroup', associateMemberToGroup_memberId - The member (user or group) to associate to the group.

Request Lenses

associateMemberToGroup_organizationId :: Lens' AssociateMemberToGroup Text Source #

The organization under which the group exists.

associateMemberToGroup_groupId :: Lens' AssociateMemberToGroup Text Source #

The group to which the member (user or group) is associated.

associateMemberToGroup_memberId :: Lens' AssociateMemberToGroup Text Source #

The member (user or group) to associate to the group.

Destructuring the Response

data AssociateMemberToGroupResponse Source #

See: newAssociateMemberToGroupResponse smart constructor.

Constructors

AssociateMemberToGroupResponse' 

Fields

Instances

Instances details
Eq AssociateMemberToGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Read AssociateMemberToGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Show AssociateMemberToGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Generic AssociateMemberToGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

Associated Types

type Rep AssociateMemberToGroupResponse :: Type -> Type #

NFData AssociateMemberToGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

type Rep AssociateMemberToGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateMemberToGroup

type Rep AssociateMemberToGroupResponse = D1 ('MetaData "AssociateMemberToGroupResponse" "Amazonka.WorkMail.AssociateMemberToGroup" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "AssociateMemberToGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateMemberToGroupResponse Source #

Create a value of AssociateMemberToGroupResponse 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:httpStatus:AssociateMemberToGroupResponse', associateMemberToGroupResponse_httpStatus - The response's http status code.

Response Lenses