aws-sdk-rds 1.42.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3c9fabed1e93c2b5d2cabb0435a3245d066b6ac
4
- data.tar.gz: 411306a013aaffba9382bf1c3d45c6782b94b8ee
3
+ metadata.gz: 15c3408e29007e3ef5e2b8f08bb3b370838e8fa6
4
+ data.tar.gz: 4bacb54550b2ae3ec0a9a39798388d2d477e4131
5
5
  SHA512:
6
- metadata.gz: c49eef388151afc0ca85bbee631d0345cbae98e5010055349b5a217790fa5c239159181c281246622a73c980ac732e70f7bed09754aaf0753b3b9b18cc611e10
7
- data.tar.gz: 5e61a82d71af4722f625a3211397607100ef902136dd7d5171d1c4379fd0f850c965670140bdb6d76a17d78750d77dcab69033377ee9d89b0848f87c79d78542
6
+ metadata.gz: e0b31aeababe051d96fc8ac56924a71a9da347fe8bd2a10cd6b210146a11502b55738a5d42c3e6b0819465df1980b7cd5df2e210942e3f7ebc2297351ac7c6b5
7
+ data.tar.gz: 00402d8f8ebc74ef6a421c66a15dfd24a7af11d71c7ee925b64cccf20f2bda758f0ae6149d9a1cfc3eb484800092254ffd91e1bd77098c46988a61ab1c45b3eb
data/lib/aws-sdk-rds.rb CHANGED
@@ -68,6 +68,6 @@ require_relative 'aws-sdk-rds/customizations'
68
68
  # @service
69
69
  module Aws::RDS
70
70
 
71
- GEM_VERSION = '1.42.0'
71
+ GEM_VERSION = '1.43.0'
72
72
 
73
73
  end
@@ -207,10 +207,10 @@ module Aws::RDS
207
207
 
208
208
  # @!group API Operations
209
209
 
210
- # Associates an Identity and Access Management (IAM) role from an Aurora
211
- # DB cluster. For more information, see [Authorizing Amazon Aurora MySQL
212
- # to Access Other AWS Services on Your Behalf][1] in the *Amazon Aurora
213
- # User Guide*.
210
+ # Associates an Identity and Access Management (IAM) role from an Amazon
211
+ # Aurora DB cluster. For more information, see [Authorizing Amazon
212
+ # Aurora MySQL to Access Other AWS Services on Your Behalf][1] in the
213
+ # *Amazon Aurora User Guide*.
214
214
  #
215
215
  #
216
216
  #
@@ -242,6 +242,40 @@ module Aws::RDS
242
242
  req.send_request(options)
243
243
  end
244
244
 
245
+ # Associates an AWS Identity and Access Management (IAM) role with a DB
246
+ # instance.
247
+ #
248
+ # @option params [required, String] :db_instance_identifier
249
+ # The name of the DB instance to associate the IAM role with.
250
+ #
251
+ # @option params [required, String] :role_arn
252
+ # The Amazon Resource Name (ARN) of the IAM role to associate with the
253
+ # DB instance, for example `arn:aws:iam::123456789012:role/AccessRole`.
254
+ #
255
+ # @option params [required, String] :feature_name
256
+ # The name of the feature for the DB instance that the IAM role is to be
257
+ # associated with. For the list of supported feature names, see
258
+ # DBEngineVersion.
259
+ #
260
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
261
+ #
262
+ # @example Request syntax with placeholder values
263
+ #
264
+ # resp = client.add_role_to_db_instance({
265
+ # db_instance_identifier: "String", # required
266
+ # role_arn: "String", # required
267
+ # feature_name: "String", # required
268
+ # })
269
+ #
270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBInstance AWS API Documentation
271
+ #
272
+ # @overload add_role_to_db_instance(params = {})
273
+ # @param [Hash] params ({})
274
+ def add_role_to_db_instance(params = {}, options = {})
275
+ req = build_request(:add_role_to_db_instance, params)
276
+ req.send_request(options)
277
+ end
278
+
245
279
  # Adds a source identifier to an existing RDS event notification
246
280
  # subscription.
247
281
  #
@@ -3230,6 +3264,10 @@ module Aws::RDS
3230
3264
  # resp.db_instance.processor_features[0].name #=> String
3231
3265
  # resp.db_instance.processor_features[0].value #=> String
3232
3266
  # resp.db_instance.deletion_protection #=> Boolean
3267
+ # resp.db_instance.associated_roles #=> Array
3268
+ # resp.db_instance.associated_roles[0].role_arn #=> String
3269
+ # resp.db_instance.associated_roles[0].feature_name #=> String
3270
+ # resp.db_instance.associated_roles[0].status #=> String
3233
3271
  # resp.db_instance.listener_endpoint.address #=> String
