Learn R Programming

paws.security.identity (version 0.1.12)

ram_associate_resource_share: Associates the specified resource share with the specified principals and resources

Description

Associates the specified resource share with the specified principals and resources.

Usage

ram_associate_resource_share(resourceShareArn, resourceArns, principals,
  clientToken)

Value

A list with the following syntax:

list(
  resourceShareAssociations = list(
    list(
      resourceShareArn = "string",
      resourceShareName = "string",
      associatedEntity = "string",
      associationType = "PRINCIPAL"|"RESOURCE",
      status = "ASSOCIATING"|"ASSOCIATED"|"FAILED"|"DISASSOCIATING"|"DISASSOCIATED",
      statusMessage = "string",
      creationTime = as.POSIXct(
        "2015-01-01"
      ),
      lastUpdatedTime = as.POSIXct(
        "2015-01-01"
      ),
      external = TRUE|FALSE
    )
  ),
  clientToken = "string"
)

Arguments

resourceShareArn

[required] The Amazon Resource Name (ARN) of the resource share.

resourceArns

The Amazon Resource Names (ARN) of the resources.

principals

The principals.

clientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Request syntax

svc$associate_resource_share(
  resourceShareArn = "string",
  resourceArns = list(
    "string"
  ),
  principals = list(
    "string"
  ),
  clientToken = "string"
)