aws-sdk-rds 1.10.0 → 1.11.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 +4 -4
- data/lib/aws-sdk-rds.rb +1 -1
- data/lib/aws-sdk-rds/client.rb +121 -2
- data/lib/aws-sdk-rds/client_api.rb +23 -0
- data/lib/aws-sdk-rds/db_engine_version.rb +14 -0
- data/lib/aws-sdk-rds/db_instance.rb +37 -0
- data/lib/aws-sdk-rds/db_snapshot.rb +4 -0
- data/lib/aws-sdk-rds/resource.rb +4 -0
- data/lib/aws-sdk-rds/types.rb +140 -9
- 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: 0c9525ac937bdd80a53f44a5aaee271378475d44
|
4
|
+
data.tar.gz: 39311df66b076692384784f86eab53ae3255934e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee351fae346f2b5d2a781e218d414e3c518db0451b26d16407f18d5e3b4474e2003da1199e6dd3d7ad93de35fb827892e7d29650dee713b38cf6939cedc8b2d0
|
7
|
+
data.tar.gz: ef02916c6a2801eafa36184dbd8e5ff567d3f77cec6f688bf83dbef1a751b2c2c8b4a73ebcb64087d21370c9288d3a3b484209738cc5671e7f67192f04237db0
|
data/lib/aws-sdk-rds.rb
CHANGED
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -2823,6 +2823,10 @@ module Aws::RDS
|
|
2823
2823
|
# data. The KMS key ID is the Amazon Resource Name (ARN), KMS key
|
2824
2824
|
# identifier, or the KMS key alias for the KMS encryption key.
|
2825
2825
|
#
|
2826
|
+
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
2827
|
+
# The list of log types that need to be enabled for exporting to
|
2828
|
+
# CloudWatch Logs.
|
2829
|
+
#
|
2826
2830
|
# @return [Types::CreateDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2827
2831
|
#
|
2828
2832
|
# * {Types::CreateDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
@@ -2896,6 +2900,7 @@ module Aws::RDS
|
|
2896
2900
|
# enable_iam_database_authentication: false,
|
2897
2901
|
# enable_performance_insights: false,
|
2898
2902
|
# performance_insights_kms_key_id: "String",
|
2903
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
2899
2904
|
# })
|
2900
2905
|
#
|
2901
2906
|
# @example Response structure
|
@@ -2946,6 +2951,10 @@ module Aws::RDS
|
|
2946
2951
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
2947
2952
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
2948
2953
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
2954
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
2955
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
2956
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
2957
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
2949
2958
|
# resp.db_instance.latest_restorable_time #=> Time
|
2950
2959
|
# resp.db_instance.multi_az #=> Boolean
|
2951
2960
|
# resp.db_instance.engine_version #=> String
|
@@ -2991,6 +3000,8 @@ module Aws::RDS
|
|
2991
3000
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
2992
3001
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
2993
3002
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
3003
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
3004
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
2994
3005
|
#
|
2995
3006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance AWS API Documentation
|
2996
3007
|
#
|
@@ -3087,6 +3098,17 @@ module Aws::RDS
|
|
3087
3098
|
# @option params [Boolean] :multi_az
|
3088
3099
|
# Specifies whether the read replica is in a Multi-AZ deployment.
|
3089
3100
|
#
|
3101
|
+
# You can create a Read Replica as a Multi-AZ DB instance. RDS creates a
|
3102
|
+
# standby of your replica in another Availability Zone for failover
|
3103
|
+
# support for the replica. Creating your Read Replica as a Multi-AZ DB
|
3104
|
+
# instance is independent of whether the source database is a Multi-AZ
|
3105
|
+
# DB instance.
|
3106
|
+
#
|
3107
|
+
# <note markdown="1"> Currently PostgreSQL Read Replicas can only be created as single-AZ DB
|
3108
|
+
# instances.
|
3109
|
+
#
|
3110
|
+
# </note>
|
3111
|
+
#
|
3090
3112
|
# @option params [Boolean] :auto_minor_version_upgrade
|
3091
3113
|
# Indicates that minor engine upgrades are applied automatically to the
|
3092
3114
|
# Read Replica during the maintenance window.
|
@@ -3291,6 +3313,10 @@ module Aws::RDS
|
|
3291
3313
|
# data. The KMS key ID is the Amazon Resource Name (ARN), KMS key
|
3292
3314
|
# identifier, or the KMS key alias for the KMS encryption key.
|
3293
3315
|
#
|
3316
|
+
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
3317
|
+
# The list of logs that the new DB instance is to export to CloudWatch
|
3318
|
+
# Logs.
|
3319
|
+
#
|
3294
3320
|
# @option params [String] :source_region
|
3295
3321
|
# The source region of the snapshot. This is only needed when the
|
3296
3322
|
# shapshot is encrypted and in a different region.
|
@@ -3355,6 +3381,7 @@ module Aws::RDS
|
|
3355
3381
|
# enable_iam_database_authentication: false,
|
3356
3382
|
# enable_performance_insights: false,
|
3357
3383
|
# performance_insights_kms_key_id: "String",
|
3384
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
3358
3385
|
# source_region: "String",
|
3359
3386
|
# })
|
3360
3387
|
#
|
@@ -3406,6 +3433,10 @@ module Aws::RDS
|
|
3406
3433
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
3407
3434
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
3408
3435
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
3436
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
3437
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
3438
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
3439
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
3409
3440
|
# resp.db_instance.latest_restorable_time #=> Time
|
3410
3441
|
# resp.db_instance.multi_az #=> Boolean
|
3411
3442
|
# resp.db_instance.engine_version #=> String
|
@@ -3451,6 +3482,8 @@ module Aws::RDS
|
|
3451
3482
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
3452
3483
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
3453
3484
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
3485
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
3486
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
3454
3487
|
#
|
3455
3488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica AWS API Documentation
|
3456
3489
|
#
|
@@ -4544,6 +4577,10 @@ module Aws::RDS
|
|
4544
4577
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
4545
4578
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
4546
4579
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
4580
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
4581
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
4582
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
4583
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
4547
4584
|
# resp.db_instance.latest_restorable_time #=> Time
|
4548
4585
|
# resp.db_instance.multi_az #=> Boolean
|
4549
4586
|
# resp.db_instance.engine_version #=> String
|
@@ -4589,6 +4626,8 @@ module Aws::RDS
|
|
4589
4626
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
4590
4627
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
4591
4628
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
4629
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
4630
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
4592
4631
|
#
|
4593
4632
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance AWS API Documentation
|
4594
4633
|
#
|
@@ -5707,6 +5746,9 @@ module Aws::RDS
|
|
5707
5746
|
# resp.db_engine_versions[0].valid_upgrade_target[0].is_major_version_upgrade #=> Boolean
|
5708
5747
|
# resp.db_engine_versions[0].supported_timezones #=> Array
|
5709
5748
|
# resp.db_engine_versions[0].supported_timezones[0].timezone_name #=> String
|
5749
|
+
# resp.db_engine_versions[0].exportable_log_types #=> Array
|
5750
|
+
# resp.db_engine_versions[0].exportable_log_types[0] #=> String
|
5751
|
+
# resp.db_engine_versions[0].supports_log_exports_to_cloudwatch_logs #=> Boolean
|
5710
5752
|
#
|
5711
5753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions AWS API Documentation
|
5712
5754
|
#
|
@@ -5843,6 +5885,10 @@ module Aws::RDS
|
|
5843
5885
|
# resp.db_instances[0].pending_modified_values.storage_type #=> String
|
5844
5886
|
# resp.db_instances[0].pending_modified_values.ca_certificate_identifier #=> String
|
5845
5887
|
# resp.db_instances[0].pending_modified_values.db_subnet_group_name #=> String
|
5888
|
+
# resp.db_instances[0].pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
5889
|
+
# resp.db_instances[0].pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
5890
|
+
# resp.db_instances[0].pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
5891
|
+
# resp.db_instances[0].pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
5846
5892
|
# resp.db_instances[0].latest_restorable_time #=> Time
|
5847
5893
|
# resp.db_instances[0].multi_az #=> Boolean
|
5848
5894
|
# resp.db_instances[0].engine_version #=> String
|
@@ -5888,6 +5934,8 @@ module Aws::RDS
|
|
5888
5934
|
# resp.db_instances[0].iam_database_authentication_enabled #=> Boolean
|
5889
5935
|
# resp.db_instances[0].performance_insights_enabled #=> Boolean
|
5890
5936
|
# resp.db_instances[0].performance_insights_kms_key_id #=> String
|
5937
|
+
# resp.db_instances[0].enabled_cloudwatch_logs_exports #=> Array
|
5938
|
+
# resp.db_instances[0].enabled_cloudwatch_logs_exports[0] #=> String
|
5891
5939
|
#
|
5892
5940
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances AWS API Documentation
|
5893
5941
|
#
|
@@ -9144,6 +9192,10 @@ module Aws::RDS
|
|
9144
9192
|
# data. The KMS key ID is the Amazon Resource Name (ARN), KMS key
|
9145
9193
|
# identifier, or the KMS key alias for the KMS encryption key.
|
9146
9194
|
#
|
9195
|
+
# @option params [Types::CloudwatchLogsExportConfiguration] :cloudwatch_logs_export_configuration
|
9196
|
+
# The configuration setting for the log types to be enabled for export
|
9197
|
+
# to CloudWatch Logs for a specific DB instance or DB cluster.
|
9198
|
+
#
|
9147
9199
|
# @return [Types::ModifyDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9148
9200
|
#
|
9149
9201
|
# * {Types::ModifyDBInstanceResult#db_instance #db_instance} => Types::DBInstance
|
@@ -9208,6 +9260,10 @@ module Aws::RDS
|
|
9208
9260
|
# enable_iam_database_authentication: false,
|
9209
9261
|
# enable_performance_insights: false,
|
9210
9262
|
# performance_insights_kms_key_id: "String",
|
9263
|
+
# cloudwatch_logs_export_configuration: {
|
9264
|
+
# enable_log_types: ["String"],
|
9265
|
+
# disable_log_types: ["String"],
|
9266
|
+
# },
|
9211
9267
|
# })
|
9212
9268
|
#
|
9213
9269
|
# @example Response structure
|
@@ -9258,6 +9314,10 @@ module Aws::RDS
|
|
9258
9314
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
9259
9315
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
9260
9316
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
9317
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
9318
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
9319
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
9320
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
9261
9321
|
# resp.db_instance.latest_restorable_time #=> Time
|
9262
9322
|
# resp.db_instance.multi_az #=> Boolean
|
9263
9323
|
# resp.db_instance.engine_version #=> String
|
@@ -9303,6 +9363,8 @@ module Aws::RDS
|
|
9303
9363
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
9304
9364
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
9305
9365
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
9366
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
9367
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
9306
9368
|
#
|
9307
9369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance AWS API Documentation
|
9308
9370
|
#
|
@@ -10041,6 +10103,10 @@ module Aws::RDS
|
|
10041
10103
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
10042
10104
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
10043
10105
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
10106
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
10107
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
10108
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
10109
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
10044
10110
|
# resp.db_instance.latest_restorable_time #=> Time
|
10045
10111
|
# resp.db_instance.multi_az #=> Boolean
|
10046
10112
|
# resp.db_instance.engine_version #=> String
|
@@ -10086,6 +10152,8 @@ module Aws::RDS
|
|
10086
10152
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
10087
10153
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
10088
10154
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
10155
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
10156
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
10089
10157
|
#
|
10090
10158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica AWS API Documentation
|
10091
10159
|
#
|
@@ -10374,6 +10442,10 @@ module Aws::RDS
|
|
10374
10442
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
10375
10443
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
10376
10444
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
10445
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
10446
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
10447
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
10448
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
10377
10449
|
# resp.db_instance.latest_restorable_time #=> Time
|
10378
10450
|
# resp.db_instance.multi_az #=> Boolean
|
10379
10451
|
# resp.db_instance.engine_version #=> String
|
@@ -10419,6 +10491,8 @@ module Aws::RDS
|
|
10419
10491
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
10420
10492
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
10421
10493
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
10494
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
10495
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
10422
10496
|
#
|
10423
10497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance AWS API Documentation
|
10424
10498
|
#
|
@@ -11796,6 +11870,10 @@ module Aws::RDS
|
|
11796
11870
|
#
|
11797
11871
|
# Default: `false`
|
11798
11872
|
#
|
11873
|
+
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
11874
|
+
# The list of logs that the restored DB instance is to export to
|
11875
|
+
# CloudWatch Logs.
|
11876
|
+
#
|
11799
11877
|
# @return [Types::RestoreDBInstanceFromDBSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11800
11878
|
#
|
11801
11879
|
# * {Types::RestoreDBInstanceFromDBSnapshotResult#db_instance #db_instance} => Types::DBInstance
|
@@ -11925,6 +12003,7 @@ module Aws::RDS
|
|
11925
12003
|
# copy_tags_to_snapshot: false,
|
11926
12004
|
# domain_iam_role_name: "String",
|
11927
12005
|
# enable_iam_database_authentication: false,
|
12006
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
11928
12007
|
# })
|
11929
12008
|
#
|
11930
12009
|
# @example Response structure
|
@@ -11975,6 +12054,10 @@ module Aws::RDS
|
|
11975
12054
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
11976
12055
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
11977
12056
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
12057
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
12058
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
12059
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
12060
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
11978
12061
|
# resp.db_instance.latest_restorable_time #=> Time
|
11979
12062
|
# resp.db_instance.multi_az #=> Boolean
|
11980
12063
|
# resp.db_instance.engine_version #=> String
|
@@ -12020,6 +12103,8 @@ module Aws::RDS
|
|
12020
12103
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
12021
12104
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
12022
12105
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
12106
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
12107
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
12023
12108
|
#
|
12024
12109
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot AWS API Documentation
|
12025
12110
|
#
|
@@ -12335,6 +12420,10 @@ module Aws::RDS
|
|
12335
12420
|
# data. The KMS key ID is the Amazon Resource Name (ARN), the KMS key
|
12336
12421
|
# identifier, or the KMS key alias for the KMS encryption key.
|
12337
12422
|
#
|
12423
|
+
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
12424
|
+
# The list of logs that the restored DB instance is to export to
|
12425
|
+
# CloudWatch Logs.
|
12426
|
+
#
|
12338
12427
|
# @return [Types::RestoreDBInstanceFromS3Result] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12339
12428
|
#
|
12340
12429
|
# * {Types::RestoreDBInstanceFromS3Result#db_instance #db_instance} => Types::DBInstance
|
@@ -12385,6 +12474,7 @@ module Aws::RDS
|
|
12385
12474
|
# s3_ingestion_role_arn: "String", # required
|
12386
12475
|
# enable_performance_insights: false,
|
12387
12476
|
# performance_insights_kms_key_id: "String",
|
12477
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
12388
12478
|
# })
|
12389
12479
|
#
|
12390
12480
|
# @example Response structure
|
@@ -12435,6 +12525,10 @@ module Aws::RDS
|
|
12435
12525
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
12436
12526
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
12437
12527
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
12528
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
12529
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
12530
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
12531
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
12438
12532
|
# resp.db_instance.latest_restorable_time #=> Time
|
12439
12533
|
# resp.db_instance.multi_az #=> Boolean
|
12440
12534
|
# resp.db_instance.engine_version #=> String
|
@@ -12480,6 +12574,8 @@ module Aws::RDS
|
|
12480
12574
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
12481
12575
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
12482
12576
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
12577
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
12578
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
12483
12579
|
#
|
12484
12580
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 AWS API Documentation
|
12485
12581
|
#
|
@@ -12509,7 +12605,7 @@ module Aws::RDS
|
|
12509
12605
|
#
|
12510
12606
|
# Constraints:
|
12511
12607
|
#
|
12512
|
-
# * Must match the identifier of an existing
|
12608
|
+
# * Must match the identifier of an existing DB instance.
|
12513
12609
|
#
|
12514
12610
|
# ^
|
12515
12611
|
#
|
@@ -12737,6 +12833,10 @@ module Aws::RDS
|
|
12737
12833
|
#
|
12738
12834
|
# Default: `false`
|
12739
12835
|
#
|
12836
|
+
# @option params [Array<String>] :enable_cloudwatch_logs_exports
|
12837
|
+
# The list of logs that the restored DB instance is to export to
|
12838
|
+
# CloudWatch Logs.
|
12839
|
+
#
|
12740
12840
|
# @return [Types::RestoreDBInstanceToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
12741
12841
|
#
|
12742
12842
|
# * {Types::RestoreDBInstanceToPointInTimeResult#db_instance #db_instance} => Types::DBInstance
|
@@ -12869,6 +12969,7 @@ module Aws::RDS
|
|
12869
12969
|
# domain: "String",
|
12870
12970
|
# domain_iam_role_name: "String",
|
12871
12971
|
# enable_iam_database_authentication: false,
|
12972
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
12872
12973
|
# })
|
12873
12974
|
#
|
12874
12975
|
# @example Response structure
|
@@ -12919,6 +13020,10 @@ module Aws::RDS
|
|
12919
13020
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
12920
13021
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
12921
13022
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
13023
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
13024
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
13025
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
13026
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
12922
13027
|
# resp.db_instance.latest_restorable_time #=> Time
|
12923
13028
|
# resp.db_instance.multi_az #=> Boolean
|
12924
13029
|
# resp.db_instance.engine_version #=> String
|
@@ -12964,6 +13069,8 @@ module Aws::RDS
|
|
12964
13069
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
12965
13070
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
12966
13071
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
13072
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
13073
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
12967
13074
|
#
|
12968
13075
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime AWS API Documentation
|
12969
13076
|
#
|
@@ -13133,6 +13240,10 @@ module Aws::RDS
|
|
13133
13240
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
13134
13241
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
13135
13242
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
13243
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
13244
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
13245
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
13246
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
13136
13247
|
# resp.db_instance.latest_restorable_time #=> Time
|
13137
13248
|
# resp.db_instance.multi_az #=> Boolean
|
13138
13249
|
# resp.db_instance.engine_version #=> String
|
@@ -13178,6 +13289,8 @@ module Aws::RDS
|
|
13178
13289
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
13179
13290
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
13180
13291
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
13292
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
13293
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
13181
13294
|
#
|
13182
13295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance AWS API Documentation
|
13183
13296
|
#
|
@@ -13265,6 +13378,10 @@ module Aws::RDS
|
|
13265
13378
|
# resp.db_instance.pending_modified_values.storage_type #=> String
|
13266
13379
|
# resp.db_instance.pending_modified_values.ca_certificate_identifier #=> String
|
13267
13380
|
# resp.db_instance.pending_modified_values.db_subnet_group_name #=> String
|
13381
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable #=> Array
|
13382
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_enable[0] #=> String
|
13383
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable #=> Array
|
13384
|
+
# resp.db_instance.pending_modified_values.pending_cloudwatch_logs_exports.log_types_to_disable[0] #=> String
|
13268
13385
|
# resp.db_instance.latest_restorable_time #=> Time
|
13269
13386
|
# resp.db_instance.multi_az #=> Boolean
|
13270
13387
|
# resp.db_instance.engine_version #=> String
|
@@ -13310,6 +13427,8 @@ module Aws::RDS
|
|
13310
13427
|
# resp.db_instance.iam_database_authentication_enabled #=> Boolean
|
13311
13428
|
# resp.db_instance.performance_insights_enabled #=> Boolean
|
13312
13429
|
# resp.db_instance.performance_insights_kms_key_id #=> String
|
13430
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports #=> Array
|
13431
|
+
# resp.db_instance.enabled_cloudwatch_logs_exports[0] #=> String
|
13313
13432
|
#
|
13314
13433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance AWS API Documentation
|
13315
13434
|
#
|
@@ -13333,7 +13452,7 @@ module Aws::RDS
|
|
13333
13452
|
params: params,
|
13334
13453
|
config: config)
|
13335
13454
|
context[:gem_name] = 'aws-sdk-rds'
|
13336
|
-
context[:gem_version] = '1.
|
13455
|
+
context[:gem_version] = '1.11.0'
|
13337
13456
|
Seahorse::Client::Request.new(handlers, context)
|
13338
13457
|
end
|
13339
13458
|
|
@@ -37,6 +37,7 @@ module Aws::RDS
|
|
37
37
|
CertificateMessage = Shapes::StructureShape.new(name: 'CertificateMessage')
|
38
38
|
CertificateNotFoundFault = Shapes::StructureShape.new(name: 'CertificateNotFoundFault')
|
39
39
|
CharacterSet = Shapes::StructureShape.new(name: 'CharacterSet')
|
40
|
+
CloudwatchLogsExportConfiguration = Shapes::StructureShape.new(name: 'CloudwatchLogsExportConfiguration')
|
40
41
|
CopyDBClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'CopyDBClusterParameterGroupMessage')
|
41
42
|
CopyDBClusterParameterGroupResult = Shapes::StructureShape.new(name: 'CopyDBClusterParameterGroupResult')
|
42
43
|
CopyDBClusterSnapshotMessage = Shapes::StructureShape.new(name: 'CopyDBClusterSnapshotMessage')
|
@@ -254,6 +255,7 @@ module Aws::RDS
|
|
254
255
|
KMSKeyNotAccessibleFault = Shapes::StructureShape.new(name: 'KMSKeyNotAccessibleFault')
|
255
256
|
KeyList = Shapes::ListShape.new(name: 'KeyList')
|
256
257
|
ListTagsForResourceMessage = Shapes::StructureShape.new(name: 'ListTagsForResourceMessage')
|
258
|
+
LogTypeList = Shapes::ListShape.new(name: 'LogTypeList')
|
257
259
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
258
260
|
ModifyDBClusterMessage = Shapes::StructureShape.new(name: 'ModifyDBClusterMessage')
|
259
261
|
ModifyDBClusterParameterGroupMessage = Shapes::StructureShape.new(name: 'ModifyDBClusterParameterGroupMessage')
|
@@ -303,6 +305,7 @@ module Aws::RDS
|
|
303
305
|
OrderableDBInstanceOptionsMessage = Shapes::StructureShape.new(name: 'OrderableDBInstanceOptionsMessage')
|
304
306
|
Parameter = Shapes::StructureShape.new(name: 'Parameter')
|
305
307
|
ParametersList = Shapes::ListShape.new(name: 'ParametersList')
|
308
|
+
PendingCloudwatchLogsExports = Shapes::StructureShape.new(name: 'PendingCloudwatchLogsExports')
|
306
309
|
PendingMaintenanceAction = Shapes::StructureShape.new(name: 'PendingMaintenanceAction')
|
307
310
|
PendingMaintenanceActionDetails = Shapes::ListShape.new(name: 'PendingMaintenanceActionDetails')
|
308
311
|
PendingMaintenanceActions = Shapes::ListShape.new(name: 'PendingMaintenanceActions')
|
@@ -468,6 +471,10 @@ module Aws::RDS
|
|
468
471
|
CharacterSet.add_member(:character_set_description, Shapes::ShapeRef.new(shape: String, location_name: "CharacterSetDescription"))
|
469
472
|
CharacterSet.struct_class = Types::CharacterSet
|
470
473
|
|
474
|
+
CloudwatchLogsExportConfiguration.add_member(:enable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableLogTypes"))
|
475
|
+
CloudwatchLogsExportConfiguration.add_member(:disable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "DisableLogTypes"))
|
476
|
+
CloudwatchLogsExportConfiguration.struct_class = Types::CloudwatchLogsExportConfiguration
|
477
|
+
|
471
478
|
CopyDBClusterParameterGroupMessage.add_member(:source_db_cluster_parameter_group_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceDBClusterParameterGroupIdentifier"))
|
472
479
|
CopyDBClusterParameterGroupMessage.add_member(:target_db_cluster_parameter_group_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetDBClusterParameterGroupIdentifier"))
|
473
480
|
CopyDBClusterParameterGroupMessage.add_member(:target_db_cluster_parameter_group_description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetDBClusterParameterGroupDescription"))
|
@@ -609,6 +616,7 @@ module Aws::RDS
|
|
609
616
|
CreateDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
610
617
|
CreateDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
611
618
|
CreateDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
619
|
+
CreateDBInstanceMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
612
620
|
CreateDBInstanceMessage.struct_class = Types::CreateDBInstanceMessage
|
613
621
|
|
614
622
|
CreateDBInstanceReadReplicaMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
|
@@ -632,6 +640,7 @@ module Aws::RDS
|
|
632
640
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
633
641
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
634
642
|
CreateDBInstanceReadReplicaMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
643
|
+
CreateDBInstanceReadReplicaMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
635
644
|
CreateDBInstanceReadReplicaMessage.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "DestinationRegion", metadata: {"documented"=>false}))
|
636
645
|
CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
637
646
|
CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
|
@@ -827,6 +836,8 @@ module Aws::RDS
|
|
827
836
|
DBEngineVersion.add_member(:supported_character_sets, Shapes::ShapeRef.new(shape: SupportedCharacterSetsList, location_name: "SupportedCharacterSets"))
|
828
837
|
DBEngineVersion.add_member(:valid_upgrade_target, Shapes::ShapeRef.new(shape: ValidUpgradeTargetList, location_name: "ValidUpgradeTarget"))
|
829
838
|
DBEngineVersion.add_member(:supported_timezones, Shapes::ShapeRef.new(shape: SupportedTimezonesList, location_name: "SupportedTimezones"))
|
839
|
+
DBEngineVersion.add_member(:exportable_log_types, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "ExportableLogTypes"))
|
840
|
+
DBEngineVersion.add_member(:supports_log_exports_to_cloudwatch_logs, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsLogExportsToCloudwatchLogs"))
|
830
841
|
DBEngineVersion.struct_class = Types::DBEngineVersion
|
831
842
|
|
832
843
|
DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
|
@@ -886,6 +897,7 @@ module Aws::RDS
|
|
886
897
|
DBInstance.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
|
887
898
|
DBInstance.add_member(:performance_insights_enabled, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "PerformanceInsightsEnabled"))
|
888
899
|
DBInstance.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
900
|
+
DBInstance.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
|
889
901
|
DBInstance.struct_class = Types::DBInstance
|
890
902
|
|
891
903
|
DBInstanceList.member = Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance")
|
@@ -1396,6 +1408,8 @@ module Aws::RDS
|
|
1396
1408
|
ListTagsForResourceMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
1397
1409
|
ListTagsForResourceMessage.struct_class = Types::ListTagsForResourceMessage
|
1398
1410
|
|
1411
|
+
LogTypeList.member = Shapes::ShapeRef.new(shape: String)
|
1412
|
+
|
1399
1413
|
ModifyDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
1400
1414
|
ModifyDBClusterMessage.add_member(:new_db_cluster_identifier, Shapes::ShapeRef.new(shape: String, location_name: "NewDBClusterIdentifier"))
|
1401
1415
|
ModifyDBClusterMessage.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: Boolean, location_name: "ApplyImmediately"))
|
@@ -1461,6 +1475,7 @@ module Aws::RDS
|
|
1461
1475
|
ModifyDBInstanceMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
1462
1476
|
ModifyDBInstanceMessage.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
1463
1477
|
ModifyDBInstanceMessage.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
1478
|
+
ModifyDBInstanceMessage.add_member(:cloudwatch_logs_export_configuration, Shapes::ShapeRef.new(shape: CloudwatchLogsExportConfiguration, location_name: "CloudwatchLogsExportConfiguration"))
|
1464
1479
|
ModifyDBInstanceMessage.struct_class = Types::ModifyDBInstanceMessage
|
1465
1480
|
|
1466
1481
|
ModifyDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -1662,6 +1677,10 @@ module Aws::RDS
|
|
1662
1677
|
|
1663
1678
|
ParametersList.member = Shapes::ShapeRef.new(shape: Parameter, location_name: "Parameter")
|
1664
1679
|
|
1680
|
+
PendingCloudwatchLogsExports.add_member(:log_types_to_enable, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "LogTypesToEnable"))
|
1681
|
+
PendingCloudwatchLogsExports.add_member(:log_types_to_disable, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "LogTypesToDisable"))
|
1682
|
+
PendingCloudwatchLogsExports.struct_class = Types::PendingCloudwatchLogsExports
|
1683
|
+
|
1665
1684
|
PendingMaintenanceAction.add_member(:action, Shapes::ShapeRef.new(shape: String, location_name: "Action"))
|
1666
1685
|
PendingMaintenanceAction.add_member(:auto_applied_after_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "AutoAppliedAfterDate"))
|
1667
1686
|
PendingMaintenanceAction.add_member(:forced_apply_date, Shapes::ShapeRef.new(shape: TStamp, location_name: "ForcedApplyDate"))
|
@@ -1691,6 +1710,7 @@ module Aws::RDS
|
|
1691
1710
|
PendingModifiedValues.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
|
1692
1711
|
PendingModifiedValues.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: String, location_name: "CACertificateIdentifier"))
|
1693
1712
|
PendingModifiedValues.add_member(:db_subnet_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBSubnetGroupName"))
|
1713
|
+
PendingModifiedValues.add_member(:pending_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: PendingCloudwatchLogsExports, location_name: "PendingCloudwatchLogsExports"))
|
1694
1714
|
PendingModifiedValues.struct_class = Types::PendingModifiedValues
|
1695
1715
|
|
1696
1716
|
PromoteReadReplicaDBClusterMessage.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBClusterIdentifier"))
|
@@ -1899,6 +1919,7 @@ module Aws::RDS
|
|
1899
1919
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:copy_tags_to_snapshot, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "CopyTagsToSnapshot"))
|
1900
1920
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
|
1901
1921
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
1922
|
+
RestoreDBInstanceFromDBSnapshotMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
1902
1923
|
RestoreDBInstanceFromDBSnapshotMessage.struct_class = Types::RestoreDBInstanceFromDBSnapshotMessage
|
1903
1924
|
|
1904
1925
|
RestoreDBInstanceFromDBSnapshotResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -1942,6 +1963,7 @@ module Aws::RDS
|
|
1942
1963
|
RestoreDBInstanceFromS3Message.add_member(:s3_ingestion_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "S3IngestionRoleArn"))
|
1943
1964
|
RestoreDBInstanceFromS3Message.add_member(:enable_performance_insights, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnablePerformanceInsights"))
|
1944
1965
|
RestoreDBInstanceFromS3Message.add_member(:performance_insights_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "PerformanceInsightsKMSKeyId"))
|
1966
|
+
RestoreDBInstanceFromS3Message.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
1945
1967
|
RestoreDBInstanceFromS3Message.struct_class = Types::RestoreDBInstanceFromS3Message
|
1946
1968
|
|
1947
1969
|
RestoreDBInstanceFromS3Result.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -1971,6 +1993,7 @@ module Aws::RDS
|
|
1971
1993
|
RestoreDBInstanceToPointInTimeMessage.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "Domain"))
|
1972
1994
|
RestoreDBInstanceToPointInTimeMessage.add_member(:domain_iam_role_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainIAMRoleName"))
|
1973
1995
|
RestoreDBInstanceToPointInTimeMessage.add_member(:enable_iam_database_authentication, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableIAMDatabaseAuthentication"))
|
1996
|
+
RestoreDBInstanceToPointInTimeMessage.add_member(:enable_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnableCloudwatchLogsExports"))
|
1974
1997
|
RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
|
1975
1998
|
|
1976
1999
|
RestoreDBInstanceToPointInTimeResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -87,6 +87,20 @@ module Aws::RDS
|
|
87
87
|
data[:supported_timezones]
|
88
88
|
end
|
89
89
|
|
90
|
+
# The types of logs that the database engine has available for export to
|
91
|
+
# CloudWatch Logs.
|
92
|
+
# @return [Array<String>]
|
93
|
+
def exportable_log_types
|
94
|
+
data[:exportable_log_types]
|
95
|
+
end
|
96
|
+
|
97
|
+
# A value that indicates whether the engine version supports exporting
|
98
|
+
# the log types specified by ExportableLogTypes to CloudWatch Logs.
|
99
|
+
# @return [Boolean]
|
100
|
+
def supports_log_exports_to_cloudwatch_logs
|
101
|
+
data[:supports_log_exports_to_cloudwatch_logs]
|
102
|
+
end
|
103
|
+
|
90
104
|
# @!endgroup
|
91
105
|
|
92
106
|
# @return [Client]
|
@@ -422,6 +422,13 @@ module Aws::RDS
|
|
422
422
|
data[:performance_insights_kms_key_id]
|
423
423
|
end
|
424
424
|
|
425
|
+
# A list of log types that this DB instance is configured to export to
|
426
|
+
# CloudWatch Logs.
|
427
|
+
# @return [Array<String>]
|
428
|
+
def enabled_cloudwatch_logs_exports
|
429
|
+
data[:enabled_cloudwatch_logs_exports]
|
430
|
+
end
|
431
|
+
|
425
432
|
# @!endgroup
|
426
433
|
|
427
434
|
# @return [Client]
|
@@ -602,6 +609,7 @@ module Aws::RDS
|
|
602
609
|
# enable_iam_database_authentication: false,
|
603
610
|
# enable_performance_insights: false,
|
604
611
|
# performance_insights_kms_key_id: "String",
|
612
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
605
613
|
# })
|
606
614
|
# @param [Hash] options ({})
|
607
615
|
# @option options [String] :db_name
|
@@ -1439,6 +1447,9 @@ module Aws::RDS
|
|
1439
1447
|
# The AWS KMS key identifier for encryption of Performance Insights
|
1440
1448
|
# data. The KMS key ID is the Amazon Resource Name (ARN), KMS key
|
1441
1449
|
# identifier, or the KMS key alias for the KMS encryption key.
|
1450
|
+
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1451
|
+
# The list of log types that need to be enabled for exporting to
|
1452
|
+
# CloudWatch Logs.
|
1442
1453
|
# @return [DBInstance]
|
1443
1454
|
def create(options = {})
|
1444
1455
|
options = options.merge(db_instance_identifier: @id)
|
@@ -1478,6 +1489,7 @@ module Aws::RDS
|
|
1478
1489
|
# enable_iam_database_authentication: false,
|
1479
1490
|
# enable_performance_insights: false,
|
1480
1491
|
# performance_insights_kms_key_id: "String",
|
1492
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
1481
1493
|
# source_region: "String",
|
1482
1494
|
# })
|
1483
1495
|
# @param [Hash] options ({})
|
@@ -1512,6 +1524,17 @@ module Aws::RDS
|
|
1512
1524
|
# Valid Values: `1150-65535`
|
1513
1525
|
# @option options [Boolean] :multi_az
|
1514
1526
|
# Specifies whether the read replica is in a Multi-AZ deployment.
|
1527
|
+
#
|
1528
|
+
# You can create a Read Replica as a Multi-AZ DB instance. RDS creates a
|
1529
|
+
# standby of your replica in another Availability Zone for failover
|
1530
|
+
# support for the replica. Creating your Read Replica as a Multi-AZ DB
|
1531
|
+
# instance is independent of whether the source database is a Multi-AZ
|
1532
|
+
# DB instance.
|
1533
|
+
#
|
1534
|
+
# <note markdown="1"> Currently PostgreSQL Read Replicas can only be created as single-AZ DB
|
1535
|
+
# instances.
|
1536
|
+
#
|
1537
|
+
# </note>
|
1515
1538
|
# @option options [Boolean] :auto_minor_version_upgrade
|
1516
1539
|
# Indicates that minor engine upgrades are applied automatically to the
|
1517
1540
|
# Read Replica during the maintenance window.
|
@@ -1701,6 +1724,9 @@ module Aws::RDS
|
|
1701
1724
|
# The AWS KMS key identifier for encryption of Performance Insights
|
1702
1725
|
# data. The KMS key ID is the Amazon Resource Name (ARN), KMS key
|
1703
1726
|
# identifier, or the KMS key alias for the KMS encryption key.
|
1727
|
+
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1728
|
+
# The list of logs that the new DB instance is to export to CloudWatch
|
1729
|
+
# Logs.
|
1704
1730
|
# @option options [String] :destination_region
|
1705
1731
|
# @option options [String] :source_region
|
1706
1732
|
# The source region of the snapshot. This is only needed when the
|
@@ -1853,6 +1879,10 @@ module Aws::RDS
|
|
1853
1879
|
# enable_iam_database_authentication: false,
|
1854
1880
|
# enable_performance_insights: false,
|
1855
1881
|
# performance_insights_kms_key_id: "String",
|
1882
|
+
# cloudwatch_logs_export_configuration: {
|
1883
|
+
# enable_log_types: ["String"],
|
1884
|
+
# disable_log_types: ["String"],
|
1885
|
+
# },
|
1856
1886
|
# })
|
1857
1887
|
# @param [Hash] options ({})
|
1858
1888
|
# @option options [Integer] :allocated_storage
|
@@ -2339,6 +2369,9 @@ module Aws::RDS
|
|
2339
2369
|
# The AWS KMS key identifier for encryption of Performance Insights
|
2340
2370
|
# data. The KMS key ID is the Amazon Resource Name (ARN), KMS key
|
2341
2371
|
# identifier, or the KMS key alias for the KMS encryption key.
|
2372
|
+
# @option options [Types::CloudwatchLogsExportConfiguration] :cloudwatch_logs_export_configuration
|
2373
|
+
# The configuration setting for the log types to be enabled for export
|
2374
|
+
# to CloudWatch Logs for a specific DB instance or DB cluster.
|
2342
2375
|
# @return [DBInstance]
|
2343
2376
|
def modify(options = {})
|
2344
2377
|
options = options.merge(db_instance_identifier: @id)
|
@@ -2456,6 +2489,7 @@ module Aws::RDS
|
|
2456
2489
|
# domain: "String",
|
2457
2490
|
# domain_iam_role_name: "String",
|
2458
2491
|
# enable_iam_database_authentication: false,
|
2492
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
2459
2493
|
# })
|
2460
2494
|
# @param [Hash] options ({})
|
2461
2495
|
# @option options [required, String] :target_db_instance_identifier
|
@@ -2659,6 +2693,9 @@ module Aws::RDS
|
|
2659
2693
|
# * Aurora 5.6 or higher.
|
2660
2694
|
#
|
2661
2695
|
# Default: `false`
|
2696
|
+
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
2697
|
+
# The list of logs that the restored DB instance is to export to
|
2698
|
+
# CloudWatch Logs.
|
2662
2699
|
# @return [DBInstance]
|
2663
2700
|
def restore(options = {})
|
2664
2701
|
options = options.merge(source_db_instance_identifier: @id)
|
@@ -547,6 +547,7 @@ module Aws::RDS
|
|
547
547
|
# copy_tags_to_snapshot: false,
|
548
548
|
# domain_iam_role_name: "String",
|
549
549
|
# enable_iam_database_authentication: false,
|
550
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
550
551
|
# })
|
551
552
|
# @param [Hash] options ({})
|
552
553
|
# @option options [required, String] :db_instance_identifier
|
@@ -743,6 +744,9 @@ module Aws::RDS
|
|
743
744
|
# * Aurora 5.6 or higher.
|
744
745
|
#
|
745
746
|
# Default: `false`
|
747
|
+
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
748
|
+
# The list of logs that the restored DB instance is to export to
|
749
|
+
# CloudWatch Logs.
|
746
750
|
# @return [DBInstance]
|
747
751
|
def restore(options = {})
|
748
752
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
data/lib/aws-sdk-rds/resource.rb
CHANGED
@@ -388,6 +388,7 @@ module Aws::RDS
|
|
388
388
|
# enable_iam_database_authentication: false,
|
389
389
|
# enable_performance_insights: false,
|
390
390
|
# performance_insights_kms_key_id: "String",
|
391
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
391
392
|
# })
|
392
393
|
# @param [Hash] options ({})
|
393
394
|
# @option options [String] :db_name
|
@@ -1238,6 +1239,9 @@ module Aws::RDS
|
|
1238
1239
|
# The AWS KMS key identifier for encryption of Performance Insights
|
1239
1240
|
# data. The KMS key ID is the Amazon Resource Name (ARN), KMS key
|
1240
1241
|
# identifier, or the KMS key alias for the KMS encryption key.
|
1242
|
+
# @option options [Array<String>] :enable_cloudwatch_logs_exports
|
1243
|
+
# The list of log types that need to be enabled for exporting to
|
1244
|
+
# CloudWatch Logs.
|
1241
1245
|
# @return [DBInstance]
|
1242
1246
|
def create_db_instance(options = {})
|
1243
1247
|
resp = @client.create_db_instance(options)
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -384,6 +384,33 @@ module Aws::RDS
|
|
384
384
|
include Aws::Structure
|
385
385
|
end
|
386
386
|
|
387
|
+
# The configuration setting for the log types to be enabled for export
|
388
|
+
# to CloudWatch Logs for a specific DB instance or DB cluster.
|
389
|
+
#
|
390
|
+
# @note When making an API call, you may pass CloudwatchLogsExportConfiguration
|
391
|
+
# data as a hash:
|
392
|
+
#
|
393
|
+
# {
|
394
|
+
# enable_log_types: ["String"],
|
395
|
+
# disable_log_types: ["String"],
|
396
|
+
# }
|
397
|
+
#
|
398
|
+
# @!attribute [rw] enable_log_types
|
399
|
+
# The list of log types to enable.
|
400
|
+
# @return [Array<String>]
|
401
|
+
#
|
402
|
+
# @!attribute [rw] disable_log_types
|
403
|
+
# The list of log types to disable.
|
404
|
+
# @return [Array<String>]
|
405
|
+
#
|
406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CloudwatchLogsExportConfiguration AWS API Documentation
|
407
|
+
#
|
408
|
+
class CloudwatchLogsExportConfiguration < Struct.new(
|
409
|
+
:enable_log_types,
|
410
|
+
:disable_log_types)
|
411
|
+
include Aws::Structure
|
412
|
+
end
|
413
|
+
|
387
414
|
# @note When making an API call, you may pass CopyDBClusterParameterGroupMessage
|
388
415
|
# data as a hash:
|
389
416
|
#
|
@@ -1575,6 +1602,7 @@ module Aws::RDS
|
|
1575
1602
|
# enable_iam_database_authentication: false,
|
1576
1603
|
# enable_performance_insights: false,
|
1577
1604
|
# performance_insights_kms_key_id: "String",
|
1605
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
1578
1606
|
# }
|
1579
1607
|
#
|
1580
1608
|
# @!attribute [rw] db_name
|
@@ -2520,6 +2548,11 @@ module Aws::RDS
|
|
2520
2548
|
# identifier, or the KMS key alias for the KMS encryption key.
|
2521
2549
|
# @return [String]
|
2522
2550
|
#
|
2551
|
+
# @!attribute [rw] enable_cloudwatch_logs_exports
|
2552
|
+
# The list of log types that need to be enabled for exporting to
|
2553
|
+
# CloudWatch Logs.
|
2554
|
+
# @return [Array<String>]
|
2555
|
+
#
|
2523
2556
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceMessage AWS API Documentation
|
2524
2557
|
#
|
2525
2558
|
class CreateDBInstanceMessage < Struct.new(
|
@@ -2563,7 +2596,8 @@ module Aws::RDS
|
|
2563
2596
|
:timezone,
|
2564
2597
|
:enable_iam_database_authentication,
|
2565
2598
|
:enable_performance_insights,
|
2566
|
-
:performance_insights_kms_key_id
|
2599
|
+
:performance_insights_kms_key_id,
|
2600
|
+
:enable_cloudwatch_logs_exports)
|
2567
2601
|
include Aws::Structure
|
2568
2602
|
end
|
2569
2603
|
|
@@ -2597,6 +2631,7 @@ module Aws::RDS
|
|
2597
2631
|
# enable_iam_database_authentication: false,
|
2598
2632
|
# enable_performance_insights: false,
|
2599
2633
|
# performance_insights_kms_key_id: "String",
|
2634
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
2600
2635
|
# source_region: "String",
|
2601
2636
|
# }
|
2602
2637
|
#
|
@@ -2673,6 +2708,17 @@ module Aws::RDS
|
|
2673
2708
|
#
|
2674
2709
|
# @!attribute [rw] multi_az
|
2675
2710
|
# Specifies whether the read replica is in a Multi-AZ deployment.
|
2711
|
+
#
|
2712
|
+
# You can create a Read Replica as a Multi-AZ DB instance. RDS creates
|
2713
|
+
# a standby of your replica in another Availability Zone for failover
|
2714
|
+
# support for the replica. Creating your Read Replica as a Multi-AZ DB
|
2715
|
+
# instance is independent of whether the source database is a Multi-AZ
|
2716
|
+
# DB instance.
|
2717
|
+
#
|
2718
|
+
# <note markdown="1"> Currently PostgreSQL Read Replicas can only be created as single-AZ
|
2719
|
+
# DB instances.
|
2720
|
+
#
|
2721
|
+
# </note>
|
2676
2722
|
# @return [Boolean]
|
2677
2723
|
#
|
2678
2724
|
# @!attribute [rw] auto_minor_version_upgrade
|
@@ -2895,6 +2941,11 @@ module Aws::RDS
|
|
2895
2941
|
# identifier, or the KMS key alias for the KMS encryption key.
|
2896
2942
|
# @return [String]
|
2897
2943
|
#
|
2944
|
+
# @!attribute [rw] enable_cloudwatch_logs_exports
|
2945
|
+
# The list of logs that the new DB instance is to export to CloudWatch
|
2946
|
+
# Logs.
|
2947
|
+
# @return [Array<String>]
|
2948
|
+
#
|
2898
2949
|
# @!attribute [rw] destination_region
|
2899
2950
|
# @return [String]
|
2900
2951
|
#
|
@@ -2927,6 +2978,7 @@ module Aws::RDS
|
|
2927
2978
|
:enable_iam_database_authentication,
|
2928
2979
|
:enable_performance_insights,
|
2929
2980
|
:performance_insights_kms_key_id,
|
2981
|
+
:enable_cloudwatch_logs_exports,
|
2930
2982
|
:destination_region,
|
2931
2983
|
:source_region)
|
2932
2984
|
include Aws::Structure
|
@@ -4111,6 +4163,16 @@ module Aws::RDS
|
|
4111
4163
|
# parameter of the `CreateDBInstance` action.
|
4112
4164
|
# @return [Array<Types::Timezone>]
|
4113
4165
|
#
|
4166
|
+
# @!attribute [rw] exportable_log_types
|
4167
|
+
# The types of logs that the database engine has available for export
|
4168
|
+
# to CloudWatch Logs.
|
4169
|
+
# @return [Array<String>]
|
4170
|
+
#
|
4171
|
+
# @!attribute [rw] supports_log_exports_to_cloudwatch_logs
|
4172
|
+
# A value that indicates whether the engine version supports exporting
|
4173
|
+
# the log types specified by ExportableLogTypes to CloudWatch Logs.
|
4174
|
+
# @return [Boolean]
|
4175
|
+
#
|
4114
4176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersion AWS API Documentation
|
4115
4177
|
#
|
4116
4178
|
class DBEngineVersion < Struct.new(
|
@@ -4122,7 +4184,9 @@ module Aws::RDS
|
|
4122
4184
|
:default_character_set,
|
4123
4185
|
:supported_character_sets,
|
4124
4186
|
:valid_upgrade_target,
|
4125
|
-
:supported_timezones
|
4187
|
+
:supported_timezones,
|
4188
|
+
:exportable_log_types,
|
4189
|
+
:supports_log_exports_to_cloudwatch_logs)
|
4126
4190
|
include Aws::Structure
|
4127
4191
|
end
|
4128
4192
|
|
@@ -4451,6 +4515,11 @@ module Aws::RDS
|
|
4451
4515
|
# identifier, or the KMS key alias for the KMS encryption key.
|
4452
4516
|
# @return [String]
|
4453
4517
|
#
|
4518
|
+
# @!attribute [rw] enabled_cloudwatch_logs_exports
|
4519
|
+
# A list of log types that this DB instance is configured to export to
|
4520
|
+
# CloudWatch Logs.
|
4521
|
+
# @return [Array<String>]
|
4522
|
+
#
|
4454
4523
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstance AWS API Documentation
|
4455
4524
|
#
|
4456
4525
|
class DBInstance < Struct.new(
|
@@ -4504,7 +4573,8 @@ module Aws::RDS
|
|
4504
4573
|
:timezone,
|
4505
4574
|
:iam_database_authentication_enabled,
|
4506
4575
|
:performance_insights_enabled,
|
4507
|
-
:performance_insights_kms_key_id
|
4576
|
+
:performance_insights_kms_key_id,
|
4577
|
+
:enabled_cloudwatch_logs_exports)
|
4508
4578
|
include Aws::Structure
|
4509
4579
|
end
|
4510
4580
|
|
@@ -8341,6 +8411,10 @@ module Aws::RDS
|
|
8341
8411
|
# enable_iam_database_authentication: false,
|
8342
8412
|
# enable_performance_insights: false,
|
8343
8413
|
# performance_insights_kms_key_id: "String",
|
8414
|
+
# cloudwatch_logs_export_configuration: {
|
8415
|
+
# enable_log_types: ["String"],
|
8416
|
+
# disable_log_types: ["String"],
|
8417
|
+
# },
|
8344
8418
|
# }
|
8345
8419
|
#
|
8346
8420
|
# @!attribute [rw] db_instance_identifier
|
@@ -8914,6 +8988,11 @@ module Aws::RDS
|
|
8914
8988
|
# identifier, or the KMS key alias for the KMS encryption key.
|
8915
8989
|
# @return [String]
|
8916
8990
|
#
|
8991
|
+
# @!attribute [rw] cloudwatch_logs_export_configuration
|
8992
|
+
# The configuration setting for the log types to be enabled for export
|
8993
|
+
# to CloudWatch Logs for a specific DB instance or DB cluster.
|
8994
|
+
# @return [Types::CloudwatchLogsExportConfiguration]
|
8995
|
+
#
|
8917
8996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstanceMessage AWS API Documentation
|
8918
8997
|
#
|
8919
8998
|
class ModifyDBInstanceMessage < Struct.new(
|
@@ -8951,7 +9030,8 @@ module Aws::RDS
|
|
8951
9030
|
:promotion_tier,
|
8952
9031
|
:enable_iam_database_authentication,
|
8953
9032
|
:enable_performance_insights,
|
8954
|
-
:performance_insights_kms_key_id
|
9033
|
+
:performance_insights_kms_key_id,
|
9034
|
+
:cloudwatch_logs_export_configuration)
|
8955
9035
|
include Aws::Structure
|
8956
9036
|
end
|
8957
9037
|
|
@@ -10047,6 +10127,29 @@ module Aws::RDS
|
|
10047
10127
|
include Aws::Structure
|
10048
10128
|
end
|
10049
10129
|
|
10130
|
+
# A list of the log types whose configuration is still pending. In other
|
10131
|
+
# words, these log types are in the process of being activated or
|
10132
|
+
# deactivated.
|
10133
|
+
#
|
10134
|
+
# @!attribute [rw] log_types_to_enable
|
10135
|
+
# Log types that are in the process of being deactivated. After they
|
10136
|
+
# are deactivated, these log types aren't exported to CloudWatch
|
10137
|
+
# Logs.
|
10138
|
+
# @return [Array<String>]
|
10139
|
+
#
|
10140
|
+
# @!attribute [rw] log_types_to_disable
|
10141
|
+
# Log types that are in the process of being enabled. After they are
|
10142
|
+
# enabled, these log types are exported to CloudWatch Logs.
|
10143
|
+
# @return [Array<String>]
|
10144
|
+
#
|
10145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingCloudwatchLogsExports AWS API Documentation
|
10146
|
+
#
|
10147
|
+
class PendingCloudwatchLogsExports < Struct.new(
|
10148
|
+
:log_types_to_enable,
|
10149
|
+
:log_types_to_disable)
|
10150
|
+
include Aws::Structure
|
10151
|
+
end
|
10152
|
+
|
10050
10153
|
# Provides information about a pending maintenance action for a
|
10051
10154
|
# resource.
|
10052
10155
|
#
|
@@ -10185,6 +10288,12 @@ module Aws::RDS
|
|
10185
10288
|
# The new DB subnet group for the DB instance.
|
10186
10289
|
# @return [String]
|
10187
10290
|
#
|
10291
|
+
# @!attribute [rw] pending_cloudwatch_logs_exports
|
10292
|
+
# A list of the log types whose configuration is still pending. In
|
10293
|
+
# other words, these log types are in the process of being activated
|
10294
|
+
# or deactivated.
|
10295
|
+
# @return [Types::PendingCloudwatchLogsExports]
|
10296
|
+
#
|
10188
10297
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PendingModifiedValues AWS API Documentation
|
10189
10298
|
#
|
10190
10299
|
class PendingModifiedValues < Struct.new(
|
@@ -10200,7 +10309,8 @@ module Aws::RDS
|
|
10200
10309
|
:db_instance_identifier,
|
10201
10310
|
:storage_type,
|
10202
10311
|
:ca_certificate_identifier,
|
10203
|
-
:db_subnet_group_name
|
10312
|
+
:db_subnet_group_name,
|
10313
|
+
:pending_cloudwatch_logs_exports)
|
10204
10314
|
include Aws::Structure
|
10205
10315
|
end
|
10206
10316
|
|
@@ -11619,6 +11729,7 @@ module Aws::RDS
|
|
11619
11729
|
# copy_tags_to_snapshot: false,
|
11620
11730
|
# domain_iam_role_name: "String",
|
11621
11731
|
# enable_iam_database_authentication: false,
|
11732
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
11622
11733
|
# }
|
11623
11734
|
#
|
11624
11735
|
# @!attribute [rw] db_instance_identifier
|
@@ -11869,6 +11980,11 @@ module Aws::RDS
|
|
11869
11980
|
# Default: `false`
|
11870
11981
|
# @return [Boolean]
|
11871
11982
|
#
|
11983
|
+
# @!attribute [rw] enable_cloudwatch_logs_exports
|
11984
|
+
# The list of logs that the restored DB instance is to export to
|
11985
|
+
# CloudWatch Logs.
|
11986
|
+
# @return [Array<String>]
|
11987
|
+
#
|
11872
11988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage AWS API Documentation
|
11873
11989
|
#
|
11874
11990
|
class RestoreDBInstanceFromDBSnapshotMessage < Struct.new(
|
@@ -11893,7 +12009,8 @@ module Aws::RDS
|
|
11893
12009
|
:domain,
|
11894
12010
|
:copy_tags_to_snapshot,
|
11895
12011
|
:domain_iam_role_name,
|
11896
|
-
:enable_iam_database_authentication
|
12012
|
+
:enable_iam_database_authentication,
|
12013
|
+
:enable_cloudwatch_logs_exports)
|
11897
12014
|
include Aws::Structure
|
11898
12015
|
end
|
11899
12016
|
|
@@ -11958,6 +12075,7 @@ module Aws::RDS
|
|
11958
12075
|
# s3_ingestion_role_arn: "String", # required
|
11959
12076
|
# enable_performance_insights: false,
|
11960
12077
|
# performance_insights_kms_key_id: "String",
|
12078
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
11961
12079
|
# }
|
11962
12080
|
#
|
11963
12081
|
# @!attribute [rw] db_name
|
@@ -12296,6 +12414,11 @@ module Aws::RDS
|
|
12296
12414
|
# identifier, or the KMS key alias for the KMS encryption key.
|
12297
12415
|
# @return [String]
|
12298
12416
|
#
|
12417
|
+
# @!attribute [rw] enable_cloudwatch_logs_exports
|
12418
|
+
# The list of logs that the restored DB instance is to export to
|
12419
|
+
# CloudWatch Logs.
|
12420
|
+
# @return [Array<String>]
|
12421
|
+
#
|
12299
12422
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3Message AWS API Documentation
|
12300
12423
|
#
|
12301
12424
|
class RestoreDBInstanceFromS3Message < Struct.new(
|
@@ -12336,7 +12459,8 @@ module Aws::RDS
|
|
12336
12459
|
:s3_prefix,
|
12337
12460
|
:s3_ingestion_role_arn,
|
12338
12461
|
:enable_performance_insights,
|
12339
|
-
:performance_insights_kms_key_id
|
12462
|
+
:performance_insights_kms_key_id,
|
12463
|
+
:enable_cloudwatch_logs_exports)
|
12340
12464
|
include Aws::Structure
|
12341
12465
|
end
|
12342
12466
|
|
@@ -12387,6 +12511,7 @@ module Aws::RDS
|
|
12387
12511
|
# domain: "String",
|
12388
12512
|
# domain_iam_role_name: "String",
|
12389
12513
|
# enable_iam_database_authentication: false,
|
12514
|
+
# enable_cloudwatch_logs_exports: ["String"],
|
12390
12515
|
# }
|
12391
12516
|
#
|
12392
12517
|
# @!attribute [rw] source_db_instance_identifier
|
@@ -12394,7 +12519,7 @@ module Aws::RDS
|
|
12394
12519
|
#
|
12395
12520
|
# Constraints:
|
12396
12521
|
#
|
12397
|
-
# * Must match the identifier of an existing
|
12522
|
+
# * Must match the identifier of an existing DB instance.
|
12398
12523
|
#
|
12399
12524
|
# ^
|
12400
12525
|
# @return [String]
|
@@ -12648,6 +12773,11 @@ module Aws::RDS
|
|
12648
12773
|
# Default: `false`
|
12649
12774
|
# @return [Boolean]
|
12650
12775
|
#
|
12776
|
+
# @!attribute [rw] enable_cloudwatch_logs_exports
|
12777
|
+
# The list of logs that the restored DB instance is to export to
|
12778
|
+
# CloudWatch Logs.
|
12779
|
+
# @return [Array<String>]
|
12780
|
+
#
|
12651
12781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage AWS API Documentation
|
12652
12782
|
#
|
12653
12783
|
class RestoreDBInstanceToPointInTimeMessage < Struct.new(
|
@@ -12674,7 +12804,8 @@ module Aws::RDS
|
|
12674
12804
|
:tde_credential_password,
|
12675
12805
|
:domain,
|
12676
12806
|
:domain_iam_role_name,
|
12677
|
-
:enable_iam_database_authentication
|
12807
|
+
:enable_iam_database_authentication,
|
12808
|
+
:enable_cloudwatch_logs_exports)
|
12678
12809
|
include Aws::Structure
|
12679
12810
|
end
|
12680
12811
|
|
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.11.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: 2018-01-
|
11
|
+
date: 2018-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|