3234
3272
  # resp.db_instance.listener_endpoint.port #=> Integer
3235
3273
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -3757,6 +3795,10 @@ module Aws::RDS
3757
3795
  # resp.db_instance.processor_features[0].name #=> String
3758
3796
  # resp.db_instance.processor_features[0].value #=> String
3759
3797
  # resp.db_instance.deletion_protection #=> Boolean
3798
+ # resp.db_instance.associated_roles #=> Array
3799
+ # resp.db_instance.associated_roles[0].role_arn #=> String
3800
+ # resp.db_instance.associated_roles[0].feature_name #=> String
3801
+ # resp.db_instance.associated_roles[0].status #=> String
3760
3802
  # resp.db_instance.listener_endpoint.address #=> String
3761
3803
  # resp.db_instance.listener_endpoint.port #=> Integer
3762
3804
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -5081,6 +5123,10 @@ module Aws::RDS
5081
5123
  # resp.db_instance.processor_features[0].name #=> String
5082
5124
  # resp.db_instance.processor_features[0].value #=> String
5083
5125
  # resp.db_instance.deletion_protection #=> Boolean
5126
+ # resp.db_instance.associated_roles #=> Array
5127
+ # resp.db_instance.associated_roles[0].role_arn #=> String
5128
+ # resp.db_instance.associated_roles[0].feature_name #=> String
5129
+ # resp.db_instance.associated_roles[0].status #=> String
5084
5130
  # resp.db_instance.listener_endpoint.address #=> String
5085
5131
  # resp.db_instance.listener_endpoint.port #=> Integer
5086
5132
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -6530,6 +6576,8 @@ module Aws::RDS
6530
6576
  # resp.db_engine_versions[0].supports_read_replica #=> Boolean
6531
6577
  # resp.db_engine_versions[0].supported_engine_modes #=> Array
6532
6578
  # resp.db_engine_versions[0].supported_engine_modes[0] #=> String
6579
+ # resp.db_engine_versions[0].supported_feature_names #=> Array
6580
+ # resp.db_engine_versions[0].supported_feature_names[0] #=> String
6533
6581
  #
6534
6582
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions AWS API Documentation
6535
6583
  #
@@ -6840,6 +6888,10 @@ module Aws::RDS
6840
6888
  # resp.db_instances[0].processor_features[0].name #=> String
6841
6889
  # resp.db_instances[0].processor_features[0].value #=> String
6842
6890
  # resp.db_instances[0].deletion_protection #=> Boolean
6891
+ # resp.db_instances[0].associated_roles #=> Array
6892
+ # resp.db_instances[0].associated_roles[0].role_arn #=> String
6893
+ # resp.db_instances[0].associated_roles[0].feature_name #=> String
6894
+ # resp.db_instances[0].associated_roles[0].status #=> String
6843
6895
  # resp.db_instances[0].listener_endpoint.address #=> String
6844
6896
  # resp.db_instances[0].listener_endpoint.port #=> Integer
6845
6897
  # resp.db_instances[0].listener_endpoint.hosted_zone_id #=> String
@@ -10511,6 +10563,10 @@ module Aws::RDS
10511
10563
  # The configuration setting for the log types to be enabled for export
10512
10564
  # to CloudWatch Logs for a specific DB instance.
10513
10565
  #
10566
+ # A change to the `CloudwatchLogsExportConfiguration` parameter is
10567
+ # always applied to the DB instance immediately. Therefore, the
10568
+ # `ApplyImmediately` parameter has no effect.
10569
+ #
10514
10570
  # @option params [Array<Types::ProcessorFeature>] :processor_features
10515
10571
  # The number of CPU cores and the number of threads per core for the DB
10516
10572
  # instance class of the DB instance.
@@ -10714,6 +10770,10 @@ module Aws::RDS
10714
10770
  # resp.db_instance.processor_features[0].name #=> String
10715
10771
  # resp.db_instance.processor_features[0].value #=> String
10716
10772
  # resp.db_instance.deletion_protection #=> Boolean
10773
+ # resp.db_instance.associated_roles #=> Array
10774
+ # resp.db_instance.associated_roles[0].role_arn #=> String
10775
+ # resp.db_instance.associated_roles[0].feature_name #=> String
10776
+ # resp.db_instance.associated_roles[0].status #=> String
10717
10777
  # resp.db_instance.listener_endpoint.address #=> String
10718
10778
  # resp.db_instance.listener_endpoint.port #=> Integer
10719
10779
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -11603,6 +11663,10 @@ module Aws::RDS
11603
11663
  # resp.db_instance.processor_features[0].name #=> String
11604
11664
  # resp.db_instance.processor_features[0].value #=> String
11605
11665
  # resp.db_instance.deletion_protection #=> Boolean
