Skip to content

Delete Resource Share

ram_delete_resource_share R Documentation

Deletes the specified resource share

Description

Deletes the specified resource share.

This doesn't delete any of the resources that were associated with the resource share; it only stops the sharing of those resources through this resource share.

Usage

ram_delete_resource_share(resourceShareArn, clientToken)

Arguments

resourceShareArn

[required] Specifies the Amazon Resource Name (ARN) of the resource share to delete.

clientToken

Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..

If you don't provide this value, then Amazon Web Services generates a random one for you.

If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

Value

A list with the following syntax:

list(
  returnValue = TRUE|FALSE,
  clientToken = "string"
)

Request syntax

svc$delete_resource_share(
  resourceShareArn = "string",
  clientToken = "string"
)