aws-sdk-rds 1.37.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7af0712f224c112f96d1b965e0d65762207dbc5
4
- data.tar.gz: 57c5dc98fdfcbdc3eb6974a62178e2f496a33e8b
3
+ metadata.gz: 2643e8309725e4af96d677240e4d1d8c1c335bd2
4
+ data.tar.gz: 9c04721422ca27102532f218a34c0176e42162a8
5
5
  SHA512:
6
- metadata.gz: c7947e9b8f73997b03bd52f63d91f559fb67907f9116db25189491f9dd746faf5188a6b4b6f10972533bf587aecdb61bf5841b4ef6196df600fa2777c174962a
7
- data.tar.gz: 448f15c610f48a4d22db28c699e59fa846fd214020b6e5fd3f07ecf9b7f29db53c53e7e1dfff54940046b604c640ed83d99f9c20fdd4185154dbda11e0f3e91d
6
+ metadata.gz: 9d6f20cb5c07b8c0ea577449c274a3393d0352e62e305cf353a7f9330a41f5bbdef407ebf394cc2ecac0410cbf7c88784d60ce21fbd27f63437d17ec668f01fe
7
+ data.tar.gz: 59208c7fc2f7ff21e5985c31311dd183ebd3cb4752f33692373d3800a54b8106516a5a2b0ee39e1471be1c3f2596ec71dab068dedd2ac23b858764ac3d0bfbd3
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.37.0'
71
+ GEM_VERSION = '1.38.0'
72
72
 
73
73
  end
@@ -1340,6 +1340,7 @@ module Aws::RDS
1340
1340
  # resp.db_snapshot.processor_features #=> Array
1341
1341
  # resp.db_snapshot.processor_features[0].name #=> String
1342
1342
  # resp.db_snapshot.processor_features[0].value #=> String
1343
+ # resp.db_snapshot.dbi_resource_id #=> String
1343
1344
  #
1344
1345
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot AWS API Documentation
1345
1346
  #
@@ -4063,6 +4064,7 @@ module Aws::RDS
4063
4064
  # resp.db_snapshot.processor_features #=> Array
4064
4065
  # resp.db_snapshot.processor_features[0].name #=> String
4065
4066
  # resp.db_snapshot.processor_features[0].value #=> String
4067
+ # resp.db_snapshot.dbi_resource_id #=> String
4066
4068
  #
4067
4069
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot AWS API Documentation
4068
4070
  #
@@ -4801,31 +4803,30 @@ module Aws::RDS
4801
4803
  # ^
4802
4804
  #
4803
4805
  # @option params [Boolean] :skip_final_snapshot
4804
- # Determines whether a final DB snapshot is created before the DB
4805
- # instance is deleted. If `true` is specified, no DBSnapshot is created.
4806
- # If `false` is specified, a DB snapshot is created before the DB
4807
- # instance is deleted.
4806
+ # A value that indicates whether a final DB snapshot is created before
4807
+ # the DB instance is deleted. If `true` is specified, no DB snapshot is
4808
+ # created. If `false` is specified, a DB snapshot is created before the
4809
+ # DB instance is deleted.
4808
4810
  #
4809
- # Note that when a DB instance is in a failure state and has a status of
4810
- # 'failed', 'incompatible-restore', or 'incompatible-network', it
4811
- # can only be deleted when the SkipFinalSnapshot parameter is set to
4812
- # "true".
4811
+ # When a DB instance is in a failure state and has a status of `failed`,
4812
+ # `incompatible-restore`, or `incompatible-network`, you can only delete
4813
+ # it when the `SkipFinalSnapshot` parameter is set to `true`.
4813
4814
  #
4814
4815
  # Specify `true` when deleting a Read Replica.
4815
4816
  #
4816
- # <note markdown="1"> The FinalDBSnapshotIdentifier parameter must be specified if
4817
- # SkipFinalSnapshot is `false`.
4817
+ # <note markdown="1"> The `FinalDBSnapshotIdentifier` parameter must be specified if
4818
+ # `SkipFinalSnapshot` is `false`.
4818
4819
  #
4819
4820
  # </note>
4820
4821
  #
4821
4822
  # Default: `false`
4822
4823
  #
4823
4824
  # @option params [String] :final_db_snapshot_identifier
4824
- # The DBSnapshotIdentifier of the new DBSnapshot created when
4825
- # SkipFinalSnapshot is set to `false`.
4825
+ # The `DBSnapshotIdentifier` of the new DB snapshot created when
4826
+ # `SkipFinalSnapshot` is set to `false`.
4826
4827
  #
4827
- # <note markdown="1"> Specifying this parameter and also setting the SkipFinalShapshot
4828
- # parameter to true results in an error.
4828
+ # <note markdown="1"> Specifying this parameter and also setting the `SkipFinalShapshot`
4829
+ # parameter to `true` results in an error.
4829
4830
  #
4830
4831
  # </note>
4831
4832
  #
@@ -4833,12 +4834,17 @@ module Aws::RDS
4833
4834
  #
4834
4835
  # * Must be 1 to 255 letters or numbers.
4835
4836
  #
4836
- # * First character must be a letter
4837
+ # * First character must be a letter.
4837
4838
  #
4838
- # * Can't end with a hyphen or contain two consecutive hyphens
4839
+ # * Can't end with a hyphen or contain two consecutive hyphens.
4839
4840
  #
4840
4841
  # * Can't be specified when deleting a Read Replica.
4841
4842
  #
4843
+ # @option params [Boolean] :delete_automated_backups
4844
+ # A value that indicates whether to remove automated backups immediately
4845
+ # after the DB instance is deleted. This parameter isn't
4846
+ # case-sensitive. This parameter defaults to `true`.
4847
+ #
4842
4848
  # @return [Types::DeleteDBInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4843
4849
  #
4844
4850
  # * {Types::DeleteDBInstanceResult#db_instance #db_instance} => Types::DBInstance
@@ -4865,6 +4871,7 @@ module Aws::RDS
4865
4871
  # db_instance_identifier: "String", # required
4866
4872
  # skip_final_snapshot: false,
4867
4873
  # final_db_snapshot_identifier: "String",
4874
+ # delete_automated_backups: false,
4868
4875
  # })
4869
4876
  #
4870
4877
  # @example Response structure
@@ -4987,7 +4994,60 @@ module Aws::RDS
4987
4994
  req.send_request(options)
4988
4995
  end
4989
4996
 
4990
- # Deletes a specified DBParameterGroup. The DBParameterGroup to be
4997
+ # Deletes automated backups based on the source instance's
4998
+ # `DbiResourceId` value or the restorable instance's resource ID.
4999
+ #
5000
+ # @option params [required, String] :dbi_resource_id
5001
+ # The identifier for the source DB instance, which can't be changed and
5002
+ # which is unique to an AWS Region.
5003
+ #
5004
+ # @return [Types::DeleteDBInstanceAutomatedBackupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5005
+ #
5006
+ # * {Types::DeleteDBInstanceAutomatedBackupResult#db_instance_automated_backup #db_instance_automated_backup} => Types::DBInstanceAutomatedBackup
5007
+ #
5008
+ # @example Request syntax with placeholder values
5009
+ #
5010
+ # resp = client.delete_db_instance_automated_backup({
5011
+ # dbi_resource_id: "String", # required
5012
+ # })
5013
+ #
5014
+ # @example Response structure
5015
+ #
5016
+ # resp.db_instance_automated_backup.db_instance_arn #=> String
5017
+ # resp.db_instance_automated_backup.dbi_resource_id #=> String
5018
+ # resp.db_instance_automated_backup.region #=> String
5019
+ # resp.db_instance_automated_backup.db_instance_identifier #=> String
5020
+ # resp.db_instance_automated_backup.restore_window.earliest_time #=> Time
5021
+ # resp.db_instance_automated_backup.restore_window.latest_time #=> Time
5022
+ # resp.db_instance_automated_backup.allocated_storage #=> Integer
5023
+ # resp.db_instance_automated_backup.status #=> String
5024
+ # resp.db_instance_automated_backup.port #=> Integer
5025
+ # resp.db_instance_automated_backup.availability_zone #=> String
5026
+ # resp.db_instance_automated_backup.vpc_id #=> String
5027
+ # resp.db_instance_automated_backup.instance_create_time #=> Time
5028
+ # resp.db_instance_automated_backup.master_username #=> String
5029
+ # resp.db_instance_automated_backup.engine #=> String
5030
+ # resp.db_instance_automated_backup.engine_version #=> String
5031
+ # resp.db_instance_automated_backup.license_model #=> String
5032
+ # resp.db_instance_automated_backup.iops #=> Integer
5033
+ # resp.db_instance_automated_backup.option_group_name #=> String
5034
+ # resp.db_instance_automated_backup.tde_credential_arn #=> String
5035
+ # resp.db_instance_automated_backup.encrypted #=> Boolean
5036
+ # resp.db_instance_automated_backup.storage_type #=> String
5037
+ # resp.db_instance_automated_backup.kms_key_id #=> String
5038
+ # resp.db_instance_automated_backup.timezone #=> String
5039
+ # resp.db_instance_automated_backup.iam_database_authentication_enabled #=> Boolean
5040
+ #
5041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceAutomatedBackup AWS API Documentation
5042
+ #
5043
+ # @overload delete_db_instance_automated_backup(params = {})
5044
+ # @param [Hash] params ({})
5045
+ def delete_db_instance_automated_backup(params = {}, options = {})
5046
+ req = build_request(:delete_db_instance_automated_backup, params)
5047
+ req.send_request(options)
5048
+ end
5049
+
5050
+ # Deletes a specified DB parameter group. The DB parameter group to be
4991
5051
  # deleted can't be associated with any DB instances.