11666
+ # resp.db_instance.associated_roles #=> Array
11667
+ # resp.db_instance.associated_roles[0].role_arn #=> String
11668
+ # resp.db_instance.associated_roles[0].feature_name #=> String
11669
+ # resp.db_instance.associated_roles[0].status #=> String
11606
11670
  # resp.db_instance.listener_endpoint.address #=> String
11607
11671
  # resp.db_instance.listener_endpoint.port #=> Integer
11608
11672
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -11969,6 +12033,10 @@ module Aws::RDS
11969
12033
  # resp.db_instance.processor_features[0].name #=> String
11970
12034
  # resp.db_instance.processor_features[0].value #=> String
11971
12035
  # resp.db_instance.deletion_protection #=> Boolean
12036
+ # resp.db_instance.associated_roles #=> Array
12037
+ # resp.db_instance.associated_roles[0].role_arn #=> String
12038
+ # resp.db_instance.associated_roles[0].feature_name #=> String
12039
+ # resp.db_instance.associated_roles[0].status #=> String
11972
12040
  # resp.db_instance.listener_endpoint.address #=> String
11973
12041
  # resp.db_instance.listener_endpoint.port #=> Integer
11974
12042
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -12032,10 +12100,10 @@ module Aws::RDS
12032
12100
  req.send_request(options)
12033
12101
  end
12034
12102
 
12035
- # Disassociates an Identity and Access Management (IAM) role from an
12036
- # Aurora DB cluster. For more information, see [Authorizing Amazon
12037
- # Aurora MySQL to Access Other AWS Services on Your Behalf ][1] in the
12038
- # *Amazon Aurora User Guide*.
12103
+ # Disassociates an AWS Identity and Access Management (IAM) role from an
12104
+ # Amazon Aurora DB cluster. For more information, see [Authorizing
12105
+ # Amazon Aurora MySQL to Access Other AWS Services on Your Behalf ][1]
12106
+ # in the *Amazon Aurora User Guide*.
12039
12107
  #
12040
12108
  #
12041
12109
  #
@@ -12067,6 +12135,41 @@ module Aws::RDS
12067
12135
  req.send_request(options)
12068
12136
  end
12069
12137
 
12138
+ # Disassociates an AWS Identity and Access Management (IAM) role from a
12139
+ # DB instance.
12140
+ #
12141
+ # @option params [required, String] :db_instance_identifier
12142
+ # The name of the DB instance to disassociate the IAM role from.
12143
+ #
12144
+ # @option params [required, String] :role_arn
12145
+ # The Amazon Resource Name (ARN) of the IAM role to disassociate from
12146
+ # the DB instance, for example
12147
+ # `arn:aws:iam::123456789012:role/AccessRole`.
12148
+ #
12149
+ # @option params [required, String] :feature_name
12150
+ # The name of the feature for the DB instance that the IAM role is to be
12151
+ # disassociated from. For the list of supported feature names, see
12152
+ # DBEngineVersion.
12153
+ #
12154
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
12155
+ #
12156
+ # @example Request syntax with placeholder values
12157
+ #
12158
+ # resp = client.remove_role_from_db_instance({
12159
+ # db_instance_identifier: "String", # required
12160
+ # role_arn: "String", # required
12161
+ # feature_name: "String", # required
12162
+ # })
12163
+ #
12164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBInstance AWS API Documentation
12165
+ #
12166
+ # @overload remove_role_from_db_instance(params = {})
12167
+ # @param [Hash] params ({})
12168
+ def remove_role_from_db_instance(params = {}, options = {})
12169
+ req = build_request(:remove_role_from_db_instance, params)
12170
+ req.send_request(options)
12171
+ end
12172
+
12070
12173
  # Removes a source identifier from an existing RDS event notification
12071
12174
  # subscription.
12072
12175
  #
@@ -13881,6 +13984,10 @@ module Aws::RDS
13881
13984
  # resp.db_instance.processor_features[0].name #=> String
13882
13985
  # resp.db_instance.processor_features[0].value #=> String
13883
13986
  # resp.db_instance.deletion_protection #=> Boolean
13987
+ # resp.db_instance.associated_roles #=> Array
13988
+ # resp.db_instance.associated_roles[0].role_arn #=> String
13989
+ # resp.db_instance.associated_roles[0].feature_name #=> String
13990
+ # resp.db_instance.associated_roles[0].status #=> String
13884
13991
  # resp.db_instance.listener_endpoint.address #=> String
13885
13992
  # resp.db_instance.listener_endpoint.port #=> Integer
13886
13993
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -14411,6 +14518,10 @@ module Aws::RDS
14411
14518
  # resp.db_instance.processor_features[0].name #=> String
14412
14519
  # resp.db_instance.processor_features[0].value #=> String
14413
14520
  # resp.db_instance.deletion_protection #=> Boolean
