aws-sdk-dsql 1.8.0 → 1.10.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: c2b16d6886186fa4cadf30a8314463a9d5e8490ac0ef311563c731e509746a2f
4
- data.tar.gz: 6ecae443a02493e99057a0d8cdfec5b08deb1ac139c4d77b772e52448cb6203e
3
+ metadata.gz: cc8d5b3c263fe1f336a3f125d35c0a0c10b56c1d3e56c11e130a719aaea66e64
4
+ data.tar.gz: 9933555f230dbf4930e11a45ab55c94844353356a4c2292d07511f563fea7008
5
5
  SHA512:
6
- metadata.gz: 28b4c137725551efb686c0e6e99e52270c79812c8c41676d476b3674ff7edd46ca0583e1b9f7e90272994ef8c201a02860170d3a91479d081d53347773b16937
7
- data.tar.gz: cb3f2a8ae7f56db0057784b8dfe7f90b764e08b5dfc2b6809156efa23edd973de2515d1a3e3ac847d4e5b233299291de2453e5e3e80b11a73e01e04542e4bfac
6
+ metadata.gz: 6f0931eea9b2b8292bbfb52e972363689f6226a768f19b37bb903f5aa37b75d39b0812f9892ecc8e3ae89576f8f5591d77a1140b107e3e2c405b93b5f6f112f9
7
+ data.tar.gz: a75e4f4edb3a70ef5dcb8211fe2df0db196791ec30f147517856cf062cdcb4b2a8e70d170d1e3e8dd7c57bb704d80c4ec54744c6686a43e8d5184d89147fa3dc
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2025-05-22)
5
+ ------------------
6
+
7
+ * Feature - Features: support for customer managed encryption keys
8
+
9
+ 1.9.0 (2025-05-19)
10
+ ------------------
11
+
12
+ * Feature - CreateMultiRegionCluster and DeleteMultiRegionCluster APIs removed
13
+
4
14
  1.8.0 (2025-05-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.10.0
@@ -469,68 +469,75 @@ module Aws::DSQL
469
469
 
470
470
  # @!group API Operations
471
471
 
472
- # This operation creates a cluster in Amazon Aurora DSQL. You need the
473
- # following permissions to use this operation.
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
- # Permission to create a cluster.
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
- # : Resources: arn:aws:dsql:*region*:*account-id*:cluster/*
488
+ # : Required to create a cluster.
480
489
  #
481
- # Permission to add tags to a resource.
490
+ # Resources: `arn:aws:dsql:region:account-id:cluster/*`
482
491
  #
483
492
  # dsql:TagResource
484
493
  #
485
- # : Resources: arn:aws:dsql:*region*:*account-id*:cluster/*
494
+ # : Permission to add tags to a resource.
486
495
  #
487
- # Permission to configure multi-region properties for a cluster.
496
+ # Resources: `arn:aws:dsql:region:account-id:cluster/*`
488
497
  #
489
498
  # dsql:PutMultiRegionProperties
490
499
  #
491
- # : Resources: arn:aws:dsql:*region*:*account-id*:cluster/*
500
+ # : Permission to configure multi-region properties for a cluster.
492
501
  #
493
- # When specifying multiRegionProperties.clusters.
502
+ # Resources: `arn:aws:dsql:region:account-id:cluster/*`
494
503
  #
495
504
  # dsql:AddPeerCluster
496
505
  #
497
- # : Permission to add peer clusters.
506
+ # : When specifying `multiRegionProperties.clusters`, permission to add
507
+ # peer clusters.
498
508
  #
499
509
  # Resources:
500
510
  #
501
- # * Local cluster: arn:aws:dsql:*region*:*account-id*:cluster/*
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
- # : Permission to set a witness region.
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:*region*:*account-id*:cluster/*
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
- # <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
526
+ # * The witness Region specified in
524
527
  # `multiRegionProperties.witnessRegion` cannot be the same as the
525
528
  # cluster's Region.
526
529
  #
527
- # * When updating clusters with peer relationships, permissions are
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
532
534
  # this property before you can delete your cluster.
533
535
  #
536
+ # @option params [String] :kms_encryption_key
537
+ # The KMS key that encrypts and protects the data on your cluster. You
538
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
539
+ # Web Services create a default key for you.
540
+ #
534
541
  # @option params [Hash<String,String>] :tags
535
542
  # A map of key and value pairs to use to tag your cluster.
536
543
  #
@@ -559,6 +566,7 @@ module Aws::DSQL
559
566
  # * {Types::CreateClusterOutput#status #status} => String
560
567
  # * {Types::CreateClusterOutput#creation_time #creation_time} => Time
561
568
  # * {Types::CreateClusterOutput#multi_region_properties #multi_region_properties} => Types::MultiRegionProperties
569
+ # * {Types::CreateClusterOutput#encryption_details #encryption_details} => Types::EncryptionDetails
562
570
  # * {Types::CreateClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
563
571
  #
564
572
  #
@@ -575,6 +583,7 @@ module Aws::DSQL
575
583
  #
576
584
  # resp = client.create_cluster({
577
585
  # deletion_protection_enabled: false,
586
+ # kms_encryption_key: "KmsEncryptionKey",
578
587
  # tags: {
579
588
  # "TagKey" => "TagValue",
580
589
  # },
@@ -594,6 +603,9 @@ module Aws::DSQL
594
603
  # resp.multi_region_properties.witness_region #=> String
595
604
  # resp.multi_region_properties.clusters #=> Array
596
605
  # resp.multi_region_properties.clusters[0] #=> String
606
+ # resp.encryption_details.encryption_type #=> String, one of "AWS_OWNED_KMS_KEY", "CUSTOMER_MANAGED_KMS_KEY"
607
+ # resp.encryption_details.kms_key_arn #=> String
608
+ # resp.encryption_details.encryption_status #=> String, one of "ENABLED", "UPDATING", "KMS_KEY_INACCESSIBLE", "ENABLING"
597
609
  # resp.deletion_protection_enabled #=> Boolean
598
610
  #
599
611
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/CreateCluster AWS API Documentation
@@ -605,89 +617,6 @@ module Aws::DSQL
605
617
  req.send_request(options)
606
618
  end
607
619
 
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&lt;String&gt;
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
620
  # Deletes a cluster in Amazon Aurora DSQL.
692
621
  #
693
622
  # @option params [required, String] :identifier
@@ -713,7 +642,6 @@ module Aws::DSQL
713
642
  # * {Types::DeleteClusterOutput#arn #arn} => String
714
643
  # * {Types::DeleteClusterOutput#status #status} => String
715
644
  # * {Types::DeleteClusterOutput#creation_time #creation_time} => Time
716
- # * {Types::DeleteClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
717
645
  #
718
646
  #
719
647
  # @example Example: Delete Cluster
@@ -735,7 +663,6 @@ module Aws::DSQL
735
663
  # resp.arn #=> String
736
664
  # resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
737
665
  # resp.creation_time #=> Time
738
- # resp.deletion_protection_enabled #=> Boolean
739
666
  #
740
667
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteCluster AWS API Documentation
741
668
  #
@@ -746,54 +673,6 @@ module Aws::DSQL
746
673
  req.send_request(options)
747
674
  end
748
675
 
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
676
  # Retrieves information about a cluster.
798
677
  #
799
678
  # @option params [required, String] :identifier
@@ -805,11 +684,10 @@ module Aws::DSQL
805
684
  # * {Types::GetClusterOutput#arn #arn} => String
806
685
  # * {Types::GetClusterOutput#status #status} => String
807
686
  # * {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&lt;String&gt;
810
687
  # * {Types::GetClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
811
688
  # * {Types::GetClusterOutput#multi_region_properties #multi_region_properties} => Types::MultiRegionProperties
812
689
  # * {Types::GetClusterOutput#tags #tags} => Hash&lt;String,String&gt;
690
+ # * {Types::GetClusterOutput#encryption_details #encryption_details} => Types::EncryptionDetails
813
691
  #
814
692
  #
815
693
  # @example Example: Get Cluster
@@ -830,15 +708,15 @@ module Aws::DSQL
830
708
  # resp.arn #=> String
831
709
  # resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
832
710
  # resp.creation_time #=> Time
833
- # resp.witness_region #=> String
834
- # resp.linked_cluster_arns #=> Array
835
- # resp.linked_cluster_arns[0] #=> String
836
711
  # resp.deletion_protection_enabled #=> Boolean
837
712
  # resp.multi_region_properties.witness_region #=> String
838
713
  # resp.multi_region_properties.clusters #=> Array
839
714
  # resp.multi_region_properties.clusters[0] #=> String
840
715
  # resp.tags #=> Hash
841
716
  # resp.tags["TagKey"] #=> String
717
+ # resp.encryption_details.encryption_type #=> String, one of "AWS_OWNED_KMS_KEY", "CUSTOMER_MANAGED_KMS_KEY"
718
+ # resp.encryption_details.kms_key_arn #=> String
719
+ # resp.encryption_details.encryption_status #=> String, one of "ENABLED", "UPDATING", "KMS_KEY_INACCESSIBLE", "ENABLING"
842
720
  #
843
721
  #
844
722
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1049,19 +927,72 @@ module Aws::DSQL
1049
927
  req.send_request(options)
1050
928
  end
1051
929
 
1052
- # Updates a cluster.
930
+ # The *UpdateCluster* API allows you to modify both single-Region and
931
+ # multi-Region cluster configurations. With the *multiRegionProperties*
932
+ # parameter, you can add or modify witness Region support and manage
933
+ # peer relationships with clusters in other Regions.
934
+ #
935
+ # <note markdown="1"> Note that updating multi-region clusters requires additional IAM
936
+ # permissions beyond those needed for standard cluster updates, as
937
+ # detailed in the Permissions section.
1053
938
  #
1054
- # **Example IAM Policy for Multi-Region Operations**
939
+ # </note>
1055
940
  #
1056
- # The following IAM policy grants permissions for multi-Region
1057
- # operations.
941
+ # **Required permissions**
1058
942
  #
1059
- # The `dsql:RemovePeerCluster` permission uses a wildcard ARN pattern to
1060
- # simplify permission management during updates.
943
+ # dsql:UpdateCluster
1061
944
  #
1062
- # **Important Notes for Multi-Region Operations**
945
+ # : Permission to update a DSQL cluster.
1063
946
  #
1064
- # * The witness region specified in
947
+ # Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
948
+ # ^
949
+ #
950
+ # dsql:PutMultiRegionProperties
951
+ #
952
+ # : Permission to configure multi-Region properties for a cluster.
953
+ #
954
+ # Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
955
+ # ^
956
+ #
957
+ # dsql:GetCluster
958
+ #
959
+ # : Permission to retrieve cluster information.
960
+ #
961
+ # Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
962
+ #
963
+ # dsql:AddPeerCluster
964
+ #
965
+ # : Permission to add peer clusters.
966
+ #
967
+ # Resources:
968
+ #
969
+ # * Local cluster: `arn:aws:dsql:region:account-id:cluster/cluster-id
970
+ # `
971
+ #
972
+ # * Each peer cluster: exact ARN of each specified peer cluster
973
+ #
974
+ # dsql:RemovePeerCluster
975
+ #
976
+ # : Permission to remove peer clusters. The *dsql:RemovePeerCluster*
977
+ # permission uses a wildcard ARN pattern to simplify permission
978
+ # management during updates.
979
+ #
980
+ # Resources: `arn:aws:dsql:*:account-id:cluster/*`
981
+ # ^
982
+ #
983
+ # dsql:PutWitnessRegion
984
+ #
985
+ # : Permission to set a witness Region.
986
+ #
987
+ # Resources: `arn:aws:dsql:region:account-id:cluster/cluster-id `
988
+ #
989
+ # Condition Keys: dsql:WitnessRegion (matching the specified witness
990
+ # Region)
991
+ #
992
+ # **This permission is checked both in the cluster Region and in the
993
+ # witness Region.**
994
+ #
995
+ # * The witness region specified in
1065
996
  # `multiRegionProperties.witnessRegion` cannot be the same as the
1066
997
  # cluster's Region.
1067
998
  #
@@ -1077,6 +1008,11 @@ module Aws::DSQL
1077
1008
  # @option params [Boolean] :deletion_protection_enabled
1078
1009
  # Specifies whether to enable deletion protection in your cluster.
1079
1010
  #
1011
+ # @option params [String] :kms_encryption_key
1012
+ # The KMS key that encrypts and protects the data on your cluster. You
1013
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
1014
+ # Web Services create a default key for you.
1015
+ #
1080
1016
  # @option params [String] :client_token
1081
1017
  # A unique, case-sensitive identifier that you provide to ensure the
1082
1018
  # idempotency of the request. Idempotency ensures that an API request
@@ -1101,9 +1037,6 @@ module Aws::DSQL
1101
1037
  # * {Types::UpdateClusterOutput#arn #arn} => String
1102
1038
  # * {Types::UpdateClusterOutput#status #status} => String
1103
1039
  # * {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&lt;String&gt;
1106
- # * {Types::UpdateClusterOutput#deletion_protection_enabled #deletion_protection_enabled} => Boolean
1107
1040
  #
1108
1041
  #
1109
1042
  # @example Example: Update Cluster
@@ -1118,6 +1051,7 @@ module Aws::DSQL
1118
1051
  # resp = client.update_cluster({
1119
1052
  # identifier: "ClusterId", # required
1120
1053
  # deletion_protection_enabled: false,
1054
+ # kms_encryption_key: "KmsEncryptionKey",
1121
1055
  # client_token: "ClientToken",
1122
1056
  # multi_region_properties: {
1123
1057
  # witness_region: "Region",
@@ -1131,10 +1065,6 @@ module Aws::DSQL
1131
1065
  # resp.arn #=> String
1132
1066
  # resp.status #=> String, one of "CREATING", "ACTIVE", "IDLE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", "PENDING_SETUP", "PENDING_DELETE"
1133
1067
  # 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
1068
  #
1139
1069
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateCluster AWS API Documentation
1140
1070
  #
@@ -1163,7 +1093,7 @@ module Aws::DSQL
1163
1093
  tracer: tracer
1164
1094
  )
1165
1095
  context[:gem_name] = 'aws-sdk-dsql'
1166
- context[:gem_version] = '1.8.0'
1096
+ context[:gem_version] = '1.10.0'
1167
1097
  Seahorse::Client::Request.new(handlers, context)
1168
1098
  end
1169
1099
 
@@ -22,25 +22,25 @@ 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')
33
+ EncryptionDetails = Shapes::StructureShape.new(name: 'EncryptionDetails')
34
+ EncryptionStatus = Shapes::StringShape.new(name: 'EncryptionStatus')
35
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
37
36
  GetClusterInput = Shapes::StructureShape.new(name: 'GetClusterInput')
38
37
  GetClusterOutput = Shapes::StructureShape.new(name: 'GetClusterOutput')
39
38
  GetVpcEndpointServiceNameInput = Shapes::StructureShape.new(name: 'GetVpcEndpointServiceNameInput')
40
39
  GetVpcEndpointServiceNameOutput = Shapes::StructureShape.new(name: 'GetVpcEndpointServiceNameOutput')
41
40
  Integer = Shapes::IntegerShape.new(name: 'Integer')
42
41
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
43
- LinkedClusterProperties = Shapes::StructureShape.new(name: 'LinkedClusterProperties')
42
+ KmsEncryptionKey = Shapes::StringShape.new(name: 'KmsEncryptionKey')
43
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
44
44
  ListClustersInput = Shapes::StructureShape.new(name: 'ListClustersInput')
45
45
  ListClustersOutput = Shapes::StructureShape.new(name: 'ListClustersOutput')
46
46
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
@@ -49,7 +49,6 @@ module Aws::DSQL
49
49
  MultiRegionProperties = Shapes::StructureShape.new(name: 'MultiRegionProperties')
50
50
  NextToken = Shapes::StringShape.new(name: 'NextToken')
51
51
  Region = Shapes::StringShape.new(name: 'Region')
52
- RegionList = Shapes::ListShape.new(name: 'RegionList')
53
52
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
54
53
  ServiceName = Shapes::StringShape.new(name: 'ServiceName')
55
54
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -75,9 +74,6 @@ module Aws::DSQL
75
74
 
76
75
  ClusterList.member = Shapes::ShapeRef.new(shape: ClusterSummary)
77
76
 
78
- ClusterPropertyMap.key = Shapes::ShapeRef.new(shape: Region)
79
- ClusterPropertyMap.value = Shapes::ShapeRef.new(shape: LinkedClusterProperties, deprecated: true)
80
-
81
77
  ClusterSummary.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "identifier"))
82
78
  ClusterSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
83
79
  ClusterSummary.struct_class = Types::ClusterSummary
@@ -88,6 +84,7 @@ module Aws::DSQL
88
84
  ConflictException.struct_class = Types::ConflictException
89
85
 
90
86
  CreateClusterInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
87
+ CreateClusterInput.add_member(:kms_encryption_key, Shapes::ShapeRef.new(shape: KmsEncryptionKey, location_name: "kmsEncryptionKey"))
91
88
  CreateClusterInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
92
89
  CreateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
93
90
  CreateClusterInput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
@@ -98,18 +95,10 @@ module Aws::DSQL
98
95
  CreateClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
99
96
  CreateClusterOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: ClusterCreationTime, required: true, location_name: "creationTime"))
100
97
  CreateClusterOutput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
98
+ CreateClusterOutput.add_member(:encryption_details, Shapes::ShapeRef.new(shape: EncryptionDetails, location_name: "encryptionDetails"))
101
99
  CreateClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
102
100
  CreateClusterOutput.struct_class = Types::CreateClusterOutput
103
101
 
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
102
  DeleteClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
114
103
  DeleteClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "client-token", metadata: {"idempotencyToken" => true}))
115
104
  DeleteClusterInput.struct_class = Types::DeleteClusterInput
@@ -118,12 +107,12 @@ module Aws::DSQL
118
107
  DeleteClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
119
108
  DeleteClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
120
109
  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
110
  DeleteClusterOutput.struct_class = Types::DeleteClusterOutput
123
111
 
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
112
+ EncryptionDetails.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "encryptionType"))
113
+ EncryptionDetails.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
114
+ EncryptionDetails.add_member(:encryption_status, Shapes::ShapeRef.new(shape: EncryptionStatus, required: true, location_name: "encryptionStatus"))
115
+ EncryptionDetails.struct_class = Types::EncryptionDetails
127
116
 
128
117
  GetClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
129
118
  GetClusterInput.struct_class = Types::GetClusterInput
@@ -132,11 +121,10 @@ module Aws::DSQL
132
121
  GetClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
133
122
  GetClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
134
123
  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
124
  GetClusterOutput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, required: true, location_name: "deletionProtectionEnabled"))
138
125
  GetClusterOutput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
139
126
  GetClusterOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
127
+ GetClusterOutput.add_member(:encryption_details, Shapes::ShapeRef.new(shape: EncryptionDetails, location_name: "encryptionDetails"))
140
128
  GetClusterOutput.struct_class = Types::GetClusterOutput
141
129
 
142
130
  GetVpcEndpointServiceNameInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
@@ -149,10 +137,6 @@ module Aws::DSQL
149
137
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
150
138
  InternalServerException.struct_class = Types::InternalServerException
151
139
 
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
140
  ListClustersInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results"))
157
141
  ListClustersInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "next-token"))
158
142
  ListClustersInput.struct_class = Types::ListClustersInput
@@ -171,8 +155,6 @@ module Aws::DSQL
171
155
  MultiRegionProperties.add_member(:clusters, Shapes::ShapeRef.new(shape: ClusterArnList, location_name: "clusters"))
172
156
  MultiRegionProperties.struct_class = Types::MultiRegionProperties
173
157
 
174
- RegionList.member = Shapes::ShapeRef.new(shape: Region)
175
-
176
158
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
177
159
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
178
160
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -206,6 +188,7 @@ module Aws::DSQL
206
188
 
207
189
  UpdateClusterInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ClusterId, required: true, location: "uri", location_name: "identifier"))
208
190
  UpdateClusterInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "deletionProtectionEnabled"))
191
+ UpdateClusterInput.add_member(:kms_encryption_key, Shapes::ShapeRef.new(shape: KmsEncryptionKey, location_name: "kmsEncryptionKey"))
209
192
  UpdateClusterInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
210
193
  UpdateClusterInput.add_member(:multi_region_properties, Shapes::ShapeRef.new(shape: MultiRegionProperties, location_name: "multiRegionProperties"))
211
194
  UpdateClusterInput.struct_class = Types::UpdateClusterInput
@@ -214,9 +197,6 @@ module Aws::DSQL
214
197
  UpdateClusterOutput.add_member(:arn, Shapes::ShapeRef.new(shape: ClusterArn, required: true, location_name: "arn"))
215
198
  UpdateClusterOutput.add_member(:status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "status"))
216
199
  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
200
  UpdateClusterOutput.struct_class = Types::UpdateClusterOutput
221
201
 
222
202
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -263,21 +243,6 @@ module Aws::DSQL
263
243
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
264
244
  end)
265
245
 
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
246
  api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
282
247
  o.name = "DeleteCluster"
283
248
  o.http_method = "DELETE"
@@ -292,21 +257,6 @@ module Aws::DSQL
292
257
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
293
258
  end)
294
259
 
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
260
  api.add_operation(:get_cluster, Seahorse::Model::Operation.new.tap do |o|
311
261
  o.name = "GetCluster"
312
262
  o.http_method = "GET"
@@ -70,6 +70,12 @@ module Aws::DSQL
70
70
  # this property before you can delete your cluster.
71
71
  # @return [Boolean]
72
72
  #
73
+ # @!attribute [rw] kms_encryption_key
74
+ # The KMS key that encrypts and protects the data on your cluster. You
75
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
76
+ # Web Services create a default key for you.
77
+ # @return [String]
78
+ #
73
79
  # @!attribute [rw] tags
74
80
  # A map of key and value pairs to use to tag your cluster.
75
81
  # @return [Hash<String,String>]
@@ -98,6 +104,7 @@ module Aws::DSQL
98
104
  #
99
105
  class CreateClusterInput < Struct.new(
100
106
  :deletion_protection_enabled,
107
+ :kms_encryption_key,
101
108
  :tags,
102
109
  :client_token,
103
110
  :multi_region_properties)
@@ -128,6 +135,12 @@ module Aws::DSQL
128
135
  # cluster creation
129
136
  # @return [Types::MultiRegionProperties]
130
137
  #
138
+ # @!attribute [rw] encryption_details
139
+ # The encryption configuration for the cluster that was specified
140
+ # during the creation process, including the KMS key identifier and
141
+ # encryption state.
142
+ # @return [Types::EncryptionDetails]
143
+ #
131
144
  # @!attribute [rw] deletion_protection_enabled
132
145
  # Whether deletion protection is enabled on this cluster.
133
146
  # @return [Boolean]
@@ -140,62 +153,12 @@ module Aws::DSQL
140
153
  :status,
141
154
  :creation_time,
142
155
  :multi_region_properties,
156
+ :encryption_details,
143
157
  :deletion_protection_enabled)
144
158
  SENSITIVE = []
145
159
  include Aws::Structure
146
160
  end
147
161
 
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
162
  # @!attribute [rw] identifier
200
163
  # The ID of the cluster to delete.
201
164
  # @return [String]
@@ -242,47 +205,38 @@ module Aws::DSQL
242
205
  # The time of when the cluster was created.
243
206
  # @return [Time]
244
207
  #
245
- # @!attribute [rw] deletion_protection_enabled
246
- # Specifies whether deletion protection was enabled on the cluster.
247
- # @return [Boolean]
248
- #
249
208
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteClusterOutput AWS API Documentation
250
209
  #
251
210
  class DeleteClusterOutput < Struct.new(
252
211
  :identifier,
253
212
  :arn,
254
213
  :status,
255
- :creation_time,
256
- :deletion_protection_enabled)
214
+ :creation_time)
257
215
  SENSITIVE = []
258
216
  include Aws::Structure
259
217
  end
260
218
 
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>]
219
+ # Configuration details about encryption for the cluster including the
220
+ # KMS key ARN, encryption type, and encryption status.
265
221
  #
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.
222
+ # @!attribute [rw] encryption_type
223
+ # The type of encryption that protects the data on your cluster.
224
+ # @return [String]
273
225
  #
274
- # If you don't specify a client token, the Amazon Web Services SDK
275
- # automatically generates one.
226
+ # @!attribute [rw] kms_key_arn
227
+ # The ARN of the KMS key that encrypts data in the cluster.
228
+ # @return [String]
276
229
  #
277
- # **A suitable default value is auto-generated.** You should normally
278
- # not need to pass this option.
230
+ # @!attribute [rw] encryption_status
231
+ # The status of encryption for the cluster.
279
232
  # @return [String]
280
233
  #
281
- # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/DeleteMultiRegionClustersInput AWS API Documentation
234
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/EncryptionDetails AWS API Documentation
282
235
  #
283
- class DeleteMultiRegionClustersInput < Struct.new(
284
- :linked_cluster_arns,
285
- :client_token)
236
+ class EncryptionDetails < Struct.new(
237
+ :encryption_type,
238
+ :kms_key_arn,
239
+ :encryption_status)
286
240
  SENSITIVE = []
287
241
  include Aws::Structure
288
242
  end
@@ -317,15 +271,6 @@ module Aws::DSQL
317
271
  # The time of when the cluster was created.
318
272
  # @return [Time]
319
273
  #
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
274
  # @!attribute [rw] deletion_protection_enabled
330
275
  # Whether deletion protection is enabled in this cluster.
331
276
  # @return [Boolean]
@@ -339,6 +284,10 @@ module Aws::DSQL
339
284
  # Map of tags.
340
285
  # @return [Hash<String,String>]
341
286
  #
287
+ # @!attribute [rw] encryption_details
288
+ # The current encryption configuration details for the cluster.
289
+ # @return [Types::EncryptionDetails]
290
+ #
342
291
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/GetClusterOutput AWS API Documentation
343
292
  #
344
293
  class GetClusterOutput < Struct.new(
@@ -346,11 +295,10 @@ module Aws::DSQL
346
295
  :arn,
347
296
  :status,
348
297
  :creation_time,
349
- :witness_region,
350
- :linked_cluster_arns,
351
298
  :deletion_protection_enabled,
352
299
  :multi_region_properties,
353
- :tags)
300
+ :tags,
301
+ :encryption_details)
354
302
  SENSITIVE = []
355
303
  include Aws::Structure
356
304
  end
@@ -398,25 +346,6 @@ module Aws::DSQL
398
346
  include Aws::Structure
399
347
  end
400
348
 
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
349
  # @!attribute [rw] max_results
421
350
  # An optional parameter that specifies the maximum number of results
422
351
  # to return. You can use nextToken to display the next page of
@@ -633,6 +562,12 @@ module Aws::DSQL
633
562
  # Specifies whether to enable deletion protection in your cluster.
634
563
  # @return [Boolean]
635
564
  #
565
+ # @!attribute [rw] kms_encryption_key
566
+ # The KMS key that encrypts and protects the data on your cluster. You
567
+ # can specify the ARN, ID, or alias of an existing key or have Amazon
568
+ # Web Services create a default key for you.
569
+ # @return [String]
570
+ #
636
571
  # @!attribute [rw] client_token
637
572
  # A unique, case-sensitive identifier that you provide to ensure the
638
573
  # idempotency of the request. Idempotency ensures that an API request
@@ -658,6 +593,7 @@ module Aws::DSQL
658
593
  class UpdateClusterInput < Struct.new(
659
594
  :identifier,
660
595
  :deletion_protection_enabled,
596
+ :kms_encryption_key,
661
597
  :client_token,
662
598
  :multi_region_properties)
663
599
  SENSITIVE = []
@@ -682,29 +618,13 @@ module Aws::DSQL
682
618
  # The time of when the cluster was created.
683
619
  # @return [Time]
684
620
  #
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
621
  # @see http://docs.aws.amazon.com/goto/WebAPI/dsql-2018-05-10/UpdateClusterOutput AWS API Documentation
699
622
  #
700
623
  class UpdateClusterOutput < Struct.new(
701
624
  :identifier,
702
625
  :arn,
703
626
  :status,
704
- :creation_time,
705
- :witness_region,
706
- :linked_cluster_arns,
707
- :deletion_protection_enabled)
627
+ :creation_time)
708
628
  SENSITIVE = []
709
629
  include Aws::Structure
710
630
  end
data/lib/aws-sdk-dsql.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::DSQL
55
55
  autoload :EndpointProvider, 'aws-sdk-dsql/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-dsql/endpoints'
57
57
 
58
- GEM_VERSION = '1.8.0'
58
+ GEM_VERSION = '1.10.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -84,11 +84,13 @@ module Aws
84
84
  def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
85
85
  def creation_time: () -> ::Time
86
86
  def multi_region_properties: () -> Types::MultiRegionProperties
87
+ def encryption_details: () -> Types::EncryptionDetails
87
88
  def deletion_protection_enabled: () -> bool
88
89
  end
89
90
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#create_cluster-instance_method
90
91
  def create_cluster: (
91
92
  ?deletion_protection_enabled: bool,
93
+ ?kms_encryption_key: ::String,
92
94
  ?tags: Hash[::String, ::String],
93
95
  ?client_token: ::String,
94
96
  ?multi_region_properties: {
@@ -98,29 +100,12 @@ module Aws
98
100
  ) -> _CreateClusterResponseSuccess
99
101
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
100
102
 
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
103
  interface _DeleteClusterResponseSuccess
118
104
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterOutput]
119
105
  def identifier: () -> ::String
120
106
  def arn: () -> ::String
121
107
  def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
122
108
  def creation_time: () -> ::Time
123
- def deletion_protection_enabled: () -> bool
124
109
  end
125
110
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#delete_cluster-instance_method
126
111
  def delete_cluster: (
@@ -129,24 +114,16 @@ module Aws
129
114
  ) -> _DeleteClusterResponseSuccess
130
115
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
131
116
 
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
117
  interface _GetClusterResponseSuccess
140
118
  include ::Seahorse::Client::_ResponseSuccess[Types::GetClusterOutput]
141
119
  def identifier: () -> ::String
142
120
  def arn: () -> ::String
143
121
  def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
144
122
  def creation_time: () -> ::Time
145
- def witness_region: () -> ::String
146
- def linked_cluster_arns: () -> ::Array[::String]
147
123
  def deletion_protection_enabled: () -> bool
148
124
  def multi_region_properties: () -> Types::MultiRegionProperties
149
125
  def tags: () -> ::Hash[::String, ::String]
126
+ def encryption_details: () -> Types::EncryptionDetails
150
127
  end
151
128
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#get_cluster-instance_method
152
129
  def get_cluster: (
@@ -206,14 +183,12 @@ module Aws
206
183
  def arn: () -> ::String
207
184
  def status: () -> ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
208
185
  def creation_time: () -> ::Time
209
- def witness_region: () -> ::String
210
- def linked_cluster_arns: () -> ::Array[::String]
211
- def deletion_protection_enabled: () -> bool
212
186
  end
213
187
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DSQL/Client.html#update_cluster-instance_method
214
188
  def update_cluster: (
215
189
  identifier: ::String,
216
190
  ?deletion_protection_enabled: bool,
191
+ ?kms_encryption_key: ::String,
217
192
  ?client_token: ::String,
218
193
  ?multi_region_properties: {
219
194
  witness_region: ::String?,
data/sig/types.rbs CHANGED
@@ -28,6 +28,7 @@ module Aws::DSQL
28
28
 
29
29
  class CreateClusterInput
30
30
  attr_accessor deletion_protection_enabled: bool
31
+ attr_accessor kms_encryption_key: ::String
31
32
  attr_accessor tags: ::Hash[::String, ::String]
32
33
  attr_accessor client_token: ::String
33
34
  attr_accessor multi_region_properties: Types::MultiRegionProperties
@@ -40,23 +41,11 @@ module Aws::DSQL
40
41
  attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
41
42
  attr_accessor creation_time: ::Time
42
43
  attr_accessor multi_region_properties: Types::MultiRegionProperties
44
+ attr_accessor encryption_details: Types::EncryptionDetails
43
45
  attr_accessor deletion_protection_enabled: bool
44
46
  SENSITIVE: []
45
47
  end
46
48
 
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
49
  class DeleteClusterInput
61
50
  attr_accessor identifier: ::String
62
51
  attr_accessor client_token: ::String
@@ -68,13 +57,13 @@ module Aws::DSQL
68
57
  attr_accessor arn: ::String
69
58
  attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
70
59
  attr_accessor creation_time: ::Time
71
- attr_accessor deletion_protection_enabled: bool
72
60
  SENSITIVE: []
73
61
  end
74
62
 
75
- class DeleteMultiRegionClustersInput
76
- attr_accessor linked_cluster_arns: ::Array[::String]
77
- attr_accessor client_token: ::String
63
+ class EncryptionDetails
64
+ attr_accessor encryption_type: ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
65
+ attr_accessor kms_key_arn: ::String
66
+ attr_accessor encryption_status: ("ENABLED" | "UPDATING" | "KMS_KEY_INACCESSIBLE" | "ENABLING")
78
67
  SENSITIVE: []
79
68
  end
80
69
 
@@ -88,11 +77,10 @@ module Aws::DSQL
88
77
  attr_accessor arn: ::String
89
78
  attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
90
79
  attr_accessor creation_time: ::Time
91
- attr_accessor witness_region: ::String
92
- attr_accessor linked_cluster_arns: ::Array[::String]
93
80
  attr_accessor deletion_protection_enabled: bool
94
81
  attr_accessor multi_region_properties: Types::MultiRegionProperties
95
82
  attr_accessor tags: ::Hash[::String, ::String]
83
+ attr_accessor encryption_details: Types::EncryptionDetails
96
84
  SENSITIVE: []
97
85
  end
98
86
 
@@ -112,12 +100,6 @@ module Aws::DSQL
112
100
  SENSITIVE: []
113
101
  end
114
102
 
115
- class LinkedClusterProperties
116
- attr_accessor deletion_protection_enabled: bool
117
- attr_accessor tags: ::Hash[::String, ::String]
118
- SENSITIVE: []
119
- end
120
-
121
103
  class ListClustersInput
122
104
  attr_accessor max_results: ::Integer
123
105
  attr_accessor next_token: ::String
@@ -185,6 +167,7 @@ module Aws::DSQL
185
167
  class UpdateClusterInput
186
168
  attr_accessor identifier: ::String
187
169
  attr_accessor deletion_protection_enabled: bool
170
+ attr_accessor kms_encryption_key: ::String
188
171
  attr_accessor client_token: ::String
189
172
  attr_accessor multi_region_properties: Types::MultiRegionProperties
190
173
  SENSITIVE: []
@@ -195,9 +178,6 @@ module Aws::DSQL
195
178
  attr_accessor arn: ::String
196
179
  attr_accessor status: ("CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE")
197
180
  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
181
  SENSITIVE: []
202
182
  end
203
183
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dsql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services