aws-sdk-dsql 1.8.0 → 1.9.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 +89 -179
- data/lib/aws-sdk-dsql/client_api.rb +0 -64
- data/lib/aws-sdk-dsql/types.rb +2 -133
- data/lib/aws-sdk-dsql.rb +1 -1
- data/sig/client.rbs +0 -29
- data/sig/types.rbs +0 -31
- 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: 3ecc5074f03f4e0faedcc34bf17cb86ddd965c9e3bd2a708889069febcdf20c3
|
4
|
+
data.tar.gz: d5c32129b43da188c45c1db729dd314d7ce2f537627d130358edcd318af55a61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9944304dbdbd74326ee6542be90a0d80847c3bdbbabcf40e252e4341918342d64e1edb0854a9c3e1b7170f388d41b8adfc242fc87946003026c06eb1d634fe00
|
7
|
+
data.tar.gz: 890c6e9e99a0e15931bfc378914394141b1a7c116f02cf4a949d5cfede982159afbcb84dd14452aceb4e80f259d39946b16e33ce8e16f6387fcf38fac2560ff1
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
data/lib/aws-sdk-dsql/client.rb
CHANGED
@@ -469,63 +469,65 @@ module Aws::DSQL
|
|
469
469
|
|
470
470
|
# @!group API Operations
|
471
471
|
|
472
|
-
#
|
473
|
-
#
|
472
|
+
# The CreateCluster API allows you to create both single-region clusters
|
473
|
+
# and multi-Region clusters. With the addition of the
|
474
|
+
# *multiRegionProperties* parameter, you can create a cluster with
|
475
|
+
# witness Region support and establish peer relationships with clusters
|
476
|
+
# in other Regions during creation.
|
474
477
|
#
|
475
|
-
#
|
478
|
+
# <note markdown="1"> Creating multi-Region clusters requires additional IAM permissions
|
479
|
+
# beyond those needed for single-Region clusters, as detailed in the
|
480
|
+
# **Required permissions** section below.
|
481
|
+
#
|
482
|
+
# </note>
|
483
|
+
#
|
484
|
+
# **Required permissions**
|
476
485
|
#
|
477
486
|
# dsql:CreateCluster
|
478
487
|
#
|
479
|
-
# :
|
488
|
+
# : Required to create a cluster.
|
480
489
|
#
|
481
|
-
#
|
490
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
482
491
|
#
|
483
492
|
# dsql:TagResource
|
484
493
|
#
|
485
|
-
# :
|
494
|
+
# : Permission to add tags to a resource.
|
486
495
|
#
|
487
|
-
#
|
496
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
488
497
|
#
|
489
498
|
# dsql:PutMultiRegionProperties
|
490
499
|
#
|
491
|
-
# :
|
500
|
+
# : Permission to configure multi-region properties for a cluster.
|
492
501
|
#
|
493
|
-
#
|
502
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
494
503
|
#
|
495
504
|
# dsql:AddPeerCluster
|
496
505
|
#
|
497
|
-
# :
|
506
|
+
# : When specifying `multiRegionProperties.clusters`, permission to add
|
507
|
+
# peer clusters.
|
498
508
|
#
|
499
509
|
# Resources:
|
500
510
|
#
|
501
|
-
# * Local cluster: arn:aws:dsql
|
511
|
+
# * Local cluster: `arn:aws:dsql:region:account-id:cluster/*`
|
502
512
|
#
|
503
513
|
# * Each peer cluster: exact ARN of each specified peer cluster
|
504
514
|
#
|
505
|
-
# When specifying multiRegionProperties.witnessRegion.
|
506
|
-
#
|
507
515
|
# dsql:PutWitnessRegion
|
508
516
|
#
|
509
|
-
# :
|
517
|
+
# : When specifying `multiRegionProperties.witnessRegion`, permission to
|
518
|
+
# set a witness Region. This permission is checked both in the cluster
|
519
|
+
# Region and in the witness Region.
|
510
520
|
#
|
511
|
-
# Resources: arn:aws:dsql
|
521
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/*`
|
512
522
|
#
|
513
523
|
# Condition Keys: `dsql:WitnessRegion` (matching the specified witness
|
514
524
|
# region)
|
515
525
|
#
|
516
|
-
#
|
517
|
-
# witness Region.
|
518
|
-
#
|
519
|
-
# </note>
|
520
|
-
#
|
521
|
-
# **Important Notes for Multi-Region Operations**
|
522
|
-
#
|
523
|
-
# * The witness region specified in
|
526
|
+
# * The witness Region specified in
|
524
527
|
# `multiRegionProperties.witnessRegion` cannot be the same as the
|
525
528
|
# cluster's Region.
|
526
529
|
#
|
527
|
-
#
|
528
|
-
# checked for both adding and removing peers.
|
530
|
+
# ^
|
529
531
|
#
|
530
532
|
# @option params [Boolean] :deletion_protection_enabled
|
531
533
|
# If enabled, you can't delete your cluster. You must first disable
|
@@ -605,89 +607,6 @@ module Aws::DSQL
|
|
605
607
|
req.send_request(options)
|
606
608
|
end
|
607
609
|
|
608
|
-
# Creates multi-Region clusters in Amazon Aurora DSQL. Multi-Region
|
609
|
-
# clusters require a linked Region list, which is an array of the
|
610
|
-
# Regions in which you want to create linked clusters. Multi-Region
|
611
|
-
# clusters require a witness Region, which participates in quorum in
|
612
|
-
# failure scenarios.
|
613
|
-
#
|
614
|
-
# @option params [required, Array<String>] :linked_region_list
|
615
|
-
# An array of the Regions in which you want to create additional
|
616
|
-
# clusters.
|
617
|
-
#
|
618
|
-
# @option params [Hash<String,Types::LinkedClusterProperties>] :cluster_properties
|
619
|
-
# A mapping of properties to use when creating linked clusters.
|
620
|
-
#
|
621
|
-
# @option params [required, String] :witness_region
|
622
|
-
# The witness Region of multi-Region clusters.
|
623
|
-
#
|
624
|
-
# @option params [String] :client_token
|
625
|
-
# A unique, case-sensitive identifier that you provide to ensure the
|
626
|
-
# idempotency of the request. Idempotency ensures that an API request
|
627
|
-
# completes only once. With an idempotent request, if the original
|
628
|
-
# request completes successfully. The subsequent retries with the same
|
629
|
-
# client token return the result from the original successful request
|
630
|
-
# and they have no additional effect.
|
631
|
-
#
|
632
|
-
# If you don't specify a client token, the Amazon Web Services SDK
|
633
|
-
# automatically generates one.
|
634
|
-
#
|
635
|
-
# **A suitable default value is auto-generated.** You should normally
|
636
|
-
# not need to pass this option.**
|
637
|
-
#
|
638
|
-
# @return [Types::CreateMultiRegionClustersOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
639
|
-
#
|
640
|
-
# * {Types::CreateMultiRegionClustersOutput#linked_cluster_arns #linked_cluster_arns} => Array<String>
|
641
|
-
#
|
642
|
-
#
|
643
|
-
# @example Example: Create Multi Region Clusters
|
644
|
-
#
|
645
|
-
# resp = client.create_multi_region_clusters({
|
646
|
-
# linked_region_list: [
|
647
|
-
# "us-east-1",
|
648
|
-
# "us-east-2",
|
649
|
-
# ],
|
650
|
-
# witness_region: "us-west-2",
|
651
|
-
# })
|
652
|
-
#
|
653
|
-
# resp.to_h outputs the following:
|
654
|
-
# {
|
655
|
-
# linked_cluster_arns: [
|
656
|
-
# "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
|
657
|
-
# "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321",
|
658
|
-
# ],
|
659
|
-
# }
|
660
|
-
#
|
661
|
-
# @example Request syntax with placeholder values
|
662
|
-
#
|
663
|
-
# resp = client.create_multi_region_clusters({
|
664
|
-
# linked_region_list: ["Region"], # required
|
665
|
-
# cluster_properties: {
|
666
|
-
# "Region" => {
|
667
|
-
# deletion_protection_enabled: false,
|
668
|
-
# tags: {
|
669
|
-
# "TagKey" => "TagValue",
|
670
|
-
# },
|
671
|
-
# },
|
672
|
-
# },
|
673
|
-
# witness_region: "Region", # required
|
674
|
-
# client_token: "ClientToken",
|
675
|
-
# })
|
676
|
-
#
|
677
|
-
# @example Response structure
|
678
|
-
#
|
679
|
-
# resp.linked_cluster_arns #=> Array
|
680
|
-
# resp.linked_cluster_arns[0] #=> String
|
681
|
-
#
|
682
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateMultiRegionClusters AWS API Documentation
|
683
|
-
#
|
684
|
-
# @overload create_multi_region_clusters(params = {})
|
685
|
-
# @param [Hash] params ({})
|
686
|
-
def create_multi_region_clusters(params = {}, options = {})
|
687
|
-
req = build_request(:create_multi_region_clusters, params)
|
688
|
-
req.send_request(options)
|
689
|
-
end
|
690
|
-
|
691
610
|
# Deletes a cluster in Amazon Aurora DSQL.
|
692
611
|
#
|
693
612
|
# @option params [required, String] :identifier
|
@@ -713,7 +632,6 @@ module Aws::DSQL
|
|
713
632
|
# * {Types::DeleteClusterOutput#arn #arn} => String
|
714
633
|
# * {Types::DeleteClusterOutput#status #status} => String
|
715
634
|
# * {Types::DeleteClusterOutput#creation_time #creation_time} => Time
|
716
|
-
# * {Types::DeleteClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
717
635
|
#
|
718
636
|
#
|
719
637
|
# @example Example: Delete Cluster
|
@@ -735,7 +653,6 @@ module Aws::DSQL
|
|
735
653
|
# resp.arn #=> String
|
736
654
|
# resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
|
737
655
|
# resp.creation_time #=> Time
|
738
|
-
# resp.deletion_protection_enabled #=> Boolean
|
739
656
|
#
|
740
657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteCluster AWS API Documentation
|
741
658
|
#
|
@@ -746,54 +663,6 @@ module Aws::DSQL
|
|
746
663
|
req.send_request(options)
|
747
664
|
end
|
748
665
|
|
749
|
-
# Deletes a multi-Region cluster in Amazon Aurora DSQL.
|
750
|
-
#
|
751
|
-
# @option params [required, Array<String>] :linked_cluster_arns
|
752
|
-
# The ARNs of the clusters linked to the cluster you want to delete.
|
753
|
-
# also deletes these clusters as part of the operation.
|
754
|
-
#
|
755
|
-
# @option params [String] :client_token
|
756
|
-
# A unique, case-sensitive identifier that you provide to ensure the
|
757
|
-
# idempotency of the request. Idempotency ensures that an API request
|
758
|
-
# completes only once. With an idempotent request, if the original
|
759
|
-
# request completes successfully. The subsequent retries with the same
|
760
|
-
# client token return the result from the original successful request
|
761
|
-
# and they have no additional effect.
|
762
|
-
#
|
763
|
-
# If you don't specify a client token, the Amazon Web Services SDK
|
764
|
-
# automatically generates one.
|
765
|
-
#
|
766
|
-
# **A suitable default value is auto-generated.** You should normally
|
767
|
-
# not need to pass this option.**
|
768
|
-
#
|
769
|
-
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
770
|
-
#
|
771
|
-
#
|
772
|
-
# @example Example: Delete Multi Region Clusters
|
773
|
-
#
|
774
|
-
# resp = client.delete_multi_region_clusters({
|
775
|
-
# linked_cluster_arns: [
|
776
|
-
# "arn:aws:dsql:us-east-1:111122223333:cluster/abcdefghijklmnopqrstu12345",
|
777
|
-
# "arn:aws:dsql:us-east-2:111122223333:cluster/klmnopqrstuvwxyzabcde54321",
|
778
|
-
# ],
|
779
|
-
# })
|
780
|
-
#
|
781
|
-
# @example Request syntax with placeholder values
|
782
|
-
#
|
783
|
-
# resp = client.delete_multi_region_clusters({
|
784
|
-
# linked_cluster_arns: ["ClusterArn"], # required
|
785
|
-
# client_token: "ClientToken",
|
786
|
-
# })
|
787
|
-
#
|
788
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteMultiRegionClusters AWS API Documentation
|
789
|
-
#
|
790
|
-
# @overload delete_multi_region_clusters(params = {})
|
791
|
-
# @param [Hash] params ({})
|
792
|
-
def delete_multi_region_clusters(params = {}, options = {})
|
793
|
-
req = build_request(:delete_multi_region_clusters, params)
|
794
|
-
req.send_request(options)
|
795
|
-
end
|
796
|
-
|
797
666
|
# Retrieves information about a cluster.
|
798
667
|
#
|
799
668
|
# @option params [required, String] :identifier
|
@@ -805,8 +674,6 @@ module Aws::DSQL
|
|
805
674
|
# * {Types::GetClusterOutput#arn #arn} => String
|
806
675
|
# * {Types::GetClusterOutput#status #status} => String
|
807
676
|
# * {Types::GetClusterOutput#creation_time #creation_time} => Time
|
808
|
-
# * {Types::GetClusterOutput#witness_region #witness_region} => String
|
809
|
-
# * {Types::GetClusterOutput#linked_cluster_arns #linked_cluster_arns} => Array<String>
|
810
677
|
# * {Types::GetClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
811
678
|
# * {Types::GetClusterOutput#multi_region_properties #multi_region_properties} => Types::MultiRegionProperties
|
812
679
|
# * {Types::GetClusterOutput#tags #tags} => Hash<String,String>
|
@@ -830,9 +697,6 @@ module Aws::DSQL
|
|
830
697
|
# resp.arn #=> String
|
831
698
|
# resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
|
832
699
|
# resp.creation_time #=> Time
|
833
|
-
# resp.witness_region #=> String
|
834
|
-
# resp.linked_cluster_arns #=> Array
|
835
|
-
# resp.linked_cluster_arns[0] #=> String
|
836
700
|
# resp.deletion_protection_enabled #=> Boolean
|
837
701
|
# resp.multi_region_properties.witness_region #=> String
|
838
702
|
# resp.multi_region_properties.clusters #=> Array
|
@@ -1049,19 +913,72 @@ module Aws::DSQL
|
|
1049
913
|
req.send_request(options)
|
1050
914
|
end
|
1051
915
|
|
1052
|
-
#
|
916
|
+
# The *UpdateCluster* API allows you to modify both single-Region and
|
917
|
+
# multi-Region cluster configurations. With the *multiRegionProperties*
|
918
|
+
# parameter, you can add or modify witness Region support and manage
|
919
|
+
# peer relationships with clusters in other Regions.
|
1053
920
|
#
|
1054
|
-
#
|
921
|
+
# <note markdown="1"> Note that updating multi-region clusters requires additional IAM
|
922
|
+
# permissions beyond those needed for standard cluster updates, as
|
923
|
+
# detailed in the Permissions section.
|
1055
924
|
#
|
1056
|
-
#
|
1057
|
-
# operations.
|
925
|
+
# </note>
|
1058
926
|
#
|
1059
|
-
#
|
1060
|
-
# simplify permission management during updates.
|
927
|
+
# **Required permissions**
|
1061
928
|
#
|
1062
|
-
#
|
929
|
+
# dsql:UpdateCluster
|
1063
930
|
#
|
1064
|
-
#
|
931
|
+
# : Permission to update a DSQL cluster.
|
932
|
+
#
|
933
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
|
934
|
+
# ^
|
935
|
+
#
|
936
|
+
# dsql:PutMultiRegionProperties
|
937
|
+
#
|
938
|
+
# : Permission to configure multi-Region properties for a cluster.
|
939
|
+
#
|
940
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
|
941
|
+
# ^
|
942
|
+
#
|
943
|
+
# dsql:GetCluster
|
944
|
+
#
|
945
|
+
# : Permission to retrieve cluster information.
|
946
|
+
#
|
947
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
|
948
|
+
#
|
949
|
+
# dsql:AddPeerCluster
|
950
|
+
#
|
951
|
+
# : Permission to add peer clusters.
|
952
|
+
#
|
953
|
+
# Resources:
|
954
|
+
#
|
955
|
+
# * Local cluster: `arn:aws:dsql:region:account-id:cluster/cluster-id
|
956
|
+
# `
|
957
|
+
#
|
958
|
+
# * Each peer cluster: exact ARN of each specified peer cluster
|
959
|
+
#
|
960
|
+
# dsql:RemovePeerCluster
|
961
|
+
#
|
962
|
+
# : Permission to remove peer clusters. The *dsql:RemovePeerCluster*
|
963
|
+
# permission uses a wildcard ARN pattern to simplify permission
|
964
|
+
# management during updates.
|
965
|
+
#
|
966
|
+
# Resources: `arn:aws:dsql:*:account-id:cluster/*`
|
967
|
+
# ^
|
968
|
+
#
|
969
|
+
# dsql:PutWitnessRegion
|
970
|
+
#
|
971
|
+
# : Permission to set a witness Region.
|
972
|
+
#
|
973
|
+
# Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
|
974
|
+
#
|
975
|
+
# Condition Keys: dsql:WitnessRegion (matching the specified witness
|
976
|
+
# Region)
|
977
|
+
#
|
978
|
+
# **This permission is checked both in the cluster Region and in the
|
979
|
+
# witness Region.**
|
980
|
+
#
|
981
|
+
# * The witness region specified in
|
1065
982
|
# `multiRegionProperties.witnessRegion` cannot be the same as the
|
1066
983
|
# cluster's Region.
|
1067
984
|
#
|
@@ -1101,9 +1018,6 @@ module Aws::DSQL
|
|
1101
1018
|
# * {Types::UpdateClusterOutput#arn #arn} => String
|
1102
1019
|
# * {Types::UpdateClusterOutput#status #status} => String
|
1103
1020
|
# * {Types::UpdateClusterOutput#creation_time #creation_time} => Time
|
1104
|
-
# * {Types::UpdateClusterOutput#witness_region #witness_region} => String
|
1105
|
-
# * {Types::UpdateClusterOutput#linked_cluster_arns #linked_cluster_arns} => Array<String>
|
1106
|
-
# * {Types::UpdateClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
|
1107
1021
|
#
|
1108
1022
|
#
|
1109
1023
|
# @example Example: Update Cluster
|
@@ -1131,10 +1045,6 @@ module Aws::DSQL
|
|
1131
1045
|
# resp.arn #=> String
|
1132
1046
|
# resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
|
1133
1047
|
# resp.creation_time #=> Time
|
1134
|
-
# resp.witness_region #=> String
|
1135
|
-
# resp.linked_cluster_arns #=> Array
|
1136
|
-
# resp.linked_cluster_arns[0] #=> String
|
1137
|
-
# resp.deletion_protection_enabled #=> Boolean
|
1138
1048
|
#
|
1139
1049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateCluster AWS API Documentation
|
1140
1050
|
#
|
@@ -1163,7 +1073,7 @@ module Aws::DSQL
|
|
1163
1073
|
tracer: tracer
|
1164
1074
|
)
|
1165
1075
|
context[:gem_name] = 'aws-sdk-dsql'
|
1166
|
-
context[:gem_version] = '1.
|
1076
|
+
context[:gem_version] = '1.9.0'
|
1167
1077
|
Seahorse::Client::Request.new(handlers, context)
|
1168
1078
|
end
|
1169
1079
|
|
@@ -22,17 +22,13 @@ module Aws::DSQL
|
|
22
22
|
ClusterCreationTime = Shapes::TimestampShape.new(name: 'ClusterCreationTime')
|
23
23
|
ClusterId = Shapes::StringShape.new(name: 'ClusterId')
|
24
24
|
ClusterList = Shapes::ListShape.new(name: 'ClusterList')
|
25
|
-
ClusterPropertyMap = Shapes::MapShape.new(name: 'ClusterPropertyMap')
|
26
25
|
ClusterStatus = Shapes::StringShape.new(name: 'ClusterStatus')
|
27
26
|
ClusterSummary = Shapes::StructureShape.new(name: 'ClusterSummary')
|
28
27
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
29
28
|
CreateClusterInput = Shapes::StructureShape.new(name: 'CreateClusterInput')
|
30
29
|
CreateClusterOutput = Shapes::StructureShape.new(name: 'CreateClusterOutput')
|
31
|
-
CreateMultiRegionClustersInput = Shapes::StructureShape.new(name: 'CreateMultiRegionClustersInput')
|
32
|
-
CreateMultiRegionClustersOutput = Shapes::StructureShape.new(name: 'CreateMultiRegionClustersOutput')
|
33
30
|
DeleteClusterInput = Shapes::StructureShape.new(name: 'DeleteClusterInput')
|
34
31
|
DeleteClusterOutput = Shapes::StructureShape.new(name: 'DeleteClusterOutput')
|
35
|
-
DeleteMultiRegionClustersInput = Shapes::StructureShape.new(name: 'DeleteMultiRegionClustersInput')
|
36
32
|
DeletionProtectionEnabled = Shapes::BooleanShape.new(name: 'DeletionProtectionEnabled')
|
37
33
|
GetClusterInput = Shapes::StructureShape.new(name: 'GetClusterInput')
|
38
34
|
GetClusterOutput = Shapes::StructureShape.new(name: 'GetClusterOutput')
|
@@ -40,7 +36,6 @@ module Aws::DSQL
|
|
40
36
|
GetVpcEndpointServiceNameOutput = Shapes::StructureShape.new(name: 'GetVpcEndpointServiceNameOutput')
|
41
37
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
42
38
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
43
|
-
LinkedClusterProperties = Shapes::StructureShape.new(name: 'LinkedClusterProperties')
|
44
39
|
ListClustersInput = Shapes::StructureShape.new(name: 'ListClustersInput')
|
45
40
|
ListClustersOutput = Shapes::StructureShape.new(name: 'ListClustersOutput')
|
46
41
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
@@ -49,7 +44,6 @@ module Aws::DSQL
|
|
49
44
|
MultiRegionProperties = Shapes::StructureShape.new(name: 'MultiRegionProperties')
|
50
45
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
51
46
|
Region = Shapes::StringShape.new(name: 'Region')
|
52
|
-
RegionList = Shapes::ListShape.new(name: 'RegionList')
|
53
47
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
54
48
|
ServiceName = Shapes::StringShape.new(name: 'ServiceName')
|
55
49
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
@@ -75,9 +69,6 @@ module Aws::DSQL
|
|
75
69
|
|
76
70
|
ClusterList.member = Shapes::ShapeRef.new(shape: ClusterSummary)
|
77
71
|
|
78
|
-
ClusterPropertyMap.key = Shapes::ShapeRef.new(shape: Region)
|
79
|
-
ClusterPropertyMap.value = Shapes::ShapeRef.new(shape: LinkedClusterProperties, deprecated: true)
|
80
|
-
|
81
72
|
ClusterSummary.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "identifier"))
|
82
73
|
ClusterSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
83
74
|
ClusterSummary.struct_class = Types::ClusterSummary
|
@@ -101,15 +92,6 @@ module Aws::DSQL
|
|
101
92
|
CreateClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
|
102
93
|
CreateClusterOutput.struct_class = Types::CreateClusterOutput
|
103
94
|
|
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"))
|
106
|
-
CreateMultiRegionClustersInput.add_member(:witness_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "witnessRegion"))
|
107
|
-
CreateMultiRegionClustersInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
108
|
-
CreateMultiRegionClustersInput.struct_class = Types::CreateMultiRegionClustersInput
|
109
|
-
|
110
|
-
CreateMultiRegionClustersOutput.add_member(:linked_cluster_arns, Shapes::ShapeRef.new(shape: ClusterArnList, required: true, location_name: "linkedClusterArns"))
|
111
|
-
CreateMultiRegionClustersOutput.struct_class = Types::CreateMultiRegionClustersOutput
|
112
|
-
|
113
95
|
DeleteClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
|
114
96
|
DeleteClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "client-token", metadata: {"idempotencyToken" => true}))
|
115
97
|
DeleteClusterInput.struct_class = Types::DeleteClusterInput
|
@@ -118,13 +100,8 @@ module Aws::DSQL
|
|
118
100
|
DeleteClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
119
101
|
DeleteClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
|
120
102
|
DeleteClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
|
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"}))
|
122
103
|
DeleteClusterOutput.struct_class = Types::DeleteClusterOutput
|
123
104
|
|
124
|
-
DeleteMultiRegionClustersInput.add_member(:linked_cluster_arns, Shapes::ShapeRef.new(shape: ClusterArnList, required: true, location: "querystring", location_name: "linked-cluster-arns"))
|
125
|
-
DeleteMultiRegionClustersInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "client-token", metadata: {"idempotencyToken" => true}))
|
126
|
-
DeleteMultiRegionClustersInput.struct_class = Types::DeleteMultiRegionClustersInput
|
127
|
-
|
128
105
|
GetClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
|
129
106
|
GetClusterInput.struct_class = Types::GetClusterInput
|
130
107
|
|
@@ -132,8 +109,6 @@ module Aws::DSQL
|
|
132
109
|
GetClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
133
110
|
GetClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
|
134
111
|
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"}))
|
137
112
|
GetClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
|
138
113
|
GetClusterOutput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
|
139
114
|
GetClusterOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
@@ -149,10 +124,6 @@ module Aws::DSQL
|
|
149
124
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
150
125
|
InternalServerException.struct_class = Types::InternalServerException
|
151
126
|
|
152
|
-
LinkedClusterProperties.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
|
153
|
-
LinkedClusterProperties.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
154
|
-
LinkedClusterProperties.struct_class = Types::LinkedClusterProperties
|
155
|
-
|
156
127
|
ListClustersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
|
157
128
|
ListClustersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
|
158
129
|
ListClustersInput.struct_class = Types::ListClustersInput
|
@@ -171,8 +142,6 @@ module Aws::DSQL
|
|
171
142
|
MultiRegionProperties.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterArnList, location_name: "clusters"))
|
172
143
|
MultiRegionProperties.struct_class = Types::MultiRegionProperties
|
173
144
|
|
174
|
-
RegionList.member = Shapes::ShapeRef.new(shape: Region)
|
175
|
-
|
176
145
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
177
146
|
ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
178
147
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
@@ -214,9 +183,6 @@ module Aws::DSQL
|
|
214
183
|
UpdateClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
|
215
184
|
UpdateClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
|
216
185
|
UpdateClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
|
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"}))
|
220
186
|
UpdateClusterOutput.struct_class = Types::UpdateClusterOutput
|
221
187
|
|
222
188
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -263,21 +229,6 @@ module Aws::DSQL
|
|
263
229
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
264
230
|
end)
|
265
231
|
|
266
|
-
api.add_operation(:create_multi_region_clusters, Seahorse::Model::Operation.new.tap do |o|
|
267
|
-
o.name = "CreateMultiRegionClusters"
|
268
|
-
o.http_method = "POST"
|
269
|
-
o.http_request_uri = "/multi-region-clusters"
|
270
|
-
o.deprecated = true
|
271
|
-
o.input = Shapes::ShapeRef.new(shape: CreateMultiRegionClustersInput)
|
272
|
-
o.output = Shapes::ShapeRef.new(shape: CreateMultiRegionClustersOutput)
|
273
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
274
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
275
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
276
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
277
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
278
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
279
|
-
end)
|
280
|
-
|
281
232
|
api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
|
282
233
|
o.name = "DeleteCluster"
|
283
234
|
o.http_method = "DELETE"
|
@@ -292,21 +243,6 @@ module Aws::DSQL
|
|
292
243
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
293
244
|
end)
|
294
245
|
|
295
|
-
api.add_operation(:delete_multi_region_clusters, Seahorse::Model::Operation.new.tap do |o|
|
296
|
-
o.name = "DeleteMultiRegionClusters"
|
297
|
-
o.http_method = "DELETE"
|
298
|
-
o.http_request_uri = "/multi-region-clusters"
|
299
|
-
o.deprecated = true
|
300
|
-
o.input = Shapes::ShapeRef.new(shape: DeleteMultiRegionClustersInput)
|
301
|
-
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
302
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
303
|
-
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
304
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
305
|
-
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
306
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
307
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
308
|
-
end)
|
309
|
-
|
310
246
|
api.add_operation(:get_cluster, Seahorse::Model::Operation.new.tap do |o|
|
311
247
|
o.name = "GetCluster"
|
312
248
|
o.http_method = "GET"
|
data/lib/aws-sdk-dsql/types.rb
CHANGED
@@ -145,57 +145,6 @@ module Aws::DSQL
|
|
145
145
|
include Aws::Structure
|
146
146
|
end
|
147
147
|
|
148
|
-
# @!attribute [rw] linked_region_list
|
149
|
-
# An array of the Regions in which you want to create additional
|
150
|
-
# clusters.
|
151
|
-
# @return [Array<String>]
|
152
|
-
#
|
153
|
-
# @!attribute [rw] cluster_properties
|
154
|
-
# A mapping of properties to use when creating linked clusters.
|
155
|
-
# @return [Hash<String,Types::LinkedClusterProperties>]
|
156
|
-
#
|
157
|
-
# @!attribute [rw] witness_region
|
158
|
-
# The witness Region of multi-Region clusters.
|
159
|
-
# @return [String]
|
160
|
-
#
|
161
|
-
# @!attribute [rw] client_token
|
162
|
-
# A unique, case-sensitive identifier that you provide to ensure the
|
163
|
-
# idempotency of the request. Idempotency ensures that an API request
|
164
|
-
# completes only once. With an idempotent request, if the original
|
165
|
-
# request completes successfully. The subsequent retries with the same
|
166
|
-
# client token return the result from the original successful request
|
167
|
-
# and they have no additional effect.
|
168
|
-
#
|
169
|
-
# If you don't specify a client token, the Amazon Web Services SDK
|
170
|
-
# automatically generates one.
|
171
|
-
#
|
172
|
-
# **A suitable default value is auto-generated.** You should normally
|
173
|
-
# not need to pass this option.
|
174
|
-
# @return [String]
|
175
|
-
#
|
176
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateMultiRegionClustersInput AWS API Documentation
|
177
|
-
#
|
178
|
-
class CreateMultiRegionClustersInput < Struct.new(
|
179
|
-
:linked_region_list,
|
180
|
-
:cluster_properties,
|
181
|
-
:witness_region,
|
182
|
-
:client_token)
|
183
|
-
SENSITIVE = []
|
184
|
-
include Aws::Structure
|
185
|
-
end
|
186
|
-
|
187
|
-
# @!attribute [rw] linked_cluster_arns
|
188
|
-
# An array that contains the ARNs of all linked clusters.
|
189
|
-
# @return [Array<String>]
|
190
|
-
#
|
191
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateMultiRegionClustersOutput AWS API Documentation
|
192
|
-
#
|
193
|
-
class CreateMultiRegionClustersOutput < Struct.new(
|
194
|
-
:linked_cluster_arns)
|
195
|
-
SENSITIVE = []
|
196
|
-
include Aws::Structure
|
197
|
-
end
|
198
|
-
|
199
148
|
# @!attribute [rw] identifier
|
200
149
|
# The ID of the cluster to delete.
|
201
150
|
# @return [String]
|
@@ -242,47 +191,13 @@ module Aws::DSQL
|
|
242
191
|
# The time of when the cluster was created.
|
243
192
|
# @return [Time]
|
244
193
|
#
|
245
|
-
# @!attribute [rw] deletion_protection_enabled
|
246
|
-
# Specifies whether deletion protection was enabled on the cluster.
|
247
|
-
# @return [Boolean]
|
248
|
-
#
|
249
194
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteClusterOutput AWS API Documentation
|
250
195
|
#
|
251
196
|
class DeleteClusterOutput < Struct.new(
|
252
197
|
:identifier,
|
253
198
|
:arn,
|
254
199
|
:status,
|
255
|
-
:creation_time
|
256
|
-
:deletion_protection_enabled)
|
257
|
-
SENSITIVE = []
|
258
|
-
include Aws::Structure
|
259
|
-
end
|
260
|
-
|
261
|
-
# @!attribute [rw] linked_cluster_arns
|
262
|
-
# The ARNs of the clusters linked to the cluster you want to delete.
|
263
|
-
# also deletes these clusters as part of the operation.
|
264
|
-
# @return [Array<String>]
|
265
|
-
#
|
266
|
-
# @!attribute [rw] client_token
|
267
|
-
# A unique, case-sensitive identifier that you provide to ensure the
|
268
|
-
# idempotency of the request. Idempotency ensures that an API request
|
269
|
-
# completes only once. With an idempotent request, if the original
|
270
|
-
# request completes successfully. The subsequent retries with the same
|
271
|
-
# client token return the result from the original successful request
|
272
|
-
# and they have no additional effect.
|
273
|
-
#
|
274
|
-
# If you don't specify a client token, the Amazon Web Services SDK
|
275
|
-
# automatically generates one.
|
276
|
-
#
|
277
|
-
# **A suitable default value is auto-generated.** You should normally
|
278
|
-
# not need to pass this option.
|
279
|
-
# @return [String]
|
280
|
-
#
|
281
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteMultiRegionClustersInput AWS API Documentation
|
282
|
-
#
|
283
|
-
class DeleteMultiRegionClustersInput < Struct.new(
|
284
|
-
:linked_cluster_arns,
|
285
|
-
:client_token)
|
200
|
+
:creation_time)
|
286
201
|
SENSITIVE = []
|
287
202
|
include Aws::Structure
|
288
203
|
end
|
@@ -317,15 +232,6 @@ module Aws::DSQL
|
|
317
232
|
# The time of when the cluster was created.
|
318
233
|
# @return [Time]
|
319
234
|
#
|
320
|
-
# @!attribute [rw] witness_region
|
321
|
-
# The witness Region of the cluster. Applicable only for multi-Region
|
322
|
-
# clusters.
|
323
|
-
# @return [String]
|
324
|
-
#
|
325
|
-
# @!attribute [rw] linked_cluster_arns
|
326
|
-
# The ARNs of the clusters linked to the retrieved cluster.
|
327
|
-
# @return [Array<String>]
|
328
|
-
#
|
329
235
|
# @!attribute [rw] deletion_protection_enabled
|
330
236
|
# Whether deletion protection is enabled in this cluster.
|
331
237
|
# @return [Boolean]
|
@@ -346,8 +252,6 @@ module Aws::DSQL
|
|
346
252
|
:arn,
|
347
253
|
:status,
|
348
254
|
:creation_time,
|
349
|
-
:witness_region,
|
350
|
-
:linked_cluster_arns,
|
351
255
|
:deletion_protection_enabled,
|
352
256
|
:multi_region_properties,
|
353
257
|
:tags)
|
@@ -398,25 +302,6 @@ module Aws::DSQL
|
|
398
302
|
include Aws::Structure
|
399
303
|
end
|
400
304
|
|
401
|
-
# Properties of linked clusters.
|
402
|
-
#
|
403
|
-
# @!attribute [rw] deletion_protection_enabled
|
404
|
-
# Whether deletion protection is enabled.
|
405
|
-
# @return [Boolean]
|
406
|
-
#
|
407
|
-
# @!attribute [rw] tags
|
408
|
-
# A map of key and value pairs the linked cluster is tagged with.
|
409
|
-
# @return [Hash<String,String>]
|
410
|
-
#
|
411
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/LinkedClusterProperties AWS API Documentation
|
412
|
-
#
|
413
|
-
class LinkedClusterProperties < Struct.new(
|
414
|
-
:deletion_protection_enabled,
|
415
|
-
:tags)
|
416
|
-
SENSITIVE = []
|
417
|
-
include Aws::Structure
|
418
|
-
end
|
419
|
-
|
420
305
|
# @!attribute [rw] max_results
|
421
306
|
# An optional parameter that specifies the maximum number of results
|
422
307
|
# to return. You can use nextToken to display the next page of
|
@@ -682,29 +567,13 @@ module Aws::DSQL
|
|
682
567
|
# The time of when the cluster was created.
|
683
568
|
# @return [Time]
|
684
569
|
#
|
685
|
-
# @!attribute [rw] witness_region
|
686
|
-
# The Region that receives all data you write to linked clusters.
|
687
|
-
# @return [String]
|
688
|
-
#
|
689
|
-
# @!attribute [rw] linked_cluster_arns
|
690
|
-
# The ARNs of the clusters linked to the updated cluster. Applicable
|
691
|
-
# only for multi-Region clusters.
|
692
|
-
# @return [Array<String>]
|
693
|
-
#
|
694
|
-
# @!attribute [rw] deletion_protection_enabled
|
695
|
-
# Whether deletion protection is enabled for the updated cluster.
|
696
|
-
# @return [Boolean]
|
697
|
-
#
|
698
570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateClusterOutput AWS API Documentation
|
699
571
|
#
|
700
572
|
class UpdateClusterOutput < Struct.new(
|
701
573
|
:identifier,
|
702
574
|
:arn,
|
703
575
|
:status,
|
704
|
-
:creation_time
|
705
|
-
:witness_region,
|
706
|
-
:linked_cluster_arns,
|
707
|
-
:deletion_protection_enabled)
|
576
|
+
:creation_time)
|
708
577
|
SENSITIVE = []
|
709
578
|
include Aws::Structure
|
710
579
|
end
|
data/lib/aws-sdk-dsql.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -98,29 +98,12 @@ module Aws
|
|
98
98
|
) -> _CreateClusterResponseSuccess
|
99
99
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
|
100
100
|
|
101
|
-
interface _CreateMultiRegionClustersResponseSuccess
|
102
|
-
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultiRegionClustersOutput]
|
103
|
-
def linked_cluster_arns: () -> ::Array[::String]
|
104
|
-
end
|
105
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#create_multi_region_clusters-instance_method
|
106
|
-
def create_multi_region_clusters: (
|
107
|
-
linked_region_list: Array[::String],
|
108
|
-
?cluster_properties: Hash[::String, {
|
109
|
-
deletion_protection_enabled: bool?,
|
110
|
-
tags: Hash[::String, ::String]?
|
111
|
-
}],
|
112
|
-
witness_region: ::String,
|
113
|
-
?client_token: ::String
|
114
|
-
) -> _CreateMultiRegionClustersResponseSuccess
|
115
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMultiRegionClustersResponseSuccess
|
116
|
-
|
117
101
|
interface _DeleteClusterResponseSuccess
|
118
102
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterOutput]
|
119
103
|
def identifier: () -> ::String
|
120
104
|
def arn: () -> ::String
|
121
105
|
def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
122
106
|
def creation_time: () -> ::Time
|
123
|
-
def deletion_protection_enabled: () -> bool
|
124
107
|
end
|
125
108
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#delete_cluster-instance_method
|
126
109
|
def delete_cluster: (
|
@@ -129,21 +112,12 @@ module Aws
|
|
129
112
|
) -> _DeleteClusterResponseSuccess
|
130
113
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
|
131
114
|
|
132
|
-
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#delete_multi_region_clusters-instance_method
|
133
|
-
def delete_multi_region_clusters: (
|
134
|
-
linked_cluster_arns: Array[::String],
|
135
|
-
?client_token: ::String
|
136
|
-
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
137
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
138
|
-
|
139
115
|
interface _GetClusterResponseSuccess
|
140
116
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetClusterOutput]
|
141
117
|
def identifier: () -> ::String
|
142
118
|
def arn: () -> ::String
|
143
119
|
def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
144
120
|
def creation_time: () -> ::Time
|
145
|
-
def witness_region: () -> ::String
|
146
|
-
def linked_cluster_arns: () -> ::Array[::String]
|
147
121
|
def deletion_protection_enabled: () -> bool
|
148
122
|
def multi_region_properties: () -> Types::MultiRegionProperties
|
149
123
|
def tags: () -> ::Hash[::String, ::String]
|
@@ -206,9 +180,6 @@ module Aws
|
|
206
180
|
def arn: () -> ::String
|
207
181
|
def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
208
182
|
def creation_time: () -> ::Time
|
209
|
-
def witness_region: () -> ::String
|
210
|
-
def linked_cluster_arns: () -> ::Array[::String]
|
211
|
-
def deletion_protection_enabled: () -> bool
|
212
183
|
end
|
213
184
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#update_cluster-instance_method
|
214
185
|
def update_cluster: (
|
data/sig/types.rbs
CHANGED
@@ -44,19 +44,6 @@ module Aws::DSQL
|
|
44
44
|
SENSITIVE: []
|
45
45
|
end
|
46
46
|
|
47
|
-
class CreateMultiRegionClustersInput
|
48
|
-
attr_accessor linked_region_list: ::Array[::String]
|
49
|
-
attr_accessor cluster_properties: ::Hash[::String, Types::LinkedClusterProperties]
|
50
|
-
attr_accessor witness_region: ::String
|
51
|
-
attr_accessor client_token: ::String
|
52
|
-
SENSITIVE: []
|
53
|
-
end
|
54
|
-
|
55
|
-
class CreateMultiRegionClustersOutput
|
56
|
-
attr_accessor linked_cluster_arns: ::Array[::String]
|
57
|
-
SENSITIVE: []
|
58
|
-
end
|
59
|
-
|
60
47
|
class DeleteClusterInput
|
61
48
|
attr_accessor identifier: ::String
|
62
49
|
attr_accessor client_token: ::String
|
@@ -68,13 +55,6 @@ module Aws::DSQL
|
|
68
55
|
attr_accessor arn: ::String
|
69
56
|
attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
70
57
|
attr_accessor creation_time: ::Time
|
71
|
-
attr_accessor deletion_protection_enabled: bool
|
72
|
-
SENSITIVE: []
|
73
|
-
end
|
74
|
-
|
75
|
-
class DeleteMultiRegionClustersInput
|
76
|
-
attr_accessor linked_cluster_arns: ::Array[::String]
|
77
|
-
attr_accessor client_token: ::String
|
78
58
|
SENSITIVE: []
|
79
59
|
end
|
80
60
|
|
@@ -88,8 +68,6 @@ module Aws::DSQL
|
|
88
68
|
attr_accessor arn: ::String
|
89
69
|
attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
90
70
|
attr_accessor creation_time: ::Time
|
91
|
-
attr_accessor witness_region: ::String
|
92
|
-
attr_accessor linked_cluster_arns: ::Array[::String]
|
93
71
|
attr_accessor deletion_protection_enabled: bool
|
94
72
|
attr_accessor multi_region_properties: Types::MultiRegionProperties
|
95
73
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -112,12 +90,6 @@ module Aws::DSQL
|
|
112
90
|
SENSITIVE: []
|
113
91
|
end
|
114
92
|
|
115
|
-
class LinkedClusterProperties
|
116
|
-
attr_accessor deletion_protection_enabled: bool
|
117
|
-
attr_accessor tags: ::Hash[::String, ::String]
|
118
|
-
SENSITIVE: []
|
119
|
-
end
|
120
|
-
|
121
93
|
class ListClustersInput
|
122
94
|
attr_accessor max_results: ::Integer
|
123
95
|
attr_accessor next_token: ::String
|
@@ -195,9 +167,6 @@ module Aws::DSQL
|
|
195
167
|
attr_accessor arn: ::String
|
196
168
|
attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
|
197
169
|
attr_accessor creation_time: ::Time
|
198
|
-
attr_accessor witness_region: ::String
|
199
|
-
attr_accessor linked_cluster_arns: ::Array[::String]
|
200
|
-
attr_accessor deletion_protection_enabled: bool
|
201
170
|
SENSITIVE: []
|
202
171
|
end
|
203
172
|
|