@aws-sdk/client-opensearch 3.252.0 → 3.256.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.
@@ -25,12 +25,13 @@ import {
25
25
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
26
26
  import {
27
27
  Client as __Client,
28
- DefaultsMode,
28
+ DefaultsMode as __DefaultsMode,
29
29
  SmithyConfiguration as __SmithyConfiguration,
30
30
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -119,6 +120,10 @@ import {
119
120
  DescribeDomainsCommandInput,
120
121
  DescribeDomainsCommandOutput,
121
122
  } from "./commands/DescribeDomainsCommand";
123
+ import {
124
+ DescribeDryRunProgressCommandInput,
125
+ DescribeDryRunProgressCommandOutput,
126
+ } from "./commands/DescribeDryRunProgressCommand";
122
127
  import {
123
128
  DescribeInboundConnectionsCommandInput,
124
129
  DescribeInboundConnectionsCommandOutput,
@@ -264,6 +269,7 @@ export declare type ServiceInputTypes =
264
269
  | DescribeDomainCommandInput
265
270
  | DescribeDomainConfigCommandInput
266
271
  | DescribeDomainsCommandInput
272
+ | DescribeDryRunProgressCommandInput
267
273
  | DescribeInboundConnectionsCommandInput
268
274
  | DescribeInstanceTypeLimitsCommandInput
269
275
  | DescribeOutboundConnectionsCommandInput
@@ -314,6 +320,7 @@ export declare type ServiceOutputTypes =
314
320
  | DescribeDomainCommandOutput
315
321
  | DescribeDomainConfigCommandOutput
316
322
  | DescribeDomainsCommandOutput
323
+ | DescribeDryRunProgressCommandOutput
317
324
  | DescribeInboundConnectionsCommandOutput
318
325
  | DescribeInstanceTypeLimitsCommandOutput
319
326
  | DescribeOutboundConnectionsCommandOutput
@@ -347,7 +354,7 @@ export declare type ServiceOutputTypes =
347
354
  export interface ClientDefaults
348
355
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
349
356
  requestHandler?: __HttpHandler;
350
- sha256?: __HashConstructor;
357
+ sha256?: __ChecksumConstructor | __HashConstructor;
351
358
  urlParser?: __UrlParser;
352
359
  bodyLengthChecker?: __BodyLengthCalculator;
353
360
  streamCollector?: __StreamCollector;
@@ -366,7 +373,7 @@ export interface ClientDefaults
366
373
  region?: string | __Provider<string>;
367
374
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
368
375
  defaultUserAgentProvider?: Provider<__UserAgent>;
369
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
376
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
370
377
  }
371
378
  declare type OpenSearchClientConfigType = Partial<
372
379
  __SmithyConfiguration<__HttpHandlerOptions>
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DescribeDryRunProgressRequest,
11
+ DescribeDryRunProgressResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ OpenSearchClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../OpenSearchClient";
18
+ export interface DescribeDryRunProgressCommandInput
19
+ extends DescribeDryRunProgressRequest {}
20
+ export interface DescribeDryRunProgressCommandOutput
21
+ extends DescribeDryRunProgressResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeDryRunProgressCommand extends $Command<
24
+ DescribeDryRunProgressCommandInput,
25
+ DescribeDryRunProgressCommandOutput,
26
+ OpenSearchClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeDryRunProgressCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeDryRunProgressCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: OpenSearchClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeDryRunProgressCommandInput,
37
+ DescribeDryRunProgressCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -17,6 +17,7 @@ export * from "./DescribeDomainChangeProgressCommand";
17
17
  export * from "./DescribeDomainCommand";
18
18
  export * from "./DescribeDomainConfigCommand";
19
19
  export * from "./DescribeDomainsCommand";
20
+ export * from "./DescribeDryRunProgressCommand";
20
21
  export * from "./DescribeInboundConnectionsCommand";
21
22
  export * from "./DescribeInstanceTypeLimitsCommand";
22
23
  export * from "./DescribeOutboundConnectionsCommand";
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -799,6 +799,31 @@ export interface DescribeDomainsRequest {
799
799
  export interface DescribeDomainsResponse {
800
800
  DomainStatusList: DomainStatus[] | undefined;
801
801
  }
802
+ export interface DescribeDryRunProgressRequest {
803
+ DomainName: string | undefined;
804
+ DryRunId?: string;
805
+ LoadDryRunConfig?: boolean;
806
+ }
807
+ export interface ValidationFailure {
808
+ Code?: string;
809
+ Message?: string;
810
+ }
811
+ export interface DryRunProgressStatus {
812
+ DryRunId: string | undefined;
813
+ DryRunStatus: string | undefined;
814
+ CreationDate: string | undefined;
815
+ UpdateDate: string | undefined;
816
+ ValidationFailures?: ValidationFailure[];
817
+ }
818
+ export interface DryRunResults {
819
+ DeploymentType?: string;
820
+ Message?: string;
821
+ }
822
+ export interface DescribeDryRunProgressResponse {
823
+ DryRunProgressStatus?: DryRunProgressStatus;
824
+ DryRunConfig?: DomainStatus;
825
+ DryRunResults?: DryRunResults;
826
+ }
802
827
  export interface Filter {
803
828
  Name?: string;
804
829
  Values?: string[];
@@ -1137,6 +1162,10 @@ export interface StartServiceSoftwareUpdateRequest {
1137
1162
  export interface StartServiceSoftwareUpdateResponse {
1138
1163
  ServiceSoftwareOptions?: ServiceSoftwareOptions;
1139
1164
  }
1165
+ export declare enum DryRunMode {
1166
+ Basic = "Basic",
1167
+ Verbose = "Verbose",
1168
+ }
1140
1169
  export interface UpdateDomainConfigRequest {
1141
1170
  DomainName: string | undefined;
1142
1171
  ClusterConfig?: ClusterConfig;
@@ -1153,14 +1182,12 @@ export interface UpdateDomainConfigRequest {
1153
1182
  AdvancedSecurityOptions?: AdvancedSecurityOptionsInput;
1154
1183
  AutoTuneOptions?: AutoTuneOptions;
1155
1184
  DryRun?: boolean;
1156
- }
1157
- export interface DryRunResults {
1158
- DeploymentType?: string;
1159
- Message?: string;
1185
+ DryRunMode?: DryRunMode | string;
1160
1186
  }
1161
1187
  export interface UpdateDomainConfigResponse {
1162
1188
  DomainConfig: DomainConfig | undefined;
1163
1189
  DryRunResults?: DryRunResults;
1190
+ DryRunProgressStatus?: DryRunProgressStatus;
1164
1191
  }
1165
1192
  export interface UpdatePackageRequest {
1166
1193
  PackageID: string | undefined;
@@ -1470,6 +1497,21 @@ export declare const DescribeDomainsRequestFilterSensitiveLog: (
1470
1497
  export declare const DescribeDomainsResponseFilterSensitiveLog: (
1471
1498
  obj: DescribeDomainsResponse
1472
1499
  ) => any;
1500
+ export declare const DescribeDryRunProgressRequestFilterSensitiveLog: (
1501
+ obj: DescribeDryRunProgressRequest
1502
+ ) => any;
1503
+ export declare const ValidationFailureFilterSensitiveLog: (
1504
+ obj: ValidationFailure
1505
+ ) => any;
1506
+ export declare const DryRunProgressStatusFilterSensitiveLog: (
1507
+ obj: DryRunProgressStatus
1508
+ ) => any;
1509
+ export declare const DryRunResultsFilterSensitiveLog: (
1510
+ obj: DryRunResults
1511
+ ) => any;
1512
+ export declare const DescribeDryRunProgressResponseFilterSensitiveLog: (
1513
+ obj: DescribeDryRunProgressResponse
1514
+ ) => any;
1473
1515
  export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
1474
1516
  export declare const DescribeInboundConnectionsRequestFilterSensitiveLog: (
1475
1517
  obj: DescribeInboundConnectionsRequest
@@ -1669,9 +1711,6 @@ export declare const StartServiceSoftwareUpdateResponseFilterSensitiveLog: (
1669
1711
  export declare const UpdateDomainConfigRequestFilterSensitiveLog: (
1670
1712
  obj: UpdateDomainConfigRequest
1671
1713
  ) => any;
1672
- export declare const DryRunResultsFilterSensitiveLog: (
1673
- obj: DryRunResults
1674
- ) => any;
1675
1714
  export declare const UpdateDomainConfigResponseFilterSensitiveLog: (
1676
1715
  obj: UpdateDomainConfigResponse
1677
1716
  ) => any;
@@ -79,6 +79,10 @@ import {
79
79
  DescribeDomainsCommandInput,
80
80
  DescribeDomainsCommandOutput,
81
81
  } from "../commands/DescribeDomainsCommand";
82
+ import {
83
+ DescribeDryRunProgressCommandInput,
84
+ DescribeDryRunProgressCommandOutput,
85
+ } from "../commands/DescribeDryRunProgressCommand";
82
86
  import {
83
87
  DescribeInboundConnectionsCommandInput,
84
88
  DescribeInboundConnectionsCommandOutput,
@@ -275,6 +279,10 @@ export declare const serializeAws_restJson1DescribeDomainsCommand: (
275
279
  input: DescribeDomainsCommandInput,
276
280
  context: __SerdeContext
277
281
  ) => Promise<__HttpRequest>;
282
+ export declare const serializeAws_restJson1DescribeDryRunProgressCommand: (
283
+ input: DescribeDryRunProgressCommandInput,
284
+ context: __SerdeContext
285
+ ) => Promise<__HttpRequest>;
278
286
  export declare const serializeAws_restJson1DescribeInboundConnectionsCommand: (
279
287
  input: DescribeInboundConnectionsCommandInput,
280
288
  context: __SerdeContext
@@ -471,6 +479,10 @@ export declare const deserializeAws_restJson1DescribeDomainsCommand: (
471
479
  output: __HttpResponse,
472
480
  context: __SerdeContext
473
481
  ) => Promise<DescribeDomainsCommandOutput>;
482
+ export declare const deserializeAws_restJson1DescribeDryRunProgressCommand: (
483
+ output: __HttpResponse,
484
+ context: __SerdeContext
485
+ ) => Promise<DescribeDryRunProgressCommandOutput>;
474
486
  export declare const deserializeAws_restJson1DescribeInboundConnectionsCommand: (
475
487
  output: __HttpResponse,
476
488
  context: __SerdeContext
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.252.0",
4
+ "version": "3.256.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",
@@ -18,39 +18,39 @@
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.252.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.252.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.256.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.256.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-user-agent-browser": "3.226.0",
53
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
53
+ "@aws-sdk/util-user-agent-node": "3.254.0",
54
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
55
  "@aws-sdk/util-utf8-node": "3.208.0",
56
56
  "tslib": "^2.3.1"