aws-sdk-rds 1.210.0 → 1.211.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daf73a35cad14c64364a646778789b38ee3020d13e6c188fb599c1a7858ffcd5
4
- data.tar.gz: 89ce3a574aaad276ad063343cb588ab939c58f19ee75922f8c6ca7a553316592
3
+ metadata.gz: a453d67e9e89c4c7b2151ece9953e46b1deb6f496b034b0e7bdc99a55978320a
4
+ data.tar.gz: 205bc912a9dc51c8dee3b00d33f9a7ba889ef108fe9ca9af79c10d906bb3bfbd
5
5
  SHA512:
6
- metadata.gz: 5c4db6e8fd272af1fb47cc03a4eae126ebe7a8194e27d6b6aebef955191d71bc9fa72b832fe721e09ee44fe5c32309a5ee72294edcd696f2ddd449b10c35e211
7
- data.tar.gz: e7252ae22a8ad734d1930831a1c7851b8d209f180eea5617bfe0e4635bf9577a3472fc672f4684bae82d10a4a2424a132c43381d417a054d0cfb36dc272b6956
6
+ metadata.gz: 1aa1532a8c7c36bcddc385ad7801b25b81f46a3ce14302d671b141a49620631df906dd1eb3d51526e6784ef34f7e7294f0d2d65734abbababc72379417692ee9
7
+ data.tar.gz: 002b894375f46d44d542c37f879ddc655e81c451c831c1b285fc3a6beefe93319a87f311ec10d571b9c1027d4b92ac45dd4a2fa14f0894a972c3658f4e88b64c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.210.0 (2023-12-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.210.0
1
+ 1.211.0
@@ -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 an Aurora Serverless
2949
- # v1 DB cluster. By default, the HTTP endpoint is disabled.
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 Aurora Serverless v1 DB cluster.
2953
- # You can also query your database from inside the RDS console with the
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
- # For more information, see [Using the Data API for Aurora Serverless
2957
- # v1][1] in the *Amazon Aurora User Guide*.
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
  #
@@ -16758,6 +16764,51 @@ module Aws::RDS
16758
16764
  req.send_request(options)
16759
16765
  end
16760
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
+
16761
16812
  # Downloads all or a portion of the specified log file, up to 1 MB in
16762
16813
  # size.
16763
16814
  #
@@ -16853,6 +16904,56 @@ module Aws::RDS
16853
16904
  req.send_request(options)
16854
16905
  end
16855
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
+
16856
16957
  # Forces a failover for a DB cluster.
16857
16958
  #
16858
16959
  # For an Aurora DB cluster, failover for a DB cluster promotes one of
@@ -18073,15 +18174,22 @@ module Aws::RDS
18073
18174
  #
18074
18175
  # @option params [Boolean] :enable_http_endpoint
18075
18176
  # Specifies whether to enable the HTTP endpoint for an Aurora Serverless
18076
- # v1 DB cluster. By default, the HTTP endpoint is disabled.
18177
+ # v1 DB cluster. By default, the HTTP endpoint isn't enabled.
18077
18178
  #
18078
18179
  # When enabled, the HTTP endpoint provides a connectionless web service
18079
- # API for running SQL queries on the Aurora Serverless v1 DB cluster.
18080
- # You can also query your database from inside the RDS console with the
18081
- # 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.
18082
18183
  #
18083
- # For more information, see [Using the Data API for Aurora Serverless
18084
- # v1][1] in the *Amazon Aurora User Guide*.
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.
18191
+ #
18192
+ # </note>
18085
18193
  #
18086
18194
  # Valid for Cluster Type: Aurora DB clusters only
18087
18195
  #
@@ -29862,7 +29970,7 @@ module Aws::RDS
29862
29970
  params: params,
29863
29971
  config: config)
29864
29972
  context[:gem_name] = 'aws-sdk-rds'
29865
- context[:gem_version] = '1.210.0'
29973
+ context[:gem_version] = '1.211.0'
29866
29974
  Seahorse::Client::Request.new(handlers, context)
29867
29975
  end
29868
29976
 
@@ -362,6 +362,8 @@ module Aws::RDS
362
362
  DescribeValidDBInstanceModificationsMessage = Shapes::StructureShape.new(name: 'DescribeValidDBInstanceModificationsMessage')
363
363
  DescribeValidDBInstanceModificationsResult = Shapes::StructureShape.new(name: 'DescribeValidDBInstanceModificationsResult')
364
364
  Description = Shapes::StringShape.new(name: 'Description')
365
+ DisableHttpEndpointRequest = Shapes::StructureShape.new(name: 'DisableHttpEndpointRequest')
366
+ DisableHttpEndpointResponse = Shapes::StructureShape.new(name: 'DisableHttpEndpointResponse')
365
367
  DocLink = Shapes::StructureShape.new(name: 'DocLink')
366
368
  DocLinkList = Shapes::ListShape.new(name: 'DocLinkList')
367
369
  DomainMembership = Shapes::StructureShape.new(name: 'DomainMembership')
@@ -376,6 +378,8 @@ module Aws::RDS
376
378
  EC2SecurityGroup = Shapes::StructureShape.new(name: 'EC2SecurityGroup')
377
379
  EC2SecurityGroupList = Shapes::ListShape.new(name: 'EC2SecurityGroupList')
378
380
  Ec2ImagePropertiesNotSupportedFault = Shapes::StructureShape.new(name: 'Ec2ImagePropertiesNotSupportedFault')
381
+ EnableHttpEndpointRequest = Shapes::StructureShape.new(name: 'EnableHttpEndpointRequest')
382
+ EnableHttpEndpointResponse = Shapes::StructureShape.new(name: 'EnableHttpEndpointResponse')
379
383
  EncryptionContextMap = Shapes::MapShape.new(name: 'EncryptionContextMap')
380
384
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
381
385
  EngineDefaults = Shapes::StructureShape.new(name: 'EngineDefaults')
@@ -466,6 +470,7 @@ module Aws::RDS
466
470
  InvalidGlobalClusterStateFault = Shapes::StructureShape.new(name: 'InvalidGlobalClusterStateFault')
467
471
  InvalidIntegrationStateFault = Shapes::StructureShape.new(name: 'InvalidIntegrationStateFault')
468
472
  InvalidOptionGroupStateFault = Shapes::StructureShape.new(name: 'InvalidOptionGroupStateFault')
473
+ InvalidResourceStateFault = Shapes::StructureShape.new(name: 'InvalidResourceStateFault')
469
474
  InvalidRestoreFault = Shapes::StructureShape.new(name: 'InvalidRestoreFault')
470
475
  InvalidS3BucketFault = Shapes::StructureShape.new(name: 'InvalidS3BucketFault')
471
476
  InvalidSubnet = Shapes::StructureShape.new(name: 'InvalidSubnet')
@@ -2553,6 +2558,13 @@ module Aws::RDS
2553
2558
  DescribeValidDBInstanceModificationsResult.add_member(:valid_db_instance_modifications_message, Shapes::ShapeRef.new(shape: ValidDBInstanceModificationsMessage, location_name: "ValidDBInstanceModificationsMessage"))
2554
2559
  DescribeValidDBInstanceModificationsResult.struct_class = Types::DescribeValidDBInstanceModificationsResult
2555
2560
 
2561
+ DisableHttpEndpointRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
2562
+ DisableHttpEndpointRequest.struct_class = Types::DisableHttpEndpointRequest
2563
+
2564
+ DisableHttpEndpointResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
2565
+ DisableHttpEndpointResponse.add_member(:http_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "HttpEndpointEnabled"))
2566
+ DisableHttpEndpointResponse.struct_class = Types::DisableHttpEndpointResponse
2567
+
2556
2568
  DocLink.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "Text"))
2557
2569
  DocLink.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "Url"))
2558
2570
  DocLink.struct_class = Types::DocLink
@@ -2599,6 +2611,13 @@ module Aws::RDS
2599
2611
 
2600
2612
  Ec2ImagePropertiesNotSupportedFault.struct_class = Types::Ec2ImagePropertiesNotSupportedFault
2601
2613
 
