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

Description

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

Synopsis

Creating a Request

data AssociateDelegateToResource Source #

See: newAssociateDelegateToResource smart constructor.

Constructors

AssociateDelegateToResource' 

Fields

  • organizationId :: Text

    The organization under which the resource exists.

  • resourceId :: Text

    The resource for which members (users or groups) are associated.

  • entityId :: Text

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

Instances

Instances details
Eq AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Read AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Show AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Generic AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Associated Types

type Rep AssociateDelegateToResource :: Type -> Type #

NFData AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Hashable AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

ToJSON AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

AWSRequest AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

ToHeaders AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

ToPath AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

ToQuery AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

type Rep AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

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

Defined in Amazonka.WorkMail.AssociateDelegateToResource

newAssociateDelegateToResource Source #

Create a value of AssociateDelegateToResource 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:AssociateDelegateToResource', associateDelegateToResource_organizationId - The organization under which the resource exists.

$sel:resourceId:AssociateDelegateToResource', associateDelegateToResource_resourceId - The resource for which members (users or groups) are associated.

$sel:entityId:AssociateDelegateToResource', associateDelegateToResource_entityId - The member (user or group) to associate to the resource.

Request Lenses

associateDelegateToResource_organizationId :: Lens' AssociateDelegateToResource Text Source #

The organization under which the resource exists.

associateDelegateToResource_resourceId :: Lens' AssociateDelegateToResource Text Source #

The resource for which members (users or groups) are associated.

associateDelegateToResource_entityId :: Lens' AssociateDelegateToResource Text Source #

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

Destructuring the Response

data AssociateDelegateToResourceResponse Source #

Constructors

AssociateDelegateToResourceResponse' 

Fields

Instances

Instances details
Eq AssociateDelegateToResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Read AssociateDelegateToResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Show AssociateDelegateToResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Generic AssociateDelegateToResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

NFData AssociateDelegateToResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

type Rep AssociateDelegateToResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

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

newAssociateDelegateToResourceResponse Source #

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

Response Lenses