4992
5052
  #
4993
5053
  # @option params [required, String] :db_parameter_group_name
@@ -5077,15 +5137,15 @@ module Aws::RDS
5077
5137
  req.send_request(options)
5078
5138
  end
5079
5139
 
5080
- # Deletes a DBSnapshot. If the snapshot is being copied, the copy
5140
+ # Deletes a DB snapshot. If the snapshot is being copied, the copy
5081
5141
  # operation is terminated.
5082
5142
  #
5083
- # <note markdown="1"> The DBSnapshot must be in the `available` state to be deleted.
5143
+ # <note markdown="1"> The DB snapshot must be in the `available` state to be deleted.
5084
5144
  #
5085
5145
  # </note>
5086
5146
  #
5087
5147
  # @option params [required, String] :db_snapshot_identifier
5088
- # The DBSnapshot identifier.
5148
+ # The DB snapshot identifier.
5089
5149
  #
5090
5150
  # Constraints: Must be the name of an existing DB snapshot in the
5091
5151
  # `available` state.
@@ -5146,6 +5206,7 @@ module Aws::RDS
5146
5206
  # resp.db_snapshot.processor_features #=> Array
5147
5207
  # resp.db_snapshot.processor_features[0].name #=> String
5148
5208
  # resp.db_snapshot.processor_features[0].value #=> String
5209
+ # resp.db_snapshot.dbi_resource_id #=> String
5149
5210
  #
5150
5211
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot AWS API Documentation
5151
5212
  #
@@ -6336,6 +6397,121 @@ module Aws::RDS
6336
6397
  req.send_request(options)
6337
6398
  end
6338
6399
 
6400
+ # Displays backups for both current and deleted instances. For example,
6401
+ # use this operation to find details about automated backups for
6402
+ # previously deleted instances. Current instances with retention periods
6403
+ # greater than zero (0) are returned for both the
6404
+ # `DescribeDBInstanceAutomatedBackups` and `DescribeDBInstances`
6405
+ # operations.
6406
+ #
6407
+ # All parameters are optional.
6408
+ #
6409
+ # @option params [String] :dbi_resource_id
6410
+ # The resource ID of the DB instance that is the source of the automated
6411
+ # backup. This parameter isn't case-sensitive.
6412
+ #
6413
+ # @option params [String] :db_instance_identifier
6414
+ # (Optional) The user-supplied instance identifier. If this parameter is
6415
+ # specified, it must match the identifier of an existing DB instance. It
6416
+ # returns information from the specific DB instance' automated backup.
6417
+ # This parameter isn't case-sensitive.
6418
+ #
6419
+ # @option params [Array<Types::Filter>] :filters
6420
+ # A filter that specifies which resources to return based on status.
6421
+ #
6422
+ # Supported filters are the following:
6423
+ #
6424
+ # * `status`
6425
+ #
6426
+ # * `active` - automated backups for current instances
6427
+ #
6428
+ # * `retained` - automated backups for deleted instances
6429
+ #
6430
+ # * `creating` - automated backups that are waiting for the first
6431
+ # automated snapshot to be available
6432
+ #
6433
+ # * `db-instance-id` - Accepts DB instance identifiers and Amazon
6434
+ # Resource Names (ARNs) for DB instances. The results list includes
6435
+ # only information about the DB instance automated backupss identified
6436
+ # by these ARNs.
6437
+ #
6438
+ # * `dbi-resource-id` - Accepts DB instance resource identifiers and DB
6439
+ # Amazon Resource Names (ARNs) for DB instances. The results list
6440
+ # includes only information about the DB instance resources identified
6441
+ # by these ARNs.
6442
+ #
6443
+ # Returns all resources by default. The status for each resource is
6444
+ # specified in the response.
6445
+ #
6446
+ # @option params [Integer] :max_records
6447
+ # The maximum number of records to include in the response. If more
6448
+ # records exist than the specified `MaxRecords` value, a pagination
6449
+ # token called a marker is included in the response so that the
6450
+ # remaining results can be retrieved.
6451
+ #
6452
+ # @option params [String] :marker
6453
+ # The pagination token provided in the previous request. If this
6454
+ # parameter is specified the response includes only records beyond the
6455
+ # marker, up to `MaxRecords`.
6456
+ #
6457
+ # @return [Types::DBInstanceAutomatedBackupMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6458
+ #
6459
+ # * {Types::DBInstanceAutomatedBackupMessage#marker #marker} => String
6460
+ # * {Types::DBInstanceAutomatedBackupMessage#db_instance_automated_backups #db_instance_automated_backups} => Array&lt;Types::DBInstanceAutomatedBackup&gt;
6461
+ #
6462
+ # @example Request syntax with placeholder values
6463
+ #
6464
+ # resp = client.describe_db_instance_automated_backups({
6465
+ # dbi_resource_id: "String",
6466
+ # db_instance_identifier: "String",
6467
+ # filters: [
6468
+ # {
6469
+ # name: "String", # required
6470
+ # values: ["String"], # required
6471
+ # },
6472
+ # ],
6473
+ # max_records: 1,
6474
+ # marker: "String",
6475
+ # })
6476
+ #
6477
+ # @example Response structure
6478
+ #
6479
+ # resp.marker #=> String
6480
+ # resp.db_instance_automated_backups #=> Array
6481
+ # resp.db_instance_automated_backups[0].db_instance_arn #=> String
6482
+ # resp.db_instance_automated_backups[0].dbi_resource_id #=> String
6483
+ # resp.db_instance_automated_backups[0].region #=> String
6484
+ # resp.db_instance_automated_backups[0].db_instance_identifier #=> String
6485
+ # resp.db_instance_automated_backups[0].restore_window.earliest_time #=> Time
6486
+ # resp.db_instance_automated_backups[0].restore_window.latest_time #=> Time
6487
+ # resp.db_instance_automated_backups[0].allocated_storage #=> Integer
6488
+ # resp.db_instance_automated_backups[0].status #=> String
6489
+ # resp.db_instance_automated_backups[0].port #=> Integer
6490
+ # resp.db_instance_automated_backups[0].availability_zone #=> String
6491
+ # resp.db_instance_automated_backups[0].vpc_id #=> String
6492
+ # resp.db_instance_automated_backups[0].instance_create_time #=> Time
6493
+ # resp.db_instance_automated_backups[0].master_username #=> String
6494
+ # resp.db_instance_automated_backups[0].engine #=> String
6495
+ # resp.db_instance_automated_backups[0].engine_version #=> String
6496
+ # resp.db_instance_automated_backups[0].license_model #=> String
6497
+ # resp.db_instance_automated_backups[0].iops #=> Integer
6498
+ # resp.db_instance_automated_backups[0].option_group_name #=> String
6499
+ # resp.db_instance_automated_backups[0].tde_credential_arn #=> String
6500
+ # resp.db_instance_automated_backups[0].encrypted #=> Boolean
6501
+ # resp.db_instance_automated_backups[0].storage_type #=> String
6502
+ # resp.db_instance_automated_backups[0].kms_key_id #=> String
6503
+ # resp.db_instance_automated_backups[0].timezone #=> String
6504
+ # resp.db_instance_automated_backups[0].iam_database_authentication_enabled #=> Boolean
6505
+ #
6506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstanceAutomatedBackups AWS API Documentation
6507
+ #
6508
+ # @overload describe_db_instance_automated_backups(params = {})
6509
+ # @param [Hash] params ({})
6510
+ def describe_db_instance_automated_backups(params = {}, options = {})
6511
+ req = build_request(:describe_db_instance_automated_backups, params)
6512
+ req.send_request(options)
6513
+ end
6514
+
6339
6515
  # Returns information about provisioned RDS instances. This API supports
