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

AWSRequest 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 #

Read AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Show AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

NFData AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Eq AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Hashable AssociateDelegateToResource Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

type AWSResponse 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" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" '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))))

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:

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.

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
Generic 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

NFData AssociateDelegateToResourceResponse Source # 
Instance details

Defined in Amazonka.WorkMail.AssociateDelegateToResource

Eq 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" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" '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