aws-sdk-rds 1.147.0 → 1.150.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +90 -9
- data/lib/aws-sdk-rds/client_api.rb +28 -0
- data/lib/aws-sdk-rds/db_instance.rb +8 -3
- data/lib/aws-sdk-rds/resource.rb +3 -5
- data/lib/aws-sdk-rds/types.rb +89 -12
- data/lib/aws-sdk-rds/waiters.rb +137 -0
- 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: f7409b3919ea43e8e070fb3b07b24e09ed27cd0dfab8cba02439dd1e49260c9c
|
4
|
+
data.tar.gz: ab446a9e08f339763041abc847eec2f7fbc8299e4f39a39f4f631fd9fdfcdef2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 541000d71ebbd533f8337b27222bcb90a7865ba8aa5cf6dffae47e686622606bbcc5bcbe43cdd3593c52a4624d5f1173f9669215f51f39e4026785e103d134d9
|
7
|
+
data.tar.gz: 623cb083c7da0225caade8497eedb72bc9599ed2226ec162ca78d6a2caeb36cc7196de56a791f99aa5ea604a9a44a1d307e9e4208ed943630d1795abd291a2ee
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.150.0 (2022-07-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the "ModifyActivityStream" API with support for audit policy state locking and unlocking.
|
8
|
+
|
9
|
+
1.149.0 (2022-07-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for creating an RDS Proxy for an RDS for MariaDB database.
|
13
|
+
|
14
|
+
1.148.0 (2022-07-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Adds waiters support for DBCluster.
|
18
|
+
|
4
19
|
1.147.0 (2022-07-01)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.150.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -4693,6 +4693,7 @@ module Aws::RDS
|
|
4693
4693
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
4694
4694
|
# resp.db_instance.backup_target #=> String
|
4695
4695
|
# resp.db_instance.network_type #=> String
|
4696
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
4696
4697
|
#
|
4697
4698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
|
4698
4699
|
#
|
@@ -5483,6 +5484,7 @@ module Aws::RDS
|
|
5483
5484
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
5484
5485
|
# resp.db_instance.backup_target #=> String
|
5485
5486
|
# resp.db_instance.network_type #=> String
|
5487
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
5486
5488
|
#
|
5487
5489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
|
5488
5490
|
#
|
@@ -5660,8 +5662,9 @@ module Aws::RDS
|
|
5660
5662
|
# @option params [required, String] :engine_family
|
5661
5663
|
# The kinds of databases that the proxy can connect to. This value
|
5662
5664
|
# determines which database network protocol the proxy recognizes when
|
5663
|
-
# it interprets network traffic to and from the database.
|
5664
|
-
#
|
5665
|
+
# it interprets network traffic to and from the database. For Aurora
|
5666
|
+
# MySQL and RDS for MySQL databases, specify `MYSQL`. For Aurora
|
5667
|
+
# PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`.
|
5665
5668
|
#
|
5666
5669
|
# @option params [required, Array<Types::UserAuthConfig>] :auth
|
5667
5670
|
# The authorization mechanism that the proxy uses.
|
@@ -7322,6 +7325,7 @@ module Aws::RDS
|
|
7322
7325
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
7323
7326
|
# resp.db_instance.backup_target #=> String
|
7324
7327
|
# resp.db_instance.network_type #=> String
|
7328
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
7325
7329
|
#
|
7326
7330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
|
7327
7331
|
#
|
@@ -8918,6 +8922,12 @@ module Aws::RDS
|
|
8918
8922
|
# resp.db_clusters[0].serverless_v2_scaling_configuration.min_capacity #=> Float
|
8919
8923
|
# resp.db_clusters[0].serverless_v2_scaling_configuration.max_capacity #=> Float
|
8920
8924
|
#
|
8925
|
+
#
|
8926
|
+
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
8927
|
+
#
|
8928
|
+
# * db_cluster_available
|
8929
|
+
# * db_cluster_deleted
|
8930
|
+
#
|
8921
8931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters AWS API Documentation
|
8922
8932
|
#
|
8923
8933
|
# @overload describe_db_clusters(params = {})
|
@@ -9535,6 +9545,7 @@ module Aws::RDS
|
|
9535
9545
|
# resp.db_instances[0].custom_iam_instance_profile #=> String
|
9536
9546
|
# resp.db_instances[0].backup_target #=> String
|
9537
9547
|
# resp.db_instances[0].network_type #=> String
|
9548
|
+
# resp.db_instances[0].activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
9538
9549
|
#
|
9539
9550
|
#
|
9540
9551
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -10297,8 +10308,7 @@ module Aws::RDS
|
|
10297
10308
|
#
|
10298
10309
|
# @option params [String] :db_instance_identifier
|
10299
10310
|
# The ID of the DB instance to retrieve the list of DB snapshots for.
|
10300
|
-
# This parameter
|
10301
|
-
# `DBSnapshotIdentifier`. This parameter isn't case-sensitive.
|
10311
|
+
# This parameter isn't case-sensitive.
|
10302
10312
|
#
|
10303
10313
|
# Constraints:
|
10304
10314
|
#
|
@@ -10307,9 +10317,8 @@ module Aws::RDS
|
|
10307
10317
|
# ^
|
10308
10318
|
#
|
10309
10319
|
# @option params [String] :db_snapshot_identifier
|
10310
|
-
# A specific DB snapshot identifier to describe. This
|
10311
|
-
#
|
10312
|
-
# stored as a lowercase string.
|
10320
|
+
# A specific DB snapshot identifier to describe. This value is stored as
|
10321
|
+
# a lowercase string.
|
10313
10322
|
#
|
10314
10323
|
# Constraints:
|
10315
10324
|
#
|
@@ -11747,7 +11756,7 @@ module Aws::RDS
|
|
11747
11756
|
#
|
11748
11757
|
# Default: 100
|
11749
11758
|
#
|
11750
|
-
# Constraints: Minimum 20, maximum
|
11759
|
+
# Constraints: Minimum 20, maximum 10000.
|
11751
11760
|
#
|
11752
11761
|
# @option params [String] :marker
|
11753
11762
|
# An optional pagination token provided by a previous
|
@@ -12836,6 +12845,63 @@ module Aws::RDS
|
|
12836
12845
|
req.send_request(options)
|
12837
12846
|
end
|
12838
12847
|
|
12848
|
+
# Changes the audit policy state of a database activity stream to either
|
12849
|
+
# locked (default) or unlocked. A locked policy is read-only, whereas an
|
12850
|
+
# unlocked policy is read/write. If your activity stream is started and
|
12851
|
+
# locked, you can unlock it, customize your audit policy, and then lock
|
12852
|
+
# your activity stream. Restarting the activity stream isn't required.
|
12853
|
+
# For more information, see [ Modifying a database activity stream][1]
|
12854
|
+
# in the *Amazon RDS User Guide*.
|
12855
|
+
#
|
12856
|
+
# This operation is supported for RDS for Oracle only.
|
12857
|
+
#
|
12858
|
+
#
|
12859
|
+
#
|
12860
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.Modifying.html
|
12861
|
+
#
|
12862
|
+
# @option params [String] :resource_arn
|
12863
|
+
# The Amazon Resource Name (ARN) of the RDS for Oracle DB instance, for
|
12864
|
+
# example, `arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db`.
|
12865
|
+
#
|
12866
|
+
# @option params [String] :audit_policy_state
|
12867
|
+
# The audit policy state. When a policy is unlocked, it is read/write.
|
12868
|
+
# When it is locked, it is read-only. You can edit your audit policy
|
12869
|
+
# only when the activity stream is unlocked or stopped.
|
12870
|
+
#
|
12871
|
+
# @return [Types::ModifyActivityStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12872
|
+
#
|
12873
|
+
# * {Types::ModifyActivityStreamResponse#kms_key_id #kms_key_id} => String
|
12874
|
+
# * {Types::ModifyActivityStreamResponse#kinesis_stream_name #kinesis_stream_name} => String
|
12875
|
+
# * {Types::ModifyActivityStreamResponse#status #status} => String
|
12876
|
+
# * {Types::ModifyActivityStreamResponse#mode #mode} => String
|
12877
|
+
# * {Types::ModifyActivityStreamResponse#engine_native_audit_fields_included #engine_native_audit_fields_included} => Boolean
|
12878
|
+
# * {Types::ModifyActivityStreamResponse#policy_status #policy_status} => String
|
12879
|
+
#
|
12880
|
+
# @example Request syntax with placeholder values
|
12881
|
+
#
|
12882
|
+
# resp = client.modify_activity_stream({
|
12883
|
+
# resource_arn: "String",
|
12884
|
+
# audit_policy_state: "locked", # accepts locked, unlocked
|
12885
|
+
# })
|
12886
|
+
#
|
12887
|
+
# @example Response structure
|
12888
|
+
#
|
12889
|
+
# resp.kms_key_id #=> String
|
12890
|
+
# resp.kinesis_stream_name #=> String
|
12891
|
+
# resp.status #=> String, one of "stopped", "starting", "started", "stopping"
|
12892
|
+
# resp.mode #=> String, one of "sync", "async"
|
12893
|
+
# resp.engine_native_audit_fields_included #=> Boolean
|
12894
|
+
# resp.policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
12895
|
+
#
|
12896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyActivityStream AWS API Documentation
|
12897
|
+
#
|
12898
|
+
# @overload modify_activity_stream(params = {})
|
12899
|
+
# @param [Hash] params ({})
|
12900
|
+
def modify_activity_stream(params = {}, options = {})
|
12901
|
+
req = build_request(:modify_activity_stream, params)
|
12902
|
+
req.send_request(options)
|
12903
|
+
end
|
12904
|
+
|
12839
12905
|
# Override the system-default Secure Sockets Layer/Transport Layer
|
12840
12906
|
# Security (SSL/TLS) certificate for Amazon RDS for new DB instances, or
|
12841
12907
|
# remove the override.
|
@@ -15241,6 +15307,7 @@ module Aws::RDS
|
|
15241
15307
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
15242
15308
|
# resp.db_instance.backup_target #=> String
|
15243
15309
|
# resp.db_instance.network_type #=> String
|
15310
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
15244
15311
|
#
|
15245
15312
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
|
15246
15313
|
#
|
@@ -16470,6 +16537,7 @@ module Aws::RDS
|
|
16470
16537
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
16471
16538
|
# resp.db_instance.backup_target #=> String
|
16472
16539
|
# resp.db_instance.network_type #=> String
|
16540
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
16473
16541
|
#
|
16474
16542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
|
16475
16543
|
#
|
@@ -16874,6 +16942,9 @@ module Aws::RDS
|
|
16874
16942
|
#
|
16875
16943
|
# This command doesn't apply to RDS Custom.
|
16876
16944
|
#
|
16945
|
+
# If your DB instance is part of a Multi-AZ DB cluster, you can reboot
|
16946
|
+
# the DB cluster with the `RebootDBCluster` operation.
|
16947
|
+
#
|
16877
16948
|
#
|
16878
16949
|
#
|
16879
16950
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_RebootInstance.html
|
@@ -17063,6 +17134,7 @@ module Aws::RDS
|
|
17063
17134
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
17064
17135
|
# resp.db_instance.backup_target #=> String
|
17065
17136
|
# resp.db_instance.network_type #=> String
|
17137
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
17066
17138
|
#
|
17067
17139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
|
17068
17140
|
#
|
@@ -19971,6 +20043,7 @@ module Aws::RDS
|
|
19971
20043
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
19972
20044
|
# resp.db_instance.backup_target #=> String
|
19973
20045
|
# resp.db_instance.network_type #=> String
|
20046
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
19974
20047
|
#
|
19975
20048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
|
19976
20049
|
#
|
@@ -20618,6 +20691,7 @@ module Aws::RDS
|
|
20618
20691
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
20619
20692
|
# resp.db_instance.backup_target #=> String
|
20620
20693
|
# resp.db_instance.network_type #=> String
|
20694
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
20621
20695
|
#
|
20622
20696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
|
20623
20697
|
#
|
@@ -21356,6 +21430,7 @@ module Aws::RDS
|
|
21356
21430
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
21357
21431
|
# resp.db_instance.backup_target #=> String
|
21358
21432
|
# resp.db_instance.network_type #=> String
|
21433
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
21359
21434
|
#
|
21360
21435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
|
21361
21436
|
#
|
@@ -21839,6 +21914,7 @@ module Aws::RDS
|
|
21839
21914
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
21840
21915
|
# resp.db_instance.backup_target #=> String
|
21841
21916
|
# resp.db_instance.network_type #=> String
|
21917
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
21842
21918
|
#
|
21843
21919
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
21844
21920
|
#
|
@@ -22463,6 +22539,7 @@ module Aws::RDS
|
|
22463
22539
|
# resp.db_instance.custom_iam_instance_profile #=> String
|
22464
22540
|
# resp.db_instance.backup_target #=> String
|
22465
22541
|
# resp.db_instance.network_type #=> String
|
22542
|
+
# resp.db_instance.activity_stream_policy_status #=> String, one of "locked", "unlocked", "locking-policy", "unlocking-policy"
|
22466
22543
|
#
|
22467
22544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
22468
22545
|
#
|
@@ -22554,7 +22631,7 @@ module Aws::RDS
|
|
22554
22631
|
params: params,
|
22555
22632
|
config: config)
|
22556
22633
|
context[:gem_name] = 'aws-sdk-rds'
|
22557
|
-
context[:gem_version] = '1.
|
22634
|
+
context[:gem_version] = '1.150.0'
|
22558
22635
|
Seahorse::Client::Request.new(handlers, context)
|
22559
22636
|
end
|
22560
22637
|
|
@@ -22622,6 +22699,8 @@ module Aws::RDS
|
|
22622
22699
|
#
|
22623
22700
|
# | waiter_name | params | :delay | :max_attempts |
|
22624
22701
|
# | ----------------------------- | -------------------------------------- | -------- | ------------- |
|
22702
|
+
# | db_cluster_available | {Client#describe_db_clusters} | 30 | 60 |
|
22703
|
+
# | db_cluster_deleted | {Client#describe_db_clusters} | 30 | 60 |
|
22625
22704
|
# | db_cluster_snapshot_available | {Client#describe_db_cluster_snapshots} | 30 | 60 |
|
22626
22705
|
# | db_cluster_snapshot_deleted | {Client#describe_db_cluster_snapshots} | 30 | 60 |
|
22627
22706
|
# | db_instance_available | {Client#describe_db_instances} | 30 | 60 |
|
@@ -22678,6 +22757,8 @@ module Aws::RDS
|
|
22678
22757
|
|
22679
22758
|
def waiters
|
22680
22759
|
{
|
22760
|
+
db_cluster_available: Waiters::DBClusterAvailable,
|
22761
|
+
db_cluster_deleted: Waiters::DBClusterDeleted,
|
22681
22762
|
db_cluster_snapshot_available: Waiters::DBClusterSnapshotAvailable,
|
22682
22763
|
db_cluster_snapshot_deleted: Waiters::DBClusterSnapshotDeleted,
|
22683
22764
|
db_instance_available: Waiters::DBInstanceAvailable,
|
@@ -18,6 +18,7 @@ module Aws::RDS
|
|
18
18
|
AccountQuotaList = Shapes::ListShape.new(name: 'AccountQuotaList')
|
19
19
|
ActivityStreamMode = Shapes::StringShape.new(name: 'ActivityStreamMode')
|
20
20
|
ActivityStreamModeList = Shapes::ListShape.new(name: 'ActivityStreamModeList')
|
21
|
+
ActivityStreamPolicyStatus = Shapes::StringShape.new(name: 'ActivityStreamPolicyStatus')
|
21
22
|
ActivityStreamStatus = Shapes::StringShape.new(name: 'ActivityStreamStatus')
|
22
23
|
AddRoleToDBClusterMessage = Shapes::StructureShape.new(name: 'AddRoleToDBClusterMessage')
|
23
24
|
AddRoleToDBInstanceMessage = Shapes::StructureShape.new(name: 'AddRoleToDBInstanceMessage')
|
@@ -28,6 +29,7 @@ module Aws::RDS
|
|
28
29
|
ApplyPendingMaintenanceActionMessage = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionMessage')
|
29
30
|
ApplyPendingMaintenanceActionResult = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionResult')
|
30
31
|
AttributeValueList = Shapes::ListShape.new(name: 'AttributeValueList')
|
32
|
+
AuditPolicyState = Shapes::StringShape.new(name: 'AuditPolicyState')
|
31
33
|
AuthScheme = Shapes::StringShape.new(name: 'AuthScheme')
|
32
34
|
AuthorizationAlreadyExistsFault = Shapes::StructureShape.new(name: 'AuthorizationAlreadyExistsFault')
|
33
35
|
AuthorizationNotFoundFault = Shapes::StructureShape.new(name: 'AuthorizationNotFoundFault')
|
@@ -401,6 +403,8 @@ module Aws::RDS
|
|
401
403
|
MaxRecords = Shapes::IntegerShape.new(name: 'MaxRecords')
|
402
404
|
MinimumEngineVersionPerAllowedValue = Shapes::StructureShape.new(name: 'MinimumEngineVersionPerAllowedValue')
|
403
405
|
MinimumEngineVersionPerAllowedValueList = Shapes::ListShape.new(name: 'MinimumEngineVersionPerAllowedValueList')
|
406
|
+
ModifyActivityStreamRequest = Shapes::StructureShape.new(name: 'ModifyActivityStreamRequest')
|
407
|
+
ModifyActivityStreamResponse = Shapes::StructureShape.new(name: 'ModifyActivityStreamResponse')
|
404
408
|
ModifyCertificatesMessage = Shapes::StructureShape.new(name: 'ModifyCertificatesMessage')
|
405
409
|
ModifyCertificatesResult = Shapes::StructureShape.new(name: 'ModifyCertificatesResult')
|
406
410
|
ModifyCurrentDBClusterCapacityMessage = Shapes::StructureShape.new(name: 'ModifyCurrentDBClusterCapacityMessage')
|
@@ -1401,6 +1405,7 @@ module Aws::RDS
|
|
1401
1405
|
DBInstance.add_member(:custom_iam_instance_profile, Shapes::ShapeRef.new(shape: String, location_name: "CustomIamInstanceProfile"))
|
1402
1406
|
DBInstance.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
1403
1407
|
DBInstance.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
1408
|
+
DBInstance.add_member(:activity_stream_policy_status, Shapes::ShapeRef.new(shape: ActivityStreamPolicyStatus, location_name: "ActivityStreamPolicyStatus"))
|
1404
1409
|
DBInstance.struct_class = Types::DBInstance
|
1405
1410
|
|
1406
1411
|
DBInstanceAlreadyExistsFault.struct_class = Types::DBInstanceAlreadyExistsFault
|
@@ -2362,6 +2367,18 @@ module Aws::RDS
|
|
2362
2367
|
|
2363
2368
|
MinimumEngineVersionPerAllowedValueList.member = Shapes::ShapeRef.new(shape: MinimumEngineVersionPerAllowedValue, location_name: "MinimumEngineVersionPerAllowedValue")
|
2364
2369
|
|
2370
|
+
ModifyActivityStreamRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
|
2371
|
+
ModifyActivityStreamRequest.add_member(:audit_policy_state, Shapes::ShapeRef.new(shape: AuditPolicyState, location_name: "AuditPolicyState"))
|
2372
|
+
ModifyActivityStreamRequest.struct_class = Types::ModifyActivityStreamRequest
|
2373
|
+
|
2374
|
+
ModifyActivityStreamResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
2375
|
+
ModifyActivityStreamResponse.add_member(:kinesis_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "KinesisStreamName"))
|
2376
|
+
ModifyActivityStreamResponse.add_member(:status, Shapes::ShapeRef.new(shape: ActivityStreamStatus, location_name: "Status"))
|
2377
|
+
ModifyActivityStreamResponse.add_member(:mode, Shapes::ShapeRef.new(shape: ActivityStreamMode, location_name: "Mode"))
|
2378
|
+
ModifyActivityStreamResponse.add_member(:engine_native_audit_fields_included, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EngineNativeAuditFieldsIncluded"))
|
2379
|
+
ModifyActivityStreamResponse.add_member(:policy_status, Shapes::ShapeRef.new(shape: ActivityStreamPolicyStatus, location_name: "PolicyStatus"))
|
2380
|
+
ModifyActivityStreamResponse.struct_class = Types::ModifyActivityStreamResponse
|
2381
|
+
|
2365
2382
|
ModifyCertificatesMessage.add_member(:certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CertificateIdentifier"))
|
2366
2383
|
ModifyCertificatesMessage.add_member(:remove_customer_override, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "RemoveCustomerOverride"))
|
2367
2384
|
ModifyCertificatesMessage.struct_class = Types::ModifyCertificatesMessage
|
@@ -4604,6 +4621,17 @@ module Aws::RDS
|
|
4604
4621
|
o.errors << Shapes::ShapeRef.new(shape: DBProxyTargetGroupNotFoundFault)
|
4605
4622
|
end)
|
4606
4623
|
|
4624
|
+
api.add_operation(:modify_activity_stream, Seahorse::Model::Operation.new.tap do |o|
|
4625
|
+
o.name = "ModifyActivityStream"
|
4626
|
+
o.http_method = "POST"
|
4627
|
+
o.http_request_uri = "/"
|
4628
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyActivityStreamRequest)
|
4629
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyActivityStreamResponse)
|
4630
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
|
4631
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundFault)
|
4632
|
+
o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
|
4633
|
+
end)
|
4634
|
+
|
4607
4635
|
api.add_operation(:modify_certificates, Seahorse::Model::Operation.new.tap do |o|
|
4608
4636
|
o.name = "ModifyCertificates"
|
4609
4637
|
o.http_method = "POST"
|
@@ -719,6 +719,12 @@ module Aws::RDS
|
|
719
719
|
data[:network_type]
|
720
720
|
end
|
721
721
|
|
722
|
+
# The status of the policy state of the activity stream.
|
723
|
+
# @return [String]
|
724
|
+
def activity_stream_policy_status
|
725
|
+
data[:activity_stream_policy_status]
|
726
|
+
end
|
727
|
+
|
722
728
|
# @!endgroup
|
723
729
|
|
724
730
|
# @return [Client]
|
@@ -4235,9 +4241,8 @@ module Aws::RDS
|
|
4235
4241
|
# })
|
4236
4242
|
# @param [Hash] options ({})
|
4237
4243
|
# @option options [String] :db_snapshot_identifier
|
4238
|
-
# A specific DB snapshot identifier to describe. This
|
4239
|
-
#
|
4240
|
-
# stored as a lowercase string.
|
4244
|
+
# A specific DB snapshot identifier to describe. This value is stored as
|
4245
|
+
# a lowercase string.
|
4241
4246
|
#
|
4242
4247
|
# Constraints:
|
4243
4248
|
#
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -2947,8 +2947,7 @@ module Aws::RDS
|
|
2947
2947
|
# @param [Hash] options ({})
|
2948
2948
|
# @option options [String] :db_instance_identifier
|
2949
2949
|
# The ID of the DB instance to retrieve the list of DB snapshots for.
|
2950
|
-
# This parameter
|
2951
|
-
# `DBSnapshotIdentifier`. This parameter isn't case-sensitive.
|
2950
|
+
# This parameter isn't case-sensitive.
|
2952
2951
|
#
|
2953
2952
|
# Constraints:
|
2954
2953
|
#
|
@@ -2956,9 +2955,8 @@ module Aws::RDS
|
|
2956
2955
|
#
|
2957
2956
|
# ^
|
2958
2957
|
# @option options [String] :db_snapshot_identifier
|
2959
|
-
# A specific DB snapshot identifier to describe. This
|
2960
|
-
#
|
2961
|
-
# stored as a lowercase string.
|
2958
|
+
# A specific DB snapshot identifier to describe. This value is stored as
|
2959
|
+
# a lowercase string.
|
2962
2960
|
#
|
2963
2961
|
# Constraints:
|
2964
2962
|
#
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -5193,8 +5193,9 @@ module Aws::RDS
|
|
5193
5193
|
# @!attribute [rw] engine_family
|
5194
5194
|
# The kinds of databases that the proxy can connect to. This value
|
5195
5195
|
# determines which database network protocol the proxy recognizes when
|
5196
|
-
# it interprets network traffic to and from the database.
|
5197
|
-
#
|
5196
|
+
# it interprets network traffic to and from the database. For Aurora
|
5197
|
+
# MySQL and RDS for MySQL databases, specify `MYSQL`. For Aurora
|
5198
|
+
# PostgreSQL and RDS for PostgreSQL databases, specify `POSTGRESQL`.
|
5198
5199
|
# @return [String]
|
5199
5200
|
#
|
5200
5201
|
# @!attribute [rw] auth
|
@@ -7880,6 +7881,10 @@ module Aws::RDS
|
|
7880
7881
|
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html
|
7881
7882
|
# @return [String]
|
7882
7883
|
#
|
7884
|
+
# @!attribute [rw] activity_stream_policy_status
|
7885
|
+
# The status of the policy state of the activity stream.
|
7886
|
+
# @return [String]
|
7887
|
+
#
|
7883
7888
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
|
7884
7889
|
#
|
7885
7890
|
class DBInstance < Struct.new(
|
@@ -7957,7 +7962,8 @@ module Aws::RDS
|
|
7957
7962
|
:resume_full_automation_mode_time,
|
7958
7963
|
:custom_iam_instance_profile,
|
7959
7964
|
:backup_target,
|
7960
|
-
:network_type
|
7965
|
+
:network_type,
|
7966
|
+
:activity_stream_policy_status)
|
7961
7967
|
SENSITIVE = []
|
7962
7968
|
include Aws::Structure
|
7963
7969
|
end
|
@@ -8494,8 +8500,11 @@ module Aws::RDS
|
|
8494
8500
|
# @return [String]
|
8495
8501
|
#
|
8496
8502
|
# @!attribute [rw] engine_family
|
8497
|
-
# The
|
8498
|
-
#
|
8503
|
+
# The kinds of databases that the proxy can connect to. This value
|
8504
|
+
# determines which database network protocol the proxy recognizes when
|
8505
|
+
# it interprets network traffic to and from the database. `MYSQL`
|
8506
|
+
# supports Aurora MySQL and RDS for MySQL databases. `POSTGRESQL`
|
8507
|
+
# supports Aurora PostgreSQL and RDS for PostgreSQL databases.
|
8499
8508
|
# @return [String]
|
8500
8509
|
#
|
8501
8510
|
# @!attribute [rw] vpc_id
|
@@ -11746,8 +11755,7 @@ module Aws::RDS
|
|
11746
11755
|
#
|
11747
11756
|
# @!attribute [rw] db_instance_identifier
|
11748
11757
|
# The ID of the DB instance to retrieve the list of DB snapshots for.
|
11749
|
-
# This parameter
|
11750
|
-
# `DBSnapshotIdentifier`. This parameter isn't case-sensitive.
|
11758
|
+
# This parameter isn't case-sensitive.
|
11751
11759
|
#
|
11752
11760
|
# Constraints:
|
11753
11761
|
#
|
@@ -11757,9 +11765,8 @@ module Aws::RDS
|
|
11757
11765
|
# @return [String]
|
11758
11766
|
#
|
11759
11767
|
# @!attribute [rw] db_snapshot_identifier
|
11760
|
-
# A specific DB snapshot identifier to describe. This
|
11761
|
-
#
|
11762
|
-
# stored as a lowercase string.
|
11768
|
+
# A specific DB snapshot identifier to describe. This value is stored
|
11769
|
+
# as a lowercase string.
|
11763
11770
|
#
|
11764
11771
|
# Constraints:
|
11765
11772
|
#
|
@@ -12799,7 +12806,7 @@ module Aws::RDS
|
|
12799
12806
|
#
|
12800
12807
|
# Default: 100
|
12801
12808
|
#
|
12802
|
-
# Constraints: Minimum 20, maximum
|
12809
|
+
# Constraints: Minimum 20, maximum 10000.
|
12803
12810
|
# @return [Integer]
|
12804
12811
|
#
|
12805
12812
|
# @!attribute [rw] marker
|
@@ -14471,6 +14478,76 @@ module Aws::RDS
|
|
14471
14478
|
include Aws::Structure
|
14472
14479
|
end
|
14473
14480
|
|
14481
|
+
# @note When making an API call, you may pass ModifyActivityStreamRequest
|
14482
|
+
# data as a hash:
|
14483
|
+
#
|
14484
|
+
# {
|
14485
|
+
# resource_arn: "String",
|
14486
|
+
# audit_policy_state: "locked", # accepts locked, unlocked
|
14487
|
+
# }
|
14488
|
+
#
|
14489
|
+
# @!attribute [rw] resource_arn
|
14490
|
+
# The Amazon Resource Name (ARN) of the RDS for Oracle DB instance,
|
14491
|
+
# for example,
|
14492
|
+
# `arn:aws:rds:us-east-1:12345667890:instance:my-orcl-db`.
|
14493
|
+
# @return [String]
|
14494
|
+
#
|
14495
|
+
# @!attribute [rw] audit_policy_state
|
14496
|
+
# The audit policy state. When a policy is unlocked, it is read/write.
|
14497
|
+
# When it is locked, it is read-only. You can edit your audit policy
|
14498
|
+
# only when the activity stream is unlocked or stopped.
|
14499
|
+
# @return [String]
|
14500
|
+
#
|
14501
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyActivityStreamRequest AWS API Documentation
|
14502
|
+
#
|
14503
|
+
class ModifyActivityStreamRequest < Struct.new(
|
14504
|
+
:resource_arn,
|
14505
|
+
:audit_policy_state)
|
14506
|
+
SENSITIVE = []
|
14507
|
+
include Aws::Structure
|
14508
|
+
end
|
14509
|
+
|
14510
|
+
# @!attribute [rw] kms_key_id
|
14511
|
+
# The Amazon Web Services KMS key identifier for encryption of
|
14512
|
+
# messages in the database activity stream.
|
14513
|
+
# @return [String]
|
14514
|
+
#
|
14515
|
+
# @!attribute [rw] kinesis_stream_name
|
14516
|
+
# The name of the Amazon Kinesis data stream to be used for the
|
14517
|
+
# database activity stream.
|
14518
|
+
# @return [String]
|
14519
|
+
#
|
14520
|
+
# @!attribute [rw] status
|
14521
|
+
# The status of the modification to the database activity stream.
|
14522
|
+
# @return [String]
|
14523
|
+
#
|
14524
|
+
# @!attribute [rw] mode
|
14525
|
+
# The mode of the database activity stream.
|
14526
|
+
# @return [String]
|
14527
|
+
#
|
14528
|
+
# @!attribute [rw] engine_native_audit_fields_included
|
14529
|
+
# Indicates whether engine-native audit fields are included in the
|
14530
|
+
# database activity stream.
|
14531
|
+
# @return [Boolean]
|
14532
|
+
#
|
14533
|
+
# @!attribute [rw] policy_status
|
14534
|
+
# The status of the modification to the policy state of the database
|
14535
|
+
# activity stream.
|
14536
|
+
# @return [String]
|
14537
|
+
#
|
14538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyActivityStreamResponse AWS API Documentation
|
14539
|
+
#
|
14540
|
+
class ModifyActivityStreamResponse < Struct.new(
|
14541
|
+
:kms_key_id,
|
14542
|
+
:kinesis_stream_name,
|
14543
|
+
:status,
|
14544
|
+
:mode,
|
14545
|
+
:engine_native_audit_fields_included,
|
14546
|
+
:policy_status)
|
14547
|
+
SENSITIVE = []
|
14548
|
+
include Aws::Structure
|
14549
|
+
end
|
14550
|
+
|
14474
14551
|
# @note When making an API call, you may pass ModifyCertificatesMessage
|
14475
14552
|
# data as a hash:
|
14476
14553
|
#
|
@@ -22910,7 +22987,7 @@ module Aws::RDS
|
|
22910
22987
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html
|
22911
22988
|
#
|
22912
22989
|
# @!attribute [rw] min_capacity
|
22913
|
-
# The
|
22990
|
+
# The minimum capacity for an Aurora DB cluster in `serverless` DB
|
22914
22991
|
# engine mode.
|
22915
22992
|
# @return [Integer]
|
22916
22993
|
#
|
data/lib/aws-sdk-rds/waiters.rb
CHANGED
@@ -69,6 +69,8 @@ module Aws::RDS
|
|
69
69
|
#
|
70
70
|
# | waiter_name | params | :delay | :max_attempts |
|
71
71
|
# | ----------------------------- | -------------------------------------- | -------- | ------------- |
|
72
|
+
# | db_cluster_available | {Client#describe_db_clusters} | 30 | 60 |
|
73
|
+
# | db_cluster_deleted | {Client#describe_db_clusters} | 30 | 60 |
|
72
74
|
# | db_cluster_snapshot_available | {Client#describe_db_cluster_snapshots} | 30 | 60 |
|
73
75
|
# | db_cluster_snapshot_deleted | {Client#describe_db_cluster_snapshots} | 30 | 60 |
|
74
76
|
# | db_instance_available | {Client#describe_db_instances} | 30 | 60 |
|
@@ -78,6 +80,141 @@ module Aws::RDS
|
|
78
80
|
#
|
79
81
|
module Waiters
|
80
82
|
|
83
|
+
class DBClusterAvailable
|
84
|
+
|
85
|
+
# @param [Hash] options
|
86
|
+
# @option options [required, Client] :client
|
87
|
+
# @option options [Integer] :max_attempts (60)
|
88
|
+
# @option options [Integer] :delay (30)
|
89
|
+
# @option options [Proc] :before_attempt
|
90
|
+
# @option options [Proc] :before_wait
|
91
|
+
def initialize(options)
|
92
|
+
@client = options.fetch(:client)
|
93
|
+
@waiter = Aws::Waiters::Waiter.new({
|
94
|
+
max_attempts: 60,
|
95
|
+
delay: 30,
|
96
|
+
poller: Aws::Waiters::Poller.new(
|
97
|
+
operation_name: :describe_db_clusters,
|
98
|
+
acceptors: [
|
99
|
+
{
|
100
|
+
"expected" => "available",
|
101
|
+
"matcher" => "pathAll",
|
102
|
+
"state" => "success",
|
103
|
+
"argument" => "db_clusters[].status"
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"expected" => "deleted",
|
107
|
+
"matcher" => "pathAny",
|
108
|
+
"state" => "failure",
|
109
|
+
"argument" => "db_clusters[].status"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"expected" => "deleting",
|
113
|
+
"matcher" => "pathAny",
|
114
|
+
"state" => "failure",
|
115
|
+
"argument" => "db_clusters[].status"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"expected" => "failed",
|
119
|
+
"matcher" => "pathAny",
|
120
|
+
"state" => "failure",
|
121
|
+
"argument" => "db_clusters[].status"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"expected" => "incompatible-restore",
|
125
|
+
"matcher" => "pathAny",
|
126
|
+
"state" => "failure",
|
127
|
+
"argument" => "db_clusters[].status"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"expected" => "incompatible-parameters",
|
131
|
+
"matcher" => "pathAny",
|
132
|
+
"state" => "failure",
|
133
|
+
"argument" => "db_clusters[].status"
|
134
|
+
}
|
135
|
+
]
|
136
|
+
)
|
137
|
+
}.merge(options))
|
138
|
+
end
|
139
|
+
|
140
|
+
# @option (see Client#describe_db_clusters)
|
141
|
+
# @return (see Client#describe_db_clusters)
|
142
|
+
def wait(params = {})
|
143
|
+
@waiter.wait(client: @client, params: params)
|
144
|
+
end
|
145
|
+
|
146
|
+
# @api private
|
147
|
+
attr_reader :waiter
|
148
|
+
|
149
|
+
end
|
150
|
+
|
151
|
+
class DBClusterDeleted
|
152
|
+
|
153
|
+
# @param [Hash] options
|
154
|
+
# @option options [required, Client] :client
|
155
|
+
# @option options [Integer] :max_attempts (60)
|
156
|
+
# @option options [Integer] :delay (30)
|
157
|
+
# @option options [Proc] :before_attempt
|
158
|
+
# @option options [Proc] :before_wait
|
159
|
+
def initialize(options)
|
160
|
+
@client = options.fetch(:client)
|
161
|
+
@waiter = Aws::Waiters::Waiter.new({
|
162
|
+
max_attempts: 60,
|
163
|
+
delay: 30,
|
164
|
+
poller: Aws::Waiters::Poller.new(
|
165
|
+
operation_name: :describe_db_clusters,
|
166
|
+
acceptors: [
|
167
|
+
{
|
168
|
+
"expected" => true,
|
169
|
+
"matcher" => "path",
|
170
|
+
"state" => "success",
|
171
|
+
"argument" => "length(db_clusters) == `0`"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"expected" => "DBClusterNotFoundFault",
|
175
|
+
"matcher" => "error",
|
176
|
+
"state" => "success"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"expected" => "creating",
|
180
|
+
"matcher" => "pathAny",
|
181
|
+
"state" => "failure",
|
182
|
+
"argument" => "db_clusters[].status"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"expected" => "modifying",
|
186
|
+
"matcher" => "pathAny",
|
187
|
+
"state" => "failure",
|
188
|
+
"argument" => "db_clusters[].status"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"expected" => "rebooting",
|
192
|
+
"matcher" => "pathAny",
|
193
|
+
"state" => "failure",
|
194
|
+
"argument" => "db_clusters[].status"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"expected" => "resetting-master-credentials",
|
198
|
+
"matcher" => "pathAny",
|
199
|
+
"state" => "failure",
|
200
|
+
"argument" => "db_clusters[].status"
|
201
|
+
}
|
202
|
+
]
|
203
|
+
)
|
204
|
+
}.merge(options))
|
205
|
+
end
|
206
|
+
|
207
|
+
# @option (see Client#describe_db_clusters)
|
208
|
+
# @return (see Client#describe_db_clusters)
|
209
|
+
def wait(params = {})
|
210
|
+
@waiter.wait(client: @client, params: params)
|
211
|
+
end
|
212
|
+
|
213
|
+
# @api private
|
214
|
+
attr_reader :waiter
|
215
|
+
|
216
|
+
end
|
217
|
+
|
81
218
|
class DBClusterSnapshotAvailable
|
82
219
|
|
83
220
|
# @param [Hash] options
|
data/lib/aws-sdk-rds.rb
CHANGED
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.150.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: 2022-07-
|
11
|
+
date: 2022-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|