6340
6516
  # pagination.
6341
6517
  #
@@ -7044,6 +7220,9 @@ module Aws::RDS
7044
7220
  # You can share a manual DB snapshot as public by using the
7045
7221
  # ModifyDBSnapshotAttribute API.
7046
7222
  #
7223
+ # @option params [String] :dbi_resource_id
7224
+ # A specific DB resource ID to describe.
7225
+ #
7047
7226
  # @return [Types::DBSnapshotMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7048
7227
  #
7049
7228
  # * {Types::DBSnapshotMessage#marker #marker} => String
@@ -7081,6 +7260,7 @@ module Aws::RDS
7081
7260
  # marker: "String",
7082
7261
  # include_shared: false,
7083
7262
  # include_public: false,
7263
+ # dbi_resource_id: "String",
7084
7264
  # })
7085
7265
  #
7086
7266
  # @example Response structure
@@ -7116,6 +7296,7 @@ module Aws::RDS
7116
7296
  # resp.db_snapshots[0].processor_features #=> Array
7117
7297
  # resp.db_snapshots[0].processor_features[0].name #=> String
7118
7298
  # resp.db_snapshots[0].processor_features[0].value #=> String
7299
+ # resp.db_snapshots[0].dbi_resource_id #=> String
7119
7300
  #
7120
7301
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots AWS API Documentation
7121
7302
  #
@@ -10476,6 +10657,7 @@ module Aws::RDS
10476
10657
  # resp.db_snapshot.processor_features #=> Array
10477
10658
  # resp.db_snapshot.processor_features[0].name #=> String
10478
10659
  # resp.db_snapshot.processor_features[0].value #=> String
10660
+ # resp.db_snapshot.dbi_resource_id #=> String
10479
10661
  #
10480
10662
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot AWS API Documentation
10481
10663
  #
@@ -13859,7 +14041,7 @@ module Aws::RDS
13859
14041
  #
13860
14042
  # </note>
13861
14043
  #
13862
- # @option params [required, String] :source_db_instance_identifier
14044
+ # @option params [String] :source_db_instance_identifier
13863
14045
  # The identifier of the source DB instance from which to restore.
13864
14046
  #
13865
14047
  # Constraints:
@@ -14115,6 +14297,9 @@ module Aws::RDS
14115
14297
  #
14116
14298
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
14117
14299
  #
14300
+ # @option params [String] :source_dbi_resource_id
14301
+ # The resource ID of the source DB instance from which to restore.
14302
+ #
14118
14303
  # @return [Types::RestoreDBInstanceToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
14119
14304
  #
14120
14305
  # * {Types::RestoreDBInstanceToPointInTimeResult#db_instance #db_instance} => Types::DBInstance
@@ -14218,7 +14403,7 @@ module Aws::RDS
14218
14403
  # @example Request syntax with placeholder values
14219
14404
  #
14220
14405
  # resp = client.restore_db_instance_to_point_in_time({
14221
- # source_db_instance_identifier: "String", # required
14406
+ # source_db_instance_identifier: "String",
14222
14407
  # target_db_instance_identifier: "String", # required
14223
14408
  # restore_time: Time.now,
14224
14409
  # use_latest_restorable_time: false,
@@ -14257,6 +14442,7 @@ module Aws::RDS
14257
14442
  # use_default_processor_features: false,
14258
14443
  # db_parameter_group_name: "String",
14259
14444
  # deletion_protection: false,
14445
+ # source_dbi_resource_id: "String",
14260
14446
  # })
14261
14447
  #
14262
14448
  # @example Response structure
@@ -14571,7 +14757,7 @@ module Aws::RDS
14571
14757
  # console, the stop-db-instance AWS CLI command, or the StopDBInstance
14572
14758
  # action.
14573
14759
  #
14574
- # For more information, see [ Starting an Amazon RDS DB Instance That
14760
+ # For more information, see [ Starting an Amazon RDS DB instance That
14575
14761
  # Was Previously Stopped][1] in the *Amazon RDS User Guide.*
14576
14762
  #
14577
14763
  # <note markdown="1"> This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For
@@ -14985,7 +15171,7 @@ module Aws::RDS
14985
15171
  params: params,
14986
15172
  config: config)
14987
15173
  context[:gem_name] = 'aws-sdk-rds'
14988
- context[:gem_version] = '1.37.0'
15174
+ context[:gem_version] = '1.38.0'
14989
15175
  Seahorse::Client::Request.new(handlers, context)
14990
15176
  end
14991
15177
 
@@ -120,6 +120,11 @@ module Aws::RDS
120
120
  DBEngineVersionMessage = Shapes::StructureShape.new(name: 'DBEngineVersionMessage')
121
121
  DBInstance = Shapes::StructureShape.new(name: 'DBInstance')
122
122
  DBInstanceAlreadyExistsFault = Shapes::StructureShape.new(name: 'DBInstanceAlreadyExistsFault')
123
+ DBInstanceAutomatedBackup = Shapes::StructureShape.new(name: 'DBInstanceAutomatedBackup')
124
+ DBInstanceAutomatedBackupList = Shapes::ListShape.new(name: 'DBInstanceAutomatedBackupList')
125
+ DBInstanceAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DBInstanceAutomatedBackupMessage')
126
+ DBInstanceAutomatedBackupNotFoundFault = Shapes::StructureShape.new(name: 'DBInstanceAutomatedBackupNotFoundFault')
127
+ DBInstanceAutomatedBackupQuotaExceededFault = Shapes::StructureShape.new(name: 'DBInstanceAutomatedBackupQuotaExceededFault')
123
128
  DBInstanceList = Shapes::ListShape.new(name: 'DBInstanceList')
124
129
  DBInstanceMessage = Shapes::StructureShape.new(name: 'DBInstanceMessage')
125
130
  DBInstanceNotFoundFault = Shapes::StructureShape.new(name: 'DBInstanceNotFoundFault')
@@ -170,6 +175,8 @@ module Aws::RDS
170
175
  DeleteDBClusterResult = Shapes::StructureShape.new(name: 'DeleteDBClusterResult')
171
176
  DeleteDBClusterSnapshotMessage = Shapes::StructureShape.new(name: 'DeleteDBClusterSnapshotMessage')
172
177
  DeleteDBClusterSnapshotResult = Shapes::StructureShape.new(name: 'DeleteDBClusterSnapshotResult')
178
+ DeleteDBInstanceAutomatedBackupMessage = Shapes::StructureShape.new(name: 'DeleteDBInstanceAutomatedBackupMessage')
179
+ DeleteDBInstanceAutomatedBackupResult = Shapes::StructureShape.new(name: 'DeleteDBInstanceAutomatedBackupResult')
173
180
  DeleteDBInstanceMessage = Shapes::StructureShape.new(name: 'DeleteDBInstanceMessage')
174
181
  DeleteDBInstanceResult = Shapes::StructureShape.new(name: 'DeleteDBInstanceResult')
175
182
  DeleteDBParameterGroupMessage = Shapes::StructureShape.new(name: 'DeleteDBParameterGroupMessage')
@@ -191,6 +198,7 @@ module Aws::RDS
191
198
  DescribeDBClusterSnapshotsMessage = Shapes::StructureShape.new(name: 'DescribeDBClusterSnapshotsMessage')
192
199
  DescribeDBClustersMessage = Shapes::StructureShape.new(name: 'DescribeDBClustersMessage')
193
200
  DescribeDBEngineVersionsMessage = Shapes::StructureShape.new(name: 'DescribeDBEngineVersionsMessage')
201
+ DescribeDBInstanceAutomatedBackupsMessage = Shapes::StructureShape.new(name: 'DescribeDBInstanceAutomatedBackupsMessage')
194
202
  DescribeDBInstancesMessage = Shapes::StructureShape.new(name: 'DescribeDBInstancesMessage')
195
203
  DescribeDBLogFilesDetails = Shapes::StructureShape.new(name: 'DescribeDBLogFilesDetails')
196
204
  DescribeDBLogFilesList = Shapes::ListShape.new(name: 'DescribeDBLogFilesList')
@@ -261,6 +269,7 @@ module Aws::RDS
261
269
  InvalidDBClusterEndpointStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterEndpointStateFault')
262
270
  InvalidDBClusterSnapshotStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterSnapshotStateFault')
263
271
  InvalidDBClusterStateFault = Shapes::StructureShape.new(name: 'InvalidDBClusterStateFault')
