@aws-sdk/client-opensearch 3.245.0 → 3.254.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.
@@ -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.245.0",
4
+ "version": "3.254.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",
@@ -11,46 +11,46 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/opensearch.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo opensearch"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
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.245.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.245.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.254.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.254.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"