aws-sdk-docdb 1.96.0 → 1.97.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: 91415cd1663b5ce2afa42ca65cd81d0e5c8509e56ada2e7efb4ddb9ce6b5adfd
4
- data.tar.gz: 1e2d36d8dc3a0769cab76f99cc21a6b2344ee4c722234c6fb41a532ee0a29353
3
+ metadata.gz: 6182806a5192ae203d86febbc35d6b13971d2ebca06053a31673d15c4ff1d29e
4
+ data.tar.gz: e3f4a5b7fe39d6ad526c3c24279ca49bb6078f0a5e846dd7b328713162a049fc
5
5
  SHA512:
6
- metadata.gz: eb3ac9ac5339e44efe279dada91f4c5427978d5b1ce6cc3df91a3573a0cb2fa17a48e29bf4d8ed6593d717851e5ad0c0d5969e98e2324b9792f00c1231d9ae34
7
- data.tar.gz: 04ce13f2134db16cf6a00e73d961a818a42e58642b29c8605dc9debaddc9dab123821c22a69fcd089c77d8b4a1536dabdca256ead34749ee6655c273ccf0a0bb
6
+ metadata.gz: 28eae565c62d7dba7da4ccf0cc1038f433aaee0c66adad902aaa043b966c851b0901f4995f7298e54dda2b252e1a764b4be6ca0b57a22b9ca61667355c632a97
7
+ data.tar.gz: 618da549945ddc0e89b7afe808d6d411666f789a64a6108b81434ba83cd610338b37cacd1c38ce78a67d57673806a868257b9f50a8718554dac5c91cd1059ab3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.97.0 (2025-10-30)
5
+ ------------------
6
+
7
+ * Feature - Adding FailoverState and TagList to GlobalCluster and SynchronizationStatus to GlobalClusterMember.
8
+
4
9
  1.96.0 (2025-10-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.97.0
@@ -1842,6 +1842,14 @@ module Aws::DocDB
1842
1842
  # resp.global_cluster.global_cluster_members[0].readers #=> Array
1843
1843
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
1844
1844
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
1845
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
1846
+ # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
1847
+ # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
1848
+ # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
1849
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
1850
+ # resp.global_cluster.tag_list #=> Array
1851
+ # resp.global_cluster.tag_list[0].key #=> String
1852
+ # resp.global_cluster.tag_list[0].value #=> String
1845
1853
  #
1846
1854
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateGlobalCluster AWS API Documentation
1847
1855
  #
@@ -2272,6 +2280,14 @@ module Aws::DocDB
2272
2280
  # resp.global_cluster.global_cluster_members[0].readers #=> Array
2273
2281
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
2274
2282
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
2283
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
2284
+ # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
2285
+ # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
2286
+ # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
2287
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
2288
+ # resp.global_cluster.tag_list #=> Array
2289
+ # resp.global_cluster.tag_list[0].key #=> String
2290
+ # resp.global_cluster.tag_list[0].value #=> String
2275
2291
  #
2276
2292
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteGlobalCluster AWS API Documentation
2277
2293
  #
@@ -3537,6 +3553,14 @@ module Aws::DocDB
3537
3553
  # resp.global_clusters[0].global_cluster_members[0].readers #=> Array
3538
3554
  # resp.global_clusters[0].global_cluster_members[0].readers[0] #=> String
3539
3555
  # resp.global_clusters[0].global_cluster_members[0].is_writer #=> Boolean
3556
+ # resp.global_clusters[0].global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
3557
+ # resp.global_clusters[0].failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
3558
+ # resp.global_clusters[0].failover_state.from_db_cluster_arn #=> String
3559
+ # resp.global_clusters[0].failover_state.to_db_cluster_arn #=> String
3560
+ # resp.global_clusters[0].failover_state.is_data_loss_allowed #=> Boolean
3561
+ # resp.global_clusters[0].tag_list #=> Array
3562
+ # resp.global_clusters[0].tag_list[0].key #=> String
3563
+ # resp.global_clusters[0].tag_list[0].value #=> String
3540
3564
  #
3541
3565
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeGlobalClusters AWS API Documentation
3542
3566
  #
@@ -3903,6 +3927,14 @@ module Aws::DocDB
3903
3927
  # resp.global_cluster.global_cluster_members[0].readers #=> Array
3904
3928
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
3905
3929
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
3930
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
3931
+ # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
3932
+ # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
3933
+ # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
3934
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
3935
+ # resp.global_cluster.tag_list #=> Array
3936
+ # resp.global_cluster.tag_list[0].key #=> String
3937
+ # resp.global_cluster.tag_list[0].value #=> String
3906
3938
  #
3907
3939
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/FailoverGlobalCluster AWS API Documentation
3908
3940
  #
@@ -4852,6 +4884,14 @@ module Aws::DocDB
4852
4884
  # resp.global_cluster.global_cluster_members[0].readers #=> Array
4853
4885
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
4854
4886
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
4887
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
4888
+ # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
4889
+ # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
4890
+ # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
4891
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
4892
+ # resp.global_cluster.tag_list #=> Array
4893
+ # resp.global_cluster.tag_list[0].key #=> String
4894
+ # resp.global_cluster.tag_list[0].value #=> String
4855
4895
  #
4856
4896
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyGlobalCluster AWS API Documentation
4857
4897
  #
@@ -5020,6 +5060,14 @@ module Aws::DocDB
5020
5060
  # resp.global_cluster.global_cluster_members[0].readers #=> Array
5021
5061
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
5022
5062
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
5063
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
5064
+ # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
5065
+ # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
5066
+ # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
5067
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
5068
+ # resp.global_cluster.tag_list #=> Array
5069
+ # resp.global_cluster.tag_list[0].key #=> String
5070
+ # resp.global_cluster.tag_list[0].value #=> String
5023
5071
  #
5024
5072
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
5025
5073
  #
@@ -5894,6 +5942,14 @@ module Aws::DocDB
5894
5942
  # resp.global_cluster.global_cluster_members[0].readers #=> Array
5895
5943
  # resp.global_cluster.global_cluster_members[0].readers[0] #=> String
5896
5944
  # resp.global_cluster.global_cluster_members[0].is_writer #=> Boolean
5945
+ # resp.global_cluster.global_cluster_members[0].synchronization_status #=> String, one of "connected", "pending-resync"
5946
+ # resp.global_cluster.failover_state.status #=> String, one of "pending", "failing-over", "cancelling"
5947
+ # resp.global_cluster.failover_state.from_db_cluster_arn #=> String
5948
+ # resp.global_cluster.failover_state.to_db_cluster_arn #=> String
5949
+ # resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
5950
+ # resp.global_cluster.tag_list #=> Array
5951
+ # resp.global_cluster.tag_list[0].key #=> String
5952
+ # resp.global_cluster.tag_list[0].value #=> String
5897
5953
  #
5898
5954
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/SwitchoverGlobalCluster AWS API Documentation
5899
5955
  #
@@ -5922,7 +5978,7 @@ module Aws::DocDB
5922
5978
  tracer: tracer
5923
5979
  )