272
+ InvalidDBInstanceAutomatedBackupStateFault = Shapes::StructureShape.new(name: 'InvalidDBInstanceAutomatedBackupStateFault')
264
273
  InvalidDBInstanceStateFault = Shapes::StructureShape.new(name: 'InvalidDBInstanceStateFault')
265
274
  InvalidDBParameterGroupStateFault = Shapes::StructureShape.new(name: 'InvalidDBParameterGroupStateFault')
266
275
  InvalidDBSecurityGroupStateFault = Shapes::StructureShape.new(name: 'InvalidDBSecurityGroupStateFault')
@@ -387,6 +396,7 @@ module Aws::RDS
387
396
  RestoreDBInstanceFromS3Result = Shapes::StructureShape.new(name: 'RestoreDBInstanceFromS3Result')
388
397
  RestoreDBInstanceToPointInTimeMessage = Shapes::StructureShape.new(name: 'RestoreDBInstanceToPointInTimeMessage')
389
398
  RestoreDBInstanceToPointInTimeResult = Shapes::StructureShape.new(name: 'RestoreDBInstanceToPointInTimeResult')
399
+ RestoreWindow = Shapes::StructureShape.new(name: 'RestoreWindow')
390
400
  RevokeDBSecurityGroupIngressMessage = Shapes::StructureShape.new(name: 'RevokeDBSecurityGroupIngressMessage')
391
401
  RevokeDBSecurityGroupIngressResult = Shapes::StructureShape.new(name: 'RevokeDBSecurityGroupIngressResult')
392
402
  SNSInvalidTopicFault = Shapes::StructureShape.new(name: 'SNSInvalidTopicFault')
@@ -1023,6 +1033,37 @@ module Aws::RDS
1023
1033
  DBInstance.add_member(:listener_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "ListenerEndpoint"))
1024
1034
  DBInstance.struct_class = Types::DBInstance
1025
1035
 
1036
+ DBInstanceAutomatedBackup.add_member(:db_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceArn"))
1037
+ DBInstanceAutomatedBackup.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
1038
+ DBInstanceAutomatedBackup.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
1039
+ DBInstanceAutomatedBackup.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceIdentifier"))
1040
+ DBInstanceAutomatedBackup.add_member(:restore_window, Shapes::ShapeRef.new(shape: RestoreWindow, location_name: "RestoreWindow"))
1041
+ DBInstanceAutomatedBackup.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: Integer, location_name: "AllocatedStorage"))
1042
+ DBInstanceAutomatedBackup.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
1043
+ DBInstanceAutomatedBackup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "Port"))
1044
+ DBInstanceAutomatedBackup.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
1045
+ DBInstanceAutomatedBackup.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VpcId"))
1046
+ DBInstanceAutomatedBackup.add_member(:instance_create_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "InstanceCreateTime"))
1047
+ DBInstanceAutomatedBackup.add_member(:master_username, Shapes::ShapeRef.new(shape: String, location_name: "MasterUsername"))
1048
+ DBInstanceAutomatedBackup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
1049
+ DBInstanceAutomatedBackup.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
1050
+ DBInstanceAutomatedBackup.add_member(:license_model, Shapes::ShapeRef.new(shape: String, location_name: "LicenseModel"))
1051
+ DBInstanceAutomatedBackup.add_member(:iops, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "Iops"))
1052
+ DBInstanceAutomatedBackup.add_member(:option_group_name, Shapes::ShapeRef.new(shape: String, location_name: "OptionGroupName"))
1053
+ DBInstanceAutomatedBackup.add_member(:tde_credential_arn, Shapes::ShapeRef.new(shape: String, location_name: "TdeCredentialArn"))
1054
+ DBInstanceAutomatedBackup.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
1055
+ DBInstanceAutomatedBackup.add_member(:storage_type, Shapes::ShapeRef.new(shape: String, location_name: "StorageType"))
1056
+ DBInstanceAutomatedBackup.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
1057
+ DBInstanceAutomatedBackup.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
1058
+ DBInstanceAutomatedBackup.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
1059
+ DBInstanceAutomatedBackup.struct_class = Types::DBInstanceAutomatedBackup
1060
+
1061
+ DBInstanceAutomatedBackupList.member = Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackup, location_name: "DBInstanceAutomatedBackup")
1062
+
1063
+ DBInstanceAutomatedBackupMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1064
+ DBInstanceAutomatedBackupMessage.add_member(:db_instance_automated_backups, Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupList, location_name: "DBInstanceAutomatedBackups"))
1065
+ DBInstanceAutomatedBackupMessage.struct_class = Types::DBInstanceAutomatedBackupMessage
1066
+
1026
1067
  DBInstanceList.member = Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance")
1027
1068
 
1028
1069
  DBInstanceMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
@@ -1112,6 +1153,7 @@ module Aws::RDS
1112
1153
  DBSnapshot.add_member(:timezone, Shapes::ShapeRef.new(shape: String, location_name: "Timezone"))
1113
1154
  DBSnapshot.add_member(:iam_database_authentication_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "IAMDatabaseAuthenticationEnabled"))
1114
1155
  DBSnapshot.add_member(:processor_features, Shapes::ShapeRef.new(shape: ProcessorFeatureList, location_name: "ProcessorFeatures"))
1156
+ DBSnapshot.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
1115
1157
  DBSnapshot.struct_class = Types::DBSnapshot
1116
1158
 
1117
1159
  DBSnapshotAttribute.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "AttributeName"))
@@ -1164,9 +1206,16 @@ module Aws::RDS
1164
1206
  DeleteDBClusterSnapshotResult.add_member(:db_cluster_snapshot, Shapes::ShapeRef.new(shape: DBClusterSnapshot, location_name: "DBClusterSnapshot"))
1165
1207
  DeleteDBClusterSnapshotResult.struct_class = Types::DeleteDBClusterSnapshotResult
1166
1208
 
1209
+ DeleteDBInstanceAutomatedBackupMessage.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DbiResourceId"))
1210
+ DeleteDBInstanceAutomatedBackupMessage.struct_class = Types::DeleteDBInstanceAutomatedBackupMessage
1211
+
1212
+ DeleteDBInstanceAutomatedBackupResult.add_member(:db_instance_automated_backup, Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackup, location_name: "DBInstanceAutomatedBackup"))
1213
+ DeleteDBInstanceAutomatedBackupResult.struct_class = Types::DeleteDBInstanceAutomatedBackupResult
1214
+
1167
1215
  DeleteDBInstanceMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBInstanceIdentifier"))
1168
1216
  DeleteDBInstanceMessage.add_member(:skip_final_snapshot, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipFinalSnapshot"))
1169
1217
  DeleteDBInstanceMessage.add_member(:final_db_snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "FinalDBSnapshotIdentifier"))
1218
+ DeleteDBInstanceMessage.add_member(:delete_automated_backups, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeleteAutomatedBackups"))
1170
1219
  DeleteDBInstanceMessage.struct_class = Types::DeleteDBInstanceMessage
1171
1220
 
1172
1221
  DeleteDBInstanceResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
@@ -1264,6 +1313,13 @@ module Aws::RDS
1264
1313
  DescribeDBEngineVersionsMessage.add_member(:list_supported_timezones, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "ListSupportedTimezones"))
1265
1314
  DescribeDBEngineVersionsMessage.struct_class = Types::DescribeDBEngineVersionsMessage
1266
1315
 
1316
+ DescribeDBInstanceAutomatedBackupsMessage.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
1317
+ DescribeDBInstanceAutomatedBackupsMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceIdentifier"))
1318
+ DescribeDBInstanceAutomatedBackupsMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
1319
+ DescribeDBInstanceAutomatedBackupsMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
1320
+ DescribeDBInstanceAutomatedBackupsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1321
+ DescribeDBInstanceAutomatedBackupsMessage.struct_class = Types::DescribeDBInstanceAutomatedBackupsMessage
1322
+
1267
1323
  DescribeDBInstancesMessage.add_member(:db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBInstanceIdentifier"))
1268
1324
  DescribeDBInstancesMessage.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
1269
1325
  DescribeDBInstancesMessage.add_member(:max_records, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "MaxRecords"))
@@ -1323,6 +1379,7 @@ module Aws::RDS
1323
1379
  DescribeDBSnapshotsMessage.add_member(:marker, Shapes::ShapeRef.new(shape: String, location_name: "Marker"))
