@aws-sdk/client-redshift 3.58.0 → 3.61.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.61.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.60.0...v3.61.0) (2022-03-31)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients for 03/22/2022 & 03/23/2022 ([#3498](https://github.com/aws/aws-sdk-js-v3/issues/3498)) ([fc18e5c](https://github.com/aws/aws-sdk-js-v3/commit/fc18e5c1b339dc71946edd83b28bf71cf4f8eba3))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-redshift
@@ -10135,6 +10135,9 @@ const serializeAws_queryRestoreFromClusterSnapshotMessage = (input, context) =>
10135
10135
  if (input.TargetReservedNodeOfferingId !== undefined && input.TargetReservedNodeOfferingId !== null) {
10136
10136
  entries["TargetReservedNodeOfferingId"] = input.TargetReservedNodeOfferingId;
10137
10137
  }
10138
+ if (input.Encrypted !== undefined && input.Encrypted !== null) {
10139
+ entries["Encrypted"] = input.Encrypted;
10140
+ }
10138
10141
  return entries;
10139
10142
  };
10140
10143
  const serializeAws_queryRestoreTableFromClusterSnapshotMessage = (input, context) => {
@@ -11958,6 +11958,9 @@ var serializeAws_queryRestoreFromClusterSnapshotMessage = function (input, conte
11958
11958
  if (input.TargetReservedNodeOfferingId !== undefined && input.TargetReservedNodeOfferingId !== null) {
11959
11959
  entries["TargetReservedNodeOfferingId"] = input.TargetReservedNodeOfferingId;
11960
11960
  }
11961
+ if (input.Encrypted !== undefined && input.Encrypted !== null) {
11962
+ entries["Encrypted"] = input.Encrypted;
11963
+ }
11961
11964
  return entries;
11962
11965
  };
11963
11966
  var serializeAws_queryRestoreTableFromClusterSnapshotMessage = function (input, context) {
@@ -2979,8 +2979,12 @@ export interface RestoreFromClusterSnapshotMessage {
2979
2979
  */
2980
2980
  ManualSnapshotRetentionPeriod?: number;
2981
2981
  /**
2982
- * <p>The Key Management Service (KMS) key ID of the encryption key that you want to
2983
- * use to encrypt data in the cluster that you restore from a shared snapshot.</p>
2982
+ * <p>The Key Management Service (KMS) key ID of the encryption key to encrypt data in the cluster
2983
+ * restored from a shared snapshot. You can also provide
2984
+ * the key ID when you restore from an unencrypted snapshot to an encrypted cluster in
2985
+ * the same account. Additionally, you can specify a new KMS key ID when you restore from an encrypted
2986
+ * snapshot in the same account in order to change it. In that case, the restored cluster is encrypted
2987
+ * with the new KMS key ID.</p>
2984
2988
  */
2985
2989
  KmsKeyId?: string;
2986
2990
  /**
@@ -3067,6 +3071,11 @@ export interface RestoreFromClusterSnapshotMessage {
3067
3071
  * <p>The identifier of the target reserved node offering.</p>
3068
3072
  */
3069
3073
  TargetReservedNodeOfferingId?: string;
3074
+ /**
3075
+ * <p>Enables support for restoring an unencrypted snapshot to a cluster encrypted
3076
+ * with Key Management Service (KMS) and a CMK.</p>
3077
+ */
3078
+ Encrypted?: boolean;
3070
3079
  }
3071
3080
  export declare namespace RestoreFromClusterSnapshotMessage {
3072
3081
  /**
@@ -1325,6 +1325,8 @@ export interface RestoreFromClusterSnapshotMessage {
1325
1325
  ReservedNodeId?: string;
1326
1326
 
1327
1327
  TargetReservedNodeOfferingId?: string;
1328
+
1329
+ Encrypted?: boolean;
1328
1330
  }
1329
1331
  export declare namespace RestoreFromClusterSnapshotMessage {
1330
1332
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-redshift",
3
3
  "description": "AWS SDK for JavaScript Redshift Client for Node.js, Browser and React Native",
4
- "version": "3.58.0",
4
+ "version": "3.61.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",