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

Description

Updates an impersonation role for the given WorkMail organization.

Synopsis

Creating a Request

data UpdateImpersonationRole Source #

See: newUpdateImpersonationRole smart constructor.

Constructors

UpdateImpersonationRole' 

Fields

Instances

Instances details
ToJSON UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

ToHeaders UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

ToPath UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

ToQuery UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

AWSRequest UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Generic UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Associated Types

type Rep UpdateImpersonationRole :: Type -> Type #

Read UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Show UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

NFData UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Methods

rnf :: UpdateImpersonationRole -> () #

Eq UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Hashable UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

type AWSResponse UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

type Rep UpdateImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

type Rep UpdateImpersonationRole = D1 ('MetaData "UpdateImpersonationRole" "Amazonka.WorkMail.UpdateImpersonationRole" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "UpdateImpersonationRole'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "impersonationRoleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ImpersonationRoleType) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ImpersonationRule])))))

newUpdateImpersonationRole Source #

Create a value of UpdateImpersonationRole 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:

UpdateImpersonationRole, updateImpersonationRole_description - The updated impersonation role description.

UpdateImpersonationRole, updateImpersonationRole_organizationId - The WorkMail organization that contains the impersonation role to update.

UpdateImpersonationRole, updateImpersonationRole_impersonationRoleId - The ID of the impersonation role to update.

UpdateImpersonationRole, updateImpersonationRole_name - The updated impersonation role name.

UpdateImpersonationRole, updateImpersonationRole_type - The updated impersonation role type.

$sel:rules:UpdateImpersonationRole', updateImpersonationRole_rules - The updated list of rules.

Request Lenses

updateImpersonationRole_description :: Lens' UpdateImpersonationRole (Maybe Text) Source #

The updated impersonation role description.

updateImpersonationRole_organizationId :: Lens' UpdateImpersonationRole Text Source #

The WorkMail organization that contains the impersonation role to update.

Destructuring the Response

data UpdateImpersonationRoleResponse Source #

See: newUpdateImpersonationRoleResponse smart constructor.

Constructors

UpdateImpersonationRoleResponse' 

Fields

Instances

Instances details
Generic UpdateImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Associated Types

type Rep UpdateImpersonationRoleResponse :: Type -> Type #

Read UpdateImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Show UpdateImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

NFData UpdateImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

Eq UpdateImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

type Rep UpdateImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.UpdateImpersonationRole

type Rep UpdateImpersonationRoleResponse = D1 ('MetaData "UpdateImpersonationRoleResponse" "Amazonka.WorkMail.UpdateImpersonationRole" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "UpdateImpersonationRoleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateImpersonationRoleResponse Source #

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

Response Lenses