5924
5980
  context[:gem_name] = 'aws-sdk-docdb'
5925
- context[:gem_version] = '1.96.0'
5981
+ context[:gem_version] = '1.97.0'
5926
5982
  Seahorse::Client::Request.new(handlers, context)
5927
5983
  end
5928
5984
 
@@ -151,6 +151,8 @@ module Aws::DocDB
151
151
  FailoverDBClusterResult = Shapes::StructureShape.new(name: 'FailoverDBClusterResult')
152
152
  FailoverGlobalClusterMessage = Shapes::StructureShape.new(name: 'FailoverGlobalClusterMessage')
153
153
  FailoverGlobalClusterResult = Shapes::StructureShape.new(name: 'FailoverGlobalClusterResult')
154
+ FailoverState = Shapes::StructureShape.new(name: 'FailoverState')
155
+ FailoverStatus = Shapes::StringShape.new(name: 'FailoverStatus')
154
156
  Filter = Shapes::StructureShape.new(name: 'Filter')
155
157
  FilterList = Shapes::ListShape.new(name: 'FilterList')
156
158
  FilterValueList = Shapes::ListShape.new(name: 'FilterValueList')
@@ -160,6 +162,7 @@ module Aws::DocDB
160
162
  GlobalClusterList = Shapes::ListShape.new(name: 'GlobalClusterList')
161
163
  GlobalClusterMember = Shapes::StructureShape.new(name: 'GlobalClusterMember')
162
164
  GlobalClusterMemberList = Shapes::ListShape.new(name: 'GlobalClusterMemberList')
165
+ GlobalClusterMemberSynchronizationStatus = Shapes::StringShape.new(name: 'GlobalClusterMemberSynchronizationStatus')
163
166
  GlobalClusterNotFoundFault = Shapes::StructureShape.new(name: 'GlobalClusterNotFoundFault', error: {"code" => "GlobalClusterNotFoundFault", "httpStatusCode" => 404, "senderFault" => true})
