@aws-sdk/client-rds 3.476.0 → 3.477.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/RDS.js +4 -0
  3. package/dist-cjs/commands/DescribeDBRecommendationsCommand.js +51 -0
  4. package/dist-cjs/commands/ModifyDBRecommendationCommand.js +51 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/pagination/DescribeDBRecommendationsPaginator.js +29 -0
  7. package/dist-cjs/pagination/index.js +1 -0
  8. package/dist-cjs/protocols/Aws_query.js +6427 -5124
  9. package/dist-es/RDS.js +4 -0
  10. package/dist-es/commands/DescribeDBRecommendationsCommand.js +47 -0
  11. package/dist-es/commands/ModifyDBRecommendationCommand.js +47 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/pagination/DescribeDBRecommendationsPaginator.js +25 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_query.js +6417 -5118
  16. package/dist-types/RDS.d.ts +14 -0
  17. package/dist-types/RDSClient.d.ts +4 -2
  18. package/dist-types/commands/DescribeDBRecommendationsCommand.d.ts +204 -0
  19. package/dist-types/commands/ModifyDBRecommendationCommand.d.ts +197 -0
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_0.d.ts +5 -0
  22. package/dist-types/models/models_1.d.ts +798 -0
  23. package/dist-types/pagination/DescribeDBRecommendationsPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +1 -0
  25. package/dist-types/protocols/Aws_query.d.ts +18 -0
  26. package/dist-types/ts3.4/RDS.d.ts +34 -0
  27. package/dist-types/ts3.4/RDSClient.d.ts +12 -0
  28. package/dist-types/ts3.4/commands/DescribeDBRecommendationsCommand.d.ts +42 -0
  29. package/dist-types/ts3.4/commands/ModifyDBRecommendationCommand.d.ts +42 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  31. package/dist-types/ts3.4/models/models_1.d.ts +107 -0
  32. package/dist-types/ts3.4/pagination/DescribeDBRecommendationsPaginator.d.ts +11 -0
  33. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  34. package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
  35. package/package.json +4 -4
@@ -1904,6 +1904,732 @@ export interface DescribeDBProxyTargetsResponse {
1904
1904
  */
1905
1905
  Marker?: string;
1906
1906
  }
