Learn R Programming

paws.management (version 0.1.12)

resourcegroups_group_resources: Adds the specified resources to the specified group

Description

Adds the specified resources to the specified group.

Minimum permissions

To run this command, you must have the following permissions:

  • resource-groups:GroupResources

Usage

resourcegroups_group_resources(Group, ResourceArns)

Value

A list with the following syntax:

list(
  Succeeded = list(
    "string"
  ),
  Failed = list(
    list(
      ResourceArn = "string",
      ErrorMessage = "string",
      ErrorCode = "string"
    )
  ),
  Pending = list(
    list(
      ResourceArn = "string"
    )
  )
)

Arguments

Group

[required] The name or the ARN of the resource group to add resources to.

ResourceArns

[required] The list of ARNs for resources to be added to the group.

Request syntax

svc$group_resources(
  Group = "string",
  ResourceArns = list(
    "string"
  )
)