| 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 |
Amazonka.RAM.EnableSharingWithAwsOrganization
Description
Enables resource sharing within your organization in Organizations.
The caller must be the master account for the organization.
Synopsis
- data EnableSharingWithAwsOrganization = EnableSharingWithAwsOrganization' {
- newEnableSharingWithAwsOrganization :: EnableSharingWithAwsOrganization
- data EnableSharingWithAwsOrganizationResponse = EnableSharingWithAwsOrganizationResponse' {
- returnValue :: Maybe Bool
- httpStatus :: Int
- newEnableSharingWithAwsOrganizationResponse :: Int -> EnableSharingWithAwsOrganizationResponse
- enableSharingWithAwsOrganizationResponse_returnValue :: Lens' EnableSharingWithAwsOrganizationResponse (Maybe Bool)
- enableSharingWithAwsOrganizationResponse_httpStatus :: Lens' EnableSharingWithAwsOrganizationResponse Int
Creating a Request
data EnableSharingWithAwsOrganization Source #
See: newEnableSharingWithAwsOrganization smart constructor.
Constructors
| EnableSharingWithAwsOrganization' | |
Instances
newEnableSharingWithAwsOrganization :: EnableSharingWithAwsOrganization Source #
Create a value of EnableSharingWithAwsOrganization with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data EnableSharingWithAwsOrganizationResponse Source #
See: newEnableSharingWithAwsOrganizationResponse smart constructor.
Constructors
| EnableSharingWithAwsOrganizationResponse' | |
Fields
| |
Instances
newEnableSharingWithAwsOrganizationResponse Source #
Arguments
| :: Int | |
| -> EnableSharingWithAwsOrganizationResponse |
Create a value of EnableSharingWithAwsOrganizationResponse 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:returnValue:EnableSharingWithAwsOrganizationResponse', enableSharingWithAwsOrganizationResponse_returnValue - Indicates whether the request succeeded.
$sel:httpStatus:EnableSharingWithAwsOrganizationResponse', enableSharingWithAwsOrganizationResponse_httpStatus - The response's http status code.
Response Lenses
enableSharingWithAwsOrganizationResponse_returnValue :: Lens' EnableSharingWithAwsOrganizationResponse (Maybe Bool) Source #
Indicates whether the request succeeded.
enableSharingWithAwsOrganizationResponse_httpStatus :: Lens' EnableSharingWithAwsOrganizationResponse Int Source #
The response's http status code.