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

Description

Gets the impersonation role details for the given WorkMail organization.

Synopsis

Creating a Request

data GetImpersonationRole Source #

See: newGetImpersonationRole smart constructor.

Constructors

GetImpersonationRole' 

Fields

Instances

Instances details
ToJSON GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

ToHeaders GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

ToPath GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

ToQuery GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

AWSRequest GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Associated Types

type AWSResponse GetImpersonationRole #

Generic GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Associated Types

type Rep GetImpersonationRole :: Type -> Type #

Read GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Show GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

NFData GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Methods

rnf :: GetImpersonationRole -> () #

Eq GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Hashable GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

type AWSResponse GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

type Rep GetImpersonationRole Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

type Rep GetImpersonationRole = D1 ('MetaData "GetImpersonationRole" "Amazonka.WorkMail.GetImpersonationRole" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "GetImpersonationRole'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "impersonationRoleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetImpersonationRole Source #

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

GetImpersonationRole, getImpersonationRole_organizationId - The WorkMail organization from which to retrieve the impersonation role.

GetImpersonationRole, getImpersonationRole_impersonationRoleId - The impersonation role ID to retrieve.

Request Lenses

getImpersonationRole_organizationId :: Lens' GetImpersonationRole Text Source #

The WorkMail organization from which to retrieve the impersonation role.

Destructuring the Response

data GetImpersonationRoleResponse Source #

See: newGetImpersonationRoleResponse smart constructor.

Constructors

GetImpersonationRoleResponse' 

Fields

Instances

Instances details
Generic GetImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Associated Types

type Rep GetImpersonationRoleResponse :: Type -> Type #

Read GetImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Show GetImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

NFData GetImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

Eq GetImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

type Rep GetImpersonationRoleResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetImpersonationRole

newGetImpersonationRoleResponse Source #

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

GetImpersonationRoleResponse, getImpersonationRoleResponse_dateCreated - The date when the impersonation role was created.

GetImpersonationRoleResponse, getImpersonationRoleResponse_dateModified - The date when the impersonation role was last modified.

GetImpersonationRoleResponse, getImpersonationRoleResponse_description - The impersonation role description.

GetImpersonationRole, getImpersonationRoleResponse_impersonationRoleId - The impersonation role ID.

GetImpersonationRoleResponse, getImpersonationRoleResponse_name - The impersonation role name.

$sel:rules:GetImpersonationRoleResponse', getImpersonationRoleResponse_rules - The list of rules for the given impersonation role.

GetImpersonationRoleResponse, getImpersonationRoleResponse_type - The impersonation role type.

$sel:httpStatus:GetImpersonationRoleResponse', getImpersonationRoleResponse_httpStatus - The response's http status code.

Response Lenses

getImpersonationRoleResponse_dateModified :: Lens' GetImpersonationRoleResponse (Maybe UTCTime) Source #

The date when the impersonation role was last modified.

getImpersonationRoleResponse_rules :: Lens' GetImpersonationRoleResponse (Maybe [ImpersonationRule]) Source #

The list of rules for the given impersonation role.