AWS Resource Access Manager
API Reference (API Version 2018-01-04)

EnableSharingWithAwsOrganization

Enables resource sharing within your AWS Organization.

The caller must be the master account for the AWS Organization.

Request Syntax

POST /enablesharingwithawsorganization HTTP/1.1

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "returnValue": boolean }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

returnValue

Indicates whether the request succeeded.

Type: Boolean

Errors

For information about the errors that are common to all actions, see Common Errors.

OperationNotPermittedException

The requested operation is not permitted.

HTTP Status Code: 400

ServerInternalException

The service could not respond to the request due to an internal problem.

HTTP Status Code: 500

ServiceUnavailableException

The service is not available.

HTTP Status Code: 503

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: