aws-sdk-rds 1.56.0 → 1.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +156 -1
- data/lib/aws-sdk-rds/client_api.rb +59 -0
- data/lib/aws-sdk-rds/db_cluster.rb +29 -0
- data/lib/aws-sdk-rds/types.rb +155 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32e08d613cbcee53ecb7a03cdc15892e453c6014
|
4
|
+
data.tar.gz: 6f77450aa4b4d73527dd0752e0dfa3642cb03f2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e682766a1f5064a60cac9707aaee73a754261c8bc4ad685fb826b1cdeae6360cd744c40306a203c11e26daafe374e504d382812c0261735c64b22ff7b93a7077
|
7
|
+
data.tar.gz: f3822eb0709b05576d8f1479ccfd5f1c5618b355ebe73ce455b7bb14eb822db241141a7aad8f4e6b5fa5aa863b760d8b891c94ac53c7e97a821bb825750c248b
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -2044,6 +2044,10 @@ module Aws::RDS
|
|
2044
2044
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
2045
2045
|
# resp.db_cluster.deletion_protection #=> Boolean
|
2046
2046
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
2047
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
2048
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
2049
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
2050
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
2047
2051
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
2048
2052
|
#
|
2049
2053
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster AWS API Documentation
|
@@ -4809,6 +4813,10 @@ module Aws::RDS
|
|
4809
4813
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
4810
4814
|
# resp.db_cluster.deletion_protection #=> Boolean
|
4811
4815
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
4816
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
4817
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
4818
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
4819
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
4812
4820
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
4813
4821
|
#
|
4814
4822
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster AWS API Documentation
|
@@ -6585,6 +6593,10 @@ module Aws::RDS
|
|
6585
6593
|
# resp.db_clusters[0].scaling_configuration_info.timeout_action #=> String
|
6586
6594
|
# resp.db_clusters[0].deletion_protection #=> Boolean
|
6587
6595
|
# resp.db_clusters[0].http_endpoint_enabled #=> Boolean
|
6596
|
+
# resp.db_clusters[0].activity_stream_mode #=> String, one of "sync", "async"
|
6597
|
+
# resp.db_clusters[0].activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
6598
|
+
# resp.db_clusters[0].activity_stream_kms_key_id #=> String
|
6599
|
+
# resp.db_clusters[0].activity_stream_kinesis_stream_name #=> String
|
6588
6600
|
# resp.db_clusters[0].copy_tags_to_snapshot #=> Boolean
|
6589
6601
|
#
|
6590
6602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters AWS API Documentation
|
@@ -9416,6 +9428,10 @@ module Aws::RDS
|
|
9416
9428
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
9417
9429
|
# resp.db_cluster.deletion_protection #=> Boolean
|
9418
9430
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
9431
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
9432
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
9433
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
9434
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
9419
9435
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
9420
9436
|
#
|
9421
9437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster AWS API Documentation
|
@@ -9931,6 +9947,10 @@ module Aws::RDS
|
|
9931
9947
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
9932
9948
|
# resp.db_cluster.deletion_protection #=> Boolean
|
9933
9949
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
9950
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
9951
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
9952
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
9953
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
9934
9954
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
9935
9955
|
#
|
9936
9956
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster AWS API Documentation
|
@@ -11993,6 +12013,10 @@ module Aws::RDS
|
|
11993
12013
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
11994
12014
|
# resp.db_cluster.deletion_protection #=> Boolean
|
11995
12015
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
12016
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
12017
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
12018
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
12019
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
11996
12020
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
11997
12021
|
#
|
11998
12022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster AWS API Documentation
|
@@ -13085,6 +13109,10 @@ module Aws::RDS
|
|
13085
13109
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
13086
13110
|
# resp.db_cluster.deletion_protection #=> Boolean
|
13087
13111
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
13112
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
13113
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
13114
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
13115
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
13088
13116
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
13089
13117
|
#
|
13090
13118
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 AWS API Documentation
|
@@ -13392,6 +13420,10 @@ module Aws::RDS
|
|
13392
13420
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
13393
13421
|
# resp.db_cluster.deletion_protection #=> Boolean
|
13394
13422
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
13423
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
13424
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
13425
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
13426
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
13395
13427
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
13396
13428
|
#
|
13397
13429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot AWS API Documentation
|
@@ -13720,6 +13752,10 @@ module Aws::RDS
|
|
13720
13752
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
13721
13753
|
# resp.db_cluster.deletion_protection #=> Boolean
|
13722
13754
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
13755
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
13756
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
13757
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
13758
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
13723
13759
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
13724
13760
|
#
|
13725
13761
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime AWS API Documentation
|
@@ -15462,6 +15498,68 @@ module Aws::RDS
|
|
15462
15498
|
req.send_request(options)
|
15463
15499
|
end
|
15464
15500
|
|
15501
|
+
# Starts a database activity stream to monitor activity on the database.
|
15502
|
+
# For more information, see [Database Activity Streams][1] in the
|
15503
|
+
# *Amazon Aurora User Guide*.
|
15504
|
+
#
|
15505
|
+
#
|
15506
|
+
#
|
15507
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html
|
15508
|
+
#
|
15509
|
+
# @option params [required, String] :resource_arn
|
15510
|
+
# The Amazon Resource Name (ARN) of the DB cluster, for example
|
15511
|
+
# `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`.
|
15512
|
+
#
|
15513
|
+
# @option params [required, String] :mode
|
15514
|
+
# Specifies the mode of the database activity stream. Database events
|
15515
|
+
# such as a change or access generate an activity stream event. The
|
15516
|
+
# database session can handle these events either synchronously or
|
15517
|
+
# asynchronously.
|
15518
|
+
#
|
15519
|
+
# @option params [required, String] :kms_key_id
|
15520
|
+
# The AWS KMS key identifier for encrypting messages in the database
|
15521
|
+
# activity stream. The key identifier can be either a key ID, a key ARN,
|
15522
|
+
# or a key alias.
|
15523
|
+
#
|
15524
|
+
# @option params [Boolean] :apply_immediately
|
15525
|
+
# Specifies whether or not the database activity stream is to start as
|
15526
|
+
# soon as possible, regardless of the maintenance window for the
|
15527
|
+
# database.
|
15528
|
+
#
|
15529
|
+
# @return [Types::StartActivityStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
15530
|
+
#
|
15531
|
+
# * {Types::StartActivityStreamResponse#kms_key_id #kms_key_id} => String
|
15532
|
+
# * {Types::StartActivityStreamResponse#kinesis_stream_name #kinesis_stream_name} => String
|
15533
|
+
# * {Types::StartActivityStreamResponse#status #status} => String
|
15534
|
+
# * {Types::StartActivityStreamResponse#mode #mode} => String
|
15535
|
+
# * {Types::StartActivityStreamResponse#apply_immediately #apply_immediately} => Boolean
|
15536
|
+
#
|
15537
|
+
# @example Request syntax with placeholder values
|
15538
|
+
#
|
15539
|
+
# resp = client.start_activity_stream({
|
15540
|
+
# resource_arn: "String", # required
|
15541
|
+
# mode: "sync", # required, accepts sync, async
|
15542
|
+
# kms_key_id: "String", # required
|
15543
|
+
# apply_immediately: false,
|
15544
|
+
# })
|
15545
|
+
#
|
15546
|
+
# @example Response structure
|
15547
|
+
#
|
15548
|
+
# resp.kms_key_id #=> String
|
15549
|
+
# resp.kinesis_stream_name #=> String
|
15550
|
+
# resp.status #=> String, one of "stopped", "starting", "started", "stopping"
|
15551
|
+
# resp.mode #=> String, one of "sync", "async"
|
15552
|
+
# resp.apply_immediately #=> Boolean
|
15553
|
+
#
|
15554
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartActivityStream AWS API Documentation
|
15555
|
+
#
|
15556
|
+
# @overload start_activity_stream(params = {})
|
15557
|
+
# @param [Hash] params ({})
|
15558
|
+
def start_activity_stream(params = {}, options = {})
|
15559
|
+
req = build_request(:start_activity_stream, params)
|
15560
|
+
req.send_request(options)
|
15561
|
+
end
|
15562
|
+
|
15465
15563
|
# Starts an Amazon Aurora DB cluster that was stopped using the AWS
|
15466
15564
|
# console, the stop-db-cluster AWS CLI command, or the StopDBCluster
|
15467
15565
|
# action.
|
@@ -15557,6 +15655,10 @@ module Aws::RDS
|
|
15557
15655
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
15558
15656
|
# resp.db_cluster.deletion_protection #=> Boolean
|
15559
15657
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
15658
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
15659
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
15660
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
15661
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
15560
15662
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
15561
15663
|
#
|
15562
15664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster AWS API Documentation
|
@@ -15721,6 +15823,55 @@ module Aws::RDS
|
|
15721
15823
|
req.send_request(options)
|
15722
15824
|
end
|
15723
15825
|
|
15826
|
+
# Stops a database activity stream that was started using the AWS
|
15827
|
+
# console, the `start-activity-stream` AWS CLI command, or the
|
15828
|
+
# `StartActivityStream` action.
|
15829
|
+
#
|
15830
|
+
# For more information, see [Database Activity Streams][1] in the
|
15831
|
+
# *Amazon Aurora User Guide*.
|
15832
|
+
#
|
15833
|
+
#
|
15834
|
+
#
|
15835
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html
|
15836
|
+
#
|
15837
|
+
# @option params [required, String] :resource_arn
|
15838
|
+
# The Amazon Resource Name (ARN) of the DB cluster for the database
|
15839
|
+
# activity stream. For example,
|
15840
|
+
# `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`.
|
15841
|
+
#
|
15842
|
+
# @option params [Boolean] :apply_immediately
|
15843
|
+
# Specifies whether or not the database activity stream is to stop as
|
15844
|
+
# soon as possible, regardless of the maintenance window for the
|
15845
|
+
# database.
|
15846
|
+
#
|
15847
|
+
# @return [Types::StopActivityStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
15848
|
+
#
|
15849
|
+
# * {Types::StopActivityStreamResponse#kms_key_id #kms_key_id} => String
|
15850
|
+
# * {Types::StopActivityStreamResponse#kinesis_stream_name #kinesis_stream_name} => String
|
15851
|
+
# * {Types::StopActivityStreamResponse#status #status} => String
|
15852
|
+
#
|
15853
|
+
# @example Request syntax with placeholder values
|
15854
|
+
#
|
15855
|
+
# resp = client.stop_activity_stream({
|
15856
|
+
# resource_arn: "String", # required
|
15857
|
+
# apply_immediately: false,
|
15858
|
+
# })
|
15859
|
+
#
|
15860
|
+
# @example Response structure
|
15861
|
+
#
|
15862
|
+
# resp.kms_key_id #=> String
|
15863
|
+
# resp.kinesis_stream_name #=> String
|
15864
|
+
# resp.status #=> String, one of "stopped", "starting", "started", "stopping"
|
15865
|
+
#
|
15866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopActivityStream AWS API Documentation
|
15867
|
+
#
|
15868
|
+
# @overload stop_activity_stream(params = {})
|
15869
|
+
# @param [Hash] params ({})
|
15870
|
+
def stop_activity_stream(params = {}, options = {})
|
15871
|
+
req = build_request(:stop_activity_stream, params)
|
15872
|
+
req.send_request(options)
|
15873
|
+
end
|
15874
|
+
|
15724
15875
|
# Stops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora
|
15725
15876
|
# retains the DB cluster's metadata, including its endpoints and DB
|
15726
15877
|
# parameter groups. Aurora also retains the transaction logs so you can
|
@@ -15817,6 +15968,10 @@ module Aws::RDS
|
|
15817
15968
|
# resp.db_cluster.scaling_configuration_info.timeout_action #=> String
|
15818
15969
|
# resp.db_cluster.deletion_protection #=> Boolean
|
15819
15970
|
# resp.db_cluster.http_endpoint_enabled #=> Boolean
|
15971
|
+
# resp.db_cluster.activity_stream_mode #=> String, one of "sync", "async"
|
15972
|
+
# resp.db_cluster.activity_stream_status #=> String, one of "stopped", "starting", "started", "stopping"
|
15973
|
+
# resp.db_cluster.activity_stream_kms_key_id #=> String
|
15974
|
+
# resp.db_cluster.activity_stream_kinesis_stream_name #=> String
|
15820
15975
|
# resp.db_cluster.copy_tags_to_snapshot #=> Boolean
|
15821
15976
|
#
|
15822
15977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster AWS API Documentation
|
@@ -16001,7 +16156,7 @@ module Aws::RDS
|
|
16001
16156
|
params: params,
|
16002
16157
|
config: config)
|
16003
16158
|
context[:gem_name] = 'aws-sdk-rds'
|
16004
|
-
context[:gem_version] = '1.
|
16159
|
+
context[:gem_version] = '1.57.0'
|
16005
16160
|
Seahorse::Client::Request.new(handlers, context)
|
16006
16161
|
end
|
16007
16162
|
|
@@ -14,6 +14,8 @@ module Aws::RDS
|
|
14
14
|
AccountAttributesMessage = Shapes::StructureShape.new(name: 'AccountAttributesMessage')
|
15
15
|
AccountQuota = Shapes::StructureShape.new(name: 'AccountQuota')
|
16
16
|
AccountQuotaList = Shapes::ListShape.new(name: 'AccountQuotaList')
|
17
|
+
ActivityStreamMode = Shapes::StringShape.new(name: 'ActivityStreamMode')
|
18
|
+
ActivityStreamStatus = Shapes::StringShape.new(name: 'ActivityStreamStatus')
|
17
19
|
AddRoleToDBClusterMessage = Shapes::StructureShape.new(name: 'AddRoleToDBClusterMessage')
|
18
20
|
AddRoleToDBInstanceMessage = Shapes::StructureShape.new(name: 'AddRoleToDBInstanceMessage')
|
19
21
|
AddSourceIdentifierToSubscriptionMessage = Shapes::StructureShape.new(name: 'AddSourceIdentifierToSubscriptionMessage')
|
@@ -439,10 +441,14 @@ module Aws::RDS
|
|
439
441
|
SourceRegionList = Shapes::ListShape.new(name: 'SourceRegionList')
|
440
442
|
SourceRegionMessage = Shapes::StructureShape.new(name: 'SourceRegionMessage')
|
441
443
|
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
444
|
+
StartActivityStreamRequest = Shapes::StructureShape.new(name: 'StartActivityStreamRequest')
|
445
|
+
StartActivityStreamResponse = Shapes::StructureShape.new(name: 'StartActivityStreamResponse')
|
442
446
|
StartDBClusterMessage = Shapes::StructureShape.new(name: 'StartDBClusterMessage')
|
443
447
|
StartDBClusterResult = Shapes::StructureShape.new(name: 'StartDBClusterResult')
|
444
448
|
StartDBInstanceMessage = Shapes::StructureShape.new(name: 'StartDBInstanceMessage')
|
445
449
|
StartDBInstanceResult = Shapes::StructureShape.new(name: 'StartDBInstanceResult')
|
450
|
+
StopActivityStreamRequest = Shapes::StructureShape.new(name: 'StopActivityStreamRequest')
|
451
|
+
StopActivityStreamResponse = Shapes::StructureShape.new(name: 'StopActivityStreamResponse')
|
446
452
|
StopDBClusterMessage = Shapes::StructureShape.new(name: 'StopDBClusterMessage')
|
447
453
|
StopDBClusterResult = Shapes::StructureShape.new(name: 'StopDBClusterResult')
|
448
454
|
StopDBInstanceMessage = Shapes::StructureShape.new(name: 'StopDBInstanceMessage')
|
@@ -878,6 +884,10 @@ module Aws::RDS
|
|
878
884
|
DBCluster.add_member(:scaling_configuration_info, Shapes::ShapeRef.new(shape: ScalingConfigurationInfo, location_name: "ScalingConfigurationInfo"))
|
879
885
|
DBCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
|
880
886
|
DBCluster.add_member(:http_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "HttpEndpointEnabled"))
|
887
|
+
DBCluster.add_member(:activity_stream_mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, location_name: "ActivityStreamMode"))
|
888
|
+
DBCluster.add_member(:activity_stream_status, Shapes::ShapeRef.new(shape: ActivityStreamStatus, location_name: "ActivityStreamStatus"))
|
889
|
+
DBCluster.add_member(:activity_stream_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "ActivityStreamKmsKeyId"))
|
890
|
+
DBCluster.add_member(:activity_stream_kinesis_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "ActivityStreamKinesisStreamName"))
|
881
891
|
DBCluster.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: Boolean, location_name: "CopyTagsToSnapshot"))
|
882
892
|
DBCluster.struct_class = Types::DBCluster
|
883
893
|
|
@@ -2435,6 +2445,19 @@ module Aws::RDS
|
|
2435
2445
|
SourceRegionMessage.add_member(:source_regions, Shapes::ShapeRef.new(shape: SourceRegionList, location_name: "SourceRegions"))
|
2436
2446
|
SourceRegionMessage.struct_class = Types::SourceRegionMessage
|
2437
2447
|
|
2448
|
+
StartActivityStreamRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
2449
|
+
StartActivityStreamRequest.add_member(:mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, required: true, location_name: "Mode"))
|
2450
|
+
StartActivityStreamRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "KmsKeyId"))
|
2451
|
+
StartActivityStreamRequest.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ApplyImmediately"))
|
2452
|
+
StartActivityStreamRequest.struct_class = Types::StartActivityStreamRequest
|
2453
|
+
|
2454
|
+
StartActivityStreamResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
2455
|
+
StartActivityStreamResponse.add_member(:kinesis_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "KinesisStreamName"))
|
2456
|
+
StartActivityStreamResponse.add_member(:status, Shapes::ShapeRef.new(shape: ActivityStreamStatus, location_name: "Status"))
|
2457
|
+
StartActivityStreamResponse.add_member(:mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, location_name: "Mode"))
|
2458
|
+
StartActivityStreamResponse.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyImmediately"))
|
2459
|
+
StartActivityStreamResponse.struct_class = Types::StartActivityStreamResponse
|
2460
|
+
|
2438
2461
|
StartDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
2439
2462
|
StartDBClusterMessage.struct_class = Types::StartDBClusterMessage
|
2440
2463
|
|
@@ -2447,6 +2470,15 @@ module Aws::RDS
|
|
2447
2470
|
StartDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
2448
2471
|
StartDBInstanceResult.struct_class = Types::StartDBInstanceResult
|
2449
2472
|
|
2473
|
+
StopActivityStreamRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
|
2474
|
+
StopActivityStreamRequest.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ApplyImmediately"))
|
2475
|
+
StopActivityStreamRequest.struct_class = Types::StopActivityStreamRequest
|
2476
|
+
|
2477
|
+
StopActivityStreamResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
2478
|
+
StopActivityStreamResponse.add_member(:kinesis_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "KinesisStreamName"))
|
2479
|
+
StopActivityStreamResponse.add_member(:status, Shapes::ShapeRef.new(shape: ActivityStreamStatus, location_name: "Status"))
|
2480
|
+
StopActivityStreamResponse.struct_class = Types::StopActivityStreamResponse
|
2481
|
+
|
2450
2482
|
StopDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
2451
2483
|
StopDBClusterMessage.struct_class = Types::StopDBClusterMessage
|
2452
2484
|
|
@@ -3899,6 +3931,20 @@ module Aws::RDS
|
|
3899
3931
|
o.errors << Shapes::ShapeRef.new(shape: InvalidDBSecurityGroupStateFault)
|
3900
3932
|
end)
|
3901
3933
|
|
3934
|
+
api.add_operation(:start_activity_stream, Seahorse::Model::Operation.new.tap do |o|
|
3935
|
+
o.name = "StartActivityStream"
|
3936
|
+
o.http_method = "POST"
|
3937
|
+
o.http_request_uri = "/"
|
3938
|
+
o.input = Shapes::ShapeRef.new(shape: StartActivityStreamRequest)
|
3939
|
+
o.output = Shapes::ShapeRef.new(shape: StartActivityStreamResponse)
|
3940
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
3941
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
3942
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
3943
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3944
|
+
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
3945
|
+
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
3946
|
+
end)
|
3947
|
+
|
3902
3948
|
api.add_operation(:start_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
3903
3949
|
o.name = "StartDBCluster"
|
3904
3950
|
o.http_method = "POST"
|
@@ -3929,6 +3975,19 @@ module Aws::RDS
|
|
3929
3975
|
o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
|
3930
3976
|
end)
|
3931
3977
|
|
3978
|
+
api.add_operation(:stop_activity_stream, Seahorse::Model::Operation.new.tap do |o|
|
3979
|
+
o.name = "StopActivityStream"
|
3980
|
+
o.http_method = "POST"
|
3981
|
+
o.http_request_uri = "/"
|
3982
|
+
o.input = Shapes::ShapeRef.new(shape: StopActivityStreamRequest)
|
3983
|
+
o.output = Shapes::ShapeRef.new(shape: StopActivityStreamResponse)
|
3984
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
3985
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
|
3986
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
3987
|
+
o.errors << Shapes::ShapeRef.new(shape: DBClusterNotFoundFault)
|
3988
|
+
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
3989
|
+
end)
|
3990
|
+
|
3932
3991
|
api.add_operation(:stop_db_cluster, Seahorse::Model::Operation.new.tap do |o|
|
3933
3992
|
o.name = "StopDBCluster"
|
3934
3993
|
o.http_method = "POST"
|
@@ -382,6 +382,35 @@ module Aws::RDS
|
|
382
382
|
data[:http_endpoint_enabled]
|
383
383
|
end
|
384
384
|
|
385
|
+
# The mode of the database activity stream. Database events such as a
|
386
|
+
# change or access generate an activity stream event. The database
|
387
|
+
# session can handle these events either synchronously or
|
388
|
+
# asynchronously.
|
389
|
+
# @return [String]
|
390
|
+
def activity_stream_mode
|
391
|
+
data[:activity_stream_mode]
|
392
|
+
end
|
393
|
+
|
394
|
+
# The status of the database activity stream.
|
395
|
+
# @return [String]
|
396
|
+
def activity_stream_status
|
397
|
+
data[:activity_stream_status]
|
398
|
+
end
|
399
|
+
|
400
|
+
# The AWS KMS key identifier used for encrypting messages in the
|
401
|
+
# database activity stream.
|
402
|
+
# @return [String]
|
403
|
+
def activity_stream_kms_key_id
|
404
|
+
data[:activity_stream_kms_key_id]
|
405
|
+
end
|
406
|
+
|
407
|
+
# The name of the Amazon Kinesis data stream used for the database
|
408
|
+
# activity stream.
|
409
|
+
# @return [String]
|
410
|
+
def activity_stream_kinesis_stream_name
|
411
|
+
data[:activity_stream_kinesis_stream_name]
|
412
|
+
end
|
413
|
+
|
385
414
|
# Specifies whether tags are copied from the DB cluster to snapshots of
|
386
415
|
# the DB cluster.
|
387
416
|
# @return [Boolean]
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -4151,6 +4151,27 @@ module Aws::RDS
|
|
4151
4151
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
|
4152
4152
|
# @return [Boolean]
|
4153
4153
|
#
|
4154
|
+
# @!attribute [rw] activity_stream_mode
|
4155
|
+
# The mode of the database activity stream. Database events such as a
|
4156
|
+
# change or access generate an activity stream event. The database
|
4157
|
+
# session can handle these events either synchronously or
|
4158
|
+
# asynchronously.
|
4159
|
+
# @return [String]
|
4160
|
+
#
|
4161
|
+
# @!attribute [rw] activity_stream_status
|
4162
|
+
# The status of the database activity stream.
|
4163
|
+
# @return [String]
|
4164
|
+
#
|
4165
|
+
# @!attribute [rw] activity_stream_kms_key_id
|
4166
|
+
# The AWS KMS key identifier used for encrypting messages in the
|
4167
|
+
# database activity stream.
|
4168
|
+
# @return [String]
|
4169
|
+
#
|
4170
|
+
# @!attribute [rw] activity_stream_kinesis_stream_name
|
4171
|
+
# The name of the Amazon Kinesis data stream used for the database
|
4172
|
+
# activity stream.
|
4173
|
+
# @return [String]
|
4174
|
+
#
|
4154
4175
|
# @!attribute [rw] copy_tags_to_snapshot
|
4155
4176
|
# Specifies whether tags are copied from the DB cluster to snapshots
|
4156
4177
|
# of the DB cluster.
|
@@ -4204,6 +4225,10 @@ module Aws::RDS
|
|
4204
4225
|
:scaling_configuration_info,
|
4205
4226
|
:deletion_protection,
|
4206
4227
|
:http_endpoint_enabled,
|
4228
|
+
:activity_stream_mode,
|
4229
|
+
:activity_stream_status,
|
4230
|
+
:activity_stream_kms_key_id,
|
4231
|
+
:activity_stream_kinesis_stream_name,
|
4207
4232
|
:copy_tags_to_snapshot)
|
4208
4233
|
include Aws::Structure
|
4209
4234
|
end
|
@@ -15563,6 +15588,85 @@ module Aws::RDS
|
|
15563
15588
|
include Aws::Structure
|
15564
15589
|
end
|
15565
15590
|
|
15591
|
+
# @note When making an API call, you may pass StartActivityStreamRequest
|
15592
|
+
# data as a hash:
|
15593
|
+
#
|
15594
|
+
# {
|
15595
|
+
# resource_arn: "String", # required
|
15596
|
+
# mode: "sync", # required, accepts sync, async
|
15597
|
+
# kms_key_id: "String", # required
|
15598
|
+
# apply_immediately: false,
|
15599
|
+
# }
|
15600
|
+
#
|
15601
|
+
# @!attribute [rw] resource_arn
|
15602
|
+
# The Amazon Resource Name (ARN) of the DB cluster, for example
|
15603
|
+
# `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`.
|
15604
|
+
# @return [String]
|
15605
|
+
#
|
15606
|
+
# @!attribute [rw] mode
|
15607
|
+
# Specifies the mode of the database activity stream. Database events
|
15608
|
+
# such as a change or access generate an activity stream event. The
|
15609
|
+
# database session can handle these events either synchronously or
|
15610
|
+
# asynchronously.
|
15611
|
+
# @return [String]
|
15612
|
+
#
|
15613
|
+
# @!attribute [rw] kms_key_id
|
15614
|
+
# The AWS KMS key identifier for encrypting messages in the database
|
15615
|
+
# activity stream. The key identifier can be either a key ID, a key
|
15616
|
+
# ARN, or a key alias.
|
15617
|
+
# @return [String]
|
15618
|
+
#
|
15619
|
+
# @!attribute [rw] apply_immediately
|
15620
|
+
# Specifies whether or not the database activity stream is to start as
|
15621
|
+
# soon as possible, regardless of the maintenance window for the
|
15622
|
+
# database.
|
15623
|
+
# @return [Boolean]
|
15624
|
+
#
|
15625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartActivityStreamRequest AWS API Documentation
|
15626
|
+
#
|
15627
|
+
class StartActivityStreamRequest < Struct.new(
|
15628
|
+
:resource_arn,
|
15629
|
+
:mode,
|
15630
|
+
:kms_key_id,
|
15631
|
+
:apply_immediately)
|
15632
|
+
include Aws::Structure
|
15633
|
+
end
|
15634
|
+
|
15635
|
+
# @!attribute [rw] kms_key_id
|
15636
|
+
# The AWS KMS key identifier for encryption of messages in the
|
15637
|
+
# database activity stream.
|
15638
|
+
# @return [String]
|
15639
|
+
#
|
15640
|
+
# @!attribute [rw] kinesis_stream_name
|
15641
|
+
# The name of the Amazon Kinesis data stream to be used for the
|
15642
|
+
# database activity stream.
|
15643
|
+
# @return [String]
|
15644
|
+
#
|
15645
|
+
# @!attribute [rw] status
|
15646
|
+
# The status of the database activity stream.
|
15647
|
+
# @return [String]
|
15648
|
+
#
|
15649
|
+
# @!attribute [rw] mode
|
15650
|
+
# The mode of the database activity stream.
|
15651
|
+
# @return [String]
|
15652
|
+
#
|
15653
|
+
# @!attribute [rw] apply_immediately
|
15654
|
+
# Indicates whether or not the database activity stream will start as
|
15655
|
+
# soon as possible, regardless of the maintenance window for the
|
15656
|
+
# database.
|
15657
|
+
# @return [Boolean]
|
15658
|
+
#
|
15659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartActivityStreamResponse AWS API Documentation
|
15660
|
+
#
|
15661
|
+
class StartActivityStreamResponse < Struct.new(
|
15662
|
+
:kms_key_id,
|
15663
|
+
:kinesis_stream_name,
|
15664
|
+
:status,
|
15665
|
+
:mode,
|
15666
|
+
:apply_immediately)
|
15667
|
+
include Aws::Structure
|
15668
|
+
end
|
15669
|
+
|
15566
15670
|
# @note When making an API call, you may pass StartDBClusterMessage
|
15567
15671
|
# data as a hash:
|
15568
15672
|
#
|
@@ -15628,6 +15732,57 @@ module Aws::RDS
|
|
15628
15732
|
include Aws::Structure
|
15629
15733
|
end
|
15630
15734
|
|
15735
|
+
# @note When making an API call, you may pass StopActivityStreamRequest
|
15736
|
+
# data as a hash:
|
15737
|
+
#
|
15738
|
+
# {
|
15739
|
+
# resource_arn: "String", # required
|
15740
|
+
# apply_immediately: false,
|
15741
|
+
# }
|
15742
|
+
#
|
15743
|
+
# @!attribute [rw] resource_arn
|
15744
|
+
# The Amazon Resource Name (ARN) of the DB cluster for the database
|
15745
|
+
# activity stream. For example,
|
15746
|
+
# `arn:aws:rds:us-east-1:12345667890:cluster:das-cluster`.
|
15747
|
+
# @return [String]
|
15748
|
+
#
|
15749
|
+
# @!attribute [rw] apply_immediately
|
15750
|
+
# Specifies whether or not the database activity stream is to stop as
|
15751
|
+
# soon as possible, regardless of the maintenance window for the
|
15752
|
+
# database.
|
15753
|
+
# @return [Boolean]
|
15754
|
+
#
|
15755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopActivityStreamRequest AWS API Documentation
|
15756
|
+
#
|
15757
|
+
class StopActivityStreamRequest < Struct.new(
|
15758
|
+
:resource_arn,
|
15759
|
+
:apply_immediately)
|
15760
|
+
include Aws::Structure
|
15761
|
+
end
|
15762
|
+
|
15763
|
+
# @!attribute [rw] kms_key_id
|
15764
|
+
# The AWS KMS key identifier used for encrypting messages in the
|
15765
|
+
# database activity stream.
|
15766
|
+
# @return [String]
|
15767
|
+
#
|
15768
|
+
# @!attribute [rw] kinesis_stream_name
|
15769
|
+
# The name of the Amazon Kinesis data stream used for the database
|
15770
|
+
# activity stream.
|
15771
|
+
# @return [String]
|
15772
|
+
#
|
15773
|
+
# @!attribute [rw] status
|
15774
|
+
# The status of the database activity stream.
|
15775
|
+
# @return [String]
|
15776
|
+
#
|
15777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopActivityStreamResponse AWS API Documentation
|
15778
|
+
#
|
15779
|
+
class StopActivityStreamResponse < Struct.new(
|
15780
|
+
:kms_key_id,
|
15781
|
+
:kinesis_stream_name,
|
15782
|
+
:status)
|
15783
|
+
include Aws::Structure
|
15784
|
+
end
|
15785
|
+
|
15631
15786
|
# @note When making an API call, you may pass StopDBClusterMessage
|
15632
15787
|
# data as a hash:
|
15633
15788
|
#
|
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.
|
4
|
+
version: 1.57.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: 2019-05-
|
11
|
+
date: 2019-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|