1907
+ /**
1908
+ * @public
1909
+ * <p>A logical grouping of Performance Insights metrics for a related subject area. For example, the <code>db.sql</code> dimension group consists of the following dimensions: </p>
1910
+ * <ul>
1911
+ * <li>
1912
+ * <p>
1913
+ * <code>db.sql.id</code> - The hash of a running SQL statement, generated by Performance Insights.</p>
1914
+ * </li>
1915
+ * <li>
1916
+ * <p>
1917
+ * <code>db.sql.db_id</code> - Either the SQL ID generated by the database engine, or a value generated by Performance Insights that begins with <code>pi-</code>.</p>
1918
+ * </li>
1919
+ * <li>
1920
+ * <p>
1921
+ * <code>db.sql.statement</code> - The full text of the SQL statement that is running, for example, <code>SELECT * FROM employees</code>.</p>
1922
+ * </li>
1923
+ * <li>
1924
+ * <p>
1925
+ * <code>db.sql_tokenized.id</code> - The hash of the SQL digest generated by Performance Insights.</p>
1926
+ * </li>
1927
+ * </ul>
1928
+ * <note>
1929
+ * <p>Each response element returns a maximum of 500 bytes. For larger elements, such as SQL statements, only the first 500 bytes are returned.</p>
1930
+ * </note>
1931
+ */
1932
+ export interface PerformanceInsightsMetricDimensionGroup {
1933
+ /**
1934
+ * @public
1935
+ * <p>A list of specific dimensions from a dimension group. If this list isn't included, then all of the dimensions in the group were requested, or are present in the response.</p>
1936
+ */
1937
+ Dimensions?: string[];
1938
+ /**
1939
+ * @public
1940
+ * <p>The available dimension groups for Performance Insights metric type.</p>
1941
+ */
1942
+ Group?: string;
1943
+ /**
1944
+ * @public
1945
+ * <p>The maximum number of items to fetch for this dimension group.</p>
1946
+ */
1947
+ Limit?: number;
1948
+ }
1949
+ /**
1950
+ * @public
1951
+ * <p>A single Performance Insights metric query to process. You must provide the metric to the query.
1952
+ * If other parameters aren't specified, Performance Insights returns all data points for the
1953
+ * specified metric. Optionally, you can request the data points to be aggregated by dimension
1954
+ * group (<code>GroupBy</code>) and return only those data points that match your criteria (<code>Filter</code>).</p>
1955
+ * <p>Constraints:</p>
1956
+ * <ul>
1957
+ * <li>
1958
+ * <p>Must be a valid Performance Insights query.</p>
1959
+ * </li>
1960
+ * </ul>
1961
+ */
1962
+ export interface PerformanceInsightsMetricQuery {
1963
+ /**
1964
+ * @public
1965
+ * <p>A specification for how to aggregate the data points from a query result. You must
1966
+ * specify a valid dimension group. Performance Insights will return all of the dimensions within that group,
1967
+ * unless you provide the names of specific dimensions within that group. You can also request
1968
+ * that Performance Insights return a limited number of values for a dimension.</p>
1969
+ */
1970
+ GroupBy?: PerformanceInsightsMetricDimensionGroup;
1971
+ /**
1972
+ * @public
1973
+ * <p>The name of a Performance Insights metric to be measured.</p>
1974
+ * <p>Valid Values:</p>
1975
+ * <ul>
1976
+ * <li>
1977
+ * <p>
1978
+ * <code>db.load.avg</code> - A scaled representation of the number of active sessions for the
1979
+ * database engine.</p>
1980
+ * </li>
1981
+ * <li>
1982
+ * <p>
1983
+ * <code>db.sampledload.avg</code> - The raw number of active sessions for the database engine.</p>
1984
+ * </li>
1985
+ * <li>
1986
+ * <p>The counter metrics listed in <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights_Counters.html#USER_PerfInsights_Counters.OS">Performance Insights
1987
+ * operating system counters</a> in the <i>Amazon Aurora User Guide</i>.</p>
1988
+ * </li>
1989
+ * </ul>
1990
+ * <p>If the number of active sessions is less than an internal Performance Insights threshold, <code>db.load.avg</code>
1991
+ * and <code>db.sampledload.avg</code> are the same value. If the number of active sessions is greater than the
1992
+ * internal threshold, Performance Insights samples the active sessions, with <code>db.load.avg</code> showing the
1993
+ * scaled values, <code>db.sampledload.avg</code> showing the raw values, and <code>db.sampledload.avg</code> less than
1994
+ * <code>db.load.avg</code>. For most use cases, you can query <code>db.load.avg</code> only.</p>
1995
+ */
1996
+ Metric?: string;
1997
+ }
1998
+ /**
1999
+ * @public
2000
+ * <p>The query to retrieve metric data points.</p>
2001
+ */
2002
+ export interface MetricQuery {
2003
+ /**
2004
+ * @public
2005
+ * <p>The Performance Insights query that you can use to retrieve Performance Insights metric data points.</p>
2006
+ */
2007
+ PerformanceInsightsMetricQuery?: PerformanceInsightsMetricQuery;
2008
+ }
2009
+ /**
2010
+ * @public
2011
+ * <p>The metric reference details when the reference is a scalar.</p>
2012
+ */
2013
+ export interface ScalarReferenceDetails {
2014
+ /**
2015
+ * @public
2016
+ * <p>The value of a scalar reference.</p>
2017
+ */
2018
+ Value?: number;
2019
+ }
2020
+ /**
2021
+ * @public
2022
+ * <p>The reference details of a metric.</p>
2023
+ */
2024
+ export interface ReferenceDetails {
2025
+ /**
2026
+ * @public
2027
+ * <p>The metric reference details when the reference is a scalar.</p>
2028
+ */
2029
+ ScalarReferenceDetails?: ScalarReferenceDetails;
2030
+ }
2031
+ /**
2032
+ * @public
2033
+ * <p>The reference (threshold) for a metric.</p>
2034
+ */
2035
+ export interface MetricReference {
2036
+ /**
2037
+ * @public
2038
+ * <p>The name of the metric reference.</p>
2039
+ */
2040
+ Name?: string;
2041
+ /**
2042
+ * @public
2043
+ * <p>The details of a performance issue.</p>
2044
+ */
2045
+ ReferenceDetails?: ReferenceDetails;
2046
+ }
2047
+ /**
2048
+ * @public
2049
+ * <p>The representation of a metric.</p>
2050
+ */
2051
+ export interface Metric {
2052
+ /**
2053
+ * @public
2054
+ * <p>The name of a metric.</p>
2055
+ */
2056
+ Name?: string;
2057
+ /**
2058
+ * @public
2059
+ * <p>A list of metric references (thresholds).</p>
2060
+ */
2061
+ References?: MetricReference[];
2062
+ /**
2063
+ * @public
2064
+ * <p>The details of different statistics for a metric. The description might contain markdown.</p>
2065
+ */
2066
+ StatisticsDetails?: string;
2067
+ /**
2068
+ * @public
2069
+ * <p>The query to retrieve metric data points.</p>
2070
+ */
2071
+ MetricQuery?: MetricQuery;
2072
+ }
2073
+ /**
2074
+ * @public
2075
+ * <p>Details of the performance issue.</p>
2076
+ */
2077
+ export interface PerformanceIssueDetails {
2078
+ /**
2079
+ * @public
2080
+ * <p>The time when the performance issue started.</p>
2081
+ */
2082
+ StartTime?: Date;
2083
+ /**
2084
+ * @public
2085
+ * <p>The time when the performance issue stopped.</p>
2086
+ */
2087
+ EndTime?: Date;
2088
+ /**
2089
+ * @public
2090
+ * <p>The metrics that are relevant to the performance issue.</p>
2091
+ */
2092
+ Metrics?: Metric[];
2093
+ /**
2094
+ * @public
2095
+ * <p>The analysis of the performance issue. The information might contain markdown.</p>
2096
+ */
2097
+ Analysis?: string;
2098
+ }
2099
+ /**
2100
+ * @public
2101
+ * <p>The details of an issue with your DB instances, DB clusters, and DB parameter groups.</p>
2102
+ */
2103
+ export interface IssueDetails {
2104
+ /**
2105
+ * @public
2106
+ * <p>A detailed description of the issue when the recommendation category is <code>performance</code>.</p>
2107
+ */
2108
+ PerformanceIssueDetails?: PerformanceIssueDetails;
2109
+ }
2110
+ /**
2111
+ * @public
2112
+ * <p>A link to documentation that provides additional information for a recommendation.</p>
2113
+ */
2114
+ export interface DocLink {
2115
+ /**
2116
+ * @public
2117
+ * <p>The text with the link to documentation for the recommendation.</p>
2118
+ */
2119
+ Text?: string;
2120
+ /**
2121
+ * @public
2122
+ * <p>The URL for the documentation for the recommendation.</p>
2123
+ */
2124
+ Url?: string;
2125
+ }
2126
+ /**
2127
+ * @public
2128
+ * <p>The additional attributes of <code>RecommendedAction</code> data type.</p>
2129
+ */
2130
+ export interface ContextAttribute {
2131
+ /**
2132
+ * @public
2133
+ * <p>The key of <code>ContextAttribute</code>.</p>
2134
+ */
2135
+ Key?: string;
2136
+ /**
2137
+ * @public
2138
+ * <p>The value of <code>ContextAttribute</code>.</p>
2139
+ */
2140
+ Value?: string;
2141
+ }
2142
+ /**
2143
+ * @public
2144
+ * <p>A single parameter to use with the <code>RecommendedAction</code> API operation to apply the action.</p>
2145
+ */
2146
+ export interface RecommendedActionParameter {
2147
+ /**
2148
+ * @public
2149
+ * <p>The key of the parameter to use with the <code>RecommendedAction</code> API operation.</p>
2150
+ */
2151
+ Key?: string;
2152
+ /**
2153
+ * @public
2154
+ * <p>The value of the parameter to use with the <code>RecommendedAction</code> API operation.</p>
2155
+ */
2156
+ Value?: string;
2157
+ }
2158
+ /**
2159
+ * @public
2160
+ * <p>The recommended actions to apply to resolve the issues associated with your DB instances, DB clusters, and DB parameter groups.</p>
2161
+ */
2162
+ export interface RecommendedAction {
2163
+ /**
2164
+ * @public
2165
+ * <p>The unique identifier of the recommended action.</p>
2166
+ */
2167
+ ActionId?: string;
2168
+ /**
2169
+ * @public
2170
+ * <p>A short description to summarize the action. The description might contain markdown.</p>
2171
+ */
2172
+ Title?: string;
2173
+ /**
2174
+ * @public
2175
+ * <p>A detailed description of the action. The description might contain markdown.</p>
2176
+ */
2177
+ Description?: string;
2178
+ /**
2179
+ * @public
2180
+ * <p>An API operation for the action.</p>
2181
+ */
2182
+ Operation?: string;
2183
+ /**
2184
+ * @public
2185
+ * <p>The parameters for the API operation.</p>
2186
+ */
2187
+ Parameters?: RecommendedActionParameter[];
2188
+ /**
2189
+ * @public
2190
+ * <p>The methods to apply the recommended action.</p>
2191
+ * <p>Valid values:</p>
2192
+ * <ul>
2193
+ * <li>
2194
+ * <p>
2195
+ * <code>manual</code> - The action requires you to resolve the recommendation manually.</p>
2196
+ * </li>
2197
+ * <li>
2198
+ * <p>
2199
+ * <code>immediately</code> - The action is applied immediately.</p>
2200
+ * </li>
2201
+ * <li>
2202
+ * <p>
2203
+ * <code>next-maintainance-window</code> - The action is applied during the next scheduled maintainance.</p>
2204
+ * </li>
2205
+ * </ul>
2206
+ */
2207
+ ApplyModes?: string[];
2208
+ /**
2209
+ * @public
2210
+ * <p>The status of the action.</p>
2211
+ * <ul>
2212
+ * <li>
2213
+ * <p>
2214
+ * <code>ready</code>
2215
+ * </p>
2216
+ * </li>
2217
+ * <li>
2218
+ * <p>
2219
+ * <code>applied</code>
2220
+ * </p>
2221
+ * </li>
2222
+ * <li>
2223
+ * <p>
2224
+ * <code>scheduled</code>
2225
+ * </p>
2226
+ * </li>
2227
+ * <li>
2228
+ * <p>
2229
+ * <code>resolved</code>
2230
+ * </p>
2231
+ * </li>
2232
+ * </ul>
2233
+ */
2234
+ Status?: string;
2235
+ /**
2236
+ * @public
2237
+ * <p>The details of the issue.</p>
2238
+ */
2239
+ IssueDetails?: IssueDetails;
2240
+ /**
2241
+ * @public
2242
+ * <p>The supporting attributes to explain the recommended action.</p>
2243
+ */
2244
+ ContextAttributes?: ContextAttribute[];
2245
+ }
2246
+ /**
2247
+ * @public
2248
+ * <p>The recommendation for your DB instances, DB clusters, and DB parameter groups.</p>
2249
+ */
2250
+ export interface DBRecommendation {
2251
+ /**
2252
+ * @public
2253
+ * <p>The unique identifier of the recommendation.</p>
2254
+ */
2255
+ RecommendationId?: string;
2256
+ /**
2257
+ * @public
2258
+ * <p>A value that indicates the type of recommendation. This value determines how the description is rendered.</p>
2259
+ */
2260
+ TypeId?: string;
2261
+ /**
2262
+ * @public
2263
+ * <p>The severity level of the recommendation. The severity level can help you decide the
2264
+ * urgency with which to address the recommendation.</p>
2265
+ * <p>Valid values:</p>
2266
+ * <ul>
2267
+ * <li>
2268
+ * <p>
2269
+ * <code>high</code>
2270
+ * </p>
2271
+ * </li>
2272
+ * <li>
2273
+ * <p>
2274
+ * <code>medium</code>
2275
+ * </p>
2276
+ * </li>
2277
+ * <li>
2278
+ * <p>
2279
+ * <code>low</code>
2280
+ * </p>
2281
+ * </li>
2282
+ * <li>
2283
+ * <p>
2284
+ * <code>informational</code>
2285
+ * </p>
2286
+ * </li>
2287
+ * </ul>
2288
+ */
2289
+ Severity?: string;
2290
+ /**
2291
+ * @public
2292
+ * <p>The Amazon Resource Name (ARN) of the RDS resource associated with the recommendation.</p>
2293
+ */
2294
+ ResourceArn?: string;
2295
+ /**
2296
+ * @public
2297
+ * <p>The current status of the recommendation.</p>
2298
+ * <p>Valid values:</p>
2299
+ * <ul>
2300
+ * <li>
2301
+ * <p>
2302
+ * <code>active</code> - The recommendations which are ready for you to apply.</p>
2303
+ * </li>
2304
+ * <li>
2305
+ * <p>
2306
+ * <code>pending</code> - The applied or scheduled recommendations which are in progress.</p>
2307
+ * </li>
2308
+ * <li>
2309
+ * <p>
2310
+ * <code>resolved</code> - The recommendations which are completed.</p>
2311
+ * </li>
2312
+ * <li>
2313
+ * <p>
2314
+ * <code>dismissed</code> - The recommendations that you dismissed.</p>
2315
+ * </li>
2316
+ * </ul>
2317
+ */
2318
+ Status?: string;
2319
+ /**
2320
+ * @public
2321
+ * <p>The time when the recommendation was created. For example, <code>2023-09-28T01:13:53.931000+00:00</code>.</p>
2322
+ */
2323
+ CreatedTime?: Date;
2324
+ /**
2325
+ * @public
2326
+ * <p>The time when the recommendation was last updated.</p>
2327
+ */
2328
+ UpdatedTime?: Date;
2329
+ /**
2330
+ * @public
2331
+ * <p>A short description of the issue identified for this recommendation. The description might contain markdown.</p>
2332
+ */
2333
+ Detection?: string;
2334
+ /**
2335
+ * @public
2336
+ * <p>A short description of the recommendation to resolve an issue. The description might contain markdown.</p>
2337
+ */
2338
+ Recommendation?: string;
2339
+ /**
2340
+ * @public
2341
+ * <p>A detailed description of the recommendation. The description might contain markdown.</p>
2342
+ */
2343
+ Description?: string;
2344
+ /**
2345
+ * @public
2346
+ * <p>The reason why this recommendation was created. The information might contain markdown.</p>
2347
+ */
2348
+ Reason?: string;
2349
+ /**
2350
+ * @public
2351
+ * <p>A list of recommended actions.</p>
2352
+ */
2353
+ RecommendedActions?: RecommendedAction[];
2354
+ /**
2355
+ * @public
2356
+ * <p>The category of the recommendation.</p>
2357
+ * <p>Valid values:</p>
2358
+ * <ul>
2359
+ * <li>
2360
+ * <p>
2361
+ * <code>performance efficiency</code>
2362
+ * </p>
2363
+ * </li>
2364
+ * <li>
2365
+ * <p>
2366
+ * <code>security</code>
2367
+ * </p>
2368
+ * </li>
2369
+ * <li>
2370
+ * <p>
2371
+ * <code>reliability</code>
2372
+ * </p>
2373
+ * </li>
2374
+ * <li>
2375
+ * <p>
2376
+ * <code>cost optimization</code>
2377
+ * </p>
2378
+ * </li>
2379
+ * <li>
2380
+ * <p>
2381
+ * <code>operational excellence</code>
2382
+ * </p>
2383
+ * </li>
2384
+ * <li>
2385
+ * <p>
2386
+ * <code>sustainability</code>
2387
+ * </p>
2388
+ * </li>
2389
+ * </ul>
2390
+ */
2391
+ Category?: string;
2392
+ /**
2393
+ * @public
2394
+ * <p>The Amazon Web Services service that generated the recommendations.</p>
2395
+ */
2396
+ Source?: string;
2397
+ /**
2398
+ * @public
2399
+ * <p>A short description of the recommendation type. The description might contain markdown.</p>
2400
+ */
2401
+ TypeDetection?: string;
2402
+ /**
2403
+ * @public
2404
+ * <p>A short description that summarizes the recommendation to fix all the issues of the recommendation type. The description might contain markdown.</p>
2405
+ */
2406
+ TypeRecommendation?: string;
2407
+ /**
2408
+ * @public
2409
+ * <p>A short description that explains the possible impact of an issue.</p>
2410
+ */
2411
+ Impact?: string;
2412
+ /**
2413
+ * @public
2414
+ * <p>Additional information about the recommendation. The information might contain markdown.</p>
2415
+ */
2416
+ AdditionalInfo?: string;
2417
+ /**
2418
+ * @public
2419
+ * <p>A link to documentation that provides additional information about the recommendation.</p>
2420
+ */
2421
+ Links?: DocLink[];
2422
+ /**
2423
+ * @public
2424
+ * <p>Details of the issue that caused the recommendation.</p>
2425
+ */
2426
+ IssueDetails?: IssueDetails;
2427
+ }
2428
+ /**
2429
+ * @public
2430
+ */
2431
+ export interface DBRecommendationsMessage {
2432
+ /**
2433
+ * @public
2434
+ * <p>A list of recommendations which is returned from <code>DescribeDBRecommendations</code> API request.</p>
2435
+ */
2436
+ DBRecommendations?: DBRecommendation[];
2437
+ /**
2438
+ * @public
2439
+ * <p>An optional pagination token provided by a previous <code>DBRecommendationsMessage</code> request. This token can be used
2440
+ * later in a <code>DescribeDBRecomendations</code> request.
2441
+ * </p>
2442
+ */
2443
+ Marker?: string;
2444
+ }
2445
+ /**
2446
+ * @public
2447
+ */
2448
+ export interface DescribeDBRecommendationsMessage {
2449
+ /**
2450
+ * @public
2451
+ * <p>A filter to include only the recommendations that were updated after this specified time.</p>
2452
+ */
2453
+ LastUpdatedAfter?: Date;
2454
+ /**
2455
+ * @public
2456
+ * <p>A filter to include only the recommendations that were updated before this specified time.</p>
2457
+ */
2458
+ LastUpdatedBefore?: Date;
2459
+ /**
2460
+ * @public
2461
+ * <p>The language that you choose to return the list of recommendations.</p>
2462
+ * <p>Valid values:</p>
2463
+ * <ul>
2464
+ * <li>
2465
+ * <p>
2466
+ * <code>en</code>
2467
+ * </p>
2468
+ * </li>
2469
+ * <li>
2470
+ * <p>
2471
+ * <code>en_UK</code>
2472
+ * </p>
2473
+ * </li>
2474
+ * <li>
2475
+ * <p>
2476
+ * <code>de</code>
2477
+ * </p>
2478
+ * </li>
2479
+ * <li>
2480
+ * <p>
2481
+ * <code>es</code>
2482
+ * </p>
2483
+ * </li>
2484
+ * <li>
2485
+ * <p>
2486
+ * <code>fr</code>
2487
+ * </p>
2488
+ * </li>
2489
+ * <li>
2490
+ * <p>
2491
+ * <code>id</code>
2492
+ * </p>
2493
+ * </li>
2494
+ * <li>
2495
+ * <p>
2496
+ * <code>it</code>
2497
+ * </p>
2498
+ * </li>
2499
+ * <li>
2500
+ * <p>
2501
+ * <code>ja</code>
2502
+ * </p>
2503
+ * </li>
2504
+ * <li>
2505
+ * <p>
2506
+ * <code>ko</code>
2507
+ * </p>
2508
+ * </li>
2509
+ * <li>
2510
+ * <p>
2511
+ * <code>pt_BR</code>
2512
+ * </p>
2513
+ * </li>
2514
+ * <li>
2515
+ * <p>
2516
+ * <code>zh_TW</code>
2517
+ * </p>
2518
+ * </li>
2519
+ * <li>
2520
+ * <p>
2521
+ * <code>zh_CN</code>
2522
+ * </p>
2523
+ * </li>
2524
+ * </ul>
2525
+ */
2526
+ Locale?: string;
2527
+ /**
2528
+ * @public
2529
+ * <p>A filter that specifies one or more recommendations to describe.</p>
2530
+ * <p>Supported Filters:</p>
2531
+ * <ul>
2532
+ * <li>
2533
+ * <p>
2534
+ * <code>recommendation-id</code> - Accepts a list of recommendation identifiers. The results list
2535
+ * only includes the recommendations whose identifier is one of the specified filter values.</p>
2536
+ * </li>
2537
+ * <li>
2538
+ * <p>
2539
+ * <code>status</code> - Accepts a list of recommendation statuses.</p>
2540
+ * <p>Valid values:</p>
2541
+ * <ul>
2542
+ * <li>
2543
+ * <p>
2544
+ * <code>active</code> - The recommendations which are ready for you to apply.</p>
2545
+ * </li>
2546
+ * <li>
2547
+ * <p>
2548
+ * <code>pending</code> - The applied or scheduled recommendations which are in progress.</p>
2549
+ * </li>
2550
+ * <li>
2551
+ * <p>
2552
+ * <code>resolved</code> - The recommendations which are completed.</p>
2553
+ * </li>
2554
+ * <li>
2555
+ * <p>
2556
+ * <code>dismissed</code> - The recommendations that you dismissed.</p>
2557
+ * </li>
2558
+ * </ul>
2559
+ * <p>The results list only includes the recommendations whose status is one of the specified filter values.</p>
2560
+ * </li>
2561
+ * <li>
2562
+ * <p>
2563
+ * <code>severity</code> - Accepts a list of recommendation severities. The results list only includes
2564
+ * the recommendations whose severity is one of the specified filter values.</p>
2565
+ * <p>Valid values:</p>
2566
+ * <ul>
2567
+ * <li>
2568
+ * <p>
2569
+ * <code>high</code>
2570
+ * </p>
2571
+ * </li>
2572
+ * <li>
2573
+ * <p>
2574
+ * <code>medium</code>
2575
+ * </p>
2576
+ * </li>
2577
+ * <li>
2578
+ * <p>
2579
+ * <code>low</code>
2580
+ * </p>
2581
+ * </li>
2582
+ * <li>
2583
+ * <p>
2584
+ * <code>informational</code>
2585
+ * </p>
2586
+ * </li>
2587
+ * </ul>
2588
+ * </li>
2589
+ * <li>
2590
+ * <p>
2591
+ * <code>type-id</code> - Accepts a list of recommendation type identifiers. The results list only
2592
+ * includes the recommendations whose type is one of the specified filter values.</p>
2593
+ * </li>
2594
+ * <li>
2595
+ * <p>
2596
+ * <code>dbi-resource-id</code> - Accepts a list of database resource identifiers. The results list only
2597
+ * includes the recommendations that generated for the specified databases.</p>
2598
+ * </li>
2599
+ * <li>
2600
+ * <p>
2601
+ * <code>cluster-resource-id</code> - Accepts a list of cluster resource identifiers. The results list only
2602
+ * includes the recommendations that generated for the specified clusters.</p>
2603
+ * </li>
2604
+ * <li>
2605
+ * <p>
2606
+ * <code>pg-arn</code> - Accepts a list of parameter group ARNs. The results list only
2607
+ * includes the recommendations that generated for the specified parameter groups.</p>
2608
+ * </li>
2609
+ * <li>
2610
+ * <p>
2611
+ * <code>cluster-pg-arn</code> - Accepts a list of cluster parameter group ARNs. The results list only
2612
+ * includes the recommendations that generated for the specified cluster parameter groups.</p>
2613
+ * </li>
2614
+ * </ul>
2615
+ */
2616
+ Filters?: Filter[];
2617
+ /**
2618
+ * @public
2619
+ * <p>The maximum number of recommendations to include in the response. If more records exist than the
2620
+ * specified <code>MaxRecords</code> value, a pagination token called a marker is included in the response so
2621
+ * that you can retrieve the remaining results.</p>
2622
+ */
2623
+ MaxRecords?: number;
2624
+ /**
2625
+ * @public
2626
+ * <p>An optional pagination token provided by a previous <code>DescribeDBRecommendations</code> request.
2627
+ * If this parameter is specified, the response includes only records beyond the marker, up to the
2628
+ * value specified by <code>MaxRecords</code>.
2629
+ * </p>
2630
+ */
2631
+ Marker?: string;
2632
+ }
1907
2633
  /**
1908
2634
  * @public
1909
2635
  * <p>Contains the result of a successful invocation of the <code>DescribeDBSecurityGroups</code> action.</p>
@@ -7455,6 +8181,78 @@ export interface ModifyDBProxyTargetGroupResponse {
7455
8181
  */
7456
8182
  DBProxyTargetGroup?: DBProxyTargetGroup;
7457
8183
  }
8184
+ /**
8185
+ * @public
8186
+ */
8187
+ export interface DBRecommendationMessage {
8188
+ /**
8189
+ * @public
8190
+ * <p>The recommendation for your DB instances, DB clusters, and DB parameter groups.</p>
8191
+ */
8192
+ DBRecommendation?: DBRecommendation;
8193
+ }
8194
+ /**
8195
+ * @public
8196
+ * <p>The recommended status to update for the specified recommendation action ID.</p>
8197
+ */
8198
+ export interface RecommendedActionUpdate {
8199
+ /**
8200
+ * @public
8201
+ * <p>A unique identifier of the updated recommendation action.</p>
8202
+ */
8203
+ ActionId: string | undefined;
8204
+ /**
8205
+ * @public
8206
+ * <p>The status of the updated recommendation action.</p>
8207
+ * <ul>
8208
+ * <li>
8209
+ * <p>
8210
+ * <code>applied</code>
8211
+ * </p>
8212
+ * </li>
8213
+ * <li>
8214
+ * <p>
8215
+ * <code>scheduled</code>
8216
+ * </p>
8217
+ * </li>
8218
+ * </ul>
8219
+ */
8220
+ Status: string | undefined;
8221
+ }
8222
+ /**
8223
+ * @public
8224
+ */
8225
+ export interface ModifyDBRecommendationMessage {
8226
+ /**
8227
+ * @public
8228
+ * <p>The identifier of the recommendation to update.</p>
8229
+ */
8230
+ RecommendationId: string | undefined;
8231
+ /**
8232
+ * @public
8233
+ * <p>The language of the modified recommendation.</p>
8234
+ */
8235
+ Locale?: string;
8236
+ /**
8237
+ * @public
8238
+ * <p>The recommendation status to update.</p>
8239
+ * <p>Valid values:</p>
8240
+ * <ul>
8241
+ * <li>
8242
+ * <p>active</p>
8243
+ * </li>
8244
+ * <li>
8245
+ * <p>dismissed</p>
8246
+ * </li>
8247
+ * </ul>
8248
+ */
8249
+ Status?: string;
8250
+ /**
8251
+ * @public
8252
+ * <p>The list of recommended action status to update. You can update multiple recommended actions at one time.</p>
8253
+ */
8254
+ RecommendedActionUpdates?: RecommendedActionUpdate[];
8255
+ }
7458
8256
  /**
7459
8257
  * @public
7460
8258
  */