aws-sdk-rds 1.209.0 → 1.211.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +445 -13
- data/lib/aws-sdk-rds/client_api.rb +213 -0
- data/lib/aws-sdk-rds/db_cluster.rb +31 -18
- data/lib/aws-sdk-rds/endpoints.rb +56 -0
- data/lib/aws-sdk-rds/errors.rb +11 -0
- data/lib/aws-sdk-rds/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-rds/resource.rb +12 -6
- data/lib/aws-sdk-rds/types.rb +857 -18
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a453d67e9e89c4c7b2151ece9953e46b1deb6f496b034b0e7bdc99a55978320a
|
4
|
+
data.tar.gz: 205bc912a9dc51c8dee3b00d33f9a7ba889ef108fe9ca9af79c10d906bb3bfbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aa1532a8c7c36bcddc385ad7801b25b81f46a3ce14302d671b141a49620631df906dd1eb3d51526e6784ef34f7e7294f0d2d65734abbababc72379417692ee9
|
7
|
+
data.tar.gz: 002b894375f46d44d542c37f879ddc655e81c451c831c1b285fc3a6beefe93319a87f311ec10d571b9c1027d4b92ac45dd4a2fa14f0894a972c3658f4e88b64c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.211.0 (2023-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for using RDS Data API with Aurora PostgreSQL Serverless v2 and provisioned DB clusters.
|
8
|
+
|
9
|
+
1.210.0 (2023-12-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - RDS - The release adds two new APIs: DescribeDBRecommendations and ModifyDBRecommendation
|
13
|
+
|
4
14
|
1.209.0 (2023-12-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.211.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -2945,16 +2945,22 @@ module Aws::RDS
|
|
2945
2945
|
# Valid for Cluster Type: Aurora DB clusters only
|
2946
2946
|
#
|
2947
2947
|
# @option params [Boolean] :enable_http_endpoint
|
2948
|
-
# Specifies whether to enable the HTTP endpoint for
|
2949
|
-
#
|
2948
|
+
# Specifies whether to enable the HTTP endpoint for the DB cluster. By
|
2949
|
+
# default, the HTTP endpoint isn't enabled.
|
2950
2950
|
#
|
2951
2951
|
# When enabled, the HTTP endpoint provides a connectionless web service
|
2952
|
-
# API for running SQL queries on the
|
2953
|
-
#
|
2952
|
+
# API (RDS Data API) for running SQL queries on the DB cluster. You can
|
2953
|
+
# also query your database from inside the RDS console with the RDS
|
2954
2954
|
# query editor.
|
2955
2955
|
#
|
2956
|
-
#
|
2957
|
-
#
|
2956
|
+
# RDS Data API is supported with the following DB clusters:
|
2957
|
+
#
|
2958
|
+
# * Aurora PostgreSQL Serverless v2 and provisioned
|
2959
|
+
#
|
2960
|
+
# * Aurora PostgreSQL and Aurora MySQL Serverless v1
|
2961
|
+
#
|
2962
|
+
# For more information, see [Using RDS Data API][1] in the *Amazon
|
2963
|
+
# Aurora User Guide*.
|
2958
2964
|
#
|
2959
2965
|
# Valid for Cluster Type: Aurora DB clusters only
|
2960
2966
|
#
|
@@ -13411,6 +13417,216 @@ module Aws::RDS
|
|
13411
13417
|
req.send_request(options)
|
13412
13418
|
end
|
13413
13419
|
|
13420
|
+
# Describes the recommendations to resolve the issues for your DB
|
13421
|
+
# instances, DB clusters, and DB parameter groups.
|
13422
|
+
#
|
13423
|
+
# @option params [Time,DateTime,Date,Integer,String] :last_updated_after
|
13424
|
+
# A filter to include only the recommendations that were updated after
|
13425
|
+
# this specified time.
|
13426
|
+
#
|
13427
|
+
# @option params [Time,DateTime,Date,Integer,String] :last_updated_before
|
13428
|
+
# A filter to include only the recommendations that were updated before
|
13429
|
+
# this specified time.
|
13430
|
+
#
|
13431
|
+
# @option params [String] :locale
|
13432
|
+
# The language that you choose to return the list of recommendations.
|
13433
|
+
#
|
13434
|
+
# Valid values:
|
13435
|
+
#
|
13436
|
+
# * `en`
|
13437
|
+
#
|
13438
|
+
# * `en_UK`
|
13439
|
+
#
|
13440
|
+
# * `de`
|
13441
|
+
#
|
13442
|
+
# * `es`
|
13443
|
+
#
|
13444
|
+
# * `fr`
|
13445
|
+
#
|
13446
|
+
# * `id`
|
13447
|
+
#
|
13448
|
+
# * `it`
|
13449
|
+
#
|
13450
|
+
# * `ja`
|
13451
|
+
#
|
13452
|
+
# * `ko`
|
13453
|
+
#
|
13454
|
+
# * `pt_BR`
|
13455
|
+
#
|
13456
|
+
# * `zh_TW`
|
13457
|
+
#
|
13458
|
+
# * `zh_CN`
|
13459
|
+
#
|
13460
|
+
# @option params [Array<Types::Filter>] :filters
|
13461
|
+
# A filter that specifies one or more recommendations to describe.
|
13462
|
+
#
|
13463
|
+
# Supported Filters:
|
13464
|
+
#
|
13465
|
+
# * `recommendation-id` - Accepts a list of recommendation identifiers.
|
13466
|
+
# The results list only includes the recommendations whose identifier
|
13467
|
+
# is one of the specified filter values.
|
13468
|
+
#
|
13469
|
+
# * `status` - Accepts a list of recommendation statuses.
|
13470
|
+
#
|
13471
|
+
# Valid values:
|
13472
|
+
#
|
13473
|
+
# * `active` - The recommendations which are ready for you to apply.
|
13474
|
+
#
|
13475
|
+
# * `pending` - The applied or scheduled recommendations which are in
|
13476
|
+
# progress.
|
13477
|
+
#
|
13478
|
+
# * `resolved` - The recommendations which are completed.
|
13479
|
+
#
|
13480
|
+
# * `dismissed` - The recommendations that you dismissed.
|
13481
|
+
#
|
13482
|
+
# The results list only includes the recommendations whose status is
|
13483
|
+
# one of the specified filter values.
|
13484
|
+
#
|
13485
|
+
# * `severity` - Accepts a list of recommendation severities. The
|
13486
|
+
# results list only includes the recommendations whose severity is one
|
13487
|
+
# of the specified filter values.
|
13488
|
+
#
|
13489
|
+
# Valid values:
|
13490
|
+
#
|
13491
|
+
# * `high`
|
13492
|
+
#
|
13493
|
+
# * `medium`
|
13494
|
+
#
|
13495
|
+
# * `low`
|
13496
|
+
#
|
13497
|
+
# * `informational`
|
13498
|
+
#
|
13499
|
+
# * `type-id` - Accepts a list of recommendation type identifiers. The
|
13500
|
+
# results list only includes the recommendations whose type is one of
|
13501
|
+
# the specified filter values.
|
13502
|
+
#
|
13503
|
+
# * `dbi-resource-id` - Accepts a list of database resource identifiers.
|
13504
|
+
# The results list only includes the recommendations that generated
|
13505
|
+
# for the specified databases.
|
13506
|
+
#
|
13507
|
+
# * `cluster-resource-id` - Accepts a list of cluster resource
|
13508
|
+
# identifiers. The results list only includes the recommendations that
|
13509
|
+
# generated for the specified clusters.
|
13510
|
+
#
|
13511
|
+
# * `pg-arn` - Accepts a list of parameter group ARNs. The results list
|
13512
|
+
# only includes the recommendations that generated for the specified
|
13513
|
+
# parameter groups.
|
13514
|
+
#
|
13515
|
+
# * `cluster-pg-arn` - Accepts a list of cluster parameter group ARNs.
|
13516
|
+
# The results list only includes the recommendations that generated
|
13517
|
+
# for the specified cluster parameter groups.
|
13518
|
+
#
|
13519
|
+
# @option params [Integer] :max_records
|
13520
|
+
# The maximum number of recommendations to include in the response. If
|
13521
|
+
# more records exist than the specified `MaxRecords` value, a pagination
|
13522
|
+
# token called a marker is included in the response so that you can
|
13523
|
+
# retrieve the remaining results.
|
13524
|
+
#
|
13525
|
+
# @option params [String] :marker
|
13526
|
+
# An optional pagination token provided by a previous
|
13527
|
+
# `DescribeDBRecommendations` request. If this parameter is specified,
|
13528
|
+
# the response includes only records beyond the marker, up to the value
|
13529
|
+
# specified by `MaxRecords`.
|
13530
|
+
#
|
13531
|
+
# @return [Types::DBRecommendationsMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
13532
|
+
#
|
13533
|
+
# * {Types::DBRecommendationsMessage#db_recommendations #db_recommendations} => Array<Types::DBRecommendation>
|
13534
|
+
# * {Types::DBRecommendationsMessage#marker #marker} => String
|
13535
|
+
#
|
13536
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
13537
|
+
#
|
13538
|
+
# @example Request syntax with placeholder values
|
13539
|
+
#
|
13540
|
+
# resp = client.describe_db_recommendations({
|
13541
|
+
# last_updated_after: Time.now,
|
13542
|
+
# last_updated_before: Time.now,
|
13543
|
+
# locale: "String",
|
13544
|
+
# filters: [
|
13545
|
+
# {
|
13546
|
+
# name: "String", # required
|
13547
|
+
# values: ["String"], # required
|
13548
|
+
# },
|
13549
|
+
# ],
|
13550
|
+
# max_records: 1,
|
13551
|
+
# marker: "String",
|
13552
|
+
# })
|
13553
|
+
#
|
13554
|
+
# @example Response structure
|
13555
|
+
#
|
13556
|
+
# resp.db_recommendations #=> Array
|
13557
|
+
# resp.db_recommendations[0].recommendation_id #=> String
|
13558
|
+
# resp.db_recommendations[0].type_id #=> String
|
13559
|
+
# resp.db_recommendations[0].severity #=> String
|
13560
|
+
# resp.db_recommendations[0].resource_arn #=> String
|
13561
|
+
# resp.db_recommendations[0].status #=> String
|
13562
|
+
# resp.db_recommendations[0].created_time #=> Time
|
13563
|
+
# resp.db_recommendations[0].updated_time #=> Time
|
13564
|
+
# resp.db_recommendations[0].detection #=> String
|
13565
|
+
# resp.db_recommendations[0].recommendation #=> String
|
13566
|
+
# resp.db_recommendations[0].description #=> String
|
13567
|
+
# resp.db_recommendations[0].reason #=> String
|
13568
|
+
# resp.db_recommendations[0].recommended_actions #=> Array
|
13569
|
+
# resp.db_recommendations[0].recommended_actions[0].action_id #=> String
|
13570
|
+
# resp.db_recommendations[0].recommended_actions[0].title #=> String
|
13571
|
+
# resp.db_recommendations[0].recommended_actions[0].description #=> String
|
13572
|
+
# resp.db_recommendations[0].recommended_actions[0].operation #=> String
|
13573
|
+
# resp.db_recommendations[0].recommended_actions[0].parameters #=> Array
|
13574
|
+
# resp.db_recommendations[0].recommended_actions[0].parameters[0].key #=> String
|
13575
|
+
# resp.db_recommendations[0].recommended_actions[0].parameters[0].value #=> String
|
13576
|
+
# resp.db_recommendations[0].recommended_actions[0].apply_modes #=> Array
|
13577
|
+
# resp.db_recommendations[0].recommended_actions[0].apply_modes[0] #=> String
|
13578
|
+
# resp.db_recommendations[0].recommended_actions[0].status #=> String
|
13579
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.start_time #=> Time
|
13580
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.end_time #=> Time
|
13581
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics #=> Array
|
13582
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].name #=> String
|
13583
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].references #=> Array
|
13584
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].references[0].name #=> String
|
13585
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].references[0].reference_details.scalar_reference_details.value #=> Float
|
13586
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].statistics_details #=> String
|
13587
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions #=> Array
|
13588
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions[0] #=> String
|
13589
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.group #=> String
|
13590
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.limit #=> Integer
|
13591
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.metric #=> String
|
13592
|
+
# resp.db_recommendations[0].recommended_actions[0].issue_details.performance_issue_details.analysis #=> String
|
13593
|
+
# resp.db_recommendations[0].recommended_actions[0].context_attributes #=> Array
|
13594
|
+
# resp.db_recommendations[0].recommended_actions[0].context_attributes[0].key #=> String
|
13595
|
+
# resp.db_recommendations[0].recommended_actions[0].context_attributes[0].value #=> String
|
13596
|
+
# resp.db_recommendations[0].category #=> String
|
13597
|
+
# resp.db_recommendations[0].source #=> String
|
13598
|
+
# resp.db_recommendations[0].type_detection #=> String
|
13599
|
+
# resp.db_recommendations[0].type_recommendation #=> String
|
13600
|
+
# resp.db_recommendations[0].impact #=> String
|
13601
|
+
# resp.db_recommendations[0].additional_info #=> String
|
13602
|
+
# resp.db_recommendations[0].links #=> Array
|
13603
|
+
# resp.db_recommendations[0].links[0].text #=> String
|
13604
|
+
# resp.db_recommendations[0].links[0].url #=> String
|
13605
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.start_time #=> Time
|
13606
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.end_time #=> Time
|
13607
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics #=> Array
|
13608
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].name #=> String
|
13609
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].references #=> Array
|
13610
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].references[0].name #=> String
|
13611
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].references[0].reference_details.scalar_reference_details.value #=> Float
|
13612
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].statistics_details #=> String
|
13613
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions #=> Array
|
13614
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions[0] #=> String
|
13615
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.group #=> String
|
13616
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.limit #=> Integer
|
13617
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.metric #=> String
|
13618
|
+
# resp.db_recommendations[0].issue_details.performance_issue_details.analysis #=> String
|
13619
|
+
# resp.marker #=> String
|
13620
|
+
#
|
13621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBRecommendations AWS API Documentation
|
13622
|
+
#
|
13623
|
+
# @overload describe_db_recommendations(params = {})
|
13624
|
+
# @param [Hash] params ({})
|
13625
|
+
def describe_db_recommendations(params = {}, options = {})
|
13626
|
+
req = build_request(:describe_db_recommendations, params)
|
13627
|
+
req.send_request(options)
|
13628
|
+
end
|
13629
|
+
|
13414
13630
|
# Returns a list of `DBSecurityGroup` descriptions. If a
|
13415
13631
|
# `DBSecurityGroupName` is specified, the list will contain only the
|
13416
13632
|
# descriptions of the specified DB security group.
|
@@ -16548,6 +16764,51 @@ module Aws::RDS
|
|
16548
16764
|
req.send_request(options)
|
16549
16765
|
end
|
16550
16766
|
|
16767
|
+
# Disables the HTTP endpoint for the specified DB cluster. Disabling
|
16768
|
+
# this endpoint disables RDS Data API.
|
16769
|
+
#
|
16770
|
+
# For more information, see [Using RDS Data API][1] in the *Amazon
|
16771
|
+
# Aurora User Guide*.
|
16772
|
+
#
|
16773
|
+
# <note markdown="1"> This operation applies only to Aurora PostgreSQL Serverless v2 and
|
16774
|
+
# provisioned DB clusters. To disable the HTTP endpoint for Aurora
|
16775
|
+
# Serverless v1 DB clusters, use the `EnableHttpEndpoint` parameter of
|
16776
|
+
# the `ModifyDBCluster` operation.
|
16777
|
+
#
|
16778
|
+
# </note>
|
16779
|
+
#
|
16780
|
+
#
|
16781
|
+
#
|
16782
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
|
16783
|
+
#
|
16784
|
+
# @option params [required, String] :resource_arn
|
16785
|
+
# The Amazon Resource Name (ARN) of the DB cluster.
|
16786
|
+
#
|
16787
|
+
# @return [Types::DisableHttpEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
16788
|
+
#
|
16789
|
+
# * {Types::DisableHttpEndpointResponse#resource_arn #resource_arn} => String
|
16790
|
+
# * {Types::DisableHttpEndpointResponse#http_endpoint_enabled #http_endpoint_enabled} => Boolean
|
16791
|
+
#
|
16792
|
+
# @example Request syntax with placeholder values
|
16793
|
+
#
|
16794
|
+
# resp = client.disable_http_endpoint({
|
16795
|
+
# resource_arn: "String", # required
|
16796
|
+
# })
|
16797
|
+
#
|
16798
|
+
# @example Response structure
|
16799
|
+
#
|
16800
|
+
# resp.resource_arn #=> String
|
16801
|
+
# resp.http_endpoint_enabled #=> Boolean
|
16802
|
+
#
|
16803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DisableHttpEndpoint AWS API Documentation
|
16804
|
+
#
|
16805
|
+
# @overload disable_http_endpoint(params = {})
|
16806
|
+
# @param [Hash] params ({})
|
16807
|
+
def disable_http_endpoint(params = {}, options = {})
|
16808
|
+
req = build_request(:disable_http_endpoint, params)
|
16809
|
+
req.send_request(options)
|
16810
|
+
end
|
16811
|
+
|
16551
16812
|
# Downloads all or a portion of the specified log file, up to 1 MB in
|
16552
16813
|
# size.
|
16553
16814
|
#
|
@@ -16643,6 +16904,56 @@ module Aws::RDS
|
|
16643
16904
|
req.send_request(options)
|
16644
16905
|
end
|
16645
16906
|
|
16907
|
+
# Enables the HTTP endpoint for the DB cluster. By default, the HTTP
|
16908
|
+
# endpoint isn't enabled.
|
16909
|
+
#
|
16910
|
+
# When enabled, this endpoint provides a connectionless web service API
|
16911
|
+
# (RDS Data API) for running SQL queries on the Aurora DB cluster. You
|
16912
|
+
# can also query your database from inside the RDS console with the RDS
|
16913
|
+
# query editor.
|
16914
|
+
#
|
16915
|
+
# For more information, see [Using RDS Data API][1] in the *Amazon
|
16916
|
+
# Aurora User Guide*.
|
16917
|
+
#
|
16918
|
+
# <note markdown="1"> This operation applies only to Aurora PostgreSQL Serverless v2 and
|
16919
|
+
# provisioned DB clusters. To enable the HTTP endpoint for Aurora
|
16920
|
+
# Serverless v1 DB clusters, use the `EnableHttpEndpoint` parameter of
|
16921
|
+
# the `ModifyDBCluster` operation.
|
16922
|
+
#
|
16923
|
+
# </note>
|
16924
|
+
#
|
16925
|
+
#
|
16926
|
+
#
|
16927
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
|
16928
|
+
#
|
16929
|
+
# @option params [required, String] :resource_arn
|
16930
|
+
# The Amazon Resource Name (ARN) of the DB cluster.
|
16931
|
+
#
|
16932
|
+
# @return [Types::EnableHttpEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
16933
|
+
#
|
16934
|
+
# * {Types::EnableHttpEndpointResponse#resource_arn #resource_arn} => String
|
16935
|
+
# * {Types::EnableHttpEndpointResponse#http_endpoint_enabled #http_endpoint_enabled} => Boolean
|
16936
|
+
#
|
16937
|
+
# @example Request syntax with placeholder values
|
16938
|
+
#
|
16939
|
+
# resp = client.enable_http_endpoint({
|
16940
|
+
# resource_arn: "String", # required
|
16941
|
+
# })
|
16942
|
+
#
|
16943
|
+
# @example Response structure
|
16944
|
+
#
|
16945
|
+
# resp.resource_arn #=> String
|
16946
|
+
# resp.http_endpoint_enabled #=> Boolean
|
16947
|
+
#
|
16948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EnableHttpEndpoint AWS API Documentation
|
16949
|
+
#
|
16950
|
+
# @overload enable_http_endpoint(params = {})
|
16951
|
+
# @param [Hash] params ({})
|
16952
|
+
def enable_http_endpoint(params = {}, options = {})
|
16953
|
+
req = build_request(:enable_http_endpoint, params)
|
16954
|
+
req.send_request(options)
|
16955
|
+
end
|
16956
|
+
|
16646
16957
|
# Forces a failover for a DB cluster.
|
16647
16958
|
#
|
16648
16959
|
# For an Aurora DB cluster, failover for a DB cluster promotes one of
|
@@ -17863,15 +18174,22 @@ module Aws::RDS
|
|
17863
18174
|
#
|
17864
18175
|
# @option params [Boolean] :enable_http_endpoint
|
17865
18176
|
# Specifies whether to enable the HTTP endpoint for an Aurora Serverless
|
17866
|
-
# v1 DB cluster. By default, the HTTP endpoint
|
18177
|
+
# v1 DB cluster. By default, the HTTP endpoint isn't enabled.
|
17867
18178
|
#
|
17868
18179
|
# When enabled, the HTTP endpoint provides a connectionless web service
|
17869
|
-
# API for running SQL queries on the Aurora Serverless v1
|
17870
|
-
# You can also query your database from inside the RDS
|
17871
|
-
# query editor.
|
18180
|
+
# API (RDS Data API) for running SQL queries on the Aurora Serverless v1
|
18181
|
+
# DB cluster. You can also query your database from inside the RDS
|
18182
|
+
# console with the RDS query editor.
|
18183
|
+
#
|
18184
|
+
# For more information, see [Using RDS Data API][1] in the *Amazon
|
18185
|
+
# Aurora User Guide*.
|
18186
|
+
#
|
18187
|
+
# <note markdown="1"> This parameter applies only to Aurora Serverless v1 DB clusters. To
|
18188
|
+
# enable or disable the HTTP endpoint for an Aurora PostgreSQL
|
18189
|
+
# Serverless v2 or provisioned DB cluster, use the `EnableHttpEndpoint`
|
18190
|
+
# and `DisableHttpEndpoint` operations.
|
17872
18191
|
#
|
17873
|
-
#
|
17874
|
-
# v1][1] in the *Amazon Aurora User Guide*.
|
18192
|
+
# </note>
|
17875
18193
|
#
|
17876
18194
|
# Valid for Cluster Type: Aurora DB clusters only
|
17877
18195
|
#
|
@@ -20556,6 +20874,120 @@ module Aws::RDS
|
|
20556
20874
|
req.send_request(options)
|
20557
20875
|
end
|
20558
20876
|
|
20877
|
+
# Updates the recommendation status and recommended action status for
|
20878
|
+
# the specified recommendation.
|
20879
|
+
#
|
20880
|
+
# @option params [required, String] :recommendation_id
|
20881
|
+
# The identifier of the recommendation to update.
|
20882
|
+
#
|
20883
|
+
# @option params [String] :locale
|
20884
|
+
# The language of the modified recommendation.
|
20885
|
+
#
|
20886
|
+
# @option params [String] :status
|
20887
|
+
# The recommendation status to update.
|
20888
|
+
#
|
20889
|
+
# Valid values:
|
20890
|
+
#
|
20891
|
+
# * active
|
20892
|
+
#
|
20893
|
+
# * dismissed
|
20894
|
+
#
|
20895
|
+
# @option params [Array<Types::RecommendedActionUpdate>] :recommended_action_updates
|
20896
|
+
# The list of recommended action status to update. You can update
|
20897
|
+
# multiple recommended actions at one time.
|
20898
|
+
#
|
20899
|
+
# @return [Types::DBRecommendationMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
20900
|
+
#
|
20901
|
+
# * {Types::DBRecommendationMessage#db_recommendation #db_recommendation} => Types::DBRecommendation
|
20902
|
+
#
|
20903
|
+
# @example Request syntax with placeholder values
|
20904
|
+
#
|
20905
|
+
# resp = client.modify_db_recommendation({
|
20906
|
+
# recommendation_id: "String", # required
|
20907
|
+
# locale: "String",
|
20908
|
+
# status: "String",
|
20909
|
+
# recommended_action_updates: [
|
20910
|
+
# {
|
20911
|
+
# action_id: "String", # required
|
20912
|
+
# status: "String", # required
|
20913
|
+
# },
|
20914
|
+
# ],
|
20915
|
+
# })
|
20916
|
+
#
|
20917
|
+
# @example Response structure
|
20918
|
+
#
|
20919
|
+
# resp.db_recommendation.recommendation_id #=> String
|
20920
|
+
# resp.db_recommendation.type_id #=> String
|
20921
|
+
# resp.db_recommendation.severity #=> String
|
20922
|
+
# resp.db_recommendation.resource_arn #=> String
|
20923
|
+
# resp.db_recommendation.status #=> String
|
20924
|
+
# resp.db_recommendation.created_time #=> Time
|
20925
|
+
# resp.db_recommendation.updated_time #=> Time
|
20926
|
+
# resp.db_recommendation.detection #=> String
|
20927
|
+
# resp.db_recommendation.recommendation #=> String
|
20928
|
+
# resp.db_recommendation.description #=> String
|
20929
|
+
# resp.db_recommendation.reason #=> String
|
20930
|
+
# resp.db_recommendation.recommended_actions #=> Array
|
20931
|
+
# resp.db_recommendation.recommended_actions[0].action_id #=> String
|
20932
|
+
# resp.db_recommendation.recommended_actions[0].title #=> String
|
20933
|
+
# resp.db_recommendation.recommended_actions[0].description #=> String
|
20934
|
+
# resp.db_recommendation.recommended_actions[0].operation #=> String
|
20935
|
+
# resp.db_recommendation.recommended_actions[0].parameters #=> Array
|
20936
|
+
# resp.db_recommendation.recommended_actions[0].parameters[0].key #=> String
|
20937
|
+
# resp.db_recommendation.recommended_actions[0].parameters[0].value #=> String
|
20938
|
+
# resp.db_recommendation.recommended_actions[0].apply_modes #=> Array
|
20939
|
+
# resp.db_recommendation.recommended_actions[0].apply_modes[0] #=> String
|
20940
|
+
# resp.db_recommendation.recommended_actions[0].status #=> String
|
20941
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.start_time #=> Time
|
20942
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.end_time #=> Time
|
20943
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics #=> Array
|
20944
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].name #=> String
|
20945
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].references #=> Array
|
20946
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].references[0].name #=> String
|
20947
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].references[0].reference_details.scalar_reference_details.value #=> Float
|
20948
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].statistics_details #=> String
|
20949
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions #=> Array
|
20950
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions[0] #=> String
|
20951
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.group #=> String
|
20952
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.limit #=> Integer
|
20953
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.metric #=> String
|
20954
|
+
# resp.db_recommendation.recommended_actions[0].issue_details.performance_issue_details.analysis #=> String
|
20955
|
+
# resp.db_recommendation.recommended_actions[0].context_attributes #=> Array
|
20956
|
+
# resp.db_recommendation.recommended_actions[0].context_attributes[0].key #=> String
|
20957
|
+
# resp.db_recommendation.recommended_actions[0].context_attributes[0].value #=> String
|
20958
|
+
# resp.db_recommendation.category #=> String
|
20959
|
+
# resp.db_recommendation.source #=> String
|
20960
|
+
# resp.db_recommendation.type_detection #=> String
|
20961
|
+
# resp.db_recommendation.type_recommendation #=> String
|
20962
|
+
# resp.db_recommendation.impact #=> String
|
20963
|
+
# resp.db_recommendation.additional_info #=> String
|
20964
|
+
# resp.db_recommendation.links #=> Array
|
20965
|
+
# resp.db_recommendation.links[0].text #=> String
|
20966
|
+
# resp.db_recommendation.links[0].url #=> String
|
20967
|
+
# resp.db_recommendation.issue_details.performance_issue_details.start_time #=> Time
|
20968
|
+
# resp.db_recommendation.issue_details.performance_issue_details.end_time #=> Time
|
20969
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics #=> Array
|
20970
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].name #=> String
|
20971
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].references #=> Array
|
20972
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].references[0].name #=> String
|
20973
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].references[0].reference_details.scalar_reference_details.value #=> Float
|
20974
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].statistics_details #=> String
|
20975
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions #=> Array
|
20976
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.dimensions[0] #=> String
|
20977
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.group #=> String
|
20978
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.group_by.limit #=> Integer
|
20979
|
+
# resp.db_recommendation.issue_details.performance_issue_details.metrics[0].metric_query.performance_insights_metric_query.metric #=> String
|
20980
|
+
# resp.db_recommendation.issue_details.performance_issue_details.analysis #=> String
|
20981
|
+
#
|
20982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBRecommendation AWS API Documentation
|
20983
|
+
#
|
20984
|
+
# @overload modify_db_recommendation(params = {})
|
20985
|
+
# @param [Hash] params ({})
|
20986
|
+
def modify_db_recommendation(params = {}, options = {})
|
20987
|
+
req = build_request(:modify_db_recommendation, params)
|
20988
|
+
req.send_request(options)
|
20989
|
+
end
|
20990
|
+
|
20559
20991
|
# Updates a manual DB snapshot with a new engine version. The snapshot
|
20560
20992
|
# can be encrypted or unencrypted, but not shared or public.
|
20561
20993
|
#
|
@@ -29538,7 +29970,7 @@ module Aws::RDS
|
|
29538
29970
|
params: params,
|
29539
29971
|
config: config)
|
29540
29972
|
context[:gem_name] = 'aws-sdk-rds'
|
29541
|
-
context[:gem_version] = '1.
|
29973
|
+
context[:gem_version] = '1.211.0'
|
29542
29974
|
Seahorse::Client::Request.new(handlers, context)
|
29543
29975
|
end
|
29544
29976
|
|