Skip to content

Modify Db Recommendation

rds_modify_db_recommendation R Documentation

Description

Updates the recommendation status and recommended action status for the specified recommendation.

Usage

rds_modify_db_recommendation(RecommendationId, Locale, Status,
  RecommendedActionUpdates)

Arguments

RecommendationId

[required] The identifier of the recommendation to update.

Locale

The language of the modified recommendation.

Status

The recommendation status to update.

Valid values:

  • active

  • dismissed

RecommendedActionUpdates

The list of recommended action status to update. You can update multiple recommended actions at one time.

Value

A list with the following syntax:

list(
  DBRecommendation = list(
    RecommendationId = "string",
    TypeId = "string",
    Severity = "string",
    ResourceArn = "string",
    Status = "string",
    CreatedTime = as.POSIXct(
      "2015-01-01"
    ),
    UpdatedTime = as.POSIXct(
      "2015-01-01"
    ),
    Detection = "string",
    Recommendation = "string",
    Description = "string",
    Reason = "string",
    RecommendedActions = list(
      list(
        ActionId = "string",
        Title = "string",
        Description = "string",
        Operation = "string",
        Parameters = list(
          list(
            Key = "string",
            Value = "string"
          )
        ),
        ApplyModes = list(
          "string"
        ),
        Status = "string",
        IssueDetails = list(
          PerformanceIssueDetails = list(
            StartTime = as.POSIXct(
              "2015-01-01"
            ),
            EndTime = as.POSIXct(
              "2015-01-01"
            ),
            Metrics = list(
              list(
                Name = "string",
                References = list(
                  list(
                    Name = "string",
                    ReferenceDetails = list(
                      ScalarReferenceDetails = list(
                        Value = 123.0
                      )
                    )
                  )
                ),
                StatisticsDetails = "string",
                MetricQuery = list(
                  PerformanceInsightsMetricQuery = list(
                    GroupBy = list(
                      Dimensions = list(
                        "string"
                      ),
                      Group = "string",
                      Limit = 123
                    ),
                    Metric = "string"
                  )
                )
              )
            ),
            Analysis = "string"
          )
        ),
        ContextAttributes = list(
          list(
            Key = "string",
            Value = "string"
          )
        )
      )
    ),
    Category = "string",
    Source = "string",
    TypeDetection = "string",
    TypeRecommendation = "string",
    Impact = "string",
    AdditionalInfo = "string",
    Links = list(
      list(
        Text = "string",
        Url = "string"
      )
    ),
    IssueDetails = list(
      PerformanceIssueDetails = list(
        StartTime = as.POSIXct(
          "2015-01-01"
        ),
        EndTime = as.POSIXct(
          "2015-01-01"
        ),
        Metrics = list(
          list(
            Name = "string",
            References = list(
              list(
                Name = "string",
                ReferenceDetails = list(
                  ScalarReferenceDetails = list(
                    Value = 123.0
                  )
                )
              )
            ),
            StatisticsDetails = "string",
            MetricQuery = list(
              PerformanceInsightsMetricQuery = list(
                GroupBy = list(
                  Dimensions = list(
                    "string"
                  ),
                  Group = "string",
                  Limit = 123
                ),
                Metric = "string"
              )
            )
          )
        ),
        Analysis = "string"
      )
    )
  )
)

Request syntax

svc$modify_db_recommendation(
  RecommendationId = "string",
  Locale = "string",
  Status = "string",
  RecommendedActionUpdates = list(
    list(
      ActionId = "string",
      Status = "string"
    )
  )
)