14521
+ # resp.db_instance.associated_roles #=> Array
14522
+ # resp.db_instance.associated_roles[0].role_arn #=> String
14523
+ # resp.db_instance.associated_roles[0].feature_name #=> String
14524
+ # resp.db_instance.associated_roles[0].status #=> String
14414
14525
  # resp.db_instance.listener_endpoint.address #=> String
14415
14526
  # resp.db_instance.listener_endpoint.port #=> Integer
14416
14527
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -14961,6 +15072,10 @@ module Aws::RDS
14961
15072
  # resp.db_instance.processor_features[0].name #=> String
14962
15073
  # resp.db_instance.processor_features[0].value #=> String
14963
15074
  # resp.db_instance.deletion_protection #=> Boolean
15075
+ # resp.db_instance.associated_roles #=> Array
15076
+ # resp.db_instance.associated_roles[0].role_arn #=> String
15077
+ # resp.db_instance.associated_roles[0].feature_name #=> String
15078
+ # resp.db_instance.associated_roles[0].status #=> String
14964
15079
  # resp.db_instance.listener_endpoint.address #=> String
14965
15080
  # resp.db_instance.listener_endpoint.port #=> Integer
14966
15081
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -15299,6 +15414,10 @@ module Aws::RDS
15299
15414
  # resp.db_instance.processor_features[0].name #=> String
15300
15415
  # resp.db_instance.processor_features[0].value #=> String
15301
15416
  # resp.db_instance.deletion_protection #=> Boolean
15417
+ # resp.db_instance.associated_roles #=> Array
15418
+ # resp.db_instance.associated_roles[0].role_arn #=> String
15419
+ # resp.db_instance.associated_roles[0].feature_name #=> String
15420
+ # resp.db_instance.associated_roles[0].status #=> String
15302
15421
  # resp.db_instance.listener_endpoint.address #=> String
15303
15422
  # resp.db_instance.listener_endpoint.port #=> Integer
15304
15423
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -15556,6 +15675,10 @@ module Aws::RDS
15556
15675
  # resp.db_instance.processor_features[0].name #=> String
15557
15676
  # resp.db_instance.processor_features[0].value #=> String
15558
15677
  # resp.db_instance.deletion_protection #=> Boolean
15678
+ # resp.db_instance.associated_roles #=> Array
15679
+ # resp.db_instance.associated_roles[0].role_arn #=> String
15680
+ # resp.db_instance.associated_roles[0].feature_name #=> String
15681
+ # resp.db_instance.associated_roles[0].status #=> String
15559
15682
  # resp.db_instance.listener_endpoint.address #=> String
15560
15683
  # resp.db_instance.listener_endpoint.port #=> Integer
15561
15684
  # resp.db_instance.listener_endpoint.hosted_zone_id #=> String
@@ -15582,7 +15705,7 @@ module Aws::RDS
15582
15705
  params: params,
15583
15706
  config: config)
15584
15707
  context[:gem_name] = 'aws-sdk-rds'
15585
- context[:gem_version] = '1.42.0'
15708
+ context[:gem_version] = '1.43.0'
15586
15709
  Seahorse::Client::Request.new(handlers, context)
15587
15710
  end
15588
15711
 
@@ -15,6 +15,7 @@ module Aws::RDS
15
15
  AccountQuota = Shapes::StructureShape.new(name: 'AccountQuota')
16
16
  AccountQuotaList = Shapes::ListShape.new(name: 'AccountQuotaList')
17
17
  AddRoleToDBClusterMessage = Shapes::StructureShape.new(name: 'AddRoleToDBClusterMessage')
18
+ AddRoleToDBInstanceMessage = Shapes::StructureShape.new(name: 'AddRoleToDBInstanceMessage')
18
19
  AddSourceIdentifierToSubscriptionMessage = Shapes::StructureShape.new(name: 'AddSourceIdentifierToSubscriptionMessage')
19
20
  AddSourceIdentifierToSubscriptionResult = Shapes::StructureShape.new(name: 'AddSourceIdentifierToSubscriptionResult')
20
21
  AddTagsToResourceMessage = Shapes::StructureShape.new(name: 'AddTagsToResourceMessage')
@@ -130,6 +131,11 @@ module Aws::RDS
130
131
  DBInstanceList = Shapes::ListShape.new(name: 'DBInstanceList')
131
132
  DBInstanceMessage = Shapes::StructureShape.new(name: 'DBInstanceMessage')
132
133
  DBInstanceNotFoundFault = Shapes::StructureShape.new(name: 'DBInstanceNotFoundFault')
