aws-sdk-rds 1.253.0 → 1.255.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
  SHA256:
3
- metadata.gz: 9106f7917c2436d33ba1b2805db38b4600c9a966b1ae7de07d15e0fefc7482fe
4
- data.tar.gz: 143c7a969c8fd44d4ca915834230a79863a4cd8f3b50dd0833ad584da4bc3858
3
+ metadata.gz: 15cd769f552a524682ebabe428d596b36608087f8bb6089cdda5cde34190fa34
4
+ data.tar.gz: 674ad038c51962425c98872e7909feb610079fe2c21ad56e1522a1ecca001d0c
5
5
  SHA512:
6
- metadata.gz: 64c2611eab5dea20f5dc4252b2efa1615edb9fc1f747c9f1ede46c991bdd9302bc75e055b72ee00e7f7fddf820ad661d4180b9ba7e56b1729f63d2465d9c6c91
7
- data.tar.gz: 883aeb2e401abb642e0277b1ef78ebd9408017bd74aed074e42bd1c682cc7b7f31eb0f35ecb1cb005826fee4a6f19c74965d91f2339eb370471244fd0cd76cb0
6
+ metadata.gz: 50a8a91648f9e976d7a061d853fc22ad358101a39c21a87d5df4bf78fa9f45643bf5be40ba1cbfaa7f82eb52d6fad9f9c0e0b42f76ea2d7c91c2770d9106e4c7
7
+ data.tar.gz: ab5b16bb85605a8a38ab7f2d762c92d18d83610718d3022d0c20db04ec371e9f7d3f37cee6ed64a44320a555b6cd6bbcc63ea1197f306f8658faa51a91639285
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.255.0 (2024-10-22)
5
+ ------------------
6
+
7
+ * Feature - Global clusters now expose the Endpoint attribute as one of its fields. It is a Read/Write endpoint for the global cluster which resolves to the Global Cluster writer instance.
8
+
9
+ 1.254.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.253.0 (2024-10-17)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.253.0
1
+ 1.255.0
@@ -8186,6 +8186,7 @@ module Aws::RDS
8186
8186
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
8187
8187
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
8188
8188
  # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
8189
+ # resp.global_cluster.endpoint #=> String
8189
8190
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
8190
8191
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
8191
8192
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
@@ -10483,6 +10484,7 @@ module Aws::RDS
10483
10484
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
10484
10485
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
10485
10486
  # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
10487
+ # resp.global_cluster.endpoint #=> String
10486
10488
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
10487
10489
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
10488
10490
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
@@ -16071,6 +16073,7 @@ module Aws::RDS
16071
16073
  # resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
16072
16074
  # resp.global_clusters[0].global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
16073
16075
  # resp.global_clusters[0].global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
16076
+ # resp.global_clusters[0].endpoint #=> String
16074
16077
  # resp.global_clusters[0].failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
16075
16078
  # resp.global_clusters[0].failover_state.from_db_cluster_arn #=> String
16076
16079
  # resp.global_clusters[0].failover_state.to_db_cluster_arn #=> String
@@ -18117,6 +18120,7 @@ module Aws::RDS
18117
18120
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
18118
18121
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
18119
18122
  # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
18123
+ # resp.global_cluster.endpoint #=> String
18120
18124
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
18121
18125
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
18122
18126
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
@@ -22621,6 +22625,7 @@ module Aws::RDS
22621
22625
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
22622
22626
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
22623
22627
  # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
22628
+ # resp.global_cluster.endpoint #=> String
22624
22629
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
22625
22630
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
22626
22631
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
@@ -24150,6 +24155,7 @@ module Aws::RDS
24150
24155
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
24151
24156
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
24152
24157
  # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
24158
+ # resp.global_cluster.endpoint #=> String
24153
24159
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
24154
24160
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
24155
24161
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
@@ -31302,6 +31308,7 @@ module Aws::RDS
31302
31308
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
31303
31309
  # resp.global_cluster.global_cluster_members[0].global_write_forwarding_status #=> String, one of "enabled", "disabled", "enabling", "disabling", "unknown"
31304
31310
  # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
31311
+ # resp.global_cluster.endpoint #=> String
31305
31312
  # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
31306
31313
  # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
31307
31314
  # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
@@ -31535,7 +31542,7 @@ module Aws::RDS
31535
31542
  tracer: tracer
31536
31543
  )
31537
31544
  context[:gem_name] = 'aws-sdk-rds'
31538
- context[:gem_version] = '1.253.0'
31545
+ context[:gem_version] = '1.255.0'
31539
31546
  Seahorse::Client::Request.new(handlers, context)
31540
31547
  end
31541
31548
 
@@ -2831,6 +2831,7 @@ module Aws::RDS
2831
2831
  GlobalCluster.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
2832
2832
  GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
2833
2833
  GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
2834
+ GlobalCluster.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "Endpoint"))
2834
2835
  GlobalCluster.add_member(:failover_state, Shapes::ShapeRef.new(shape: FailoverState, location_name: "FailoverState"))
2835
2836
  GlobalCluster.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
2836
2837
  GlobalCluster.struct_class = Types::GlobalCluster
@@ -5993,6 +5994,7 @@ module Aws::RDS
5993
5994
  o.input = Shapes::ShapeRef.new(shape: ModifyGlobalClusterMessage)
5994
5995
  o.output = Shapes::ShapeRef.new(shape: ModifyGlobalClusterResult)
5995
5996
  o.errors << Shapes::ShapeRef.new(shape: GlobalClusterNotFoundFault)
5997
+ o.errors << Shapes::ShapeRef.new(shape: GlobalClusterAlreadyExistsFault)
5996
5998
  o.errors << Shapes::ShapeRef.new(shape: InvalidGlobalClusterStateFault)
5997
5999
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBClusterStateFault)
5998
6000
  o.errors << Shapes::ShapeRef.new(shape: InvalidDBInstanceStateFault)
@@ -52,15 +52,18 @@ module Aws::RDS
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end