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

Description

Adds an alias to the set of a given member (user or group) of Amazon WorkMail.

Synopsis

Creating a Request

data CreateAlias Source #

See: newCreateAlias smart constructor.

Constructors

CreateAlias' 

Fields

  • organizationId :: Text

    The organization under which the member (user or group) exists.

  • entityId :: Text

    The member (user or group) to which this alias is added.

  • alias :: Text

    The alias to add to the member set.

Instances

Instances details
Eq CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Read CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Show CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Generic CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Associated Types

type Rep CreateAlias :: Type -> Type #

NFData CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Methods

rnf :: CreateAlias -> () #

Hashable CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

ToJSON CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

AWSRequest CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Associated Types

type AWSResponse CreateAlias #

ToHeaders CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Methods

toHeaders :: CreateAlias -> [Header] #

ToPath CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

ToQuery CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

type Rep CreateAlias Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

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

Defined in Amazonka.WorkMail.CreateAlias

newCreateAlias Source #

Create a value of CreateAlias 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:CreateAlias', createAlias_organizationId - The organization under which the member (user or group) exists.

$sel:entityId:CreateAlias', createAlias_entityId - The member (user or group) to which this alias is added.

$sel:alias:CreateAlias', createAlias_alias - The alias to add to the member set.

Request Lenses

createAlias_organizationId :: Lens' CreateAlias Text Source #

The organization under which the member (user or group) exists.

createAlias_entityId :: Lens' CreateAlias Text Source #

The member (user or group) to which this alias is added.

createAlias_alias :: Lens' CreateAlias Text Source #

The alias to add to the member set.

Destructuring the Response

data CreateAliasResponse Source #

See: newCreateAliasResponse smart constructor.

Constructors

CreateAliasResponse' 

Fields

Instances

Instances details
Eq CreateAliasResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Read CreateAliasResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Show CreateAliasResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Generic CreateAliasResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Associated Types

type Rep CreateAliasResponse :: Type -> Type #

NFData CreateAliasResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

Methods

rnf :: CreateAliasResponse -> () #

type Rep CreateAliasResponse Source # 
Instance details

Defined in Amazonka.WorkMail.CreateAlias

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

newCreateAliasResponse Source #

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

Response Lenses