134
+ DBInstanceRole = Shapes::StructureShape.new(name: 'DBInstanceRole')
135
+ DBInstanceRoleAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBInstanceRoleAlreadyExistsFault')
136
+ DBInstanceRoleNotFoundFault = Shapes::StructureShape.new(name: 'DBInstanceRoleNotFoundFault')
137
+ DBInstanceRoleQuotaExceededFault = Shapes::StructureShape.new(name: 'DBInstanceRoleQuotaExceededFault')
138
+ DBInstanceRoles = Shapes::ListShape.new(name: 'DBInstanceRoles')
133
139
  DBInstanceStatusInfo = Shapes::StructureShape.new(name: 'DBInstanceStatusInfo')
134
140
  DBInstanceStatusInfoList = Shapes::ListShape.new(name: 'DBInstanceStatusInfoList')
135
141
  DBLogFileNotFoundFault = Shapes::StructureShape.new(name: 'DBLogFileNotFoundFault')
@@ -259,6 +265,7 @@ module Aws::RDS
259
265
  EventsMessage = Shapes::StructureShape.new(name: 'EventsMessage')
260
266
  FailoverDBClusterMessage = Shapes::StructureShape.new(name: 'FailoverDBClusterMessage')
261
267
  FailoverDBClusterResult = Shapes::StructureShape.new(name: 'FailoverDBClusterResult')
268
+ FeatureNameList = Shapes::ListShape.new(name: 'FeatureNameList')
262
269
  Filter = Shapes::StructureShape.new(name: 'Filter')
263
270
  FilterList = Shapes::ListShape.new(name: 'FilterList')
264
271
  FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
@@ -386,6 +393,7 @@ module Aws::RDS
386
393
  RemoveFromGlobalClusterMessage = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterMessage')
387
394
  RemoveFromGlobalClusterResult = Shapes::StructureShape.new(name: 'RemoveFromGlobalClusterResult')
388
395
  RemoveRoleFromDBClusterMessage = Shapes::StructureShape.new(name: 'RemoveRoleFromDBClusterMessage')
396
+ RemoveRoleFromDBInstanceMessage = Shapes::StructureShape.new(name: 'RemoveRoleFromDBInstanceMessage')
389
397
  RemoveSourceIdentifierFromSubscriptionMessage = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionMessage')
390
398
  RemoveSourceIdentifierFromSubscriptionResult = Shapes::StructureShape.new(name: 'RemoveSourceIdentifierFromSubscriptionResult')
391
399
  RemoveTagsFromResourceMessage = Shapes::StructureShape.new(name: 'RemoveTagsFromResourceMessage')
@@ -480,6 +488,11 @@ module Aws::RDS
480
488
  AddRoleToDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
481
489
  AddRoleToDBClusterMessage.struct_class = Types::AddRoleToDBClusterMessage
482
490
 
491
+ AddRoleToDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
492
+ AddRoleToDBInstanceMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
493
+ AddRoleToDBInstanceMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FeatureName"))
494
+ AddRoleToDBInstanceMessage.struct_class = Types::AddRoleToDBInstanceMessage
495
+
483
496
  AddSourceIdentifierToSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
484
497
  AddSourceIdentifierToSubscriptionMessage.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceIdentifier"))
485
498
  AddSourceIdentifierToSubscriptionMessage.struct_class = Types::AddSourceIdentifierToSubscriptionMessage
@@ -1001,6 +1014,7 @@ module Aws::RDS
1001
1014
  DBEngineVersion.add_member(:supports_log_exports_to_cloudwatch_logs, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsLogExportsToCloudwatchLogs"))
1002
1015
  DBEngineVersion.add_member(:supports_read_replica, Shapes::ShapeRef.new(shape: Boolean, location_name: "SupportsReadReplica"))
1003
1016
  DBEngineVersion.add_member(:supported_engine_modes, Shapes::ShapeRef.new(shape: EngineModeList, location_name: "SupportedEngineModes"))
1017
+ DBEngineVersion.add_member(:supported_feature_names, Shapes::ShapeRef.new(shape: FeatureNameList, location_name: "SupportedFeatureNames"))
1004
1018
  DBEngineVersion.struct_class = Types::DBEngineVersion
1005
1019
 
1006
1020
  DBEngineVersionList.member = Shapes::ShapeRef.new(shape: DBEngineVersion, location_name: "DBEngineVersion")
@@ -1064,6 +1078,7 @@ module Aws::RDS
1064
1078
  DBInstance.add_member(:enabled_cloudwatch_logs_exports, Shapes::ShapeRef.new(shape: LogTypeList, location_name: "EnabledCloudwatchLogsExports"))
1065
1079
  DBInstance.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
1066
1080
  DBInstance.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeletionProtection"))
1081
+ DBInstance.add_member(:associated_roles, Shapes::ShapeRef.new(shape: DBInstanceRoles, location_name: "AssociatedRoles"))
1067
1082
  DBInstance.add_member(:listener_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "ListenerEndpoint"))
1068
1083
  DBInstance.struct_class = Types::DBInstance
1069
1084
 
