@aws-sdk/client-elasticsearch-service 3.31.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 +11 -0
- package/commands/ListDomainNamesCommand.ts +3 -3
- package/dist/cjs/ElasticsearchServiceClient.js +13 -13
- package/dist/cjs/ElasticsearchServiceClient.js.map +1 -1
- package/dist/cjs/commands/AcceptInboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist/cjs/commands/AcceptInboundCrossClusterSearchConnectionCommand.js.map +1 -1
- package/dist/cjs/commands/AddTagsCommand.js +3 -3
- package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
- package/dist/cjs/commands/AssociatePackageCommand.js +3 -3
- package/dist/cjs/commands/AssociatePackageCommand.js.map +1 -1
- package/dist/cjs/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js +3 -3
- package/dist/cjs/commands/CancelElasticsearchServiceSoftwareUpdateCommand.js.map +1 -1
- package/dist/cjs/commands/CreateElasticsearchDomainCommand.js +3 -3
- package/dist/cjs/commands/CreateElasticsearchDomainCommand.js.map +1 -1
- package/dist/cjs/commands/CreateOutboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist/cjs/commands/CreateOutboundCrossClusterSearchConnectionCommand.js.map +1 -1
- package/dist/cjs/commands/CreatePackageCommand.js +3 -3
- package/dist/cjs/commands/CreatePackageCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteElasticsearchDomainCommand.js +3 -3
- package/dist/cjs/commands/DeleteElasticsearchDomainCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteElasticsearchServiceRoleCommand.js +3 -3
- package/dist/cjs/commands/DeleteElasticsearchServiceRoleCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteInboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist/cjs/commands/DeleteInboundCrossClusterSearchConnectionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist/cjs/commands/DeleteOutboundCrossClusterSearchConnectionCommand.js.map +1 -1
- package/dist/cjs/commands/DeletePackageCommand.js +3 -3
- package/dist/cjs/commands/DeletePackageCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDomainAutoTunesCommand.js +3 -3
- package/dist/cjs/commands/DescribeDomainAutoTunesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeElasticsearchDomainCommand.js +3 -3
- package/dist/cjs/commands/DescribeElasticsearchDomainCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeElasticsearchDomainConfigCommand.js +3 -3
- package/dist/cjs/commands/DescribeElasticsearchDomainConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeElasticsearchDomainsCommand.js +3 -3
- package/dist/cjs/commands/DescribeElasticsearchDomainsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js +3 -3
- package/dist/cjs/commands/DescribeElasticsearchInstanceTypeLimitsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeInboundCrossClusterSearchConnectionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeOutboundCrossClusterSearchConnectionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribePackagesCommand.js +3 -3
- package/dist/cjs/commands/DescribePackagesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js +3 -3
- package/dist/cjs/commands/DescribeReservedElasticsearchInstanceOfferingsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeReservedElasticsearchInstancesCommand.js +3 -3
- package/dist/cjs/commands/DescribeReservedElasticsearchInstancesCommand.js.map +1 -1
- package/dist/cjs/commands/DissociatePackageCommand.js +3 -3
- package/dist/cjs/commands/DissociatePackageCommand.js.map +1 -1
- package/dist/cjs/commands/GetCompatibleElasticsearchVersionsCommand.js +3 -3
- package/dist/cjs/commands/GetCompatibleElasticsearchVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/GetPackageVersionHistoryCommand.js +3 -3
- package/dist/cjs/commands/GetPackageVersionHistoryCommand.js.map +1 -1
- package/dist/cjs/commands/GetUpgradeHistoryCommand.js +3 -3
- package/dist/cjs/commands/GetUpgradeHistoryCommand.js.map +1 -1
- package/dist/cjs/commands/GetUpgradeStatusCommand.js +3 -3
- package/dist/cjs/commands/GetUpgradeStatusCommand.js.map +1 -1
- package/dist/cjs/commands/ListDomainNamesCommand.js +4 -4
- package/dist/cjs/commands/ListDomainNamesCommand.js.map +1 -1
- package/dist/cjs/commands/ListDomainsForPackageCommand.js +3 -3
- package/dist/cjs/commands/ListDomainsForPackageCommand.js.map +1 -1
- package/dist/cjs/commands/ListElasticsearchInstanceTypesCommand.js +3 -3
- package/dist/cjs/commands/ListElasticsearchInstanceTypesCommand.js.map +1 -1
- package/dist/cjs/commands/ListElasticsearchVersionsCommand.js +3 -3
- package/dist/cjs/commands/ListElasticsearchVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListPackagesForDomainCommand.js +3 -3
- package/dist/cjs/commands/ListPackagesForDomainCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsCommand.js +3 -3
- package/dist/cjs/commands/ListTagsCommand.js.map +1 -1
- package/dist/cjs/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js +3 -3
- package/dist/cjs/commands/PurchaseReservedElasticsearchInstanceOfferingCommand.js.map +1 -1
- package/dist/cjs/commands/RejectInboundCrossClusterSearchConnectionCommand.js +3 -3
- package/dist/cjs/commands/RejectInboundCrossClusterSearchConnectionCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist/cjs/commands/RemoveTagsCommand.js.map +1 -1
- package/dist/cjs/commands/StartElasticsearchServiceSoftwareUpdateCommand.js +3 -3
- package/dist/cjs/commands/StartElasticsearchServiceSoftwareUpdateCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateElasticsearchDomainConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateElasticsearchDomainConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdatePackageCommand.js +3 -3
- package/dist/cjs/commands/UpdatePackageCommand.js.map +1 -1
- package/dist/cjs/commands/UpgradeElasticsearchDomainCommand.js +3 -3
- package/dist/cjs/commands/UpgradeElasticsearchDomainCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +56 -56
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.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 +257 -255
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/commands/ListDomainNamesCommand.js +2 -2
- package/dist/es/commands/ListDomainNamesCommand.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/pagination/DescribeDomainAutoTunesPaginator.js +4 -4
- package/dist/es/pagination/DescribeDomainAutoTunesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeInboundCrossClusterSearchConnectionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeOutboundCrossClusterSearchConnectionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribePackagesPaginator.js +4 -4
- package/dist/es/pagination/DescribePackagesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js +4 -4
- package/dist/es/pagination/DescribeReservedElasticsearchInstanceOfferingsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeReservedElasticsearchInstancesPaginator.js +4 -4
- package/dist/es/pagination/DescribeReservedElasticsearchInstancesPaginator.js.map +1 -1
- package/dist/es/pagination/GetPackageVersionHistoryPaginator.js +4 -4
- package/dist/es/pagination/GetPackageVersionHistoryPaginator.js.map +1 -1
- package/dist/es/pagination/GetUpgradeHistoryPaginator.js +4 -4
- package/dist/es/pagination/GetUpgradeHistoryPaginator.js.map +1 -1
- package/dist/es/pagination/ListDomainsForPackagePaginator.js +4 -4
- package/dist/es/pagination/ListDomainsForPackagePaginator.js.map +1 -1
- package/dist/es/pagination/ListElasticsearchInstanceTypesPaginator.js +4 -4
- package/dist/es/pagination/ListElasticsearchInstanceTypesPaginator.js.map +1 -1
- package/dist/es/pagination/ListElasticsearchVersionsPaginator.js +4 -4
- package/dist/es/pagination/ListElasticsearchVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListPackagesForDomainPaginator.js +4 -4
- package/dist/es/pagination/ListPackagesForDomainPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +5 -5
- 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 +6 -4
- package/tsconfig.json +1 -2
|
@@ -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.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
|
@@ -1110,12 +1110,12 @@ export const serializeAws_restJson1ListDomainNamesCommand = async (
|
|
|
1110
1110
|
context: __SerdeContext
|
|
1111
1111
|
): Promise<__HttpRequest> => {
|
|
1112
1112
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1113
|
-
const headers: any = {
|
|
1114
|
-
"content-type": "application/json",
|
|
1115
|
-
};
|
|
1113
|
+
const headers: any = {};
|
|
1116
1114
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-01-01/domain";
|
|
1115
|
+
const query: any = {
|
|
1116
|
+
...(input.EngineType !== undefined && { engineType: input.EngineType }),
|
|
1117
|
+
};
|
|
1117
1118
|
let body: any;
|
|
1118
|
-
body = "";
|
|
1119
1119
|
return new __HttpRequest({
|
|
1120
1120
|
protocol,
|
|
1121
1121
|
hostname,
|
|
@@ -1123,6 +1123,7 @@ export const serializeAws_restJson1ListDomainNamesCommand = async (
|
|
|
1123
1123
|
method: "GET",
|
|
1124
1124
|
headers,
|
|
1125
1125
|
path: resolvedPath,
|
|
1126
|
+
query,
|
|
1126
1127
|
body,
|
|
1127
1128
|
});
|
|
1128
1129
|
};
|
|
@@ -5779,6 +5780,7 @@ const deserializeAws_restJson1DomainEndpointOptionsStatus = (
|
|
|
5779
5780
|
const deserializeAws_restJson1DomainInfo = (output: any, context: __SerdeContext): DomainInfo => {
|
|
5780
5781
|
return {
|
|
5781
5782
|
DomainName: __expectString(output.DomainName),
|
|
5783
|
+
EngineType: __expectString(output.EngineType),
|
|
5782
5784
|
} as any;
|
|
5783
5785
|
};
|
|
5784
5786
|
|
package/tsconfig.json
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"resolveJsonModule": true,
|
|
14
14
|
"esModuleInterop": true,
|
|
15
15
|
"declarationDir": "./dist/types",
|
|
16
|
-
"outDir": "dist/cjs"
|
|
17
|
-
"useUnknownInCatchVariables": false
|
|
16
|
+
"outDir": "dist/cjs"
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|