2614
+ EnableHttpEndpointRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
2615
+ EnableHttpEndpointRequest.struct_class = Types::EnableHttpEndpointRequest
2616
+
2617
+ EnableHttpEndpointResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
2618
+ EnableHttpEndpointResponse.add_member(:http_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "HttpEndpointEnabled"))
2619
+ EnableHttpEndpointResponse.struct_class = Types::EnableHttpEndpointResponse
2620
+
2602
2621
  EncryptionContextMap.key = Shapes::ShapeRef.new(shape: String)
2603
2622
  EncryptionContextMap.value = Shapes::ShapeRef.new(shape: String)
2604
2623
 
@@ -2849,6 +2868,8 @@ module Aws::RDS
2849
2868
 
2850
2869
  InvalidOptionGroupStateFault.struct_class = Types::InvalidOptionGroupStateFault
2851
2870
 
2871
+ InvalidResourceStateFault.struct_class = Types::InvalidResourceStateFault
2872
+
2852
2873
  InvalidRestoreFault.struct_class = Types::InvalidRestoreFault
2853
2874
 
2854
2875
  InvalidS3BucketFault.struct_class = Types::InvalidS3BucketFault
@@ -5488,6 +5509,16 @@ module Aws::RDS
5488
5509
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
5489
5510
  end)
5490
5511
 
5512
+ api.add_operation(:disable_http_endpoint, Seahorse::Model::Operation.new.tap do |o|
5513
+ o.name = "DisableHttpEndpoint"
5514
+ o.http_method = "POST"
5515
+ o.http_request_uri = "/"
5516
+ o.input = Shapes::ShapeRef.new(shape: DisableHttpEndpointRequest)
5517
+ o.output = Shapes::ShapeRef.new(shape: DisableHttpEndpointResponse)
5518
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
5519
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
5520
+ end)
5521
+
5491
5522
  api.add_operation(:download_db_log_file_portion, Seahorse::Model::Operation.new.tap do |o|
5492
5523
  o.name = "DownloadDBLogFilePortion"
5493
5524
  o.http_method = "POST"
@@ -5505,6 +5536,16 @@ module Aws::RDS
5505
5536
  )
5506
5537
  end)
5507
5538
 