@@ -1104,6 +1119,13 @@ module Aws::RDS
1104
1119
  DBInstanceMessage.add_member(:db_instances, Shapes::ShapeRef.new(shape: DBInstanceList, location_name: "DBInstances"))
1105
1120
  DBInstanceMessage.struct_class = Types::DBInstanceMessage
1106
1121
 
1122
+ DBInstanceRole.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "RoleArn"))
1123
+ DBInstanceRole.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, location_name: "FeatureName"))
1124
+ DBInstanceRole.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
1125
+ DBInstanceRole.struct_class = Types::DBInstanceRole
1126
+
1127
+ DBInstanceRoles.member = Shapes::ShapeRef.new(shape: DBInstanceRole, location_name: "DBInstanceRole")
1128
+
1107
1129
  DBInstanceStatusInfo.add_member(:status_type, Shapes::ShapeRef.new(shape: String, location_name: "StatusType"))
1108
1130
  DBInstanceStatusInfo.add_member(:normal, Shapes::ShapeRef.new(shape: Boolean, location_name: "Normal"))
1109
1131
  DBInstanceStatusInfo.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
@@ -1634,6 +1656,8 @@ module Aws::RDS
1634
1656
  FailoverDBClusterResult.add_member(:db_cluster, Shapes::ShapeRef.new(shape: DBCluster, location_name: "DBCluster"))
1635
1657
  FailoverDBClusterResult.struct_class = Types::FailoverDBClusterResult
1636
1658
 
1659
+ FeatureNameList.member = Shapes::ShapeRef.new(shape: String)
1660
+
1637
1661
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
1638
1662
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
1639
1663
  Filter.struct_class = Types::Filter
@@ -2094,6 +2118,11 @@ module Aws::RDS
2094
2118
  RemoveRoleFromDBClusterMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
2095
2119
  RemoveRoleFromDBClusterMessage.struct_class = Types::RemoveRoleFromDBClusterMessage
2096
2120
 
2121
+ RemoveRoleFromDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
2122
+ RemoveRoleFromDBInstanceMessage.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RoleArn"))
2123
+ RemoveRoleFromDBInstanceMessage.add_member(:feature_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FeatureName"))
2124
+ RemoveRoleFromDBInstanceMessage.struct_class = Types::RemoveRoleFromDBInstanceMessage
2125
+
2097
2126
  RemoveSourceIdentifierFromSubscriptionMessage.add_member(:subscription_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SubscriptionName"))
2098
2127
  RemoveSourceIdentifierFromSubscriptionMessage.add_member(:source_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceIdentifier"))
2099
2128
  RemoveSourceIdentifierFromSubscriptionMessage.struct_class = Types::RemoveSourceIdentifierFromSubscriptionMessage
@@ -2505,6 +2534,18 @@ module Aws::RDS
2505
2534
  o.errors << Shapes::ShapeRef.new(shape: DBClusterRoleQuotaExceededFault)
2506
2535
  end)
2507
2536
 
2537
+ api.add_operation(:add_role_to_db_instance, Seahorse::Model::Operation.new.tap do |o|
2538
+ o.name = "AddRoleToDBInstance"
2539
+ o.http_method = "POST"
2540
+ o.http_request_uri = "/"
2541
+ o.input = Shapes::ShapeRef.new(shape: AddRoleToDBInstanceMessage)
2542
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2543
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
2544
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceRoleAlreadyExistsFault)
2545
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
2546
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceRoleQuotaExceededFault)
2547
+ end)
2548
+
2508
2549
  api.add_operation(:add_source_identifier_to_subscription, Seahorse::Model::Operation.new.tap do |o|
2509
2550
  o.name = "AddSourceIdentifierToSubscription"
2510
2551
  o.http_method = "POST"
@@ -3628,6 +3669,17 @@ module Aws::RDS
3628
3669
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
3629
3670
  end)
3630
3671
 
