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

Description

Provides more information regarding a given organization based on its identifier.

Synopsis

Creating a Request

data DescribeOrganization Source #

See: newDescribeOrganization smart constructor.

Constructors

DescribeOrganization' 

Fields

Instances

Instances details
Eq DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Read DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Show DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Generic DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Associated Types

type Rep DescribeOrganization :: Type -> Type #

NFData DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Methods

rnf :: DescribeOrganization -> () #

Hashable DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

ToJSON DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

AWSRequest DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Associated Types

type AWSResponse DescribeOrganization #

ToHeaders DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

ToPath DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

ToQuery DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

type Rep DescribeOrganization Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

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

Defined in Amazonka.WorkMail.DescribeOrganization

newDescribeOrganization Source #

Create a value of DescribeOrganization 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:DescribeOrganization', describeOrganization_organizationId - The identifier for the organization to be described.

Request Lenses

describeOrganization_organizationId :: Lens' DescribeOrganization Text Source #

The identifier for the organization to be described.

Destructuring the Response

data DescribeOrganizationResponse Source #

See: newDescribeOrganizationResponse smart constructor.

Constructors

DescribeOrganizationResponse' 

Fields

Instances

Instances details
Eq DescribeOrganizationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Read DescribeOrganizationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Show DescribeOrganizationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Generic DescribeOrganizationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

Associated Types

type Rep DescribeOrganizationResponse :: Type -> Type #

NFData DescribeOrganizationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

type Rep DescribeOrganizationResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeOrganization

newDescribeOrganizationResponse Source #

Create a value of DescribeOrganizationResponse 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:directoryId:DescribeOrganizationResponse', describeOrganizationResponse_directoryId - The identifier for the directory associated with an Amazon WorkMail organization.

$sel:state:DescribeOrganizationResponse', describeOrganizationResponse_state - The state of an organization.

$sel:arn:DescribeOrganizationResponse', describeOrganizationResponse_arn - The Amazon Resource Name (ARN) of the organization.

$sel:alias:DescribeOrganizationResponse', describeOrganizationResponse_alias - The alias for an organization.

$sel:completedDate:DescribeOrganizationResponse', describeOrganizationResponse_completedDate - The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.

$sel:directoryType:DescribeOrganizationResponse', describeOrganizationResponse_directoryType - The type of directory associated with the WorkMail organization.

$sel:defaultMailDomain:DescribeOrganizationResponse', describeOrganizationResponse_defaultMailDomain - The default mail domain associated with the organization.

$sel:errorMessage:DescribeOrganizationResponse', describeOrganizationResponse_errorMessage - (Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.

$sel:organizationId:DescribeOrganization', describeOrganizationResponse_organizationId - The identifier of an organization.

$sel:httpStatus:DescribeOrganizationResponse', describeOrganizationResponse_httpStatus - The response's http status code.

Response Lenses

describeOrganizationResponse_directoryId :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The identifier for the directory associated with an Amazon WorkMail organization.

describeOrganizationResponse_arn :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the organization.

describeOrganizationResponse_completedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime) Source #

The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.

describeOrganizationResponse_directoryType :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The type of directory associated with the WorkMail organization.

describeOrganizationResponse_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

The default mail domain associated with the organization.

describeOrganizationResponse_errorMessage :: Lens' DescribeOrganizationResponse (Maybe Text) Source #

(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.