Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Provides more information regarding a given organization based on its identifier.
Synopsis
- describeOrganization :: Text -> DescribeOrganization
- data DescribeOrganization
- doOrganizationId :: Lens' DescribeOrganization Text
- describeOrganizationResponse :: Int -> DescribeOrganizationResponse
- data DescribeOrganizationResponse
- dorsDirectoryId :: Lens' DescribeOrganizationResponse (Maybe Text)
- dorsState :: Lens' DescribeOrganizationResponse (Maybe Text)
- dorsAlias :: Lens' DescribeOrganizationResponse (Maybe Text)
- dorsCompletedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime)
- dorsDirectoryType :: Lens' DescribeOrganizationResponse (Maybe Text)
- dorsDefaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text)
- dorsErrorMessage :: Lens' DescribeOrganizationResponse (Maybe Text)
- dorsOrganizationId :: Lens' DescribeOrganizationResponse (Maybe Text)
- dorsResponseStatus :: Lens' DescribeOrganizationResponse Int
Creating a Request
Creates a value of DescribeOrganization
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
doOrganizationId
- The identifier for the organization to be described.
data DescribeOrganization Source #
See: describeOrganization
smart constructor.
Instances
Request Lenses
doOrganizationId :: Lens' DescribeOrganization Text Source #
The identifier for the organization to be described.
Destructuring the Response
describeOrganizationResponse Source #
Creates a value of DescribeOrganizationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dorsDirectoryId
- The identifier for the directory associated with an Amazon WorkMail organization.dorsState
- The state of an organization.dorsAlias
- The alias for an organization.dorsCompletedDate
- The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.dorsDirectoryType
- The type of directory associated with the Amazon WorkMail organization.dorsDefaultMailDomain
- The default mail domain associated with the organization.dorsErrorMessage
- The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.dorsOrganizationId
- The identifier of an organization.dorsResponseStatus
- -- | The response status code.
data DescribeOrganizationResponse Source #
See: describeOrganizationResponse
smart constructor.
Instances
Response Lenses
dorsDirectoryId :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The identifier for the directory associated with an Amazon WorkMail organization.
dorsCompletedDate :: Lens' DescribeOrganizationResponse (Maybe UTCTime) Source #
The date at which the organization became usable in the Amazon WorkMail context, in UNIX epoch time format.
dorsDirectoryType :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The type of directory associated with the Amazon WorkMail organization.
dorsDefaultMailDomain :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The default mail domain associated with the organization.
dorsErrorMessage :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The (optional) error message indicating if unexpected behavior was encountered with regards to the organization.
dorsOrganizationId :: Lens' DescribeOrganizationResponse (Maybe Text) Source #
The identifier of an organization.
dorsResponseStatus :: Lens' DescribeOrganizationResponse Int Source #
- - | The response status code.