@aws-sdk/client-opensearch 3.137.0 → 3.139.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.139.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.138.0...v3.139.0) (2022-07-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-opensearch:** This release adds support for gp3 EBS (Elastic Block Store) storage. ([66d0dda](https://github.com/aws/aws-sdk-js-v3/commit/66d0ddab6754a5e57e5cb1c653e16ab9e2cbd8fa))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
7
18
 
8
19
 
@@ -268,6 +268,7 @@ var TLSSecurityPolicy;
268
268
  var VolumeType;
269
269
  (function (VolumeType) {
270
270
  VolumeType["gp2"] = "gp2";
271
+ VolumeType["gp3"] = "gp3";
271
272
  VolumeType["io1"] = "io1";
272
273
  VolumeType["standard"] = "standard";
273
274
  })(VolumeType = exports.VolumeType || (exports.VolumeType = {}));
@@ -3457,6 +3457,7 @@ const serializeAws_restJson1EBSOptions = (input, context) => {
3457
3457
  return {
3458
3458
  ...(input.EBSEnabled != null && { EBSEnabled: input.EBSEnabled }),
3459
3459
  ...(input.Iops != null && { Iops: input.Iops }),
3460
+ ...(input.Throughput != null && { Throughput: input.Throughput }),
3460
3461
  ...(input.VolumeSize != null && { VolumeSize: input.VolumeSize }),
3461
3462
  ...(input.VolumeType != null && { VolumeType: input.VolumeType }),
3462
3463
  };
@@ -4021,6 +4022,7 @@ const deserializeAws_restJson1EBSOptions = (output, context) => {
4021
4022
  return {
4022
4023
  EBSEnabled: (0, smithy_client_1.expectBoolean)(output.EBSEnabled),
4023
4024
  Iops: (0, smithy_client_1.expectInt32)(output.Iops),
4025
+ Throughput: (0, smithy_client_1.expectInt32)(output.Throughput),
4024
4026
  VolumeSize: (0, smithy_client_1.expectInt32)(output.VolumeSize),
4025
4027
  VolumeType: (0, smithy_client_1.expectString)(output.VolumeType),
4026
4028
  };
@@ -255,6 +255,7 @@ export var TLSSecurityPolicy;
255
255
  export var VolumeType;
256
256
  (function (VolumeType) {
257
257
  VolumeType["gp2"] = "gp2";
258
+ VolumeType["gp3"] = "gp3";
258
259
  VolumeType["io1"] = "io1";
259
260
  VolumeType["standard"] = "standard";
260
261
  })(VolumeType || (VolumeType = {}));
@@ -4367,7 +4367,7 @@ var serializeAws_restJson1Duration = function (input, context) {
4367
4367
  return __assign(__assign({}, (input.Unit != null && { Unit: input.Unit })), (input.Value != null && { Value: input.Value }));
4368
4368
  };
4369
4369
  var serializeAws_restJson1EBSOptions = function (input, context) {
4370
- return __assign(__assign(__assign(__assign({}, (input.EBSEnabled != null && { EBSEnabled: input.EBSEnabled })), (input.Iops != null && { Iops: input.Iops })), (input.VolumeSize != null && { VolumeSize: input.VolumeSize })), (input.VolumeType != null && { VolumeType: input.VolumeType }));
4370
+ return __assign(__assign(__assign(__assign(__assign({}, (input.EBSEnabled != null && { EBSEnabled: input.EBSEnabled })), (input.Iops != null && { Iops: input.Iops })), (input.Throughput != null && { Throughput: input.Throughput })), (input.VolumeSize != null && { VolumeSize: input.VolumeSize })), (input.VolumeType != null && { VolumeType: input.VolumeType }));
4371
4371
  };
4372
4372
  var serializeAws_restJson1EncryptionAtRestOptions = function (input, context) {
4373
4373
  return __assign(__assign({}, (input.Enabled != null && { Enabled: input.Enabled })), (input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }));
@@ -4888,6 +4888,7 @@ var deserializeAws_restJson1EBSOptions = function (output, context) {
4888
4888
  return {
4889
4889
  EBSEnabled: __expectBoolean(output.EBSEnabled),
4890
4890
  Iops: __expectInt32(output.Iops),
4891
+ Throughput: __expectInt32(output.Throughput),
4891
4892
  VolumeSize: __expectInt32(output.VolumeSize),
4892
4893
  VolumeType: __expectString(output.VolumeType),
4893
4894
  };
@@ -1022,6 +1022,7 @@ export interface DomainEndpointOptions {
1022
1022
  }
1023
1023
  export declare enum VolumeType {
1024
1024
  gp2 = "gp2",
1025
+ gp3 = "gp3",
1025
1026
  io1 = "io1",
1026
1027
  standard = "standard"
1027
1028
  }
@@ -1042,9 +1043,13 @@ export interface EBSOptions {
1042
1043
  */
1043
1044
  VolumeSize?: number;
1044
1045
  /**
1045
- * <p>The IOPD for a Provisioned IOPS EBS volume (SSD).</p>
1046
+ * <p>The IOPS for Provisioned IOPS And GP3 EBS volume (SSD).</p>
1046
1047
  */
1047
1048
  Iops?: number;
1049
+ /**
1050
+ * <p>The Throughput for GP3 EBS volume (SSD).</p>
1051
+ */
1052
+ Throughput?: number;
1048
1053
  }
1049
1054
  /**
1050
1055
  * <p>Specifies encryption at rest options.</p>
@@ -2555,6 +2560,10 @@ export interface StorageTypeLimit {
2555
2560
  * Maximum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.
2556
2561
  * <li>MinimumIops</li>
2557
2562
  * Minimum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.
2563
+ * <li>MaximumThroughput</li>
2564
+ * Maximum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.
2565
+ * <li>MinimumThroughput</li>
2566
+ * Minimum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.
2558
2567
  * </ol>
2559
2568
  * </p>
2560
2569
  */
@@ -2598,6 +2607,7 @@ export interface StorageType {
2598
2607
  * <ol>
2599
2608
  * <li>standard</li>
2600
2609
  * <li>gp2</li>
2610
+ * <li>gp3</li>
2601
2611
  * <li>io1</li>
2602
2612
  * </ol>
2603
2613
  * See
@@ -514,6 +514,7 @@ export interface DomainEndpointOptions {
514
514
  }
515
515
  export declare enum VolumeType {
516
516
  gp2 = "gp2",
517
+ gp3 = "gp3",
517
518
  io1 = "io1",
518
519
  standard = "standard"
519
520
  }
@@ -527,6 +528,8 @@ export interface EBSOptions {
527
528
  VolumeSize?: number;
528
529
 
529
530
  Iops?: number;
531
+
532
+ Throughput?: number;
530
533
  }
531
534
 
532
535
  export interface EncryptionAtRestOptions {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-opensearch",
3
3
  "description": "AWS SDK for JavaScript Opensearch Client for Node.js, Browser and React Native",
4
- "version": "3.137.0",
4
+ "version": "3.139.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",