5539
+ api.add_operation(:enable_http_endpoint, Seahorse::Model::Operation.new.tap do |o|
5540
+ o.name = "EnableHttpEndpoint"
5541
+ o.http_method = "POST"
5542
+ o.http_request_uri = "/"
5543
+ o.input = Shapes::ShapeRef.new(shape: EnableHttpEndpointRequest)
5544
+ o.output = Shapes::ShapeRef.new(shape: EnableHttpEndpointResponse)
5545
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
5546
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateFault)
5547
+ end)
5548
+
5508
5549
  api.add_operation(:failover_db_cluster, Seahorse::Model::Operation.new.tap do |o|
5509
5550
  o.name = "FailoverDBCluster"
5510
5551
  o.http_method = "POST"
@@ -383,16 +383,16 @@ module Aws::RDS
383
383
  data[:deletion_protection]
384
384
  end
385
385
 
386
- # Indicates whether the HTTP endpoint for an Aurora Serverless v1 DB
387
- # cluster is enabled.
386
+ # Indicates whether the HTTP endpoint is enabled for an Aurora DB
387
+ # cluster.
388
388
  #
389
389
  # When enabled, the HTTP endpoint provides a connectionless web service
390
- # API for running SQL queries on the Aurora Serverless v1 DB cluster.
391
- # You can also query your database from inside the RDS console with the
390
+ # API (RDS Data API) for running SQL queries on the DB cluster. You can
391
+ # also query your database from inside the RDS console with the RDS
392
392
  # query editor.
393
393
  #
394
- # For more information, see [Using the Data API for Aurora Serverless
395
- # v1][1] in the *Amazon Aurora User Guide*.
394
+ # For more information, see [Using RDS Data API][1] in the *Amazon
395
+ # Aurora User Guide*.
396
396
  #
397
397
  #
398
398
  #
@@ -1300,16 +1300,22 @@ module Aws::RDS
1300
1300
  #
1301
1301
  # Valid for Cluster Type: Aurora DB clusters only
1302
1302
  # @option options [Boolean] :enable_http_endpoint
1303
- # Specifies whether to enable the HTTP endpoint for an Aurora Serverless
1304
- # v1 DB cluster. By default, the HTTP endpoint is disabled.
1303
+ # Specifies whether to enable the HTTP endpoint for the DB cluster. By
1304
+ # default, the HTTP endpoint isn't enabled.
1305
1305
  #
1306
1306
  # When enabled, the HTTP endpoint provides a connectionless web service
1307
- # API for running SQL queries on the Aurora Serverless v1 DB cluster.
1308
- # You can also query your database from inside the RDS console with the
1307
+ # API (RDS Data API) for running SQL queries on the DB cluster. You can
1308
+ # also query your database from inside the RDS console with the RDS
1309
1309
  # query editor.
1310
1310
  #
1311
- # For more information, see [Using the Data API for Aurora Serverless
1312
- # v1][1] in the *Amazon Aurora User Guide*.
1311
+ # RDS Data API is supported with the following DB clusters:
1312
+ #
1313
+ # * Aurora PostgreSQL Serverless v2 and provisioned
1314
+ #
1315
+ # * Aurora PostgreSQL and Aurora MySQL Serverless v1
1316
+ #
1317
+ # For more information, see [Using RDS Data API][1] in the *Amazon
1318
+ # Aurora User Guide*.
1313
1319
  #
1314
1320
  # Valid for Cluster Type: Aurora DB clusters only
1315
1321
  #
@@ -2113,15 +2119,22 @@ module Aws::RDS
2113
2119
  # Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
2114
2120
  # @option options [Boolean] :enable_http_endpoint
2115
2121
  # Specifies whether to enable the HTTP endpoint for an Aurora Serverless
2116
- # v1 DB cluster. By default, the HTTP endpoint is disabled.
2122
+ # v1 DB cluster. By default, the HTTP endpoint isn't enabled.
2117
2123
  #
2118
2124
  # When enabled, the HTTP endpoint provides a connectionless web service
2119
- # API for running SQL queries on the Aurora Serverless v1 DB cluster.
2120
- # You can also query your database from inside the RDS console with the
2121
- # query editor.
2125
+ # API (RDS Data API) for running SQL queries on the Aurora Serverless v1
2126
+ # DB cluster. You can also query your database from inside the RDS
2127
+ # console with the RDS query editor.
2128
+ #
2129
+ # For more information, see [Using RDS Data API][1] in the *Amazon
2130
+ # Aurora User Guide*.
2122
2131
  #
2123
- # For more information, see [Using the Data API for Aurora Serverless
2124
- # v1][1] in the *Amazon Aurora User Guide*.
2132
+ # <note markdown="1"> This parameter applies only to Aurora Serverless v1 DB clusters. To
2133
+ # enable or disable the HTTP endpoint for an Aurora PostgreSQL
2134
+ # Serverless v2 or provisioned DB cluster, use the `EnableHttpEndpoint`
2135
+ # and `DisableHttpEndpoint` operations.
2136
+ #
2137
+ # </note>
2125
2138
  #
2126
2139
  # Valid for Cluster Type: Aurora DB clusters only
2127
2140
  #
@@ -1370,6 +1370,20 @@ module Aws::RDS
1370
1370
  end
1371
1371
  end
1372
1372
 
1373
+ class DisableHttpEndpoint
1374
+ def self.build(context)
1375
+ unless context.config.regional_endpoint
1376
+ endpoint = context.config.endpoint.to_s
1377
+ end
1378
+ Aws::RDS::EndpointParameters.new(
1379
+ region: context.config.region,
1380
+ use_dual_stack: context.config.use_dualstack_endpoint,
1381
+ use_fips: context.config.use_fips_endpoint,
1382
+ endpoint: endpoint,
1383
+ )
1384
+ end
1385
+ end
1386
+
1373
1387
  class DownloadDBLogFilePortion
1374
1388
  def self.build(context)
1375
1389
  unless context.config.regional_endpoint
@@ -1384,6 +1398,20 @@ module Aws::RDS
1384
1398
  end
1385
1399
  end
1386
1400
 
1401
+ class EnableHttpEndpoint
1402
+ def self.build(context)
1403
+ unless context.config.regional_endpoint
1404
+ endpoint = context.config.endpoint.to_s
1405
+ end
1406
+ Aws::RDS::EndpointParameters.new(
1407
+ region: context.config.region,
1408
+ use_dual_stack: context.config.use_dualstack_endpoint,
1409
+ use_fips: context.config.use_fips_endpoint,
1410
+ endpoint: endpoint,
1411
+ )
1412
+ end
1413
+ end
1414
+
1387
1415
  class FailoverDBCluster
1388
1416
  def self.build(context)
1389
1417
  unless context.config.regional_endpoint
@@ -131,6 +131,7 @@ module Aws::RDS
131
131
  # * {InvalidGlobalClusterStateFault}
132
132
  # * {InvalidIntegrationStateFault}
133
133
  # * {InvalidOptionGroupStateFault}
134
+ # * {InvalidResourceStateFault}
134
135
  # * {InvalidRestoreFault}
135
136
  # * {InvalidS3BucketFault}
136
137
  # * {InvalidSubnet}
@@ -1212,6 +1213,16 @@ module Aws::RDS
1212
1213
  end
1213
1214
  end
1214
1215
 
1216
+ class InvalidResourceStateFault < ServiceError
1217
+
1218
+ # @param [Seahorse::Client::RequestContext] context
1219
+ # @param [String] message
1220
+ # @param [Aws::RDS::Types::InvalidResourceStateFault] data
1221
+ def initialize(context, message, data = Aws::EmptyStructure.new)
1222
+ super(context, message, data)
1223
+ end
1224
+ end
1225
+
1215
1226
  class InvalidRestoreFault < ServiceError
1216
1227
 
1217
1228
  # @param [Seahorse::Client::RequestContext] context
@@ -251,8 +251,12 @@ module Aws::RDS
251
251
  Aws::RDS::Endpoints::DescribeTenantDatabases.build(context)
252
252
  when :describe_valid_db_instance_modifications
253
253
  Aws::RDS::Endpoints::DescribeValidDBInstanceModifications.build(context)
254
+ when :disable_http_endpoint
255
+ Aws::RDS::Endpoints::DisableHttpEndpoint.build(context)
254
256
  when :download_db_log_file_portion
255
257
  Aws::RDS::Endpoints::DownloadDBLogFilePortion.build(context)
258
+ when :enable_http_endpoint
259
+ Aws::RDS::Endpoints::EnableHttpEndpoint.build(context)
256
260
  when :failover_db_cluster
257
261
  Aws::RDS::Endpoints::FailoverDBCluster.build(context)
258
262
  when :failover_global_cluster
@@ -533,16 +533,22 @@ module Aws::RDS
533
533
  #
534
534
  # Valid for Cluster Type: Aurora DB clusters only
535
535
  # @option options [Boolean] :enable_http_endpoint
536
- # Specifies whether to enable the HTTP endpoint for an Aurora Serverless
537
- # v1 DB cluster. By default, the HTTP endpoint is disabled.
536
+ # Specifies whether to enable the HTTP endpoint for the DB cluster. By
537
+ # default, the HTTP endpoint isn't enabled.
538
538
  #
539
539
  # When enabled, the HTTP endpoint provides a connectionless web service
540
- # API for running SQL queries on the Aurora Serverless v1 DB cluster.
541
- # You can also query your database from inside the RDS console with the
540
+ # API (RDS Data API) for running SQL queries on the DB cluster. You can
541
+ # also query your database from inside the RDS console with the RDS
542
542
  # query editor.
543
543
  #
544
- # For more information, see [Using the Data API for Aurora Serverless
545
- # v1][1] in the *Amazon Aurora User Guide*.
544
+ # RDS Data API is supported with the following DB clusters:
545
+ #
546
+ # * Aurora PostgreSQL Serverless v2 and provisioned
547
+ #
548
+ # * Aurora PostgreSQL and Aurora MySQL Serverless v1
549
+ #
550
+ # For more information, see [Using RDS Data API][1] in the *Amazon
551
+ # Aurora User Guide*.
546
552
  #
547
553
  # Valid for Cluster Type: Aurora DB clusters only
548
554
  #
@@ -2507,16 +2507,22 @@ module Aws::RDS
2507
2507
  # @return [String]
2508
2508
  #
2509
2509
  # @!attribute [rw] enable_http_endpoint
2510
- # Specifies whether to enable the HTTP endpoint for an Aurora
2511
- # Serverless v1 DB cluster. By default, the HTTP endpoint is disabled.
2510
+ # Specifies whether to enable the HTTP endpoint for the DB cluster. By
2511
+ # default, the HTTP endpoint isn't enabled.
2512
2512
  #
2513
2513
  # When enabled, the HTTP endpoint provides a connectionless web
2514
- # service API for running SQL queries on the Aurora Serverless v1 DB
2514
+ # service API (RDS Data API) for running SQL queries on the DB
2515
2515
  # cluster. You can also query your database from inside the RDS
2516
- # console with the query editor.
2516
+ # console with the RDS query editor.
2517
+ #
2518
+ # RDS Data API is supported with the following DB clusters:
2519
+ #
2520
+ # * Aurora PostgreSQL Serverless v2 and provisioned
2521
+ #
2522
+ # * Aurora PostgreSQL and Aurora MySQL Serverless v1
2517
2523
  #
2518
- # For more information, see [Using the Data API for Aurora Serverless
2519
- # v1][1] in the *Amazon Aurora User Guide*.
2524
+ # For more information, see [Using RDS Data API][1] in the *Amazon
2525
+ # Aurora User Guide*.
2520
2526
  #
2521
2527
  # Valid for Cluster Type: Aurora DB clusters only
2522
2528
  #
@@ -6514,16 +6520,16 @@ module Aws::RDS
6514
6520
  # @return [Boolean]
6515
6521
  #
6516
6522
  # @!attribute [rw] http_endpoint_enabled
6517
- # Indicates whether the HTTP endpoint for an Aurora Serverless v1 DB
6518
- # cluster is enabled.
6523
+ # Indicates whether the HTTP endpoint is enabled for an Aurora DB
6524
+ # cluster.
6519
6525
  #
6520
6526
  # When enabled, the HTTP endpoint provides a connectionless web
6521
- # service API for running SQL queries on the Aurora Serverless v1 DB
6527
+ # service API (RDS Data API) for running SQL queries on the DB
6522
6528
  # cluster. You can also query your database from inside the RDS
6523
- # console with the query editor.
6529
+ # console with the RDS query editor.
6524
6530
  #
6525
- # For more information, see [Using the Data API for Aurora Serverless
6526
- # v1][1] in the *Amazon Aurora User Guide*.
6531
+ # For more information, see [Using RDS Data API][1] in the *Amazon
6532
+ # Aurora User Guide*.
6527
6533
  #
6528
6534
  #
6529
6535
  #
@@ -14369,6 +14375,36 @@ module Aws::RDS
14369
14375
  include Aws::Structure
14370
14376
  end
14371
14377
 
14378
+ # @!attribute [rw] resource_arn
14379
+ # The Amazon Resource Name (ARN) of the DB cluster.
14380
+ # @return [String]
14381
+ #
14382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DisableHttpEndpointRequest AWS API Documentation
14383
+ #
14384
+ class DisableHttpEndpointRequest < Struct.new(
14385
+ :resource_arn)
14386
+ SENSITIVE = []
14387
+ include Aws::Structure
14388
+ end
14389
+
14390
+ # @!attribute [rw] resource_arn
14391
+ # The ARN of the DB cluster.
14392
+ # @return [String]
14393
+ #
14394
+ # @!attribute [rw] http_endpoint_enabled
14395
+ # Indicates whether the HTTP endpoint is enabled or disabled for the
14396
+ # DB cluster.
14397
+ # @return [Boolean]
14398
+ #
14399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DisableHttpEndpointResponse AWS API Documentation
14400
+ #
14401
+ class DisableHttpEndpointResponse < Struct.new(
14402
+ :resource_arn,
14403
+ :http_endpoint_enabled)
14404
+ SENSITIVE = []
14405
+ include Aws::Structure
14406
+ end
14407
+
14372
14408
  # A link to documentation that provides additional information for a
14373
14409
  # recommendation.
14374
14410
  #
@@ -14595,6 +14631,36 @@ module Aws::RDS
14595
14631
  #
14596
14632
  class Ec2ImagePropertiesNotSupportedFault < Aws::EmptyStructure; end
14597
14633
 
14634
+ # @!attribute [rw] resource_arn
14635
+ # The Amazon Resource Name (ARN) of the DB cluster.
14636
+ # @return [String]
14637
+ #
14638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EnableHttpEndpointRequest AWS API Documentation
14639
+ #
14640
+ class EnableHttpEndpointRequest < Struct.new(
14641
+ :resource_arn)
14642
+ SENSITIVE = []
14643
+ include Aws::Structure
14644
+ end
14645
+
14646
+ # @!attribute [rw] resource_arn
14647
+ # The ARN of the DB cluster.
14648
+ # @return [String]
14649
+ #
14650
+ # @!attribute [rw] http_endpoint_enabled
14651
+ # Indicates whether the HTTP endpoint is enabled or disabled for the
14652
+ # DB cluster.
14653
+ # @return [Boolean]
14654
+ #
14655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/EnableHttpEndpointResponse AWS API Documentation
14656
+ #
14657
+ class EnableHttpEndpointResponse < Struct.new(
14658
+ :resource_arn,
14659
+ :http_endpoint_enabled)
14660
+ SENSITIVE = []
14661
+ include Aws::Structure
14662
+ end
14663
+
14598
14664
  # This data type represents the information you need to connect to an
14599
14665
  # Amazon RDS DB instance. This data type is used as a response element
14600
14666
  # in the following actions:
@@ -15771,6 +15837,13 @@ module Aws::RDS
15771
15837
  #
15772
15838
  class InvalidOptionGroupStateFault < Aws::EmptyStructure; end
15773
15839
 
15840
+ # The operation can't be performed because another operation is in
15841
+ # progress.
15842
+ #
15843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidResourceStateFault AWS API Documentation
15844
+ #
15845
+ class InvalidResourceStateFault < Aws::EmptyStructure; end
15846
+
15774
15847
  # Cannot restore from VPC backup to non-VPC DB instance.
15775
15848
  #
15776
15849
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/InvalidRestoreFault AWS API Documentation
@@ -16567,15 +16640,23 @@ module Aws::RDS
16567
16640
  #
16568
16641
  # @!attribute [rw] enable_http_endpoint
16569
16642
  # Specifies whether to enable the HTTP endpoint for an Aurora
16570
- # Serverless v1 DB cluster. By default, the HTTP endpoint is disabled.
16643
+ # Serverless v1 DB cluster. By default, the HTTP endpoint isn't
16644
+ # enabled.
16571
16645
  #
16572
16646
  # When enabled, the HTTP endpoint provides a connectionless web
16573
- # service API for running SQL queries on the Aurora Serverless v1 DB
16574
- # cluster. You can also query your database from inside the RDS
16575
- # console with the query editor.
16647
+ # service API (RDS Data API) for running SQL queries on the Aurora
16648
+ # Serverless v1 DB cluster. You can also query your database from
16649
+ # inside the RDS console with the RDS query editor.
16576
16650
  #
16577
- # For more information, see [Using the Data API for Aurora Serverless
16578
- # v1][1] in the *Amazon Aurora User Guide*.
16651
+ # For more information, see [Using RDS Data API][1] in the *Amazon
16652
+ # Aurora User Guide*.
16653
+ #
16654
+ # <note markdown="1"> This parameter applies only to Aurora Serverless v1 DB clusters. To
16655
+ # enable or disable the HTTP endpoint for an Aurora PostgreSQL
16656
+ # Serverless v2 or provisioned DB cluster, use the
16657
+ # `EnableHttpEndpoint` and `DisableHttpEndpoint` operations.
16658
+ #
16659
+ # </note>
16579
16660
  #
16580
16661
  # Valid for Cluster Type: Aurora DB clusters only
16581
16662
  #
data/lib/aws-sdk-rds.rb CHANGED
@@ -78,6 +78,6 @@ require_relative 'aws-sdk-rds/customizations'
78
78
  # @!group service
79
79
  module Aws::RDS
80
80
 
81
- GEM_VERSION = '1.210.0'
81
+ GEM_VERSION = '1.211.0'
82
82
 
83
83
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.210.0
4
+ version: 1.211.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-19 00:00:00.000000000 Z
11
+ date: 2023-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4