| Copyright | (c) 2013-2017 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 |
Network.AWS.Organizations.DescribeOrganization
Description
Retrieves information about the organization that the user's account belongs to.
This operation can be called from any account in the organization.
- describeOrganization :: DescribeOrganization
- data DescribeOrganization
- describeOrganizationResponse :: Int -> DescribeOrganizationResponse
- data DescribeOrganizationResponse
- dorsOrganization :: Lens' DescribeOrganizationResponse (Maybe Organization)
- dorsResponseStatus :: Lens' DescribeOrganizationResponse Int
Creating a Request
describeOrganization :: DescribeOrganization Source #
Creates a value of DescribeOrganization with the minimum fields required to make a request.
data DescribeOrganization Source #
See: describeOrganization smart constructor.
Instances
Destructuring the Response
describeOrganizationResponse Source #
Arguments
| :: Int | |
| -> DescribeOrganizationResponse |
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:
dorsOrganization- A structure that contains information about the organization.dorsResponseStatus- -- | The response status code.
data DescribeOrganizationResponse Source #
See: describeOrganizationResponse smart constructor.
Response Lenses
dorsOrganization :: Lens' DescribeOrganizationResponse (Maybe Organization) Source #
A structure that contains information about the organization.
dorsResponseStatus :: Lens' DescribeOrganizationResponse Int Source #
- - | The response status code.