Skip to content

Commit 3bb625d

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

File tree

3 files changed

+40
-6
lines changed

3 files changed

+40
-6
lines changed

clients/client-elasticsearch-service/src/models/models_0.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ export interface DomainEndpointOptions {
863863
CustomEndpointCertificateArn?: string;
864864
}
865865

866-
export type VolumeType = "gp2" | "io1" | "standard";
866+
export type VolumeType = "gp2" | "gp3" | "io1" | "standard";
867867

868868
/**
869869
* <p>Options to enable, disable, and specify the properties of EBS storage volumes. For more information, see <a href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs" target="_blank"> Configuring EBS-based Storage</a>.</p>
@@ -885,9 +885,14 @@ export interface EBSOptions {
885885
VolumeSize?: number;
886886

887887
/**
888-
* <p>Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).</p>
888+
* <p>Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).</p>
889889
*/
890890
Iops?: number;
891+
892+
/**
893+
* <p>Specifies the Throughput for GP3 EBS volume (SSD).</p>
894+
*/
895+
Throughput?: number;
891896
}
892897

893898
/**
@@ -2425,6 +2430,10 @@ export interface StorageTypeLimit {
24252430
* Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.
24262431
* <li>MinimumIops</li>
24272432
* Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.
2433+
* <li>MaximumThroughput</li>
2434+
* Maximum amount of Throughput that is applicable for given storage type.It can be empty if it is not applicable.
2435+
* <li>MinimumThroughput</li>
2436+
* Minimum amount of Throughput that is applicable for given storage type.It can be empty if it is not applicable.
24282437
* </ol>
24292438
* </p>
24302439
*/
@@ -2469,6 +2478,7 @@ export interface StorageType {
24692478
* <ol>
24702479
* <li>standard</li>
24712480
* <li>gp2</li>
2481+
* <li>gp3</li>
24722482
* <li>io1</li>
24732483
* </ol>
24742484
* Refer <code><a>VolumeType</a></code> for more information regarding above EBS storage options.

clients/client-elasticsearch-service/src/protocols/Aws_restJson1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4280,6 +4280,7 @@ const serializeAws_restJson1EBSOptions = (input: EBSOptions, context: __SerdeCon
42804280
return {
42814281
...(input.EBSEnabled != null && { EBSEnabled: input.EBSEnabled }),
42824282
...(input.Iops != null && { Iops: input.Iops }),
4283+
...(input.Throughput != null && { Throughput: input.Throughput }),
42834284
...(input.VolumeSize != null && { VolumeSize: input.VolumeSize }),
42844285
...(input.VolumeType != null && { VolumeType: input.VolumeType }),
42854286
};
@@ -4839,6 +4840,7 @@ const deserializeAws_restJson1EBSOptions = (output: any, context: __SerdeContext
48394840
return {
48404841
EBSEnabled: __expectBoolean(output.EBSEnabled),
48414842
Iops: __expectInt32(output.Iops),
4843+
Throughput: __expectInt32(output.Throughput),
48424844
VolumeSize: __expectInt32(output.VolumeSize),
48434845
VolumeType: __expectString(output.VolumeType),
48444846
} as any;

codegen/sdk-codegen/aws-models/elasticsearch-service.json

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@
136136
"input": {
137137
"target": "com.amazonaws.elasticsearchservice#AddTagsRequest"
138138
},
139+
"output": {
140+
"target": "smithy.api#Unit"
141+
},
139142
"errors": [
140143
{
141144
"target": "com.amazonaws.elasticsearchservice#BaseException"
@@ -1613,6 +1616,12 @@
16131616
},
16141617
"com.amazonaws.elasticsearchservice#DeleteElasticsearchServiceRole": {
16151618
"type": "operation",
1619+
"input": {
1620+
"target": "smithy.api#Unit"
1621+
},
1622+
"output": {
1623+
"target": "smithy.api#Unit"
1624+
},
16161625
"errors": [
16171626
{
16181627
"target": "com.amazonaws.elasticsearchservice#BaseException"
@@ -3141,7 +3150,13 @@
31413150
"Iops": {
31423151
"target": "com.amazonaws.elasticsearchservice#IntegerClass",
31433152
"traits": {
3144-
"smithy.api#documentation": "<p>Specifies the IOPD for a Provisioned IOPS EBS volume (SSD).</p>"
3153+
"smithy.api#documentation": "<p>Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).</p>"
3154+
}
3155+
},
3156+
"Throughput": {
3157+
"target": "com.amazonaws.elasticsearchservice#IntegerClass",
3158+
"traits": {
3159+
"smithy.api#documentation": "<p>Specifies the Throughput for GP3 EBS volume (SSD).</p>"
31453160
}
31463161
}
31473162
},
@@ -5748,6 +5763,9 @@
57485763
"input": {
57495764
"target": "com.amazonaws.elasticsearchservice#RemoveTagsRequest"
57505765
},
5766+
"output": {
5767+
"target": "smithy.api#Unit"
5768+
},
57515769
"errors": [
57525770
{
57535771
"target": "com.amazonaws.elasticsearchservice#BaseException"
@@ -6413,7 +6431,7 @@
64136431
"com.amazonaws.elasticsearchservice#StorageSubTypeName": {
64146432
"type": "string",
64156433
"traits": {
6416-
"smithy.api#documentation": "<p>\n SubType of the given storage type.\n List of available sub-storage options:\n For \"instance\" storageType we wont have any storageSubType,\n in case of \"ebs\" storageType we will have following valid storageSubTypes\n <ol>\n <li>standard</li>\n <li>gp2</li>\n <li>io1</li>\n </ol>\n Refer <code><a>VolumeType</a></code> for more information regarding above EBS storage options.\n </p>"
6434+
"smithy.api#documentation": "<p>\n SubType of the given storage type.\n List of available sub-storage options:\n For \"instance\" storageType we wont have any storageSubType,\n in case of \"ebs\" storageType we will have following valid storageSubTypes\n <ol>\n <li>standard</li>\n <li>gp2</li>\n <li>gp3</li>\n <li>io1</li>\n </ol>\n Refer <code><a>VolumeType</a></code> for more information regarding above EBS storage options.\n </p>"
64176435
}
64186436
},
64196437
"com.amazonaws.elasticsearchservice#StorageType": {
@@ -6442,7 +6460,7 @@
64426460
"LimitName": {
64436461
"target": "com.amazonaws.elasticsearchservice#LimitName",
64446462
"traits": {
6445-
"smithy.api#documentation": "<p>\n Name of storage limits that are applicable for given storage type.\n If\n <code>\n <a>StorageType</a>\n </code>\n is ebs, following storage options are applicable\n <ol>\n <li>MinimumVolumeSize</li>\n Minimum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MaximumVolumeSize</li>\n Maximum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MaximumIops</li>\n Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MinimumIops</li>\n Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.\n </ol>\n </p>"
6463+
"smithy.api#documentation": "<p>\n Name of storage limits that are applicable for given storage type.\n If\n <code>\n <a>StorageType</a>\n </code>\n is ebs, following storage options are applicable\n <ol>\n <li>MinimumVolumeSize</li>\n Minimum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MaximumVolumeSize</li>\n Maximum amount of volume size that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MaximumIops</li>\n Maximum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MinimumIops</li>\n Minimum amount of Iops that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MaximumThroughput</li>\n Maximum amount of Throughput that is applicable for given storage type.It can be empty if it is not applicable.\n <li>MinimumThroughput</li>\n Minimum amount of Throughput that is applicable for given storage type.It can be empty if it is not applicable.\n </ol>\n </p>"
64466464
}
64476465
},
64486466
"LimitValues": {
@@ -7151,7 +7169,7 @@
71517169
"com.amazonaws.elasticsearchservice#VolumeType": {
71527170
"type": "string",
71537171
"traits": {
7154-
"smithy.api#documentation": "<p> The type of EBS volume, standard, gp2, or io1. See <a href=\"http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs\" target=\"_blank\">Configuring EBS-based Storage</a>for more information.</p>",
7172+
"smithy.api#documentation": "<p> The type of EBS volume, standard, gp2, gp3 or io1. See <a href=\"http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-ebs\" target=\"_blank\">Configuring EBS-based Storage</a>for more information.</p>",
71557173
"smithy.api#enum": [
71567174
{
71577175
"value": "standard",
@@ -7164,6 +7182,10 @@
71647182
{
71657183
"value": "io1",
71667184
"name": "io1"
7185+
},
7186+
{
7187+
"value": "gp3",
7188+
"name": "gp3"
71677189
}
71687190
]
71697191
}

0 commit comments

Comments
 (0)