164
167
  GlobalClusterQuotaExceededFault = Shapes::StructureShape.new(name: 'GlobalClusterQuotaExceededFault', error: {"code" => "GlobalClusterQuotaExceededFault", "httpStatusCode" => 400, "senderFault" => true})
165
168
  GlobalClustersMessage = Shapes::StructureShape.new(name: 'GlobalClustersMessage')
@@ -905,6 +908,12 @@ module Aws::DocDB
905
908
  FailoverGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
906
909
  FailoverGlobalClusterResult.struct_class = Types::FailoverGlobalClusterResult
907
910
 
911
+ FailoverState.add_member(:status, Shapes::ShapeRef.new(shape: FailoverStatus, location_name: "Status"))
912
+ FailoverState.add_member(:from_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "FromDbClusterArn"))
913
+ FailoverState.add_member(:to_db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "ToDbClusterArn"))
914
+ FailoverState.add_member(:is_data_loss_allowed, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDataLossAllowed"))
915
+ FailoverState.struct_class = Types::FailoverState
916
+
908
917
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
909
918
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValueList, required: true, location_name: "Values"))
910
919
  Filter.struct_class = Types::Filter
@@ -923,6 +932,8 @@ module Aws::DocDB
923
932
  GlobalCluster.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
924
933
  GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
925
934
  GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
935
+ GlobalCluster.add_member(:failover_state, Shapes::ShapeRef.new(shape: FailoverState, location_name: "FailoverState"))
936
+ GlobalCluster.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
926
937
  GlobalCluster.struct_class = Types::GlobalCluster
927
938
 
928
939
  GlobalClusterAlreadyExistsFault.struct_class = Types::GlobalClusterAlreadyExistsFault
@@ -932,6 +943,7 @@ module Aws::DocDB
932
943
  GlobalClusterMember.add_member(:db_cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "DBClusterArn"))
933
944
  GlobalClusterMember.add_member(:readers, Shapes::ShapeRef.new(shape: ReadersArnList, location_name: "Readers"))
934
945
  GlobalClusterMember.add_member(:is_writer, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsWriter"))
946
+ GlobalClusterMember.add_member(:synchronization_status, Shapes::ShapeRef.new(shape: GlobalClusterMemberSynchronizationStatus, location_name: "SynchronizationStatus"))
935
947
  GlobalClusterMember.struct_class = Types::GlobalClusterMember
936
948
 
937
949
  GlobalClusterMemberList.member = Shapes::ShapeRef.new(shape: GlobalClusterMember, location_name: "GlobalClusterMember")
@@ -3931,6 +3931,56 @@ module Aws::DocDB
3931
3931
  include Aws::Structure
3932
3932
  end
3933
3933
 
3934
+ # Contains the state of scheduled or in-process operations on an Amazon
3935
+ # DocumentDB global cluster. This data type is empty unless a switchover
3936
+ # or failover operation is scheduled or is in progress on the global
3937
+ # cluster.
3938
+ #
3939
+ # @!attribute [rw] status
3940
+ # The current status of the global cluster. Possible values are as
3941
+ # follows:
3942
+ #
3943
+ # * **pending** – The service received a request to switch over or
3944
+ # fail over the global cluster. The global cluster's primary
3945
+ # cluster and the specified secondary cluster are being verified
3946
+ # before the operation starts.
3947
+ #
3948
+ # * **failing-over** – The chosen secondary cluster is being promoted
3949
+ # to become the new primary cluster to fail over the global cluster.
3950
+ #
3951
+ # * **cancelling** – The request to switch over or fail over the
3952
+ # global cluster was cancelled and the primary cluster and the
3953
+ # selected secondary cluster are returning to their previous states.
3954
+ # @return [String]
3955
+ #
3956
+ # @!attribute [rw] from_db_cluster_arn
3957
+ # The Amazon Resource Name (ARN) of the Amazon DocumentDB cluster that
3958
+ # is currently being demoted, and which is associated with this state.
3959
+ # @return [String]
3960
+ #
3961
+ # @!attribute [rw] to_db_cluster_arn
3962
+ # The Amazon Resource Name (ARN) of the Amazon DocumentDB cluster that
3963
+ # is currently being promoted, and which is associated with this
3964
+ # state.
3965
+ # @return [String]
3966
+ #
3967
+ # @!attribute [rw] is_data_loss_allowed
3968
+ # Indicates whether the operation is a global switchover or a global
3969
+ # failover. If data loss is allowed, then the operation is a global
3970
+ # failover. Otherwise, it's a switchover.
3971
+ # @return [Boolean]
3972
+ #
3973
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/FailoverState AWS API Documentation
3974
+ #
3975
+ class FailoverState < Struct.new(
3976
+ :status,
3977
+ :from_db_cluster_arn,
3978
+ :to_db_cluster_arn,
3979
+ :is_data_loss_allowed)
3980
+ SENSITIVE = []
3981
+ include Aws::Structure
3982
+ end
3983
+
3934
3984
  # A named set of filter values, used to return a more specific list of
3935
3985
  # results. You can use a filter to match a set of resources by specific
3936
3986
  # criteria, such as IDs.
@@ -4001,6 +4051,18 @@ module Aws::DocDB
4001
4051
  # cluster. Currently limited to one item.
4002
4052
  # @return [Array<Types::GlobalClusterMember>]
4003
4053
  #
4054
+ # @!attribute [rw] failover_state
4055
+ # A data object containing all properties for the current state of an
4056
+ # in-process or pending switchover or failover process for this global
4057
+ # cluster. This object is empty unless the `SwitchoverGlobalCluster`
4058
+ # or `FailoverGlobalCluster` operation was called on this global
4059
+ # cluster.
4060
+ # @return [Types::FailoverState]
4061
+ #
4062
+ # @!attribute [rw] tag_list
4063
+ # A list of global cluster tags.
4064
+ # @return [Array<Types::Tag>]
4065
+ #
4004
4066
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalCluster AWS API Documentation
4005
4067
  #
4006
4068
  class GlobalCluster < Struct.new(
@@ -4013,7 +4075,9 @@ module Aws::DocDB
4013
4075
  :database_name,
4014
4076
  :storage_encrypted,
4015
4077
  :deletion_protection,
4016
- :global_cluster_members)
4078
+ :global_cluster_members,
4079
+ :failover_state,
4080
+ :tag_list)
4017
4081
  SENSITIVE = []
