PromoteResourceShareCreatedFromPolicy - AWS Resource Access Manager


Resource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in AWS RAM.

Use this API action to promote the resource share. When you promote the resource share, it becomes:

  • Visible to all principals that it is shared with.

  • Modifiable in AWS RAM.

Request Syntax

POST /promoteresourcesharecreatedfrompolicy?resourceShareArn=resourceShareArn HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.


The ARN of the resource share to promote.

Required: Yes

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.


Indicates whether the request succeeded.

Type: Boolean


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


A parameter is not valid.

HTTP Status Code: 400


The format of an Amazon Resource Name (ARN) is not valid.

HTTP Status Code: 400


A required input parameter is missing.

HTTP Status Code: 400


The requested operation is not permitted.

HTTP Status Code: 400


The requested resource share exceeds the limit for your account.

HTTP Status Code: 400


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

HTTP Status Code: 500


The service is not available.

HTTP Status Code: 503


A specified resource was not found.

HTTP Status Code: 400

See Also

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