Skip to content

Modifies some of the properties of the specified resource share

Description

Modifies some of the properties of the specified resource share.

Usage

ram_update_resource_share(resourceShareArn, name,
  allowExternalPrincipals, clientToken)

Arguments

  • resourceShareArn

    [required] Specifies the Amazon Resource Name (ARN) of the resource share that you want to modify.

  • name

    If specified, the new name that you want to attach to the resource share.

  • allowExternalPrincipals

    Specifies whether principals outside your organization in Organizations can be associated with a resource share.

  • 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(
  resourceShare = list(
    resourceShareArn = "string",
    name = "string",
    owningAccountId = "string",
    allowExternalPrincipals = TRUE|FALSE,
    status = "PENDING"|"ACTIVE"|"FAILED"|"DELETING"|"DELETED",
    statusMessage = "string",
    tags = list(
      list(
        key = "string",
        value = "string"
      )
    ),
    creationTime = as.POSIXct(
      "2015-01-01"
    ),
    lastUpdatedTime = as.POSIXct(
      "2015-01-01"
    ),
    featureSet = "CREATED_FROM_POLICY"|"PROMOTING_TO_STANDARD"|"STANDARD",
    resourceShareConfiguration = list(
      retainSharingOnAccountLeaveOrganization = TRUE|FALSE
    )
  ),
  clientToken = "string"
)

Request syntax

svc$update_resource_share(
  resourceShareArn = "string",
  name = "string",
  allowExternalPrincipals = TRUE|FALSE,
  clientToken = "string"
)