aws-sdk-rds 1.169.0 → 1.171.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-rds/client.rb +46 -6
- data/lib/aws-sdk-rds/client_api.rb +3 -0
- data/lib/aws-sdk-rds/db_instance.rb +21 -0
- data/lib/aws-sdk-rds/db_snapshot.rb +10 -0
- data/lib/aws-sdk-rds/endpoint_provider.rb +53 -120
- data/lib/aws-sdk-rds/types.rb +42 -3
- data/lib/aws-sdk-rds.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e791d1db3ec70c2a5f98e31196d2a8e4a02e082e3244d763f321571819a6d1a4
|
4
|
+
data.tar.gz: 77c0cd1704a5a9365ee50718002bf37699f59d86d054a8f7afbd892f6254d814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8076c728bb45a7282acdf37d172f5400a122900ed5a6072a2cb5a03fe810218bc55f40a4af7974694454f81e47ea9b89c321c4d560f616b332aad9ec7317d082
|
7
|
+
data.tar.gz: 98e2a99c5bf1028b1c35a1202656480a55a7365238166e5ce7db67a05305fe9ec32795527cea709e8e59f39d2915b2d9b9423619ea9693c9d62ed6a6d221169c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.171.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.170.0 (2023-01-10)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - This release adds support for configuring allocated storage on the CreateDBInstanceReadReplica, RestoreDBInstanceFromDBSnapshot, and RestoreDBInstanceToPointInTime APIs.
|
15
|
+
|
4
16
|
1.169.0 (2023-01-05)
|
5
17
|
------------------
|
6
18
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.171.0
|
data/lib/aws-sdk-rds/client.rb
CHANGED
@@ -5584,6 +5584,17 @@ module Aws::RDS
|
|
5584
5584
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
5585
5585
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
|
5586
5586
|
#
|
5587
|
+
# @option params [Integer] :allocated_storage
|
5588
|
+
# The amount of storage (in gibibytes) to allocate initially for the
|
5589
|
+
# read replica. Follow the allocation rules specified in
|
5590
|
+
# `CreateDBInstance`.
|
5591
|
+
#
|
5592
|
+
# <note markdown="1"> Be sure to allocate enough memory for your read replica so that the
|
5593
|
+
# create operation can succeed. You can also allocate additional memory
|
5594
|
+
# for future growth.
|
5595
|
+
#
|
5596
|
+
# </note>
|
5597
|
+
#
|
5587
5598
|
# @option params [String] :source_region
|
5588
5599
|
# The source region of the snapshot. This is only needed when the
|
5589
5600
|
# shapshot is encrypted and in a different region.
|
@@ -5668,6 +5679,7 @@ module Aws::RDS
|
|
5668
5679
|
# network_type: "String",
|
5669
5680
|
# storage_throughput: 1,
|
5670
5681
|
# enable_customer_owned_ip: false,
|
5682
|
+
# allocated_storage: 1,
|
5671
5683
|
# source_region: "String",
|
5672
5684
|
# })
|
5673
5685
|
#
|
@@ -20939,6 +20951,16 @@ module Aws::RDS
|
|
20939
20951
|
#
|
20940
20952
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
|
20941
20953
|
#
|
20954
|
+
# @option params [Integer] :allocated_storage
|
20955
|
+
# The amount of storage (in gibibytes) to allocate initially for the DB
|
20956
|
+
# instance. Follow the allocation rules specified in CreateDBInstance.
|
20957
|
+
#
|
20958
|
+
# <note markdown="1"> Be sure to allocate enough memory for your new DB instance so that the
|
20959
|
+
# restore operation can succeed. You can also allocate additional memory
|
20960
|
+
# for future growth.
|
20961
|
+
#
|
20962
|
+
# </note>
|
20963
|
+
#
|
20942
20964
|
# @return [Types::RestoreDBInstanceFromDBSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
20943
20965
|
#
|
20944
20966
|
# * {Types::RestoreDBInstanceFromDBSnapshotResult#db_instance #db_instance} => Types::DBInstance
|
@@ -21085,6 +21107,7 @@ module Aws::RDS
|
|
21085
21107
|
# network_type: "String",
|
21086
21108
|
# storage_throughput: 1,
|
21087
21109
|
# db_cluster_snapshot_identifier: "String",
|
21110
|
+
# allocated_storage: 1,
|
21088
21111
|
# })
|
21089
21112
|
#
|
21090
21113
|
# @example Response structure
|
@@ -21279,7 +21302,7 @@ module Aws::RDS
|
|
21279
21302
|
# Example: `mydbinstance`
|
21280
21303
|
#
|
21281
21304
|
# @option params [Integer] :allocated_storage
|
21282
|
-
# The amount of storage (in
|
21305
|
+
# The amount of storage (in gibibytes) to allocate initially for the DB
|
21283
21306
|
# instance. Follow the allocation rules specified in `CreateDBInstance`.
|
21284
21307
|
#
|
21285
21308
|
# <note markdown="1"> Be sure to allocate enough memory for your new DB instance so that the
|
@@ -22413,6 +22436,16 @@ module Aws::RDS
|
|
22413
22436
|
#
|
22414
22437
|
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
22415
22438
|
#
|
22439
|
+
# @option params [Integer] :allocated_storage
|
22440
|
+
# The amount of storage (in gibibytes) to allocate initially for the DB
|
22441
|
+
# instance. Follow the allocation rules specified in `CreateDBInstance`.
|
22442
|
+
#
|
22443
|
+
# <note markdown="1"> Be sure to allocate enough memory for your new DB instance so that the
|
22444
|
+
# restore operation can succeed. You can also allocate additional memory
|
22445
|
+
# for future growth.
|
22446
|
+
#
|
22447
|
+
# </note>
|
22448
|
+
#
|
22416
22449
|
# @return [Types::RestoreDBInstanceToPointInTimeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
22417
22450
|
#
|
22418
22451
|
# * {Types::RestoreDBInstanceToPointInTimeResult#db_instance #db_instance} => Types::DBInstance
|
@@ -22564,6 +22597,7 @@ module Aws::RDS
|
|
22564
22597
|
# backup_target: "String",
|
22565
22598
|
# network_type: "String",
|
22566
22599
|
# storage_throughput: 1,
|
22600
|
+
# allocated_storage: 1,
|
22567
22601
|
# })
|
22568
22602
|
#
|
22569
22603
|
# @example Response structure
|
@@ -22831,12 +22865,15 @@ module Aws::RDS
|
|
22831
22865
|
end
|
22832
22866
|
|
22833
22867
|
# Starts a database activity stream to monitor activity on the database.
|
22834
|
-
# For more information, see [
|
22835
|
-
# *Amazon Aurora User Guide
|
22868
|
+
# For more information, see [ Monitoring Amazon Aurora with Database
|
22869
|
+
# Activity Streams][1] in the *Amazon Aurora User Guide* or [ Monitoring
|
22870
|
+
# Amazon RDS with Database Activity Streams][2] in the *Amazon RDS User
|
22871
|
+
# Guide*.
|
22836
22872
|
#
|
22837
22873
|
#
|
22838
22874
|
#
|
22839
22875
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html
|
22876
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.html
|
22840
22877
|
#
|
22841
22878
|
# @option params [required, String] :resource_arn
|
22842
22879
|
# The Amazon Resource Name (ARN) of the DB cluster, for example,
|
@@ -23492,12 +23529,15 @@ module Aws::RDS
|
|
23492
23529
|
# Services console, the `start-activity-stream` CLI command, or the
|
23493
23530
|
# `StartActivityStream` action.
|
23494
23531
|
#
|
23495
|
-
# For more information, see [
|
23496
|
-
# *Amazon Aurora User Guide
|
23532
|
+
# For more information, see [ Monitoring Amazon Aurora with Database
|
23533
|
+
# Activity Streams][1] in the *Amazon Aurora User Guide* or [ Monitoring
|
23534
|
+
# Amazon RDS with Database Activity Streams][2] in the *Amazon RDS User
|
23535
|
+
# Guide*.
|
23497
23536
|
#
|
23498
23537
|
#
|
23499
23538
|
#
|
23500
23539
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html
|
23540
|
+
# [2]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.html
|
23501
23541
|
#
|
23502
23542
|
# @option params [required, String] :resource_arn
|
23503
23543
|
# The Amazon Resource Name (ARN) of the DB cluster for the database
|
@@ -24225,7 +24265,7 @@ module Aws::RDS
|
|
24225
24265
|
params: params,
|
24226
24266
|
config: config)
|
24227
24267
|
context[:gem_name] = 'aws-sdk-rds'
|
24228
|
-
context[:gem_version] = '1.
|
24268
|
+
context[:gem_version] = '1.171.0'
|
24229
24269
|
Seahorse::Client::Request.new(handlers, context)
|
24230
24270
|
end
|
24231
24271
|
|
@@ -1061,6 +1061,7 @@ module Aws::RDS
|
|
1061
1061
|
CreateDBInstanceReadReplicaMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
1062
1062
|
CreateDBInstanceReadReplicaMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
1063
1063
|
CreateDBInstanceReadReplicaMessage.add_member(:enable_customer_owned_ip, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "EnableCustomerOwnedIp"))
|
1064
|
+
CreateDBInstanceReadReplicaMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
1064
1065
|
CreateDBInstanceReadReplicaMessage.add_member(:source_region, Shapes::ShapeRef.new(shape: String, location_name: "SourceRegion"))
|
1065
1066
|
CreateDBInstanceReadReplicaMessage.struct_class = Types::CreateDBInstanceReadReplicaMessage
|
1066
1067
|
|
@@ -3282,6 +3283,7 @@ module Aws::RDS
|
|
3282
3283
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3283
3284
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
3284
3285
|
RestoreDBInstanceFromDBSnapshotMessage.add_member(:db_cluster_snapshot_identifier, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterSnapshotIdentifier"))
|
3286
|
+
RestoreDBInstanceFromDBSnapshotMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
3285
3287
|
RestoreDBInstanceFromDBSnapshotMessage.struct_class = Types::RestoreDBInstanceFromDBSnapshotMessage
|
3286
3288
|
|
3287
3289
|
RestoreDBInstanceFromDBSnapshotResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -3378,6 +3380,7 @@ module Aws::RDS
|
|
3378
3380
|
RestoreDBInstanceToPointInTimeMessage.add_member(:backup_target, Shapes::ShapeRef.new(shape: String, location_name: "BackupTarget"))
|
3379
3381
|
RestoreDBInstanceToPointInTimeMessage.add_member(:network_type, Shapes::ShapeRef.new(shape: String, location_name: "NetworkType"))
|
3380
3382
|
RestoreDBInstanceToPointInTimeMessage.add_member(:storage_throughput, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "StorageThroughput"))
|
3383
|
+
RestoreDBInstanceToPointInTimeMessage.add_member(:allocated_storage, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "AllocatedStorage"))
|
3381
3384
|
RestoreDBInstanceToPointInTimeMessage.struct_class = Types::RestoreDBInstanceToPointInTimeMessage
|
3382
3385
|
|
3383
3386
|
RestoreDBInstanceToPointInTimeResult.add_member(:db_instance, Shapes::ShapeRef.new(shape: DBInstance, location_name: "DBInstance"))
|
@@ -2130,6 +2130,7 @@ module Aws::RDS
|
|
2130
2130
|
# network_type: "String",
|
2131
2131
|
# storage_throughput: 1,
|
2132
2132
|
# enable_customer_owned_ip: false,
|
2133
|
+
# allocated_storage: 1,
|
2133
2134
|
# source_region: "String",
|
2134
2135
|
# })
|
2135
2136
|
# @param [Hash] options ({})
|
@@ -2616,6 +2617,16 @@ module Aws::RDS
|
|
2616
2617
|
#
|
2617
2618
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html
|
2618
2619
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
|
2620
|
+
# @option options [Integer] :allocated_storage
|
2621
|
+
# The amount of storage (in gibibytes) to allocate initially for the
|
2622
|
+
# read replica. Follow the allocation rules specified in
|
2623
|
+
# `CreateDBInstance`.
|
2624
|
+
#
|
2625
|
+
# <note markdown="1"> Be sure to allocate enough memory for your read replica so that the
|
2626
|
+
# create operation can succeed. You can also allocate additional memory
|
2627
|
+
# for future growth.
|
2628
|
+
#
|
2629
|
+
# </note>
|
2619
2630
|
# @option options [String] :source_region
|
2620
2631
|
# The source region of the snapshot. This is only needed when the
|
2621
2632
|
# shapshot is encrypted and in a different region.
|
@@ -3809,6 +3820,7 @@ module Aws::RDS
|
|
3809
3820
|
# backup_target: "String",
|
3810
3821
|
# network_type: "String",
|
3811
3822
|
# storage_throughput: 1,
|
3823
|
+
# allocated_storage: 1,
|
3812
3824
|
# })
|
3813
3825
|
# @param [Hash] options ({})
|
3814
3826
|
# @option options [required, String] :target_db_instance_identifier
|
@@ -4186,6 +4198,15 @@ module Aws::RDS
|
|
4186
4198
|
# Specifies the storage throughput value for the DB instance.
|
4187
4199
|
#
|
4188
4200
|
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
4201
|
+
# @option options [Integer] :allocated_storage
|
4202
|
+
# The amount of storage (in gibibytes) to allocate initially for the DB
|
4203
|
+
# instance. Follow the allocation rules specified in `CreateDBInstance`.
|
4204
|
+
#
|
4205
|
+
# <note markdown="1"> Be sure to allocate enough memory for your new DB instance so that the
|
4206
|
+
# restore operation can succeed. You can also allocate additional memory
|
4207
|
+
# for future growth.
|
4208
|
+
#
|
4209
|
+
# </note>
|
4189
4210
|
# @return [DBInstance]
|
4190
4211
|
def restore(options = {})
|
4191
4212
|
options = options.merge(source_db_instance_identifier: @id)
|
@@ -667,6 +667,7 @@ module Aws::RDS
|
|
667
667
|
# network_type: "String",
|
668
668
|
# storage_throughput: 1,
|
669
669
|
# db_cluster_snapshot_identifier: "String",
|
670
|
+
# allocated_storage: 1,
|
670
671
|
# })
|
671
672
|
# @param [Hash] options ({})
|
672
673
|
# @option options [required, String] :db_instance_identifier
|
@@ -1055,6 +1056,15 @@ module Aws::RDS
|
|
1055
1056
|
#
|
1056
1057
|
#
|
1057
1058
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
|
1059
|
+
# @option options [Integer] :allocated_storage
|
1060
|
+
# The amount of storage (in gibibytes) to allocate initially for the DB
|
1061
|
+
# instance. Follow the allocation rules specified in CreateDBInstance.
|
1062
|
+
#
|
1063
|
+
# <note markdown="1"> Be sure to allocate enough memory for your new DB instance so that the
|
1064
|
+
# restore operation can succeed. You can also allocate additional memory
|
1065
|
+
# for future growth.
|
1066
|
+
#
|
1067
|
+
# </note>
|
1058
1068
|
# @return [DBInstance]
|
1059
1069
|
def restore(options = {})
|
1060
1070
|
options = options.merge(db_snapshot_identifier: @snapshot_id)
|
@@ -9,128 +9,61 @@
|
|
9
9
|
|
10
10
|
module Aws::RDS
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "rds.ca-central-1")
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.ca-central-1.amazonaws.com", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-east-1")
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-east-1.amazonaws.com", headers: {}, properties: {})
|
40
|
+
end
|
41
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-east-2")
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-east-2.amazonaws.com", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-west-1")
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-west-1.amazonaws.com", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
if Aws::Endpoints::Matchers.string_equals?(region, "rds.us-west-2")
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.us-west-2.amazonaws.com", headers: {}, properties: {})
|
49
|
+
end
|
50
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
52
|
+
end
|
53
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
54
|
+
end
|
55
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
56
|
+
end
|
57
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
58
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
59
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
60
|
+
end
|
61
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
62
|
+
end
|
63
|
+
return Aws::Endpoints::Endpoint.new(url: "https://rds.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
64
|
end
|
22
|
-
|
23
|
-
end
|
65
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
66
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
67
|
end
|
28
|
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dXBwb3J0c0R1
|
123
|
-
YWxTdGFjayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0
|
124
|
-
aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vcmRzLntSZWdp
|
125
|
-
b259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInBy
|
126
|
-
b3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9
|
127
|
-
XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5h
|
128
|
-
YmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFs
|
129
|
-
U3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVu
|
130
|
-
ZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vcmRzLntSZWdpb259LntQYXJ0aXRp
|
131
|
-
b25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJz
|
132
|
-
Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
133
|
-
|
134
|
-
JSON
|
135
68
|
end
|
136
69
|
end
|
data/lib/aws-sdk-rds/types.rb
CHANGED
@@ -4959,6 +4959,18 @@ module Aws::RDS
|
|
4959
4959
|
# [2]: https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing
|
4960
4960
|
# @return [Boolean]
|
4961
4961
|
#
|
4962
|
+
# @!attribute [rw] allocated_storage
|
4963
|
+
# The amount of storage (in gibibytes) to allocate initially for the
|
4964
|
+
# read replica. Follow the allocation rules specified in
|
4965
|
+
# `CreateDBInstance`.
|
4966
|
+
#
|
4967
|
+
# <note markdown="1"> Be sure to allocate enough memory for your read replica so that the
|
4968
|
+
# create operation can succeed. You can also allocate additional
|
4969
|
+
# memory for future growth.
|
4970
|
+
#
|
4971
|
+
# </note>
|
4972
|
+
# @return [Integer]
|
4973
|
+
#
|
4962
4974
|
# @!attribute [rw] source_region
|
4963
4975
|
# The source region of the snapshot. This is only needed when the
|
4964
4976
|
# shapshot is encrypted and in a different region.
|
@@ -5003,6 +5015,7 @@ module Aws::RDS
|
|
5003
5015
|
:network_type,
|
5004
5016
|
:storage_throughput,
|
5005
5017
|
:enable_customer_owned_ip,
|
5018
|
+
:allocated_storage,
|
5006
5019
|
:source_region)
|
5007
5020
|
SENSITIVE = []
|
5008
5021
|
include Aws::Structure
|
@@ -20854,6 +20867,18 @@ module Aws::RDS
|
|
20854
20867
|
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html
|
20855
20868
|
# @return [String]
|
20856
20869
|
#
|
20870
|
+
# @!attribute [rw] allocated_storage
|
20871
|
+
# The amount of storage (in gibibytes) to allocate initially for the
|
20872
|
+
# DB instance. Follow the allocation rules specified in
|
20873
|
+
# CreateDBInstance.
|
20874
|
+
#
|
20875
|
+
# <note markdown="1"> Be sure to allocate enough memory for your new DB instance so that
|
20876
|
+
# the restore operation can succeed. You can also allocate additional
|
20877
|
+
# memory for future growth.
|
20878
|
+
#
|
20879
|
+
# </note>
|
20880
|
+
# @return [Integer]
|
20881
|
+
#
|
20857
20882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshotMessage AWS API Documentation
|
20858
20883
|
#
|
20859
20884
|
class RestoreDBInstanceFromDBSnapshotMessage < Struct.new(
|
@@ -20890,7 +20915,8 @@ module Aws::RDS
|
|
20890
20915
|
:backup_target,
|
20891
20916
|
:network_type,
|
20892
20917
|
:storage_throughput,
|
20893
|
-
:db_cluster_snapshot_identifier
|
20918
|
+
:db_cluster_snapshot_identifier,
|
20919
|
+
:allocated_storage)
|
20894
20920
|
SENSITIVE = []
|
20895
20921
|
include Aws::Structure
|
20896
20922
|
end
|
@@ -20936,7 +20962,7 @@ module Aws::RDS
|
|
20936
20962
|
# @return [String]
|
20937
20963
|
#
|
20938
20964
|
# @!attribute [rw] allocated_storage
|
20939
|
-
# The amount of storage (in
|
20965
|
+
# The amount of storage (in gibibytes) to allocate initially for the
|
20940
20966
|
# DB instance. Follow the allocation rules specified in
|
20941
20967
|
# `CreateDBInstance`.
|
20942
20968
|
#
|
@@ -21994,6 +22020,18 @@ module Aws::RDS
|
|
21994
22020
|
# This setting doesn't apply to RDS Custom or Amazon Aurora.
|
21995
22021
|
# @return [Integer]
|
21996
22022
|
#
|
22023
|
+
# @!attribute [rw] allocated_storage
|
22024
|
+
# The amount of storage (in gibibytes) to allocate initially for the
|
22025
|
+
# DB instance. Follow the allocation rules specified in
|
22026
|
+
# `CreateDBInstance`.
|
22027
|
+
#
|
22028
|
+
# <note markdown="1"> Be sure to allocate enough memory for your new DB instance so that
|
22029
|
+
# the restore operation can succeed. You can also allocate additional
|
22030
|
+
# memory for future growth.
|
22031
|
+
#
|
22032
|
+
# </note>
|
22033
|
+
# @return [Integer]
|
22034
|
+
#
|
21997
22035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTimeMessage AWS API Documentation
|
21998
22036
|
#
|
21999
22037
|
class RestoreDBInstanceToPointInTimeMessage < Struct.new(
|
@@ -22034,7 +22072,8 @@ module Aws::RDS
|
|
22034
22072
|
:custom_iam_instance_profile,
|
22035
22073
|
:backup_target,
|
22036
22074
|
:network_type,
|
22037
|
-
:storage_throughput
|
22075
|
+
:storage_throughput,
|
22076
|
+
:allocated_storage)
|
22038
22077
|
SENSITIVE = []
|
22039
22078
|
include Aws::Structure
|
22040
22079
|
end
|
data/lib/aws-sdk-rds.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-rds
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.171.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: 2023-01-
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|