1324
1380
  DescribeDBSnapshotsMessage.add_member(:include_shared, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeShared"))
1325
1381
  DescribeDBSnapshotsMessage.add_member(:include_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludePublic"))
1382
+ DescribeDBSnapshotsMessage.add_member(:dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "DbiResourceId"))
1326
1383
  DescribeDBSnapshotsMessage.struct_class = Types::DescribeDBSnapshotsMessage
1327
1384
 
1328
1385
  DescribeDBSubnetGroupsMessage.add_member(:db_subnet_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBSubnetGroupName"))
@@ -2172,7 +2229,7 @@ module Aws::RDS
2172
2229
  RestoreDBInstanceFromS3Result.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
2173
2230
  RestoreDBInstanceFromS3Result.struct_class = Types::RestoreDBInstanceFromS3Result
2174
2231
 
2175
- RestoreDBInstanceToPointInTimeMessage.add_member(:source_db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceDBInstanceIdentifier"))
2232
+ RestoreDBInstanceToPointInTimeMessage.add_member(:source_db_instance_identifier, Shapes::ShapeRef.new(shape: String, location_name: "SourceDBInstanceIdentifier"))
2176
2233
  RestoreDBInstanceToPointInTimeMessage.add_member(:target_db_instance_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TargetDBInstanceIdentifier"))
2177
2234
  RestoreDBInstanceToPointInTimeMessage.add_member(:restore_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "RestoreTime"))
2178
2235
  RestoreDBInstanceToPointInTimeMessage.add_member(:use_latest_restorable_time, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseLatestRestorableTime"))
@@ -2201,11 +2258,16 @@ module Aws::RDS
2201
2258
  RestoreDBInstanceToPointInTimeMessage.add_member(:use_default_processor_features, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "UseDefaultProcessorFeatures"))
2202
2259
  RestoreDBInstanceToPointInTimeMessage.add_member(:db_parameter_group_name, Shapes::ShapeRef.new(shape: String, location_name: "DBParameterGroupName"))
2203
2260
  RestoreDBInstanceToPointInTimeMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
2261
+ RestoreDBInstanceToPointInTimeMessage.add_member(:source_dbi_resource_id, Shapes::ShapeRef.new(shape: String, location_name: "SourceDbiResourceId"))
2204
2262
  RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
2205
2263
 
2206
2264
  RestoreDBInstanceToPointInTimeResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
2207
2265
  RestoreDBInstanceToPointInTimeResult.struct_class = Types::RestoreDBInstanceToPointInTimeResult
2208
2266
 
2267
+ RestoreWindow.add_member(:earliest_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "EarliestTime"))
2268
+ RestoreWindow.add_member(:latest_time, Shapes::ShapeRef.new(shape: TStamp, location_name: "LatestTime"))
2269
+ RestoreWindow.struct_class = Types::RestoreWindow
2270
+
2209
2271
  RevokeDBSecurityGroupIngressMessage.add_member(:db_security_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DBSecurityGroupName"))
2210
2272
  RevokeDBSecurityGroupIngressMessage.add_member(:cidrip, Shapes::ShapeRef.new(shape: String, location_name: "CIDRIP"))
2211
2273
  RevokeDBSecurityGroupIngressMessage.add_member(:ec2_security_group_name, Shapes::ShapeRef.new(shape: String, location_name: "EC2SecurityGroupName"))
@@ -2705,6 +2767,17 @@ module Aws::RDS
2705
2767
  o.errors << Shapes::ShapeRef.new(shape: DBSnapshotAlreadyExistsFault)
2706
2768
  o.errors << Shapes::ShapeRef.new(shape: SnapshotQuotaExceededFault)
2707
2769
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
2770
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupQuotaExceededFault)
2771
+ end)
2772
+
2773
+ api.add_operation(:delete_db_instance_automated_backup, Seahorse::Model::Operation.new.tap do |o|
2774
+ o.name = "DeleteDBInstanceAutomatedBackup"
2775
+ o.http_method = "POST"
2776
+ o.http_request_uri = "/"
2777
+ o.input = Shapes::ShapeRef.new(shape: DeleteDBInstanceAutomatedBackupMessage)
2778
+ o.output = Shapes::ShapeRef.new(shape: DeleteDBInstanceAutomatedBackupResult)
2779
+ o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceAutomatedBackupStateFault)
2780
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupNotFoundFault)
2708
2781
  end)
2709
2782
 
2710
2783
  api.add_operation(:delete_db_parameter_group, Seahorse::Model::Operation.new.tap do |o|
@@ -2869,6 +2942,21 @@ module Aws::RDS
2869
2942
  )
2870
2943
  end)
2871
2944
 
2945
+ api.add_operation(:describe_db_instance_automated_backups, Seahorse::Model::Operation.new.tap do |o|
2946
+ o.name = "DescribeDBInstanceAutomatedBackups"
2947
+ o.http_method = "POST"
2948
+ o.http_request_uri = "/"
2949
+ o.input = Shapes::ShapeRef.new(shape: DescribeDBInstanceAutomatedBackupsMessage)
2950
+ o.output = Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupMessage)
2951
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupNotFoundFault)
2952
+ o[:pager] = Aws::Pager.new(
2953
+ limit_key: "max_records",
2954
+ tokens: {
2955
+ "marker" => "marker"
2956
+ }
2957
+ )
2958
+ end)
2959
+
2872
2960
  api.add_operation(:describe_db_instances, Seahorse::Model::Operation.new.tap do |o|
2873
2961
  o.name = "DescribeDBInstances"
2874
2962
  o.http_method = "POST"
@@ -3580,8 +3668,9 @@ module Aws::RDS
3580
3668
  o.errors << Shapes::ShapeRef.new(shape: KMSKeyNotAccessibleFault)
3581
3669
  o.errors << Shapes::ShapeRef.new(shape: DBSecurityGroupNotFoundFault)
3582
3670
  o.errors << Shapes::ShapeRef.new(shape: DomainNotFoundFault)
3583
- o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
3584
3671
  o.errors << Shapes::ShapeRef.new(shape: BackupPolicyNotFoundFault)
3672
+ o.errors << Shapes::ShapeRef.new(shape: DBParameterGroupNotFoundFault)
3673
+ o.errors << Shapes::ShapeRef.new(shape: DBInstanceAutomatedBackupNotFoundFault)
3585
3674
  end)
3586
3675
 
