| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkMail.DescribeOrganization
Description
Provides more information regarding a given organization based on its identifier.
Synopsis
- data DescribeOrganization = DescribeOrganization' {}
- newDescribeOrganization :: Text -> DescribeOrganization
- describeOrganization_organizationId :: Lens' DescribeOrganization Text
- data DescribeOrganizationResponse = DescribeOrganizationResponse' {
- arn :: Maybe Text
- alias :: Maybe Text
- completedDate :: Maybe POSIX
- defaultMailDomain :: Maybe Text
- directoryId :: Maybe Text
- directoryType :: Maybe Text
- errorMessage :: Maybe Text
- organizationId :: Maybe Text
- state :: Maybe Text
- httpStatus :: Int
- newDescribeOrganizationResponse :: Int -> DescribeOrganizationResponse
- describeOrganizationResponse_arn :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_alias :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_completedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime)
- describeOrganizationResponse_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_directoryId :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_directoryType :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_errorMessage :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_organizationId :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_state :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int
Creating a Request
data DescribeOrganization Source #
See: newDescribeOrganization smart constructor.
Constructors
| DescribeOrganization' | |
Fields
| |
Instances
newDescribeOrganization Source #
Arguments
| :: Text | |
| -> DescribeOrganization |
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:
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
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:arn:DescribeOrganizationResponse', describeOrganizationResponse_arn - The Amazon Resource Name (ARN) of the organization.
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.
DescribeOrganizationResponse, describeOrganizationResponse_defaultMailDomain - The default mail domain associated with the organization.
$sel:directoryId:DescribeOrganizationResponse', describeOrganizationResponse_directoryId - The identifier for the directory associated with an WorkMail
organization.
$sel:directoryType:DescribeOrganizationResponse', describeOrganizationResponse_directoryType - The type of directory associated with the WorkMail organization.
DescribeOrganizationResponse, describeOrganizationResponse_errorMessage - (Optional) The error message indicating if unexpected behavior was
encountered with regards to the organization.
DescribeOrganization, describeOrganizationResponse_organizationId - The identifier of an organization.
DescribeOrganizationResponse, describeOrganizationResponse_state - The state of an organization.
$sel:httpStatus:DescribeOrganizationResponse', describeOrganizationResponse_httpStatus - The response's http status code.
Response Lenses
describeOrganizationResponse_arn :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the organization.
describeOrganizationResponse_alias :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The alias for an 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_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The default mail domain associated with the organization.
describeOrganizationResponse_directoryId :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The identifier for the directory associated with an WorkMail organization.
describeOrganizationResponse_directoryType :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The type of directory associated with the WorkMail organization.
describeOrganizationResponse_errorMessage :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
describeOrganizationResponse_organizationId :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The identifier of an organization.
describeOrganizationResponse_state :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The state of an organization.
describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int Source #
The response's http status code.