Skip to content

Commit 66d0dda

Browse files
author
awstools
committed
feat(client-opensearch): This release adds support for gp3 EBS (Elastic Block Store) storage.
1 parent 3bb625d commit 66d0dda

File tree

3 files changed

+34
-5
lines changed

3 files changed

+34
-5
lines changed

clients/client-opensearch/src/models/models_0.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ export interface DomainEndpointOptions {
12051205

12061206
export enum VolumeType {
12071207
gp2 = "gp2",
1208+
gp3 = "gp3",
12081209
io1 = "io1",
12091210
standard = "standard",
12101211
}
@@ -1229,9 +1230,14 @@ export interface EBSOptions {
12291230
VolumeSize?: number;
12301231

12311232
/**
1232-
* <p>The IOPD for a Provisioned IOPS EBS volume (SSD).</p>
1233+
* <p>The IOPS for Provisioned IOPS And GP3 EBS volume (SSD).</p>
12331234
*/
12341235
Iops?: number;
1236+
1237+
/**
1238+
* <p>The Throughput for GP3 EBS volume (SSD).</p>
1239+
*/
1240+
Throughput?: number;
12351241
}
12361242

12371243
/**
@@ -2961,6 +2967,10 @@ export interface StorageTypeLimit {
29612967
* Maximum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.
29622968
* <li>MinimumIops</li>
29632969
* Minimum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.
2970+
* <li>MaximumThroughput</li>
2971+
* Maximum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.
2972+
* <li>MinimumThroughput</li>
2973+
* Minimum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.
29642974
* </ol>
29652975
* </p>
29662976
*/
@@ -3007,6 +3017,7 @@ export interface StorageType {
30073017
* <ol>
30083018
* <li>standard</li>
30093019
* <li>gp2</li>
3020+
* <li>gp3</li>
30103021
* <li>io1</li>
30113022
* </ol>
30123023
* See

clients/client-opensearch/src/protocols/Aws_restJson1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4188,6 +4188,7 @@ const serializeAws_restJson1EBSOptions = (input: EBSOptions, context: __SerdeCon
41884188
return {
41894189
...(input.EBSEnabled != null && { EBSEnabled: input.EBSEnabled }),
41904190
...(input.Iops != null && { Iops: input.Iops }),
4191+
...(input.Throughput != null && { Throughput: input.Throughput }),
41914192
...(input.VolumeSize != null && { VolumeSize: input.VolumeSize }),
41924193
...(input.VolumeType != null && { VolumeType: input.VolumeType }),
41934194
};
@@ -4899,6 +4900,7 @@ const deserializeAws_restJson1EBSOptions = (output: any, context: __SerdeContext
48994900
return {
49004901
EBSEnabled: __expectBoolean(output.EBSEnabled),
49014902
Iops: __expectInt32(output.Iops),
4903+
Throughput: __expectInt32(output.Throughput),
49024904
VolumeSize: __expectInt32(output.VolumeSize),
49034905
VolumeType: __expectString(output.VolumeType),
49044906
} as any;

codegen/sdk-codegen/aws-models/opensearch.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@
158158
"input": {
159159
"target": "com.amazonaws.opensearch#AddTagsRequest"
160160
},
161+
"output": {
162+
"target": "smithy.api#Unit"
163+
},
161164
"errors": [
162165
{
163166
"target": "com.amazonaws.opensearch#BaseException"
@@ -3504,7 +3507,13 @@
35043507
"Iops": {
35053508
"target": "com.amazonaws.opensearch#IntegerClass",
35063509
"traits": {
3507-
"smithy.api#documentation": "<p>The IOPD for a Provisioned IOPS EBS volume (SSD).</p>"
3510+
"smithy.api#documentation": "<p>The IOPS for Provisioned IOPS And GP3 EBS volume (SSD).</p>"
3511+
}
3512+
},
3513+
"Throughput": {
3514+
"target": "com.amazonaws.opensearch#IntegerClass",
3515+
"traits": {
3516+
"smithy.api#documentation": "<p>The Throughput for GP3 EBS volume (SSD).</p>"
35083517
}
35093518
}
35103519
},
@@ -5920,6 +5929,9 @@
59205929
"input": {
59215930
"target": "com.amazonaws.opensearch#RemoveTagsRequest"
59225931
},
5932+
"output": {
5933+
"target": "smithy.api#Unit"
5934+
},
59235935
"errors": [
59245936
{
59255937
"target": "com.amazonaws.opensearch#BaseException"
@@ -6596,7 +6608,7 @@
65966608
"com.amazonaws.opensearch#StorageSubTypeName": {
65976609
"type": "string",
65986610
"traits": {
6599-
"smithy.api#documentation": "<p>\n Sub-type of the given storage type.\n List of available sub-storage options:\n \"instance\" storageType has no storageSubType.\n \"ebs\" storageType has the following valid storageSubTypes:\n <ol>\n <li>standard</li>\n <li>gp2</li>\n <li>io1</li>\n </ol>\n See\n <code>\n <a>VolumeType</a>\n </code>\n for more information regarding each EBS storage option.\n </p>"
6611+
"smithy.api#documentation": "<p>\n Sub-type of the given storage type.\n List of available sub-storage options:\n \"instance\" storageType has no storageSubType.\n \"ebs\" storageType has the following valid storageSubTypes:\n <ol>\n <li>standard</li>\n <li>gp2</li>\n <li>gp3</li>\n <li>io1</li>\n </ol>\n See\n <code>\n <a>VolumeType</a>\n </code>\n for more information regarding each EBS storage option.\n </p>"
66006612
}
66016613
},
66026614
"com.amazonaws.opensearch#StorageType": {
@@ -6625,7 +6637,7 @@
66256637
"LimitName": {
66266638
"target": "com.amazonaws.opensearch#LimitName",
66276639
"traits": {
6628-
"smithy.api#documentation": "<p>\n Name of storage limits that are applicable for the given storage type.\n If\n <code>\n <a>StorageType</a>\n </code>\n is \"ebs\", the following storage options are applicable:\n <ol>\n <li>MinimumVolumeSize</li>\n Minimum amount of volume size that is applicable for the given storage type. Can be empty if not applicable.\n <li>MaximumVolumeSize</li>\n Maximum amount of volume size that is applicable for the given storage type. Can be empty if not applicable.\n <li>MaximumIops</li>\n Maximum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.\n <li>MinimumIops</li>\n Minimum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.\n </ol>\n </p>"
6640+
"smithy.api#documentation": "<p>\n Name of storage limits that are applicable for the given storage type.\n If\n <code>\n <a>StorageType</a>\n </code>\n is \"ebs\", the following storage options are applicable:\n <ol>\n <li>MinimumVolumeSize</li>\n Minimum amount of volume size that is applicable for the given storage type. Can be empty if not applicable.\n <li>MaximumVolumeSize</li>\n Maximum amount of volume size that is applicable for the given storage type. Can be empty if not applicable.\n <li>MaximumIops</li>\n Maximum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.\n <li>MinimumIops</li>\n Minimum amount of Iops that is applicable for given the storage type. Can be empty if not applicable.\n <li>MaximumThroughput</li>\n Maximum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.\n <li>MinimumThroughput</li>\n Minimum amount of Throughput that is applicable for given the storage type. Can be empty if not applicable.\n </ol>\n </p>"
66296641
}
66306642
},
66316643
"LimitValues": {
@@ -7388,7 +7400,7 @@
73887400
"com.amazonaws.opensearch#VolumeType": {
73897401
"type": "string",
73907402
"traits": {
7391-
"smithy.api#documentation": "<p>The type of EBS volume, standard, gp2, or io1. See <a href=\"http://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-createupdatedomains.html#opensearch-createdomain-configure-ebs\" target=\"_blank\">Configuring EBS-based Storage</a> for more information.\n </p>",
7403+
"smithy.api#documentation": "<p>The type of EBS volume, standard, gp2, gp3 or io1. See <a href=\"http://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-createupdatedomains.html#opensearch-createdomain-configure-ebs\" target=\"_blank\">Configuring EBS-based Storage</a> for more information.\n </p>",
73927404
"smithy.api#enum": [
73937405
{
73947406
"value": "standard",
@@ -7401,6 +7413,10 @@
74017413
{
74027414
"value": "io1",
74037415
"name": "io1"
7416+
},
7417+
{
7418+
"value": "gp3",
7419+
"name": "gp3"
74047420
}
74057421
]
74067422
}

0 commit comments

Comments
 (0)