aws-sdk-dsql 1.7.0 → 1.8.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dsql/client.rb +117 -14
- data/lib/aws-sdk-dsql/client_api.rb +23 -11
- data/lib/aws-sdk-dsql/types.rb +83 -31
- data/lib/aws-sdk-dsql.rb +1 -1
- data/sig/client.rbs +19 -8
- data/sig/types.rbs +17 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2b16d6886186fa4cadf30a8314463a9d5e8490ac0ef311563c731e509746a2f
|
4
|
+
data.tar.gz: 6ecae443a02493e99057a0d8cdfec5b08deb1ac139c4d77b772e52448cb6203e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28b4c137725551efb686c0e6e99e52270c79812c8c41676d476b3674ff7edd46ca0583e1b9f7e90272994ef8c201a02860170d3a91479d081d53347773b16937
|
7
|
+
data.tar.gz: cb3f2a8ae7f56db0057784b8dfe7f90b764e08b5dfc2b6809156efa23edd973de2515d1a3e3ac847d4e5b233299291de2453e5e3e80b11a73e01e04542e4bfac
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.8.0 (2025-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - CreateMultiRegionClusters and DeleteMultiRegionClusters APIs marked as deprecated. Introduced new multi-Region clusters creation experience through multiRegionProperties parameter in CreateCluster API.
|
8
|
+
|
4
9
|
1.7.0 (2025-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
data/lib/aws-sdk-dsql/client.rb
CHANGED
@@ -469,7 +469,63 @@ module Aws::DSQL
|
|
469
469
|
|
470
470
|
# @!group API Operations
|
471
471
|
|
472
|
-
#
|
472
|
+
# This operation creates a cluster in Amazon Aurora DSQL. You need the
|
473
|
+
# following permissions to use this operation.
|
474
|
+
#
|
475
|
+
# Permission to create a cluster.
|
476
|
+
#
|
477
|
+
# dsql:CreateCluster
|
478
|
+
#
|
479
|
+
# : Resources: arn:aws:dsql:*region*:*account-id*:cluster/*
|
480
|
+
#
|
481
|
+
# Permission to add tags to a resource.
|
482
|
+
#
|
483
|
+
# dsql:TagResource
|
484
|
+
#
|
485
|
+
# : Resources: arn:aws:dsql:*region*:*account-id*:cluster/*
|
486
|
+
#
|
487
|
+
# Permission to configure multi-region properties for a cluster.
|
488
|
+
#
|
489
|
+
# dsql:PutMultiRegionProperties
|
490
|
+
#
|
491
|
+
# : Resources: arn:aws:dsql:*region*:*account-id*:cluster/*
|
492
|
+
#
|
493
|
+
# When specifying multiRegionProperties.clusters.
|
494
|
+
#
|
495
|
+
# dsql:AddPeerCluster
|
496
|
+
#
|
497
|
+
# : Permission to add peer clusters.
|
498
|
+
#
|
499
|
+
# Resources:
|
500
|
+
#
|
501
|
+
# * Local cluster: arn:aws:dsql:*region*:*account-id*:cluster/*
|
502
|
+
#
|
503
|
+
# * Each peer cluster: exact ARN of each specified peer cluster
|
504
|
+
#
|
505
|
+
# When specifying multiRegionProperties.witnessRegion.
|
506
|
+
#
|
507
|
+
# dsql:PutWitnessRegion
|
508
|
+
#
|
509
|
+
# : Permission to set a witness region.
|
510
|
+
#
|
511
|
+
# Resources: arn:aws:dsql:*region*:*account-id*:cluster/*
|
512
|
+
#
|
513
|
+
# Condition Keys: `dsql:WitnessRegion` (matching the specified witness
|
514
|
+
# region)
|
515
|
+
#
|
516
|
+
# <note markdown="1"> This permission is checked both in the cluster Region and in the
|
517
|
+
# witness Region.
|
518
|
+
#
|
519
|
+
# </note>
|
520
|
+
#
|
521
|
+
# **Important Notes for Multi-Region Operations**
|
522
|
+
#
|
523
|
+
# * The witness region specified in
|
524
|
+
# `multiRegionProperties.witnessRegion` cannot be the same as the
|
525
|
+
# cluster's Region.
|
526
|
+
#
|
527
|
+
# * When updating clusters with peer relationships, permissions are
|
528
|
+
# checked for both adding and removing peers.
|
473
529
|
#
|
474
530
|
# @option params [Boolean] :deletion_protection_enabled
|
475
531
|
# If enabled, you can't delete your cluster. You must first disable
|
@@ -492,12 +548,17 @@ module Aws::DSQL
|
|
492
548
|
# **A suitable default value is auto-generated.** You should normally
|
493
549
|
# not need to pass this option.**
|
494
550
|
#
|
551
|
+
# @option params [Types::MultiRegionProperties] :multi_region_properties
|
552
|
+
# The configuration settings when creating a multi-Region cluster,
|
553
|
+
# including the witness region and linked cluster properties.
|
554
|
+
#
|
495
555
|
# @return [Types::CreateClusterOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
496
556
|
#
|
497
557
|
# * {Types::CreateClusterOutput#identifier #identifier} => String
|
498
558
|
# * {Types::CreateClusterOutput#arn #arn} => String
|
499
559
|
# * {Types::CreateClusterOutput#status #status} => String
|
500
560
|
# * {Types::CreateClusterOutput#creation_time #creation_time} => Time
|
561
|
+
# * {Types::CreateClusterOutput#multi_region_properties #multi_region_properties} => Types::MultiRegionProperties
|
501
562
|
# * {Types::CreateClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
502
563
|
#
|
503
564
|
#
|
@@ -518,14 +579,21 @@ module Aws::DSQL
|
|
518
579
|
# "TagKey" => "TagValue",
|
519
580
|
# },
|
520
581
|
# client_token: "ClientToken",
|
582
|
+
# multi_region_properties: {
|
583
|
+
# witness_region: "Region",
|
584
|
+
# clusters: ["ClusterArn"],
|
585
|
+
# },
|
521
586
|
# })
|
522
587
|
#
|
523
588
|
# @example Response structure
|
524
589
|
#
|
525
590
|
# resp.identifier #=> String
|
526
591
|
# resp.arn #=> String
|
527
|
-
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
|
592
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
|
528
593
|
# resp.creation_time #=> Time
|
594
|
+
# resp.multi_region_properties.witness_region #=> String
|
595
|
+
# resp.multi_region_properties.clusters #=> Array
|
596
|
+
# resp.multi_region_properties.clusters[0] #=> String
|
529
597
|
# resp.deletion_protection_enabled #=> Boolean
|
530
598
|
#
|
531
599
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateCluster AWS API Documentation
|
@@ -585,8 +653,8 @@ module Aws::DSQL
|
|
585
653
|
# resp.to_h outputs the following:
|
586
654
|
# {
|
587
655
|
# linked_cluster_arns: [
|
588
|
-
# "arn:aws:dsql:us-east-1:111122223333:cluster/
|
589
|
-
# "arn:aws:dsql:us-east-2:111122223333:cluster/
|
656
|
+
# "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
|
657
|
+
# "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321",
|
590
658
|
# ],
|
591
659
|
# }
|
592
660
|
#
|
@@ -665,7 +733,7 @@ module Aws::DSQL
|
|
665
733
|
#
|
666
734
|
# resp.identifier #=> String
|
667
735
|
# resp.arn #=> String
|
668
|
-
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
|
736
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
|
669
737
|
# resp.creation_time #=> Time
|
670
738
|
# resp.deletion_protection_enabled #=> Boolean
|
671
739
|
#
|
@@ -705,8 +773,8 @@ module Aws::DSQL
|
|
705
773
|
#
|
706
774
|
# resp = client.delete_multi_region_clusters({
|
707
775
|
# linked_cluster_arns: [
|
708
|
-
# "arn:aws:dsql:us-east-1:111122223333:cluster/
|
709
|
-
# "arn:aws:dsql:us-east-2:111122223333:cluster/
|
776
|
+
# "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
|
777
|
+
# "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321",
|
710
778
|
# ],
|
711
779
|
# })
|
712
780
|
#
|
@@ -737,9 +805,11 @@ module Aws::DSQL
|
|
737
805
|
# * {Types::GetClusterOutput#arn #arn} => String
|
738
806
|
# * {Types::GetClusterOutput#status #status} => String
|
739
807
|
# * {Types::GetClusterOutput#creation_time #creation_time} => Time
|
740
|
-
# * {Types::GetClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
741
808
|
# * {Types::GetClusterOutput#witness_region #witness_region} => String
|
742
809
|
# * {Types::GetClusterOutput#linked_cluster_arns #linked_cluster_arns} => Array<String>
|
810
|
+
# * {Types::GetClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
811
|
+
# * {Types::GetClusterOutput#multi_region_properties #multi_region_properties} => Types::MultiRegionProperties
|
812
|
+
# * {Types::GetClusterOutput#tags #tags} => Hash<String,String>
|
743
813
|
#
|
744
814
|
#
|
745
815
|
# @example Example: Get Cluster
|
@@ -758,12 +828,17 @@ module Aws::DSQL
|
|
758
828
|
#
|
759
829
|
# resp.identifier #=> String
|
760
830
|
# resp.arn #=> String
|
761
|
-
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
|
831
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
|
762
832
|
# resp.creation_time #=> Time
|
763
|
-
# resp.deletion_protection_enabled #=> Boolean
|
764
833
|
# resp.witness_region #=> String
|
765
834
|
# resp.linked_cluster_arns #=> Array
|
766
835
|
# resp.linked_cluster_arns[0] #=> String
|
836
|
+
# resp.deletion_protection_enabled #=> Boolean
|
837
|
+
# resp.multi_region_properties.witness_region #=> String
|
838
|
+
# resp.multi_region_properties.clusters #=> Array
|
839
|
+
# resp.multi_region_properties.clusters[0] #=> String
|
840
|
+
# resp.tags #=> Hash
|
841
|
+
# resp.tags["TagKey"] #=> String
|
767
842
|
#
|
768
843
|
#
|
769
844
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -976,6 +1051,26 @@ module Aws::DSQL
|
|
976
1051
|
|
977
1052
|
# Updates a cluster.
|
978
1053
|
#
|
1054
|
+
# **Example IAM Policy for Multi-Region Operations**
|
1055
|
+
#
|
1056
|
+
# The following IAM policy grants permissions for multi-Region
|
1057
|
+
# operations.
|
1058
|
+
#
|
1059
|
+
# The `dsql:RemovePeerCluster` permission uses a wildcard ARN pattern to
|
1060
|
+
# simplify permission management during updates.
|
1061
|
+
#
|
1062
|
+
# **Important Notes for Multi-Region Operations**
|
1063
|
+
#
|
1064
|
+
# * The witness region specified in
|
1065
|
+
# `multiRegionProperties.witnessRegion` cannot be the same as the
|
1066
|
+
# cluster's Region.
|
1067
|
+
#
|
1068
|
+
# * When updating clusters with peer relationships, permissions are
|
1069
|
+
# checked for both adding and removing peers.
|
1070
|
+
#
|
1071
|
+
# * The `dsql:RemovePeerCluster` permission uses a wildcard ARN pattern
|
1072
|
+
# to simplify permission management during updates.
|
1073
|
+
#
|
979
1074
|
# @option params [required, String] :identifier
|
980
1075
|
# The ID of the cluster you want to update.
|
981
1076
|
#
|
@@ -996,15 +1091,19 @@ module Aws::DSQL
|
|
996
1091
|
# **A suitable default value is auto-generated.** You should normally
|
997
1092
|
# not need to pass this option.**
|
998
1093
|
#
|
1094
|
+
# @option params [Types::MultiRegionProperties] :multi_region_properties
|
1095
|
+
# The new multi-Region cluster configuration settings to be applied
|
1096
|
+
# during an update operation.
|
1097
|
+
#
|
999
1098
|
# @return [Types::UpdateClusterOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1000
1099
|
#
|
1001
1100
|
# * {Types::UpdateClusterOutput#identifier #identifier} => String
|
1002
1101
|
# * {Types::UpdateClusterOutput#arn #arn} => String
|
1003
1102
|
# * {Types::UpdateClusterOutput#status #status} => String
|
1004
1103
|
# * {Types::UpdateClusterOutput#creation_time #creation_time} => Time
|
1005
|
-
# * {Types::UpdateClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
1006
1104
|
# * {Types::UpdateClusterOutput#witness_region #witness_region} => String
|
1007
1105
|
# * {Types::UpdateClusterOutput#linked_cluster_arns #linked_cluster_arns} => Array<String>
|
1106
|
+
# * {Types::UpdateClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
1008
1107
|
#
|
1009
1108
|
#
|
1010
1109
|
# @example Example: Update Cluster
|
@@ -1020,18 +1119,22 @@ module Aws::DSQL
|
|
1020
1119
|
# identifier: "ClusterId", # required
|
1021
1120
|
# deletion_protection_enabled: false,
|
1022
1121
|
# client_token: "ClientToken",
|
1122
|
+
# multi_region_properties: {
|
1123
|
+
# witness_region: "Region",
|
1124
|
+
# clusters: ["ClusterArn"],
|
1125
|
+
# },
|
1023
1126
|
# })
|
1024
1127
|
#
|
1025
1128
|
# @example Response structure
|
1026
1129
|
#
|
1027
1130
|
# resp.identifier #=> String
|
1028
1131
|
# resp.arn #=> String
|
1029
|
-
# resp.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
|
1132
|
+
# resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
|
1030
1133
|
# resp.creation_time #=> Time
|
1031
|
-
# resp.deletion_protection_enabled #=> Boolean
|
1032
1134
|
# resp.witness_region #=> String
|
1033
1135
|
# resp.linked_cluster_arns #=> Array
|
1034
1136
|
# resp.linked_cluster_arns[0] #=> String
|
1137
|
+
# resp.deletion_protection_enabled #=> Boolean
|
1035
1138
|
#
|
1036
1139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateCluster AWS API Documentation
|
1037
1140
|
#
|
@@ -1060,7 +1163,7 @@ module Aws::DSQL
|
|
1060
1163
|
tracer: tracer
|
1061
1164
|
)
|
1062
1165
|
context[:gem_name] = 'aws-sdk-dsql'
|
1063
|
-
context[:gem_version] = '1.
|
1166
|
+
context[:gem_version] = '1.8.0'
|
1064
1167
|
Seahorse::Client::Request.new(handlers, context)
|
1065
1168
|
end
|
1066
1169
|
|
@@ -46,6 +46,7 @@ module Aws::DSQL
|
|
46
46
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
47
47
|
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
48
48
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
49
|
+
MultiRegionProperties = Shapes::StructureShape.new(name: 'MultiRegionProperties')
|
49
50
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
50
51
|
Region = Shapes::StringShape.new(name: 'Region')
|
51
52
|
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
@@ -75,7 +76,7 @@ module Aws::DSQL
|
|
75
76
|
ClusterList.member = Shapes::ShapeRef.new(shape: ClusterSummary)
|
76
77
|
|
77
78
|
ClusterPropertyMap.key = Shapes::ShapeRef.new(shape: Region)
|
78
|
-
ClusterPropertyMap.value = Shapes::ShapeRef.new(shape: LinkedClusterProperties)
|
79
|
+
ClusterPropertyMap.value = Shapes::ShapeRef.new(shape: LinkedClusterProperties, deprecated: true)
|
79
80
|
|
80
81
|
ClusterSummary.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "identifier"))
|
81
82
|
ClusterSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
@@ -89,17 +90,19 @@ module Aws::DSQL
|
|
89
90
|
CreateClusterInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
|
90
91
|
CreateClusterInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
91
92
|
CreateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
93
|
+
CreateClusterInput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
|
92
94
|
CreateClusterInput.struct_class = Types::CreateClusterInput
|
93
95
|
|
94
96
|
CreateClusterOutput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "identifier"))
|
95
97
|
CreateClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
96
98
|
CreateClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
|
97
99
|
CreateClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
|
100
|
+
CreateClusterOutput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
|
98
101
|
CreateClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
|
99
102
|
CreateClusterOutput.struct_class = Types::CreateClusterOutput
|
100
103
|
|
101
|
-
CreateMultiRegionClustersInput.add_member(:linked_region_list, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "linkedRegionList"))
|
102
|
-
CreateMultiRegionClustersInput.add_member(:cluster_properties, Shapes::ShapeRef.new(shape: ClusterPropertyMap, location_name: "clusterProperties"))
|
104
|
+
CreateMultiRegionClustersInput.add_member(:linked_region_list, Shapes::ShapeRef.new(shape: RegionList, required: true, deprecated: true, location_name: "linkedRegionList"))
|
105
|
+
CreateMultiRegionClustersInput.add_member(:cluster_properties, Shapes::ShapeRef.new(shape: ClusterPropertyMap, deprecated: true, location_name: "clusterProperties"))
|
103
106
|
CreateMultiRegionClustersInput.add_member(:witness_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "witnessRegion"))
|
104
107
|
CreateMultiRegionClustersInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
105
108
|
CreateMultiRegionClustersInput.struct_class = Types::CreateMultiRegionClustersInput
|
@@ -115,7 +118,7 @@ module Aws::DSQL
|
|
115
118
|
DeleteClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
116
119
|
DeleteClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
|
117
120
|
DeleteClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
|
118
|
-
DeleteClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
|
121
|
+
DeleteClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, deprecated: true, location_name: "deletionProtectionEnabled", metadata: {"deprecatedMessage" => "The deletionProtectionEnabled field is deprecated in the DeleteCluster API. To check deletion protection status, use the GetCluster API instead.", "deprecatedSince" => "5/13/2025"}))
|
119
122
|
DeleteClusterOutput.struct_class = Types::DeleteClusterOutput
|
120
123
|
|
121
124
|
DeleteMultiRegionClustersInput.add_member(:linked_cluster_arns, Shapes::ShapeRef.new(shape: ClusterArnList, required: true, location: "querystring", location_name: "linked-cluster-arns"))
|
@@ -129,9 +132,11 @@ module Aws::DSQL
|
|
129
132
|
GetClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
130
133
|
GetClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
|
131
134
|
GetClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
|
135
|
+
GetClusterOutput.add_member(:witness_region, Shapes::ShapeRef.new(shape: Region, deprecated: true, location_name: "witnessRegion", metadata: {"deprecatedMessage" => "The witnessRegion field is deprecated. To see the witnessRegion, use multiRegionProperties.witnessRegion instead.", "deprecatedSince" => "5/13/2025"}))
|
136
|
+
GetClusterOutput.add_member(:linked_cluster_arns, Shapes::ShapeRef.new(shape: ClusterArnList, deprecated: true, location_name: "linkedClusterArns", metadata: {"deprecatedMessage" => "The linkedClusterArns field is deprecated. To see the peered cluster Arns, use multiRegionProperties.cluster instead.", "deprecatedSince" => "5/13/2025"}))
|
132
137
|
GetClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
|
133
|
-
GetClusterOutput.add_member(:
|
134
|
-
GetClusterOutput.add_member(:
|
138
|
+
GetClusterOutput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
|
139
|
+
GetClusterOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
135
140
|
GetClusterOutput.struct_class = Types::GetClusterOutput
|
136
141
|
|
137
142
|
GetVpcEndpointServiceNameInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
|
@@ -162,6 +167,10 @@ module Aws::DSQL
|
|
162
167
|
ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
163
168
|
ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
|
164
169
|
|
170
|
+
MultiRegionProperties.add_member(:witness_region, Shapes::ShapeRef.new(shape: Region, location_name: "witnessRegion"))
|
171
|
+
MultiRegionProperties.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterArnList, location_name: "clusters"))
|
172
|
+
MultiRegionProperties.struct_class = Types::MultiRegionProperties
|
173
|
+
|
165
174
|
RegionList.member = Shapes::ShapeRef.new(shape: Region)
|
166
175
|
|
167
176
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -198,15 +207,16 @@ module Aws::DSQL
|
|
198
207
|
UpdateClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
|
199
208
|
UpdateClusterInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
|
200
209
|
UpdateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
210
|
+
UpdateClusterInput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
|
201
211
|
UpdateClusterInput.struct_class = Types::UpdateClusterInput
|
202
212
|
|
203
213
|
UpdateClusterOutput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "identifier"))
|
204
214
|
UpdateClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
205
215
|
UpdateClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
|
206
216
|
UpdateClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
|
207
|
-
UpdateClusterOutput.add_member(:
|
208
|
-
UpdateClusterOutput.add_member(:
|
209
|
-
UpdateClusterOutput.add_member(:
|
217
|
+
UpdateClusterOutput.add_member(:witness_region, Shapes::ShapeRef.new(shape: Region, deprecated: true, location_name: "witnessRegion", metadata: {"deprecatedMessage" => "The witnessRegion field is deprecated in the UpdateCluster API. To check witnessRegion, use the GetCluster API instead.", "deprecatedSince" => "5/13/2025"}))
|
218
|
+
UpdateClusterOutput.add_member(:linked_cluster_arns, Shapes::ShapeRef.new(shape: ClusterArnList, deprecated: true, location_name: "linkedClusterArns", metadata: {"deprecatedMessage" => "The linkedClusterArns field is deprecated in the UpdateCluster API. To check peer cluster, use the GetCluster API instead.", "deprecatedSince" => "5/13/2025"}))
|
219
|
+
UpdateClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, deprecated: true, location_name: "deletionProtectionEnabled", metadata: {"deprecatedMessage" => "The deletionProtectionEnabled field is deprecated in the UpdateCluster API. To check deletion protection status, use the GetCluster API instead.", "deprecatedSince" => "5/13/2025"}))
|
210
220
|
UpdateClusterOutput.struct_class = Types::UpdateClusterOutput
|
211
221
|
|
212
222
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -247,8 +257,8 @@ module Aws::DSQL
|
|
247
257
|
o.output = Shapes::ShapeRef.new(shape: CreateClusterOutput)
|
248
258
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
249
259
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
250
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
251
260
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
261
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
252
262
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
253
263
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
254
264
|
end)
|
@@ -257,6 +267,7 @@ module Aws::DSQL
|
|
257
267
|
o.name = "CreateMultiRegionClusters"
|
258
268
|
o.http_method = "POST"
|
259
269
|
o.http_request_uri = "/multi-region-clusters"
|
270
|
+
o.deprecated = true
|
260
271
|
o.input = Shapes::ShapeRef.new(shape: CreateMultiRegionClustersInput)
|
261
272
|
o.output = Shapes::ShapeRef.new(shape: CreateMultiRegionClustersOutput)
|
262
273
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
@@ -285,6 +296,7 @@ module Aws::DSQL
|
|
285
296
|
o.name = "DeleteMultiRegionClusters"
|
286
297
|
o.http_method = "DELETE"
|
287
298
|
o.http_request_uri = "/multi-region-clusters"
|
299
|
+
o.deprecated = true
|
288
300
|
o.input = Shapes::ShapeRef.new(shape: DeleteMultiRegionClustersInput)
|
289
301
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
290
302
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
@@ -387,8 +399,8 @@ module Aws::DSQL
|
|
387
399
|
o.input = Shapes::ShapeRef.new(shape: UpdateClusterInput)
|
388
400
|
o.output = Shapes::ShapeRef.new(shape: UpdateClusterOutput)
|
389
401
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
390
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
391
402
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
403
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
392
404
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
393
405
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
394
406
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
data/lib/aws-sdk-dsql/types.rb
CHANGED
@@ -89,17 +89,23 @@ module Aws::DSQL
|
|
89
89
|
# not need to pass this option.
|
90
90
|
# @return [String]
|
91
91
|
#
|
92
|
+
# @!attribute [rw] multi_region_properties
|
93
|
+
# The configuration settings when creating a multi-Region cluster,
|
94
|
+
# including the witness region and linked cluster properties.
|
95
|
+
# @return [Types::MultiRegionProperties]
|
96
|
+
#
|
92
97
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateClusterInput AWS API Documentation
|
93
98
|
#
|
94
99
|
class CreateClusterInput < Struct.new(
|
95
100
|
:deletion_protection_enabled,
|
96
101
|
:tags,
|
97
|
-
:client_token
|
102
|
+
:client_token,
|
103
|
+
:multi_region_properties)
|
98
104
|
SENSITIVE = []
|
99
105
|
include Aws::Structure
|
100
106
|
end
|
101
107
|
|
102
|
-
#
|
108
|
+
# The output of a created cluster.
|
103
109
|
#
|
104
110
|
# @!attribute [rw] identifier
|
105
111
|
# The ID of the created cluster.
|
@@ -117,6 +123,11 @@ module Aws::DSQL
|
|
117
123
|
# The time of when created the cluster.
|
118
124
|
# @return [Time]
|
119
125
|
#
|
126
|
+
# @!attribute [rw] multi_region_properties
|
127
|
+
# The multi-Region cluster configuration details that were set during
|
128
|
+
# cluster creation
|
129
|
+
# @return [Types::MultiRegionProperties]
|
130
|
+
#
|
120
131
|
# @!attribute [rw] deletion_protection_enabled
|
121
132
|
# Whether deletion protection is enabled on this cluster.
|
122
133
|
# @return [Boolean]
|
@@ -128,6 +139,7 @@ module Aws::DSQL
|
|
128
139
|
:arn,
|
129
140
|
:status,
|
130
141
|
:creation_time,
|
142
|
+
:multi_region_properties,
|
131
143
|
:deletion_protection_enabled)
|
132
144
|
SENSITIVE = []
|
133
145
|
include Aws::Structure
|
@@ -212,7 +224,7 @@ module Aws::DSQL
|
|
212
224
|
include Aws::Structure
|
213
225
|
end
|
214
226
|
|
215
|
-
#
|
227
|
+
# The output from a deleted cluster.
|
216
228
|
#
|
217
229
|
# @!attribute [rw] identifier
|
218
230
|
# The ID of the deleted cluster.
|
@@ -287,7 +299,7 @@ module Aws::DSQL
|
|
287
299
|
include Aws::Structure
|
288
300
|
end
|
289
301
|
|
290
|
-
#
|
302
|
+
# The output of a cluster.
|
291
303
|
#
|
292
304
|
# @!attribute [rw] identifier
|
293
305
|
# The ID of the retrieved cluster.
|
@@ -305,10 +317,6 @@ module Aws::DSQL
|
|
305
317
|
# The time of when the cluster was created.
|
306
318
|
# @return [Time]
|
307
319
|
#
|
308
|
-
# @!attribute [rw] deletion_protection_enabled
|
309
|
-
# Whether deletion protection is enabled in this cluster.
|
310
|
-
# @return [Boolean]
|
311
|
-
#
|
312
320
|
# @!attribute [rw] witness_region
|
313
321
|
# The witness Region of the cluster. Applicable only for multi-Region
|
314
322
|
# clusters.
|
@@ -318,6 +326,19 @@ module Aws::DSQL
|
|
318
326
|
# The ARNs of the clusters linked to the retrieved cluster.
|
319
327
|
# @return [Array<String>]
|
320
328
|
#
|
329
|
+
# @!attribute [rw] deletion_protection_enabled
|
330
|
+
# Whether deletion protection is enabled in this cluster.
|
331
|
+
# @return [Boolean]
|
332
|
+
#
|
333
|
+
# @!attribute [rw] multi_region_properties
|
334
|
+
# Returns the current multi-Region cluster configuration, including
|
335
|
+
# witness region and linked cluster information.
|
336
|
+
# @return [Types::MultiRegionProperties]
|
337
|
+
#
|
338
|
+
# @!attribute [rw] tags
|
339
|
+
# Map of tags.
|
340
|
+
# @return [Hash<String,String>]
|
341
|
+
#
|
321
342
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetClusterOutput AWS API Documentation
|
322
343
|
#
|
323
344
|
class GetClusterOutput < Struct.new(
|
@@ -325,9 +346,11 @@ module Aws::DSQL
|
|
325
346
|
:arn,
|
326
347
|
:status,
|
327
348
|
:creation_time,
|
328
|
-
:deletion_protection_enabled,
|
329
349
|
:witness_region,
|
330
|
-
:linked_cluster_arns
|
350
|
+
:linked_cluster_arns,
|
351
|
+
:deletion_protection_enabled,
|
352
|
+
:multi_region_properties,
|
353
|
+
:tags)
|
331
354
|
SENSITIVE = []
|
332
355
|
include Aws::Structure
|
333
356
|
end
|
@@ -459,17 +482,40 @@ module Aws::DSQL
|
|
459
482
|
include Aws::Structure
|
460
483
|
end
|
461
484
|
|
485
|
+
# Defines the structure for multi-Region cluster configurations,
|
486
|
+
# containing the witness region and linked cluster settings.
|
487
|
+
#
|
488
|
+
# @!attribute [rw] witness_region
|
489
|
+
# The that serves as the witness region for a multi-Region cluster.
|
490
|
+
# The witness region helps maintain cluster consistency and quorum.
|
491
|
+
# @return [String]
|
492
|
+
#
|
493
|
+
# @!attribute [rw] clusters
|
494
|
+
# The set of linked clusters that form the multi-Region cluster
|
495
|
+
# configuration. Each linked cluster represents a database instance in
|
496
|
+
# a different Region.
|
497
|
+
# @return [Array<String>]
|
498
|
+
#
|
499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/MultiRegionProperties AWS API Documentation
|
500
|
+
#
|
501
|
+
class MultiRegionProperties < Struct.new(
|
502
|
+
:witness_region,
|
503
|
+
:clusters)
|
504
|
+
SENSITIVE = []
|
505
|
+
include Aws::Structure
|
506
|
+
end
|
507
|
+
|
462
508
|
# The resource could not be found.
|
463
509
|
#
|
464
510
|
# @!attribute [rw] message
|
465
511
|
# @return [String]
|
466
512
|
#
|
467
513
|
# @!attribute [rw] resource_id
|
468
|
-
#
|
514
|
+
# The resource ID could not be found.
|
469
515
|
# @return [String]
|
470
516
|
#
|
471
517
|
# @!attribute [rw] resource_type
|
472
|
-
#
|
518
|
+
# The resource type could not be found.
|
473
519
|
# @return [String]
|
474
520
|
#
|
475
521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ResourceNotFoundException AWS API Documentation
|
@@ -485,23 +531,23 @@ module Aws::DSQL
|
|
485
531
|
# The service limit was exceeded.
|
486
532
|
#
|
487
533
|
# @!attribute [rw] message
|
488
|
-
#
|
534
|
+
# The service exception for exceeding a quota.
|
489
535
|
# @return [String]
|
490
536
|
#
|
491
537
|
# @!attribute [rw] resource_id
|
492
|
-
#
|
538
|
+
# The resource ID exceeds a quota.
|
493
539
|
# @return [String]
|
494
540
|
#
|
495
541
|
# @!attribute [rw] resource_type
|
496
|
-
#
|
542
|
+
# The resource type exceeds a quota.
|
497
543
|
# @return [String]
|
498
544
|
#
|
499
545
|
# @!attribute [rw] service_code
|
500
|
-
#
|
546
|
+
# The request exceeds a service quota.
|
501
547
|
# @return [String]
|
502
548
|
#
|
503
549
|
# @!attribute [rw] quota_code
|
504
|
-
#
|
550
|
+
# The service exceeds a quota.
|
505
551
|
# @return [String]
|
506
552
|
#
|
507
553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ServiceQuotaExceededException AWS API Documentation
|
@@ -536,19 +582,19 @@ module Aws::DSQL
|
|
536
582
|
# The request was denied due to request throttling.
|
537
583
|
#
|
538
584
|
# @!attribute [rw] message
|
539
|
-
#
|
585
|
+
# The message that the request was denied due to request throttling.
|
540
586
|
# @return [String]
|
541
587
|
#
|
542
588
|
# @!attribute [rw] service_code
|
543
|
-
#
|
589
|
+
# The request exceeds a service quota.
|
544
590
|
# @return [String]
|
545
591
|
#
|
546
592
|
# @!attribute [rw] quota_code
|
547
|
-
#
|
593
|
+
# The request exceeds a request rate quota.
|
548
594
|
# @return [String]
|
549
595
|
#
|
550
596
|
# @!attribute [rw] retry_after_seconds
|
551
|
-
#
|
597
|
+
# The request exceeds a request rate quota. Retry after seconds.
|
552
598
|
# @return [Integer]
|
553
599
|
#
|
554
600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ThrottlingException AWS API Documentation
|
@@ -602,17 +648,23 @@ module Aws::DSQL
|
|
602
648
|
# not need to pass this option.
|
603
649
|
# @return [String]
|
604
650
|
#
|
651
|
+
# @!attribute [rw] multi_region_properties
|
652
|
+
# The new multi-Region cluster configuration settings to be applied
|
653
|
+
# during an update operation.
|
654
|
+
# @return [Types::MultiRegionProperties]
|
655
|
+
#
|
605
656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateClusterInput AWS API Documentation
|
606
657
|
#
|
607
658
|
class UpdateClusterInput < Struct.new(
|
608
659
|
:identifier,
|
609
660
|
:deletion_protection_enabled,
|
610
|
-
:client_token
|
661
|
+
:client_token,
|
662
|
+
:multi_region_properties)
|
611
663
|
SENSITIVE = []
|
612
664
|
include Aws::Structure
|
613
665
|
end
|
614
666
|
|
615
|
-
#
|
667
|
+
# The details of the cluster after it has been updated.
|
616
668
|
#
|
617
669
|
# @!attribute [rw] identifier
|
618
670
|
# The ID of the cluster to update.
|
@@ -630,10 +682,6 @@ module Aws::DSQL
|
|
630
682
|
# The time of when the cluster was created.
|
631
683
|
# @return [Time]
|
632
684
|
#
|
633
|
-
# @!attribute [rw] deletion_protection_enabled
|
634
|
-
# Whether deletion protection is enabled for the updated cluster.
|
635
|
-
# @return [Boolean]
|
636
|
-
#
|
637
685
|
# @!attribute [rw] witness_region
|
638
686
|
# The Region that receives all data you write to linked clusters.
|
639
687
|
# @return [String]
|
@@ -643,6 +691,10 @@ module Aws::DSQL
|
|
643
691
|
# only for multi-Region clusters.
|
644
692
|
# @return [Array<String>]
|
645
693
|
#
|
694
|
+
# @!attribute [rw] deletion_protection_enabled
|
695
|
+
# Whether deletion protection is enabled for the updated cluster.
|
696
|
+
# @return [Boolean]
|
697
|
+
#
|
646
698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateClusterOutput AWS API Documentation
|
647
699
|
#
|
648
700
|
class UpdateClusterOutput < Struct.new(
|
@@ -650,9 +702,9 @@ module Aws::DSQL
|
|
650
702
|
:arn,
|
651
703
|
:status,
|
652
704
|
:creation_time,
|
653
|
-
:deletion_protection_enabled,
|
654
705
|
:witness_region,
|
655
|
-
:linked_cluster_arns
|
706
|
+
:linked_cluster_arns,
|
707
|
+
:deletion_protection_enabled)
|
656
708
|
SENSITIVE = []
|
657
709
|
include Aws::Structure
|
658
710
|
end
|
@@ -664,11 +716,11 @@ module Aws::DSQL
|
|
664
716
|
# @return [String]
|
665
717
|
#
|
666
718
|
# @!attribute [rw] reason
|
667
|
-
#
|
719
|
+
# The reason for the validation exception.
|
668
720
|
# @return [String]
|
669
721
|
#
|
670
722
|
# @!attribute [rw] field_list
|
671
|
-
#
|
723
|
+
# A list of fields that didn't validate.
|
672
724
|
# @return [Array<Types::ValidationExceptionField>]
|
673
725
|
#
|
674
726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/ValidationException AWS API Documentation
|
data/lib/aws-sdk-dsql.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -81,15 +81,20 @@ module Aws
|
|
81
81
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterOutput]
|
82
82
|
def identifier: () -> ::String
|
83
83
|
def arn: () -> ::String
|
84
|
-
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
84
|
+
def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
85
85
|
def creation_time: () -> ::Time
|
86
|
+
def multi_region_properties: () -> Types::MultiRegionProperties
|
86
87
|
def deletion_protection_enabled: () -> bool
|
87
88
|
end
|
88
89
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#create_cluster-instance_method
|
89
90
|
def create_cluster: (
|
90
91
|
?deletion_protection_enabled: bool,
|
91
92
|
?tags: Hash[::String, ::String],
|
92
|
-
?client_token: ::String
|
93
|
+
?client_token: ::String,
|
94
|
+
?multi_region_properties: {
|
95
|
+
witness_region: ::String?,
|
96
|
+
clusters: Array[::String]?
|
97
|
+
}
|
93
98
|
) -> _CreateClusterResponseSuccess
|
94
99
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
|
95
100
|
|
@@ -113,7 +118,7 @@ module Aws
|
|
113
118
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterOutput]
|
114
119
|
def identifier: () -> ::String
|
115
120
|
def arn: () -> ::String
|
116
|
-
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
121
|
+
def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
117
122
|
def creation_time: () -> ::Time
|
118
123
|
def deletion_protection_enabled: () -> bool
|
119
124
|
end
|
@@ -135,11 +140,13 @@ module Aws
|
|
135
140
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetClusterOutput]
|
136
141
|
def identifier: () -> ::String
|
137
142
|
def arn: () -> ::String
|
138
|
-
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
143
|
+
def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
139
144
|
def creation_time: () -> ::Time
|
140
|
-
def deletion_protection_enabled: () -> bool
|
141
145
|
def witness_region: () -> ::String
|
142
146
|
def linked_cluster_arns: () -> ::Array[::String]
|
147
|
+
def deletion_protection_enabled: () -> bool
|
148
|
+
def multi_region_properties: () -> Types::MultiRegionProperties
|
149
|
+
def tags: () -> ::Hash[::String, ::String]
|
143
150
|
end
|
144
151
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#get_cluster-instance_method
|
145
152
|
def get_cluster: (
|
@@ -197,17 +204,21 @@ module Aws
|
|
197
204
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterOutput]
|
198
205
|
def identifier: () -> ::String
|
199
206
|
def arn: () -> ::String
|
200
|
-
def status: () -> ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
207
|
+
def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
201
208
|
def creation_time: () -> ::Time
|
202
|
-
def deletion_protection_enabled: () -> bool
|
203
209
|
def witness_region: () -> ::String
|
204
210
|
def linked_cluster_arns: () -> ::Array[::String]
|
211
|
+
def deletion_protection_enabled: () -> bool
|
205
212
|
end
|
206
213
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#update_cluster-instance_method
|
207
214
|
def update_cluster: (
|
208
215
|
identifier: ::String,
|
209
216
|
?deletion_protection_enabled: bool,
|
210
|
-
?client_token: ::String
|
217
|
+
?client_token: ::String,
|
218
|
+
?multi_region_properties: {
|
219
|
+
witness_region: ::String?,
|
220
|
+
clusters: Array[::String]?
|
221
|
+
}
|
211
222
|
) -> _UpdateClusterResponseSuccess
|
212
223
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
|
213
224
|
|
data/sig/types.rbs
CHANGED
@@ -30,14 +30,16 @@ module Aws::DSQL
|
|
30
30
|
attr_accessor deletion_protection_enabled: bool
|
31
31
|
attr_accessor tags: ::Hash[::String, ::String]
|
32
32
|
attr_accessor client_token: ::String
|
33
|
+
attr_accessor multi_region_properties: Types::MultiRegionProperties
|
33
34
|
SENSITIVE: []
|
34
35
|
end
|
35
36
|
|
36
37
|
class CreateClusterOutput
|
37
38
|
attr_accessor identifier: ::String
|
38
39
|
attr_accessor arn: ::String
|
39
|
-
attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
40
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
40
41
|
attr_accessor creation_time: ::Time
|
42
|
+
attr_accessor multi_region_properties: Types::MultiRegionProperties
|
41
43
|
attr_accessor deletion_protection_enabled: bool
|
42
44
|
SENSITIVE: []
|
43
45
|
end
|
@@ -64,7 +66,7 @@ module Aws::DSQL
|
|
64
66
|
class DeleteClusterOutput
|
65
67
|
attr_accessor identifier: ::String
|
66
68
|
attr_accessor arn: ::String
|
67
|
-
attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
69
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
68
70
|
attr_accessor creation_time: ::Time
|
69
71
|
attr_accessor deletion_protection_enabled: bool
|
70
72
|
SENSITIVE: []
|
@@ -84,11 +86,13 @@ module Aws::DSQL
|
|
84
86
|
class GetClusterOutput
|
85
87
|
attr_accessor identifier: ::String
|
86
88
|
attr_accessor arn: ::String
|
87
|
-
attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
89
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
88
90
|
attr_accessor creation_time: ::Time
|
89
|
-
attr_accessor deletion_protection_enabled: bool
|
90
91
|
attr_accessor witness_region: ::String
|
91
92
|
attr_accessor linked_cluster_arns: ::Array[::String]
|
93
|
+
attr_accessor deletion_protection_enabled: bool
|
94
|
+
attr_accessor multi_region_properties: Types::MultiRegionProperties
|
95
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
92
96
|
SENSITIVE: []
|
93
97
|
end
|
94
98
|
|
@@ -136,6 +140,12 @@ module Aws::DSQL
|
|
136
140
|
SENSITIVE: []
|
137
141
|
end
|
138
142
|
|
143
|
+
class MultiRegionProperties
|
144
|
+
attr_accessor witness_region: ::String
|
145
|
+
attr_accessor clusters: ::Array[::String]
|
146
|
+
SENSITIVE: []
|
147
|
+
end
|
148
|
+
|
139
149
|
class ResourceNotFoundException
|
140
150
|
attr_accessor message: ::String
|
141
151
|
attr_accessor resource_id: ::String
|
@@ -176,17 +186,18 @@ module Aws::DSQL
|
|
176
186
|
attr_accessor identifier: ::String
|
177
187
|
attr_accessor deletion_protection_enabled: bool
|
178
188
|
attr_accessor client_token: ::String
|
189
|
+
attr_accessor multi_region_properties: Types::MultiRegionProperties
|
179
190
|
SENSITIVE: []
|
180
191
|
end
|
181
192
|
|
182
193
|
class UpdateClusterOutput
|
183
194
|
attr_accessor identifier: ::String
|
184
195
|
attr_accessor arn: ::String
|
185
|
-
attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED")
|
196
|
+
attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
186
197
|
attr_accessor creation_time: ::Time
|
187
|
-
attr_accessor deletion_protection_enabled: bool
|
188
198
|
attr_accessor witness_region: ::String
|
189
199
|
attr_accessor linked_cluster_arns: ::Array[::String]
|
200
|
+
attr_accessor deletion_protection_enabled: bool
|
190
201
|
SENSITIVE: []
|
191
202
|
end
|
192
203
|
|