Skip to content

List Recommendations

devopsguru_list_recommendations R Documentation

Returns a list of a specified insight's recommendations

Description

Returns a list of a specified insight's recommendations. Each recommendation includes a list of related metrics and a list of related events.

Usage

devopsguru_list_recommendations(InsightId, NextToken, Locale, AccountId)

Arguments

InsightId

[required] The ID of the requested insight.

NextToken

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Locale

A locale that specifies the language to use for recommendations.

AccountId

The ID of the Amazon Web Services account.

Value

A list with the following syntax:

list(
  Recommendations = list(
    list(
      Description = "string",
      Link = "string",
      Name = "string",
      Reason = "string",
      RelatedEvents = list(
        list(
          Name = "string",
          Resources = list(
            list(
              Name = "string",
              Type = "string"
            )
          )
        )
      ),
      RelatedAnomalies = list(
        list(
          Resources = list(
            list(
              Name = "string",
              Type = "string"
            )
          ),
          SourceDetails = list(
            list(
              CloudWatchMetrics = list(
                list(
                  MetricName = "string",
                  Namespace = "string"
                )
              )
            )
          ),
          AnomalyId = "string"
        )
      ),
      Category = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_recommendations(
  InsightId = "string",
  NextToken = "string",
  Locale = "DE_DE"|"EN_US"|"EN_GB"|"ES_ES"|"FR_FR"|"IT_IT"|"JA_JP"|"KO_KR"|"PT_BR"|"ZH_CN"|"ZH_TW",
  AccountId = "string"
)