3672
+ api.add_operation(:remove_role_from_db_instance, Seahorse::Model::Operation.new.tap do |o|
3673
+ o.name = "RemoveRoleFromDBInstance"
3674
+ o.http_method = "POST"
3675
+ o.http_request_uri = "/"
3676
+ o.input = Shapes::ShapeRef.new(shape: RemoveRoleFromDBInstanceMessage)
3677
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
3678
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceNotFoundFault)
3679
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceRoleNotFoundFault)
3680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
3681
+ end)
3682
+
3631
3683
  api.add_operation(:remove_source_identifier_from_subscription, Seahorse::Model::Operation.new.tap do |o|
3632
3684
  o.name = "RemoveSourceIdentifierFromSubscription"
3633
3685
  o.http_method = "POST"
@@ -113,6 +113,17 @@ module Aws::RDS
113
113
  data[:supported_engine_modes]
114
114
  end
115
115
 
116
+ # A list of features supported by the DB engine. Supported feature names
117
+ # include the following.
118
+ #
119
+ # * s3Import
120
+ #
121
+ # ^
122
+ # @return [Array<String>]
123
+ def supported_feature_names
124
+ data[:supported_feature_names]
125
+ end
126
+
116
127
  # @!endgroup
117
128
 
118
129
  # @return [Client]
@@ -456,6 +456,13 @@ module Aws::RDS
456
456
  data[:deletion_protection]
457
457
  end
458
458
 
459
+ # The AWS Identity and Access Management (IAM) roles associated with the
460
+ # DB instance.
461
+ # @return [Array<Types::DBInstanceRole>]
462
+ def associated_roles
463
+ data[:associated_roles]
464
+ end
465
+
459
466
  # Specifies the listener connection endpoint for SQL Server Always On.
460
467
  # @return [Types::Endpoint]
461
468
  def listener_endpoint
@@ -2365,6 +2372,10 @@ module Aws::RDS
2365
2372
  # @option options [Types::CloudwatchLogsExportConfiguration] :cloudwatch_logs_export_configuration
2366
2373
  # The configuration setting for the log types to be enabled for export
2367
2374
  # to CloudWatch Logs for a specific DB instance.
2375
+ #
2376
+ # A change to the `CloudwatchLogsExportConfiguration` parameter is
2377
+ # always applied to the DB instance immediately. Therefore, the
2378
+ # `ApplyImmediately` parameter has no effect.
2368
2379
  # @option options [Array<Types::ProcessorFeature>] :processor_features
2369
2380
  # The number of CPU cores and the number of threads per core for the DB
2370
2381
  # instance class of the DB instance.
@@ -73,6 +73,40 @@ module Aws::RDS
73
73
  include Aws::Structure
74
74
  end
75
75
 
76
+ # @note When making an API call, you may pass AddRoleToDBInstanceMessage
77
+ # data as a hash:
78
+ #
79
+ # {
80
+ # db_instance_identifier: "String", # required
81
+ # role_arn: "String", # required
82
+ # feature_name: "String", # required
83
+ # }
84
+ #
85
+ # @!attribute [rw] db_instance_identifier
86
+ # The name of the DB instance to associate the IAM role with.
87
+ # @return [String]
88
+ #
89
+ # @!attribute [rw] role_arn
90
+ # The Amazon Resource Name (ARN) of the IAM role to associate with the
91
+ # DB instance, for example
92
+ # `arn:aws:iam::123456789012:role/AccessRole`.
93
+ # @return [String]
94
+ #
95
+ # @!attribute [rw] feature_name
96
+ # The name of the feature for the DB instance that the IAM role is to
97
+ # be associated with. For the list of supported feature names, see
98
+ # DBEngineVersion.
99
+ # @return [String]
100
+ #
101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBInstanceMessage AWS API Documentation
102
+ #
103
+ class AddRoleToDBInstanceMessage < Struct.new(
104
+ :db_instance_identifier,
105
+ :role_arn,
106
+ :feature_name)
107
+ include Aws::Structure
108
+ end
109
+
76
110
  # @note When making an API call, you may pass AddSourceIdentifierToSubscriptionMessage
77
111
  # data as a hash:
78
112
  #
@@ -4768,6 +4802,15 @@ module Aws::RDS
4768
4802
  # A list of the supported DB engine modes.
4769
4803
  # @return [Array<String>]
4770
4804
  #
4805
+ # @!attribute [rw] supported_feature_names
4806
+ # A list of features supported by the DB engine. Supported feature
4807
+ # names include the following.
4808
+ #
4809
+ # * s3Import
4810
+ #
4811
+ # ^
4812
+ # @return [Array<String>]
4813
+ #
4771
4814
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBEngineVersion AWS API Documentation
4772
4815
  #
4773
4816
  class DBEngineVersion < Struct.new(
@@ -4783,7 +4826,8 @@ module Aws::RDS
4783
4826
  :exportable_log_types,
4784
4827
  :supports_log_exports_to_cloudwatch_logs,
4785
4828
  :supports_read_replica,
4786
- :supported_engine_modes)
4829
+ :supported_engine_modes,
4830
+ :supported_feature_names)
4787
4831
  include Aws::Structure
4788
4832
  end
4789
4833
 
@@ -5140,6 +5184,11 @@ module Aws::RDS
5140
5184
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
5141
5185
  # @return [Boolean]
5142
5186
  #
5187
+ # @!attribute [rw] associated_roles
5188
+ # The AWS Identity and Access Management (IAM) roles associated with
5189
+ # the DB instance.
5190
+ # @return [Array<Types::DBInstanceRole>]
5191
+ #
5143
5192
  # @!attribute [rw] listener_endpoint