3587
3676
  api.add_operation(:revoke_db_security_group_ingress, Seahorse::Model::Operation.new.tap do |o|
@@ -1750,33 +1750,33 @@ module Aws::RDS
1750
1750
  # dbinstance = db_instance.delete({
1751
1751
  # skip_final_snapshot: false,
1752
1752
  # final_db_snapshot_identifier: "String",
1753
+ # delete_automated_backups: false,
1753
1754
  # })
1754
1755
  # @param [Hash] options ({})
1755
1756
  # @option options [Boolean] :skip_final_snapshot
1756
- # Determines whether a final DB snapshot is created before the DB
1757
- # instance is deleted. If `true` is specified, no DBSnapshot is created.
1758
- # If `false` is specified, a DB snapshot is created before the DB
1759
- # instance is deleted.
1757
+ # A value that indicates whether a final DB snapshot is created before
1758
+ # the DB instance is deleted. If `true` is specified, no DB snapshot is
1759
+ # created. If `false` is specified, a DB snapshot is created before the
1760
+ # DB instance is deleted.
1760
1761
  #
1761
- # Note that when a DB instance is in a failure state and has a status of
1762
- # 'failed', 'incompatible-restore', or 'incompatible-network', it
1763
- # can only be deleted when the SkipFinalSnapshot parameter is set to
1764
- # "true".
1762
+ # When a DB instance is in a failure state and has a status of `failed`,
1763
+ # `incompatible-restore`, or `incompatible-network`, you can only delete
1764
+ # it when the `SkipFinalSnapshot` parameter is set to `true`.
1765
1765
  #
1766
1766
  # Specify `true` when deleting a Read Replica.
1767
1767
  #
1768
- # <note markdown="1"> The FinalDBSnapshotIdentifier parameter must be specified if
1769
- # SkipFinalSnapshot is `false`.
1768
+ # <note markdown="1"> The `FinalDBSnapshotIdentifier` parameter must be specified if
1769
+ # `SkipFinalSnapshot` is `false`.
1770
1770
  #
1771
1771
  # </note>
1772
1772
  #
1773
1773
  # Default: `false`
1774
1774
  # @option options [String] :final_db_snapshot_identifier
1775
- # The DBSnapshotIdentifier of the new DBSnapshot created when
1776
- # SkipFinalSnapshot is set to `false`.
1775
+ # The `DBSnapshotIdentifier` of the new DB snapshot created when
1776
+ # `SkipFinalSnapshot` is set to `false`.
1777
1777
  #
1778
- # <note markdown="1"> Specifying this parameter and also setting the SkipFinalShapshot
1779
- # parameter to true results in an error.
1778
+ # <note markdown="1"> Specifying this parameter and also setting the `SkipFinalShapshot`
1779
+ # parameter to `true` results in an error.
1780
1780
  #
1781
1781
  # </note>
1782
1782
  #
@@ -1784,11 +1784,15 @@ module Aws::RDS
1784
1784
  #
1785
1785
  # * Must be 1 to 255 letters or numbers.
1786
1786
  #
1787
- # * First character must be a letter
1787
+ # * First character must be a letter.
1788
1788
  #
1789
- # * Can't end with a hyphen or contain two consecutive hyphens
1789
+ # * Can't end with a hyphen or contain two consecutive hyphens.
1790
1790
  #
1791
1791
  # * Can't be specified when deleting a Read Replica.
1792
+ # @option options [Boolean] :delete_automated_backups
1793
+ # A value that indicates whether to remove automated backups immediately
1794
+ # after the DB instance is deleted. This parameter isn't
1795
+ # case-sensitive. This parameter defaults to `true`.
1792
1796
  # @return [DBInstance]
1793
1797
  def delete(options = {})
1794
1798
  options = options.merge(db_instance_identifier: @id)
@@ -2491,6 +2495,7 @@ module Aws::RDS
2491
2495
  # use_default_processor_features: false,
2492
2496
  # db_parameter_group_name: "String",
2493
2497
  # deletion_protection: false,
2498
+ # source_dbi_resource_id: "String",
2494
2499
  # })
2495
2500
  # @param [Hash] options ({})
2496
2501
  # @option options [required, String] :target_db_instance_identifier
@@ -2712,6 +2717,8 @@ module Aws::RDS
2712
2717
  #
2713
2718
  #
2714
2719
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
2720
+ # @option options [String] :source_dbi_resource_id
2721
+ # The resource ID of the source DB instance from which to restore.
2715
2722
  # @return [DBInstance]
2716
2723
  def restore(options = {})
2717
2724
  options = options.merge(source_db_instance_identifier: @id)
@@ -3030,6 +3037,7 @@ module Aws::RDS
3030
3037
  # ],
3031
3038
  # include_shared: false,
3032
3039
  # include_public: false,
3040
+ # dbi_resource_id: "String",
3033
3041
  # })
3034
3042
  # @param [Hash] options ({})
3035
3043
  # @option options [String] :db_snapshot_identifier
@@ -3087,6 +3095,8 @@ module Aws::RDS
3087
3095
  #
3088
3096
  # You can share a manual DB snapshot as public by using the
3089
3097
  # ModifyDBSnapshotAttribute API.
3098
+ # @option options [String] :dbi_resource_id
3099
+ # A specific DB resource ID to describe.
3090
3100
  # @return [DBSnapshot::Collection]
3091
3101
  def snapshots(options = {})
3092
3102
  batches = Enumerator.new do |y|
@@ -204,6 +204,13 @@ module Aws::RDS
204
204
  data[:processor_features]
205
205
  end
206
206
 
207
+ # The identifier for the source DB instance, which can't be changed and
208
+ # which is unique to an AWS Region.
209
+ # @return [String]
210
+ def dbi_resource_id
211
+ data[:dbi_resource_id]
212
+ end
213
+
207
214
  # @!endgroup
208
215
 
209
216
  # @return [Client]
@@ -1985,6 +1985,7 @@ module Aws::RDS
1985
1985
  # ],
1986
1986
  # include_shared: false,
1987
1987
  # include_public: false,
1988
+ # dbi_resource_id: "String",
1988
1989
  # })
1989
1990
  # @param [Hash] options ({})
1990
1991
  # @option options [String] :db_instance_identifier
@@ -2052,6 +2053,8 @@ module Aws::RDS
2052
2053
  #
2053
2054
  # You can share a manual DB snapshot as public by using the
2054
2055
  # ModifyDBSnapshotAttribute API.
2056
+ # @option options [String] :dbi_resource_id
2057
+ # A specific DB resource ID to describe.
2055
2058
  # @return [DBSnapshot::Collection]
2056
2059
  def db_snapshots(options = {})
2057
2060
  batches = Enumerator.new do |y|
@@ -5082,6 +5082,178 @@ module Aws::RDS
5082
5082
  include Aws::Structure
5083
5083
  end
5084
5084
 
5085
+ # An automated backup of a DB instance. It it consists of system
5086
+ # backups, transaction logs, and the database instance properties that
5087
+ # existed at the time you deleted the source instance.
5088
+ #
5089
+ # @!attribute [rw] db_instance_arn
5090
+ # The Amazon Resource Name (ARN) for the automated backup.
5091
+ # @return [String]
5092
+ #
5093
+ # @!attribute [rw] dbi_resource_id
5094
+ # The identifier for the source DB instance, which can't be changed
5095
+ # and which is unique to an AWS Region.
5096
+ # @return [String]
5097
+ #
5098
+ # @!attribute [rw] region
5099
+ # The AWS Region associated with the automated backup.
5100
+ # @return [String]
5101
+ #
5102
+ # @!attribute [rw] db_instance_identifier
5103
+ # The customer id of the instance that is/was associated with the
5104
+ # automated backup.
5105
+ # @return [String]
5106
+ #
5107
+ # @!attribute [rw] restore_window
5108
+ # Earliest and latest time an instance can be restored to.
5109
+ # @return [Types::RestoreWindow]
5110
+ #
5111
+ # @!attribute [rw] allocated_storage
5112
+ # Specifies the allocated storage size in gibibytes (GiB).
5113
+ # @return [Integer]
5114
+ #
5115
+ # @!attribute [rw] status
5116
+ # Provides a list of status information for an automated backup:
5117
+ #
5118
+ # * `active` - automated backups for current instances
5119
+ #
5120
+ # * `retained` - automated backups for deleted instances
5121
+ #
5122
+ # * `creating` - automated backups that are waiting for the first
5123
+ # automated snapshot to be available.
5124
+ # @return [String]
5125
+ #
5126
+ # @!attribute [rw] port
5127
+ # The port number that the automated backup used for connections.
5128
+ #
5129
+ # Default: Inherits from the source DB instance
5130
+ #
5131
+ # Valid Values: `1150-65535`
5132
+ # @return [Integer]
5133
+ #
5134
+ # @!attribute [rw] availability_zone
5135
+ # The Availability Zone that the automated backup was created in. For
5136
+ # information on AWS Regions and Availability Zones, see [Regions and
5137
+ # Availability Zones][1].
5138
+ #
5139
+ #
5140
+ #
5141
+ # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
5142
+ # @return [String]
5143
+ #
5144
+ # @!attribute [rw] vpc_id
5145
+ # Provides the VPC ID associated with the DB instance
5146
+ # @return [String]
5147
+ #
5148
+ # @!attribute [rw] instance_create_time
5149
+ # Provides the date and time that the DB instance was created.
5150
+ # @return [Time]
5151
+ #
5152
+ # @!attribute [rw] master_username
5153
+ # The license model of an automated backup.
5154
+ # @return [String]
5155
+ #
5156
+ # @!attribute [rw] engine
5157
+ # The name of the database engine for this automated backup.
5158
+ # @return [String]
5159
+ #
5160
+ # @!attribute [rw] engine_version
5161
+ # The version of the database engine for the automated backup.
5162
+ # @return [String]
5163
+ #
5164
+ # @!attribute [rw] license_model
5165
+ # License model information for the automated backup.
5166
+ # @return [String]
5167
+ #
5168
+ # @!attribute [rw] iops
5169
+ # The IOPS (I/O operations per second) value for the automated backup.
5170
+ # @return [Integer]
5171
+ #
5172
+ # @!attribute [rw] option_group_name
5173
+ # The option group the automated backup is associated with. If
5174
+ # omitted, the default option group for the engine specified is used.
5175
+ # @return [String]
5176
+ #
5177
+ # @!attribute [rw] tde_credential_arn
5178
+ # The ARN from the key store with which the automated backup is
5179
+ # associated for TDE encryption.
5180
+ # @return [String]
5181
+ #
5182
+ # @!attribute [rw] encrypted
5183
+ # Specifies whether the automated backup is encrypted.
5184
+ # @return [Boolean]
5185
+ #
5186
+ # @!attribute [rw] storage_type
5187
+ # Specifies the storage type associated with the automated backup.
5188
+ # @return [String]
5189
+ #
5190
+ # @!attribute [rw] kms_key_id
5191
+ # The AWS KMS key ID for an automated backup. The KMS key ID is the
5192
+ # Amazon Resource Name (ARN), KMS key identifier, or the KMS key alias
5193
+ # for the KMS encryption key.
5194
+ # @return [String]
5195
+ #
5196
+ # @!attribute [rw] timezone
5197
+ # The time zone of the automated backup. In most cases, the `Timezone`
5198
+ # element is empty. `Timezone` content appears only for Microsoft SQL
5199
+ # Server DB instances that were created with a time zone specified.
5200
+ # @return [String]
5201
+ #
5202
+ # @!attribute [rw] iam_database_authentication_enabled
5203
+ # True if mapping of AWS Identity and Access Management (IAM) accounts
5204
+ # to database accounts is enabled, and otherwise false.
5205
+ # @return [Boolean]
5206
+ #
5207
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceAutomatedBackup AWS API Documentation
5208
+ #
5209
+ class DBInstanceAutomatedBackup < Struct.new(
5210
+ :db_instance_arn,
5211
+ :dbi_resource_id,
5212
+ :region,
5213
+ :db_instance_identifier,
5214
+ :restore_window,
5215
+ :allocated_storage,
5216
+ :status,
5217
+ :port,
5218
+ :availability_zone,
5219
+ :vpc_id,
5220
+ :instance_create_time,
5221
+ :master_username,
5222
+ :engine,
5223
+ :engine_version,
5224
+ :license_model,
5225
+ :iops,
5226
+ :option_group_name,
5227
+ :tde_credential_arn,
5228
+ :encrypted,
5229
+ :storage_type,
5230
+ :kms_key_id,
5231
+ :timezone,
5232
+ :iam_database_authentication_enabled)
5233
+ include Aws::Structure
5234
+ end
5235
+
5236
+ # Contains the result of a successful invocation of the
5237
+ # DescribeDBInstanceAutomatedBackups action.
5238
+ #
5239
+ # @!attribute [rw] marker
5240
+ # An optional pagination token provided by a previous request. If this
5241
+ # parameter is specified, the response includes only records beyond
5242
+ # the marker, up to the value specified by `MaxRecords` .
5243
+ # @return [String]
5244
+ #
5245
+ # @!attribute [rw] db_instance_automated_backups
5246
+ # A list of DBInstanceAutomatedBackup instances.
5247
+ # @return [Array<Types::DBInstanceAutomatedBackup>]
5248
+ #
5249
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBInstanceAutomatedBackupMessage AWS API Documentation
5250
+ #
5251
+ class DBInstanceAutomatedBackupMessage < Struct.new(
5252
+ :marker,
5253
+ :db_instance_automated_backups)
5254
+ include Aws::Structure
5255
+ end
5256
+
5085
5257
  # Contains the result of a successful invocation of the
5086
5258
  # DescribeDBInstances action.
5087
5259
  #
@@ -5478,6 +5650,11 @@ module Aws::RDS
5478
5650
  # created.
5479
5651
  # @return [Array<Types::ProcessorFeature>]
5480
5652
  #
5653
+ # @!attribute [rw] dbi_resource_id
5654
+ # The identifier for the source DB instance, which can't be changed
5655
+ # and which is unique to an AWS Region.
5656
+ # @return [String]
5657
+ #
5481
5658
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBSnapshot AWS API Documentation
5482
5659
  #
5483
5660
  class DBSnapshot < Struct.new(
@@ -5507,7 +5684,8 @@ module Aws::RDS
5507
5684
  :db_snapshot_arn,
5508
5685
  :timezone,
5509
5686
  :iam_database_authentication_enabled,
5510
- :processor_features)
5687
+ :processor_features,
5688
+ :dbi_resource_id)
5511
5689
  include Aws::Structure
