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 |
Get the Access Status for AWS Organization portfolio share feature. This API can only be called by the management account in the organization or by a delegated admin.
Synopsis
- data GetAWSOrganizationsAccessStatus = GetAWSOrganizationsAccessStatus' {
- newGetAWSOrganizationsAccessStatus :: GetAWSOrganizationsAccessStatus
- data GetAWSOrganizationsAccessStatusResponse = GetAWSOrganizationsAccessStatusResponse' {}
- newGetAWSOrganizationsAccessStatusResponse :: Int -> GetAWSOrganizationsAccessStatusResponse
- getAWSOrganizationsAccessStatusResponse_accessStatus :: Lens' GetAWSOrganizationsAccessStatusResponse (Maybe AccessStatus)
- getAWSOrganizationsAccessStatusResponse_httpStatus :: Lens' GetAWSOrganizationsAccessStatusResponse Int
Creating a Request
data GetAWSOrganizationsAccessStatus Source #
See: newGetAWSOrganizationsAccessStatus
smart constructor.
Instances
newGetAWSOrganizationsAccessStatus :: GetAWSOrganizationsAccessStatus Source #
Create a value of GetAWSOrganizationsAccessStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAWSOrganizationsAccessStatusResponse Source #
See: newGetAWSOrganizationsAccessStatusResponse
smart constructor.
GetAWSOrganizationsAccessStatusResponse' | |
|
Instances
newGetAWSOrganizationsAccessStatusResponse Source #
Create a value of GetAWSOrganizationsAccessStatusResponse
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:accessStatus:GetAWSOrganizationsAccessStatusResponse'
, getAWSOrganizationsAccessStatusResponse_accessStatus
- The status of the portfolio share feature.
$sel:httpStatus:GetAWSOrganizationsAccessStatusResponse'
, getAWSOrganizationsAccessStatusResponse_httpStatus
- The response's http status code.
Response Lenses
getAWSOrganizationsAccessStatusResponse_accessStatus :: Lens' GetAWSOrganizationsAccessStatusResponse (Maybe AccessStatus) Source #
The status of the portfolio share feature.
getAWSOrganizationsAccessStatusResponse_httpStatus :: Lens' GetAWSOrganizationsAccessStatusResponse Int Source #
The response's http status code.