4018
4082
  include Aws::Structure
4019
4083
  end
@@ -4043,12 +4107,18 @@ module Aws::DocDB
4043
4107
  # DocumentDB global cluster with which it is associated.
4044
4108
  # @return [Boolean]
4045
4109
  #
4110
+ # @!attribute [rw] synchronization_status
4111
+ # The status of synchronization of each Amazon DocumentDB cluster in
4112
+ # the global cluster.
4113
+ # @return [String]
4114
+ #
4046
4115
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/GlobalClusterMember AWS API Documentation
4047
4116
  #
4048
4117
  class GlobalClusterMember < Struct.new(
4049
4118
  :db_cluster_arn,
4050
4119
  :readers,
4051
- :is_writer)
4120
+ :is_writer,
4121
+ :synchronization_status)
4052
4122
  SENSITIVE = []
4053
4123
  include Aws::Structure
4054
4124
  end
data/lib/aws-sdk-docdb.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::DocDB
55
55
  autoload :EndpointProvider, 'aws-sdk-docdb/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-docdb/endpoints'
57
57
 
58
- GEM_VERSION = '1.96.0'
58
+ GEM_VERSION = '1.97.0'
59
59
 
60
60
  end
61
61
 
data/sig/types.rbs CHANGED
@@ -813,6 +813,14 @@ module Aws::DocDB
813
813
  SENSITIVE: []
814
814
  end
815
815
 
816
+ class FailoverState
817
+ attr_accessor status: ("pending" | "failing-over" | "cancelling")
818
+ attr_accessor from_db_cluster_arn: ::String
819
+ attr_accessor to_db_cluster_arn: ::String
820
+ attr_accessor is_data_loss_allowed: bool
821
+ SENSITIVE: []
822
+ end
823
+
816
824
  class Filter
817
825
  attr_accessor name: ::String
818
826
  attr_accessor values: ::Array[::String]
@@ -830,6 +838,8 @@ module Aws::DocDB
830
838
  attr_accessor storage_encrypted: bool
831
839
  attr_accessor deletion_protection: bool
832
840
  attr_accessor global_cluster_members: ::Array[Types::GlobalClusterMember]
841
+ attr_accessor failover_state: Types::FailoverState
842
+ attr_accessor tag_list: ::Array[Types::Tag]
833
843
  SENSITIVE: []
834
844
  end
835
845
 
@@ -840,6 +850,7 @@ module Aws::DocDB
840
850
  attr_accessor db_cluster_arn: ::String
841
851
  attr_accessor readers: ::Array[::String]
842
852
  attr_accessor is_writer: bool
853
+ attr_accessor synchronization_status: ("connected" | "pending-resync")
843
854
  SENSITIVE: []
844
855
  end
845
856
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-docdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.96.0
4
+ version: 1.97.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services