Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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' {
- directoryId :: Maybe Text
- state :: Maybe Text
- arn :: Maybe Text
- alias :: Maybe Text
- completedDate :: Maybe POSIX
- directoryType :: Maybe Text
- defaultMailDomain :: Maybe Text
- errorMessage :: Maybe Text
- organizationId :: Maybe Text
- httpStatus :: Int
- newDescribeOrganizationResponse :: Int -> DescribeOrganizationResponse
- describeOrganizationResponse_directoryId :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_state :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_arn :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_alias :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_completedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime)
- describeOrganizationResponse_directoryType :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_defaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_errorMessage :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_organizationId :: Lens' DescribeOrganizationResponse (Maybe Text)
- describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int
Creating a Request
data DescribeOrganization Source #
See: newDescribeOrganization
smart constructor.
DescribeOrganization' | |
|
Instances
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.
DescribeOrganizationResponse' | |
|
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: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_state :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The state of an organization.
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_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.
describeOrganizationResponse_organizationId :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The identifier of an organization.
describeOrganizationResponse_httpStatus :: Lens' DescribeOrganizationResponse Int Source #
The response's http status code.