5512
5690
  end
5513
5691
 
@@ -5806,6 +5984,40 @@ module Aws::RDS
5806
5984
  include Aws::Structure
5807
5985
  end
5808
5986
 
5987
+ # Parameter input for the `DeleteDBInstanceAutomatedBackup` operation.
5988
+ #
5989
+ # @note When making an API call, you may pass DeleteDBInstanceAutomatedBackupMessage
5990
+ # data as a hash:
5991
+ #
5992
+ # {
5993
+ # dbi_resource_id: "String", # required
5994
+ # }
5995
+ #
5996
+ # @!attribute [rw] dbi_resource_id
5997
+ # The identifier for the source DB instance, which can't be changed
5998
+ # and which is unique to an AWS Region.
5999
+ # @return [String]
6000
+ #
6001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceAutomatedBackupMessage AWS API Documentation
6002
+ #
6003
+ class DeleteDBInstanceAutomatedBackupMessage < Struct.new(
6004
+ :dbi_resource_id)
6005
+ include Aws::Structure
6006
+ end
6007
+
6008
+ # @!attribute [rw] db_instance_automated_backup
6009
+ # An automated backup of a DB instance. It it consists of system
6010
+ # backups, transaction logs, and the database instance properties that
6011
+ # existed at the time you deleted the source instance.
6012
+ # @return [Types::DBInstanceAutomatedBackup]
6013
+ #
6014
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceAutomatedBackupResult AWS API Documentation
6015
+ #
6016
+ class DeleteDBInstanceAutomatedBackupResult < Struct.new(
6017
+ :db_instance_automated_backup)
6018
+ include Aws::Structure
6019
+ end
6020
+
5809
6021
  # @note When making an API call, you may pass DeleteDBInstanceMessage
5810
6022
  # data as a hash:
5811
6023
  #
@@ -5813,6 +6025,7 @@ module Aws::RDS
5813
6025
  # db_instance_identifier: "String", # required
5814
6026
  # skip_final_snapshot: false,
5815
6027
  # final_db_snapshot_identifier: "String",
6028
+ # delete_automated_backups: false,
5816
6029
  # }
5817
6030
  #
5818
6031
  # @!attribute [rw] db_instance_identifier
@@ -5827,20 +6040,20 @@ module Aws::RDS
5827
6040
  # @return [String]
5828
6041
  #
5829
6042
  # @!attribute [rw] skip_final_snapshot
5830
- # Determines whether a final DB snapshot is created before the DB
5831
- # instance is deleted. If `true` is specified, no DBSnapshot is
5832
- # created. If `false` is specified, a DB snapshot is created before
6043
+ # A value that indicates whether a final DB snapshot is created before
6044
+ # the DB instance is deleted. If `true` is specified, no DB snapshot
6045
+ # is created. If `false` is specified, a DB snapshot is created before
5833
6046
  # the DB instance is deleted.
5834
6047
  #
5835
- # Note that when a DB instance is in a failure state and has a status
5836
- # of 'failed', 'incompatible-restore', or
5837
- # 'incompatible-network', it can only be deleted when the
5838
- # SkipFinalSnapshot parameter is set to "true".
6048
+ # When a DB instance is in a failure state and has a status of
6049
+ # `failed`, `incompatible-restore`, or `incompatible-network`, you can
6050
+ # only delete it when the `SkipFinalSnapshot` parameter is set to
6051
+ # `true`.
5839
6052
  #
5840
6053
  # Specify `true` when deleting a Read Replica.
5841
6054
  #
5842
- # <note markdown="1"> The FinalDBSnapshotIdentifier parameter must be specified if
5843
- # SkipFinalSnapshot is `false`.
6055
+ # <note markdown="1"> The `FinalDBSnapshotIdentifier` parameter must be specified if
6056
+ # `SkipFinalSnapshot` is `false`.
5844
6057
  #
5845
6058
  # </note>
5846
6059
  #
@@ -5848,11 +6061,11 @@ module Aws::RDS
5848
6061
  # @return [Boolean]
5849
6062
  #
5850
6063
  # @!attribute [rw] final_db_snapshot_identifier
5851
- # The DBSnapshotIdentifier of the new DBSnapshot created when
5852
- # SkipFinalSnapshot is set to `false`.
6064
+ # The `DBSnapshotIdentifier` of the new DB snapshot created when
6065
+ # `SkipFinalSnapshot` is set to `false`.
5853
6066
  #
5854
- # <note markdown="1"> Specifying this parameter and also setting the SkipFinalShapshot
5855
- # parameter to true results in an error.
6067
+ # <note markdown="1"> Specifying this parameter and also setting the `SkipFinalShapshot`
6068
+ # parameter to `true` results in an error.
5856
6069
  #
5857
6070
  # </note>
5858
6071
  #
@@ -5860,19 +6073,26 @@ module Aws::RDS
5860
6073
  #
5861
6074
  # * Must be 1 to 255 letters or numbers.
5862
6075
  #
5863
- # * First character must be a letter
6076
+ # * First character must be a letter.
5864
6077
  #
5865
- # * Can't end with a hyphen or contain two consecutive hyphens
6078
+ # * Can't end with a hyphen or contain two consecutive hyphens.
5866
6079
  #
5867
6080
  # * Can't be specified when deleting a Read Replica.
5868
6081
  # @return [String]
5869
6082
  #