5144
5193
  # Specifies the listener connection endpoint for SQL Server Always On.
5145
5194
  # @return [Types::Endpoint]
@@ -5202,6 +5251,7 @@ module Aws::RDS
5202
5251
  :enabled_cloudwatch_logs_exports,
5203
5252
  :processor_features,
5204
5253
  :deletion_protection,
5254
+ :associated_roles,
5205
5255
  :listener_endpoint)
5206
5256
  include Aws::Structure
5207
5257
  end
@@ -5399,6 +5449,44 @@ module Aws::RDS
5399
5449
  include Aws::Structure
5400
5450
  end
5401
5451
 
5452
+ # Describes an AWS Identity and Access Management (IAM) role that is
5453
+ # associated with a DB instance.
5454
+ #
5455
+ # @!attribute [rw] role_arn
5456
+ # The Amazon Resource Name (ARN) of the IAM role that is associated
5457
+ # with the DB instance.
5458
+ # @return [String]
5459
+ #
5460
+ # @!attribute [rw] feature_name
5461
+ # The name of the feature associated with the AWS Identity and Access
5462
+ # Management (IAM) role. For the list of supported feature names, see
5463
+ # DBEngineVersion.
5464
+ # @return [String]
5465
+ #
5466
+ # @!attribute [rw] status
5467
+ # Describes the state of association between the IAM role and the DB
5468
+ # instance. The Status property returns one of the following values:
5469
+ #
5470
+ # * `ACTIVE` - the IAM role ARN is associated with the DB instance and
5471
+ # can be used to access other AWS services on your behalf.
5472
+ #
5473
+ # * `PENDING` - the IAM role ARN is being associated with the DB
5474
+ # instance.
5475
+ #
5476
+ # * `INVALID` - the IAM role ARN is associated with the DB instance,
5477
+ # but the DB instance is unable to assume the IAM role in order to
5478
+ # access other AWS services on your behalf.
5479
+ # @return [String]
5480
+ #
5481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceRole AWS API Documentation
5482
+ #
5483
+ class DBInstanceRole < Struct.new(
5484
+ :role_arn,
5485
+ :feature_name,
5486
+ :status)
5487
+ include Aws::Structure
5488
+ end
5489
+
5402
5490
  # Provides a list of status information for a DB instance.
5403
5491
  #
5404
5492
  # @!attribute [rw] status_type
@@ -10593,6 +10681,10 @@ module Aws::RDS
10593
10681
  # @!attribute [rw] cloudwatch_logs_export_configuration
10594
10682
  # The configuration setting for the log types to be enabled for export
10595
10683
  # to CloudWatch Logs for a specific DB instance.
10684
+ #
10685
+ # A change to the `CloudwatchLogsExportConfiguration` parameter is
10686
+ # always applied to the DB instance immediately. Therefore, the
10687
+ # `ApplyImmediately` parameter has no effect.
10596
10688
  # @return [Types::CloudwatchLogsExportConfiguration]
10597
10689
  #
10598
10690
  # @!attribute [rw] processor_features
@@ -12450,6 +12542,40 @@ module Aws::RDS
12450
12542
  include Aws::Structure
12451
12543
  end
12452
12544
 
12545
+ # @note When making an API call, you may pass RemoveRoleFromDBInstanceMessage
12546
+ # data as a hash:
12547
+ #
12548
+ # {
12549
+ # db_instance_identifier: "String", # required
12550
+ # role_arn: "String", # required
12551
+ # feature_name: "String", # required
12552
+ # }
12553
+ #
12554
+ # @!attribute [rw] db_instance_identifier
12555
+ # The name of the DB instance to disassociate the IAM role from.
12556
+ # @return [String]
12557
+ #
12558
+ # @!attribute [rw] role_arn
12559
+ # The Amazon Resource Name (ARN) of the IAM role to disassociate from
12560
+ # the DB instance, for example
12561
+ # `arn:aws:iam::123456789012:role/AccessRole`.
12562
+ # @return [String]
12563
+ #
12564
+ # @!attribute [rw] feature_name
12565
+ # The name of the feature for the DB instance that the IAM role is to
12566
+ # be disassociated from. For the list of supported feature names, see
12567
+ # DBEngineVersion.
12568
+ # @return [String]
12569
+ #
12570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBInstanceMessage AWS API Documentation
12571
+ #
12572
+ class RemoveRoleFromDBInstanceMessage < Struct.new(
12573
+ :db_instance_identifier,
12574
+ :role_arn,
12575
+ :feature_name)
12576
+ include Aws::Structure
12577
+ end
12578
+
12453
12579
  # @note When making an API call, you may pass RemoveSourceIdentifierFromSubscriptionMessage
12454
12580
  # data as a hash:
12455
12581
  #
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.42.0
4
+ version: 1.43.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-12-06 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4