@aws-sdk/client-elasticsearch-service 3.28.0 → 3.32.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 +35 -0
- package/commands/ListDomainNamesCommand.ts +3 -3
- package/dist/cjs/commands/ListDomainNamesCommand.js +1 -1
- package/dist/cjs/commands/ListDomainNamesCommand.js.map +1 -1
- package/dist/cjs/models/models_0.js +16 -2
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +82 -76
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/commands/ListDomainNamesCommand.js +2 -2
- package/dist/es/commands/ListDomainNamesCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +12 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +267 -189
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/commands/ListDomainNamesCommand.d.ts +2 -2
- package/dist/types/models/models_0.d.ts +28 -5
- package/dist/types/ts3.4/commands/ListDomainNamesCommand.d.ts +2 -2
- package/dist/types/ts3.4/models/models_0.d.ts +28 -5
- package/models/models_0.ts +34 -5
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +90 -78
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
2
|
-
import { ListDomainNamesResponse } from "../models/models_0";
|
|
2
|
+
import { ListDomainNamesRequest, ListDomainNamesResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface ListDomainNamesCommandInput {
|
|
5
|
+
export interface ListDomainNamesCommandInput extends ListDomainNamesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
@@ -937,11 +937,11 @@ export declare namespace EBSOptions {
|
|
|
937
937
|
const filterSensitiveLog: (obj: EBSOptions) => any;
|
|
938
938
|
}
|
|
939
939
|
/**
|
|
940
|
-
* <p>Specifies
|
|
940
|
+
* <p>Specifies the configuration for cold storage options such as enabled</p>
|
|
941
941
|
*/
|
|
942
942
|
export interface ColdStorageOptions {
|
|
943
943
|
/**
|
|
944
|
-
* <p>
|
|
944
|
+
* <p>Enable cold storage option. Accepted values true or false</p>
|
|
945
945
|
*/
|
|
946
946
|
Enabled: boolean | undefined;
|
|
947
947
|
}
|
|
@@ -1013,7 +1013,7 @@ export interface ElasticsearchClusterConfig {
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
WarmCount?: number;
|
|
1015
1015
|
/**
|
|
1016
|
-
* <p>Specifies the <code>ColdStorageOptions</code>
|
|
1016
|
+
* <p>Specifies the <code>ColdStorageOptions</code> config for Elasticsearch Domain</p>
|
|
1017
1017
|
*/
|
|
1018
1018
|
ColdStorageOptions?: ColdStorageOptions;
|
|
1019
1019
|
}
|
|
@@ -3446,11 +3446,34 @@ export declare namespace GetUpgradeStatusResponse {
|
|
|
3446
3446
|
*/
|
|
3447
3447
|
const filterSensitiveLog: (obj: GetUpgradeStatusResponse) => any;
|
|
3448
3448
|
}
|
|
3449
|
+
export declare enum EngineType {
|
|
3450
|
+
Elasticsearch = "Elasticsearch",
|
|
3451
|
+
OpenSearch = "OpenSearch"
|
|
3452
|
+
}
|
|
3453
|
+
/**
|
|
3454
|
+
* <p> Container for the parameters to the <code><a>ListDomainNames</a></code> operation.</p>
|
|
3455
|
+
*/
|
|
3456
|
+
export interface ListDomainNamesRequest {
|
|
3457
|
+
/**
|
|
3458
|
+
* <p> Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'. </p>
|
|
3459
|
+
*/
|
|
3460
|
+
EngineType?: EngineType | string;
|
|
3461
|
+
}
|
|
3462
|
+
export declare namespace ListDomainNamesRequest {
|
|
3463
|
+
/**
|
|
3464
|
+
* @internal
|
|
3465
|
+
*/
|
|
3466
|
+
const filterSensitiveLog: (obj: ListDomainNamesRequest) => any;
|
|
3467
|
+
}
|
|
3449
3468
|
export interface DomainInfo {
|
|
3450
3469
|
/**
|
|
3451
3470
|
* <p> Specifies the <code>DomainName</code>.</p>
|
|
3452
3471
|
*/
|
|
3453
3472
|
DomainName?: string;
|
|
3473
|
+
/**
|
|
3474
|
+
* <p> Specifies the <code>EngineType</code> of the domain.</p>
|
|
3475
|
+
*/
|
|
3476
|
+
EngineType?: EngineType | string;
|
|
3454
3477
|
}
|
|
3455
3478
|
export declare namespace DomainInfo {
|
|
3456
3479
|
/**
|
|
@@ -3459,11 +3482,11 @@ export declare namespace DomainInfo {
|
|
|
3459
3482
|
const filterSensitiveLog: (obj: DomainInfo) => any;
|
|
3460
3483
|
}
|
|
3461
3484
|
/**
|
|
3462
|
-
* <p>The result of a <code>ListDomainNames</code> operation. Contains the names of all
|
|
3485
|
+
* <p>The result of a <code>ListDomainNames</code> operation. Contains the names of all domains owned by this account and their respective engine types.</p>
|
|
3463
3486
|
*/
|
|
3464
3487
|
export interface ListDomainNamesResponse {
|
|
3465
3488
|
/**
|
|
3466
|
-
* <p>List of
|
|
3489
|
+
* <p>List of domain names and respective engine types.</p>
|
|
3467
3490
|
*/
|
|
3468
3491
|
DomainNames?: DomainInfo[];
|
|
3469
3492
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ElasticsearchServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElasticsearchServiceClient";
|
|
2
|
-
import { ListDomainNamesResponse } from "../models/models_0";
|
|
2
|
+
import { ListDomainNamesRequest, ListDomainNamesResponse } from "../models/models_0";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
-
export interface ListDomainNamesCommandInput {
|
|
5
|
+
export interface ListDomainNamesCommandInput extends ListDomainNamesRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface ListDomainNamesCommandOutput extends ListDomainNamesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
@@ -937,11 +937,11 @@ export declare namespace EBSOptions {
|
|
|
937
937
|
const filterSensitiveLog: (obj: EBSOptions) => any;
|
|
938
938
|
}
|
|
939
939
|
/**
|
|
940
|
-
* <p>Specifies
|
|
940
|
+
* <p>Specifies the configuration for cold storage options such as enabled</p>
|
|
941
941
|
*/
|
|
942
942
|
export interface ColdStorageOptions {
|
|
943
943
|
/**
|
|
944
|
-
* <p>
|
|
944
|
+
* <p>Enable cold storage option. Accepted values true or false</p>
|
|
945
945
|
*/
|
|
946
946
|
Enabled: boolean | undefined;
|
|
947
947
|
}
|
|
@@ -1013,7 +1013,7 @@ export interface ElasticsearchClusterConfig {
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
WarmCount?: number;
|
|
1015
1015
|
/**
|
|
1016
|
-
* <p>Specifies the <code>ColdStorageOptions</code>
|
|
1016
|
+
* <p>Specifies the <code>ColdStorageOptions</code> config for Elasticsearch Domain</p>
|
|
1017
1017
|
*/
|
|
1018
1018
|
ColdStorageOptions?: ColdStorageOptions;
|
|
1019
1019
|
}
|
|
@@ -3446,11 +3446,34 @@ export declare namespace GetUpgradeStatusResponse {
|
|
|
3446
3446
|
*/
|
|
3447
3447
|
const filterSensitiveLog: (obj: GetUpgradeStatusResponse) => any;
|
|
3448
3448
|
}
|
|
3449
|
+
export declare enum EngineType {
|
|
3450
|
+
Elasticsearch = "Elasticsearch",
|
|
3451
|
+
OpenSearch = "OpenSearch"
|
|
3452
|
+
}
|
|
3453
|
+
/**
|
|
3454
|
+
* <p> Container for the parameters to the <code><a>ListDomainNames</a></code> operation.</p>
|
|
3455
|
+
*/
|
|
3456
|
+
export interface ListDomainNamesRequest {
|
|
3457
|
+
/**
|
|
3458
|
+
* <p> Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'. </p>
|
|
3459
|
+
*/
|
|
3460
|
+
EngineType?: EngineType | string;
|
|
3461
|
+
}
|
|
3462
|
+
export declare namespace ListDomainNamesRequest {
|
|
3463
|
+
/**
|
|
3464
|
+
* @internal
|
|
3465
|
+
*/
|
|
3466
|
+
const filterSensitiveLog: (obj: ListDomainNamesRequest) => any;
|
|
3467
|
+
}
|
|
3449
3468
|
export interface DomainInfo {
|
|
3450
3469
|
/**
|
|
3451
3470
|
* <p> Specifies the <code>DomainName</code>.</p>
|
|
3452
3471
|
*/
|
|
3453
3472
|
DomainName?: string;
|
|
3473
|
+
/**
|
|
3474
|
+
* <p> Specifies the <code>EngineType</code> of the domain.</p>
|
|
3475
|
+
*/
|
|
3476
|
+
EngineType?: EngineType | string;
|
|
3454
3477
|
}
|
|
3455
3478
|
export declare namespace DomainInfo {
|
|
3456
3479
|
/**
|
|
@@ -3459,11 +3482,11 @@ export declare namespace DomainInfo {
|
|
|
3459
3482
|
const filterSensitiveLog: (obj: DomainInfo) => any;
|
|
3460
3483
|
}
|
|
3461
3484
|
/**
|
|
3462
|
-
* <p>The result of a <code>ListDomainNames</code> operation. Contains the names of all
|
|
3485
|
+
* <p>The result of a <code>ListDomainNames</code> operation. Contains the names of all domains owned by this account and their respective engine types.</p>
|
|
3463
3486
|
*/
|
|
3464
3487
|
export interface ListDomainNamesResponse {
|
|
3465
3488
|
/**
|
|
3466
|
-
* <p>List of
|
|
3489
|
+
* <p>List of domain names and respective engine types.</p>
|
|
3467
3490
|
*/
|
|
3468
3491
|
DomainNames?: DomainInfo[];
|
|
3469
3492
|
}
|
package/models/models_0.ts
CHANGED
|
@@ -1174,11 +1174,11 @@ export namespace EBSOptions {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
1176
|
/**
|
|
1177
|
-
* <p>Specifies
|
|
1177
|
+
* <p>Specifies the configuration for cold storage options such as enabled</p>
|
|
1178
1178
|
*/
|
|
1179
1179
|
export interface ColdStorageOptions {
|
|
1180
1180
|
/**
|
|
1181
|
-
* <p>
|
|
1181
|
+
* <p>Enable cold storage option. Accepted values true or false</p>
|
|
1182
1182
|
*/
|
|
1183
1183
|
Enabled: boolean | undefined;
|
|
1184
1184
|
}
|
|
@@ -1328,7 +1328,7 @@ export interface ElasticsearchClusterConfig {
|
|
|
1328
1328
|
WarmCount?: number;
|
|
1329
1329
|
|
|
1330
1330
|
/**
|
|
1331
|
-
* <p>Specifies the <code>ColdStorageOptions</code>
|
|
1331
|
+
* <p>Specifies the <code>ColdStorageOptions</code> config for Elasticsearch Domain</p>
|
|
1332
1332
|
*/
|
|
1333
1333
|
ColdStorageOptions?: ColdStorageOptions;
|
|
1334
1334
|
}
|
|
@@ -4300,11 +4300,40 @@ export namespace GetUpgradeStatusResponse {
|
|
|
4300
4300
|
});
|
|
4301
4301
|
}
|
|
4302
4302
|
|
|
4303
|
+
export enum EngineType {
|
|
4304
|
+
Elasticsearch = "Elasticsearch",
|
|
4305
|
+
OpenSearch = "OpenSearch",
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
/**
|
|
4309
|
+
* <p> Container for the parameters to the <code><a>ListDomainNames</a></code> operation.</p>
|
|
4310
|
+
*/
|
|
4311
|
+
export interface ListDomainNamesRequest {
|
|
4312
|
+
/**
|
|
4313
|
+
* <p> Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'. </p>
|
|
4314
|
+
*/
|
|
4315
|
+
EngineType?: EngineType | string;
|
|
4316
|
+
}
|
|
4317
|
+
|
|
4318
|
+
export namespace ListDomainNamesRequest {
|
|
4319
|
+
/**
|
|
4320
|
+
* @internal
|
|
4321
|
+
*/
|
|
4322
|
+
export const filterSensitiveLog = (obj: ListDomainNamesRequest): any => ({
|
|
4323
|
+
...obj,
|
|
4324
|
+
});
|
|
4325
|
+
}
|
|
4326
|
+
|
|
4303
4327
|
export interface DomainInfo {
|
|
4304
4328
|
/**
|
|
4305
4329
|
* <p> Specifies the <code>DomainName</code>.</p>
|
|
4306
4330
|
*/
|
|
4307
4331
|
DomainName?: string;
|
|
4332
|
+
|
|
4333
|
+
/**
|
|
4334
|
+
* <p> Specifies the <code>EngineType</code> of the domain.</p>
|
|
4335
|
+
*/
|
|
4336
|
+
EngineType?: EngineType | string;
|
|
4308
4337
|
}
|
|
4309
4338
|
|
|
4310
4339
|
export namespace DomainInfo {
|
|
@@ -4317,11 +4346,11 @@ export namespace DomainInfo {
|
|
|
4317
4346
|
}
|
|
4318
4347
|
|
|
4319
4348
|
/**
|
|
4320
|
-
* <p>The result of a <code>ListDomainNames</code> operation. Contains the names of all
|
|
4349
|
+
* <p>The result of a <code>ListDomainNames</code> operation. Contains the names of all domains owned by this account and their respective engine types.</p>
|
|
4321
4350
|
*/
|
|
4322
4351
|
export interface ListDomainNamesResponse {
|
|
4323
4352
|
/**
|
|
4324
|
-
* <p>List of
|
|
4353
|
+
* <p>List of domain names and respective engine types.</p>
|
|
4325
4354
|
*/
|
|
4326
4355
|
DomainNames?: DomainInfo[];
|
|
4327
4356
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-elasticsearch-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Elasticsearch Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.3.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|