6083
+ # @!attribute [rw] delete_automated_backups
6084
+ # A value that indicates whether to remove automated backups
6085
+ # immediately after the DB instance is deleted. This parameter isn't
6086
+ # case-sensitive. This parameter defaults to `true`.
6087
+ # @return [Boolean]
6088
+ #
5870
6089
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceMessage AWS API Documentation
5871
6090
  #
5872
6091
  class DeleteDBInstanceMessage < Struct.new(
5873
6092
  :db_instance_identifier,
5874
6093
  :skip_final_snapshot,
5875
- :final_db_snapshot_identifier)
6094
+ :final_db_snapshot_identifier,
6095
+ :delete_automated_backups)
5876
6096
  include Aws::Structure
5877
6097
  end
5878
6098
 
@@ -5956,7 +6176,7 @@ module Aws::RDS
5956
6176
  # }
5957
6177
  #
5958
6178
  # @!attribute [rw] db_snapshot_identifier
5959
- # The DBSnapshot identifier.
6179
+ # The DB snapshot identifier.
5960
6180
  #
5961
6181
  # Constraints: Must be the name of an existing DB snapshot in the
5962
6182
  # `available` state.
@@ -6758,6 +6978,88 @@ module Aws::RDS
6758
6978
  include Aws::Structure
6759
6979
  end
6760
6980
 
6981
+ # Parameter input for DescribeDBInstanceAutomatedBackups.
6982
+ #
6983
+ # @note When making an API call, you may pass DescribeDBInstanceAutomatedBackupsMessage
6984
+ # data as a hash:
6985
+ #
6986
+ # {
6987
+ # dbi_resource_id: "String",
6988
+ # db_instance_identifier: "String",
6989
+ # filters: [
6990
+ # {
6991
+ # name: "String", # required
6992
+ # values: ["String"], # required
6993
+ # },
6994
+ # ],
6995
+ # max_records: 1,
6996
+ # marker: "String",
6997
+ # }
6998
+ #
6999
+ # @!attribute [rw] dbi_resource_id
7000
+ # The resource ID of the DB instance that is the source of the
7001
+ # automated backup. This parameter isn't case-sensitive.
7002
+ # @return [String]
7003
+ #
7004
+ # @!attribute [rw] db_instance_identifier
7005
+ # (Optional) The user-supplied instance identifier. If this parameter
7006
+ # is specified, it must match the identifier of an existing DB
7007
+ # instance. It returns information from the specific DB instance'
7008
+ # automated backup. This parameter isn't case-sensitive.
7009
+ # @return [String]
7010
+ #
7011
+ # @!attribute [rw] filters
7012
+ # A filter that specifies which resources to return based on status.
7013
+ #
7014
+ # Supported filters are the following:
7015
+ #
7016
+ # * `status`
7017
+ #
7018
+ # * `active` - automated backups for current instances
7019
+ #
7020
+ # * `retained` - automated backups for deleted instances
7021
+ #
7022
+ # * `creating` - automated backups that are waiting for the first
7023
+ # automated snapshot to be available
7024
+ #
7025
+ # * `db-instance-id` - Accepts DB instance identifiers and Amazon
7026
+ # Resource Names (ARNs) for DB instances. The results list includes
7027
+ # only information about the DB instance automated backupss
7028
+ # identified by these ARNs.
7029
+ #
7030
+ # * `dbi-resource-id` - Accepts DB instance resource identifiers and
7031
+ # DB Amazon Resource Names (ARNs) for DB instances. The results list
7032
+ # includes only information about the DB instance resources
7033
+ # identified by these ARNs.
7034
+ #
7035
+ # Returns all resources by default. The status for each resource is
7036
+ # specified in the response.
7037
+ # @return [Array<Types::Filter>]
7038
+ #
7039
+ # @!attribute [rw] max_records
7040
+ # The maximum number of records to include in the response. If more
7041
+ # records exist than the specified `MaxRecords` value, a pagination
7042
+ # token called a marker is included in the response so that the
7043
+ # remaining results can be retrieved.
7044
+ # @return [Integer]
7045
+ #
7046
+ # @!attribute [rw] marker
7047
+ # The pagination token provided in the previous request. If this
7048
+ # parameter is specified the response includes only records beyond the
7049
+ # marker, up to `MaxRecords`.
7050
+ # @return [String]
7051
+ #
7052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstanceAutomatedBackupsMessage AWS API Documentation
7053
+ #
7054
+ class DescribeDBInstanceAutomatedBackupsMessage < Struct.new(
7055
+ :dbi_resource_id,
7056
+ :db_instance_identifier,
7057
+ :filters,
7058
+ :max_records,
7059
+ :marker)
7060
+ include Aws::Structure
7061
+ end
7062
+
6761
7063
  # @note When making an API call, you may pass DescribeDBInstancesMessage
6762
7064
  # data as a hash:
6763
7065
  #
@@ -7171,6 +7473,7 @@ module Aws::RDS
7171
7473
  # marker: "String",
7172
7474
  # include_shared: false,
7173
7475
  # include_public: false,
7476
+ # dbi_resource_id: "String",
7174
7477
  # }
7175
7478
  #
7176
7479
  # @!attribute [rw] db_instance_identifier
@@ -7269,6 +7572,10 @@ module Aws::RDS
7269
7572
  # ModifyDBSnapshotAttribute API.
7270
7573
  # @return [Boolean]
7271
7574
  #
7575
+ # @!attribute [rw] dbi_resource_id
7576
+ # A specific DB resource ID to describe.
7577
+ # @return [String]
7578
+ #
7272
7579
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotsMessage AWS API Documentation
7273
7580
  #
7274
7581
  class DescribeDBSnapshotsMessage < Struct.new(
@@ -7279,7 +7586,8 @@ module Aws::RDS
7279
7586
  :max_records,
7280
7587
  :marker,
7281
7588
  :include_shared,
7282
- :include_public)
7589
+ :include_public,
7590
+ :dbi_resource_id)
7283
7591
  include Aws::Structure
7284
7592
  end
7285
7593
 
@@ -13816,7 +14124,7 @@ module Aws::RDS
13816
14124
  # data as a hash:
13817
14125
  #
13818
14126
  # {
13819
- # source_db_instance_identifier: "String", # required
14127
+ # source_db_instance_identifier: "String",
13820
14128
  # target_db_instance_identifier: "String", # required
13821
14129
  # restore_time: Time.now,
13822
14130
  # use_latest_restorable_time: false,
@@ -13855,6 +14163,7 @@ module Aws::RDS
13855
14163
  # use_default_processor_features: false,
13856
14164
  # db_parameter_group_name: "String",
13857
14165
  # deletion_protection: false,
14166
+ # source_dbi_resource_id: "String",
13858
14167
  # }
13859
14168
  #
13860
14169
  # @!attribute [rw] source_db_instance_identifier
@@ -14145,6 +14454,10 @@ module Aws::RDS
14145
14454
  # [1]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html
14146
14455
  # @return [Boolean]
14147
14456
  #
14457
+ # @!attribute [rw] source_dbi_resource_id
14458
+ # The resource ID of the source DB instance from which to restore.
14459
+ # @return [String]
14460
+ #
14148
14461
  # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage AWS API Documentation
14149
14462
  #
14150
14463
  class RestoreDBInstanceToPointInTimeMessage < Struct.new(
@@ -14176,7 +14489,8 @@ module Aws::RDS
14176
14489
  :processor_features,
14177
14490
  :use_default_processor_features,
14178
14491
  :db_parameter_group_name,
14179
- :deletion_protection)
14492
+ :deletion_protection,
14493
+ :source_dbi_resource_id)
14180
14494
  include Aws::Structure
14181
14495
  end
14182
14496
 
@@ -14194,6 +14508,24 @@ module Aws::RDS
14194
14508
  include Aws::Structure
14195
14509
  end
14196
14510
 
14511
+ # Earliest and latest time an instance can be restored to:
14512
+ #
14513
+ # @!attribute [rw] earliest_time
14514
+ # The earliest time you can restore an instance to.
14515
+ # @return [Time]
14516
+ #
14517
+ # @!attribute [rw] latest_time
14518
+ # The latest time you can restore an instance to.
14519
+ # @return [Time]
14520
+ #
14521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreWindow AWS API Documentation
14522
+ #
14523
+ class RestoreWindow < Struct.new(
14524
+ :earliest_time,
14525
+ :latest_time)
14526
+ include Aws::Structure
14527
+ end
14528
+
14197
14529
  # @note When making an API call, you may pass RevokeDBSecurityGroupIngressMessage
14198
14530
  # data as a hash:
14199
14531
  #
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.37.0
4
+ version: 1.38.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-11-12 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4