Skip to content

List Resource Grouping Recommendations

resiliencehub_list_resource_grouping_recommendations R Documentation

Lists the resource grouping recommendations suggested by Resilience Hub for your application

Description

Lists the resource grouping recommendations suggested by Resilience Hub for your application.

Usage

resiliencehub_list_resource_grouping_recommendations(appArn, maxResults,
  nextToken)

Arguments

appArn

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

maxResults

Maximum number of grouping recommendations to be displayed per Resilience Hub application.

nextToken

Null, or the token from a previous call to get the next set of results.

Value

A list with the following syntax:

list(
  groupingRecommendations = list(
    list(
      confidenceLevel = "High"|"Medium",
      creationTime = as.POSIXct(
        "2015-01-01"
      ),
      groupingAppComponent = list(
        appComponentId = "string",
        appComponentName = "string",
        appComponentType = "string"
      ),
      groupingRecommendationId = "string",
      recommendationReasons = list(
        "string"
      ),
      rejectionReason = "DistinctBusinessPurpose"|"SeparateDataConcern"|"DistinctUserGroupHandling"|"Other",
      resources = list(
        list(
          logicalResourceId = list(
            eksSourceName = "string",
            identifier = "string",
            logicalStackName = "string",
            resourceGroupName = "string",
            terraformSourceName = "string"
          ),
          physicalResourceId = list(
            awsAccountId = "string",
            awsRegion = "string",
            identifier = "string",
            type = "Arn"|"Native"
          ),
          resourceName = "string",
          resourceType = "string",
          sourceAppComponentIds = list(
            "string"
          )
        )
      ),
      score = 123.0,
      status = "Accepted"|"Rejected"|"PendingDecision"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_resource_grouping_recommendations(
  appArn = "string",
  maxResults = 123,
  nextToken = "string"
)