@aws-sdk/client-opensearch 3.99.0 → 3.109.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 CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-opensearch
9
+
10
+
11
+
12
+
13
+
14
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-opensearch
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-opensearch
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class OpenSearchClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var OpenSearchClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -421,9 +421,7 @@ export interface AdvancedOptionsStatus {
421
421
  /**
422
422
  * <p>The status of advanced options for the specified domain.</p>
423
423
  */
424
- Options: {
425
- [key: string]: string;
426
- } | undefined;
424
+ Options: Record<string, string> | undefined;
427
425
  /**
428
426
  * <p>The <code>OptionStatus</code> for advanced options for the specified domain.
429
427
  * </p>
@@ -1423,17 +1421,13 @@ export interface CreateDomainRequest {
1423
1421
  * </a> for more information.
1424
1422
  * </p>
1425
1423
  */
1426
- AdvancedOptions?: {
1427
- [key: string]: string;
1428
- };
1424
+ AdvancedOptions?: Record<string, string>;
1429
1425
  /**
1430
1426
  * <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each containing options to publish a given type
1431
1427
  * of OpenSearch log.
1432
1428
  * </p>
1433
1429
  */
1434
- LogPublishingOptions?: {
1435
- [key: string]: LogPublishingOption;
1436
- };
1430
+ LogPublishingOptions?: Record<string, LogPublishingOption>;
1437
1431
  /**
1438
1432
  * <p>Options to specify configurations that will be applied to the domain endpoint.</p>
1439
1433
  */
@@ -1582,9 +1576,7 @@ export interface DomainStatus {
1582
1576
  * value</code>: <code>'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'</code>.
1583
1577
  * </p>
1584
1578
  */
1585
- Endpoints?: {
1586
- [key: string]: string;
1587
- };
1579
+ Endpoints?: Record<string, string>;
1588
1580
  /**
1589
1581
  * <p>The status of the domain configuration. <code>True</code> if Amazon OpenSearch Service is
1590
1582
  * processing configuration changes. <code>False</code> if the configuration is active.
@@ -1643,15 +1635,11 @@ export interface DomainStatus {
1643
1635
  * <code>AdvancedOptions</code>.
1644
1636
  * </p>
1645
1637
  */
1646
- AdvancedOptions?: {
1647
- [key: string]: string;
1648
- };
1638
+ AdvancedOptions?: Record<string, string>;
1649
1639
  /**
1650
1640
  * <p>Log publishing options for the given domain.</p>
1651
1641
  */
1652
- LogPublishingOptions?: {
1653
- [key: string]: LogPublishingOption;
1654
- };
1642
+ LogPublishingOptions?: Record<string, LogPublishingOption>;
1655
1643
  /**
1656
1644
  * <p>The current status of the domain's service software.</p>
1657
1645
  */
@@ -2710,9 +2698,7 @@ export interface LogPublishingOptionsStatus {
2710
2698
  /**
2711
2699
  * <p>The log publishing options configured for the domain.</p>
2712
2700
  */
2713
- Options?: {
2714
- [key: string]: LogPublishingOption;
2715
- };
2701
+ Options?: Record<string, LogPublishingOption>;
2716
2702
  /**
2717
2703
  * <p>The status of the log publishing options for the domain. See <code>OptionStatus</code> for the
2718
2704
  * status information that's included.
@@ -3290,9 +3276,7 @@ export interface DescribeInstanceTypeLimitsResponse {
3290
3276
  * </ul>
3291
3277
  * </p>
3292
3278
  */
3293
- LimitsByRole?: {
3294
- [key: string]: Limits;
3295
- };
3279
+ LimitsByRole?: Record<string, Limits>;
3296
3280
  }
3297
3281
  export declare namespace DescribeInstanceTypeLimitsResponse {
3298
3282
  /**
@@ -4668,9 +4652,7 @@ export interface UpdateDomainConfigRequest {
4668
4652
  * </a> for more information.
4669
4653
  * </p>
4670
4654
  */
4671
- AdvancedOptions?: {
4672
- [key: string]: string;
4673
- };
4655
+ AdvancedOptions?: Record<string, string>;
4674
4656
  /**
4675
4657
  * <p>IAM access policy as a JSON-formatted string.</p>
4676
4658
  */
@@ -4680,9 +4662,7 @@ export interface UpdateDomainConfigRequest {
4680
4662
  * of OpenSearch log.
4681
4663
  * </p>
4682
4664
  */
4683
- LogPublishingOptions?: {
4684
- [key: string]: LogPublishingOption;
4685
- };
4665
+ LogPublishingOptions?: Record<string, LogPublishingOption>;
4686
4666
  /**
4687
4667
  * <p>Specifies encryption of data at rest options.</p>
4688
4668
  */
@@ -4858,9 +4838,7 @@ export interface UpgradeDomainRequest {
4858
4838
  * Advanced cluster parameters</a>.
4859
4839
  * </p>
4860
4840
  */
4861
- AdvancedOptions?: {
4862
- [key: string]: string;
4863
- };
4841
+ AdvancedOptions?: Record<string, string>;
4864
4842
  }
4865
4843
  export declare namespace UpgradeDomainRequest {
4866
4844
  /**
@@ -4915,9 +4893,7 @@ export interface UpgradeDomainResponse {
4915
4893
  * Advanced cluster parameters</a>.
4916
4894
  * </p>
4917
4895
  */
4918
- AdvancedOptions?: {
4919
- [key: string]: string;
4920
- };
4896
+ AdvancedOptions?: Record<string, string>;
4921
4897
  /**
4922
4898
  * <p>Specifies change details of the domain configuration change.</p>
4923
4899
  */
@@ -189,9 +189,7 @@ export declare class ValidationException extends __BaseException {
189
189
 
190
190
  export interface AdvancedOptionsStatus {
191
191
 
192
- Options: {
193
- [key: string]: string;
194
- } | undefined;
192
+ Options: Record<string, string> | undefined;
195
193
 
196
194
  Status: OptionStatus | undefined;
197
195
  }
@@ -749,13 +747,9 @@ export interface CreateDomainRequest {
749
747
 
750
748
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
751
749
 
752
- AdvancedOptions?: {
753
- [key: string]: string;
754
- };
750
+ AdvancedOptions?: Record<string, string>;
755
751
 
756
- LogPublishingOptions?: {
757
- [key: string]: LogPublishingOption;
758
- };
752
+ LogPublishingOptions?: Record<string, LogPublishingOption>;
759
753
 
760
754
  DomainEndpointOptions?: DomainEndpointOptions;
761
755
 
@@ -832,9 +826,7 @@ export interface DomainStatus {
832
826
 
833
827
  Endpoint?: string;
834
828
 
835
- Endpoints?: {
836
- [key: string]: string;
837
- };
829
+ Endpoints?: Record<string, string>;
838
830
 
839
831
  Processing?: boolean;
840
832
 
@@ -857,13 +849,9 @@ export interface DomainStatus {
857
849
 
858
850
  NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions;
859
851
 
860
- AdvancedOptions?: {
861
- [key: string]: string;
862
- };
852
+ AdvancedOptions?: Record<string, string>;
863
853
 
864
- LogPublishingOptions?: {
865
- [key: string]: LogPublishingOption;
866
- };
854
+ LogPublishingOptions?: Record<string, LogPublishingOption>;
867
855
 
868
856
  ServiceSoftwareOptions?: ServiceSoftwareOptions;
869
857
 
@@ -1388,9 +1376,7 @@ export declare namespace VersionStatus {
1388
1376
 
1389
1377
  export interface LogPublishingOptionsStatus {
1390
1378
 
1391
- Options?: {
1392
- [key: string]: LogPublishingOption;
1393
- };
1379
+ Options?: Record<string, LogPublishingOption>;
1394
1380
 
1395
1381
  Status?: OptionStatus;
1396
1382
  }
@@ -1610,9 +1596,7 @@ export declare namespace Limits {
1610
1596
 
1611
1597
  export interface DescribeInstanceTypeLimitsResponse {
1612
1598
 
1613
- LimitsByRole?: {
1614
- [key: string]: Limits;
1615
- };
1599
+ LimitsByRole?: Record<string, Limits>;
1616
1600
  }
1617
1601
  export declare namespace DescribeInstanceTypeLimitsResponse {
1618
1602
 
@@ -2215,15 +2199,11 @@ export interface UpdateDomainConfigRequest {
2215
2199
 
2216
2200
  CognitoOptions?: CognitoOptions;
2217
2201
 
2218
- AdvancedOptions?: {
2219
- [key: string]: string;
2220
- };
2202
+ AdvancedOptions?: Record<string, string>;
2221
2203
 
2222
2204
  AccessPolicies?: string;
2223
2205
 
2224
- LogPublishingOptions?: {
2225
- [key: string]: LogPublishingOption;
2226
- };
2206
+ LogPublishingOptions?: Record<string, LogPublishingOption>;
2227
2207
 
2228
2208
  EncryptionAtRestOptions?: EncryptionAtRestOptions;
2229
2209
 
@@ -2295,9 +2275,7 @@ export interface UpgradeDomainRequest {
2295
2275
 
2296
2276
  PerformCheckOnly?: boolean;
2297
2277
 
2298
- AdvancedOptions?: {
2299
- [key: string]: string;
2300
- };
2278
+ AdvancedOptions?: Record<string, string>;
2301
2279
  }
2302
2280
  export declare namespace UpgradeDomainRequest {
2303
2281
 
@@ -2313,9 +2291,7 @@ export interface UpgradeDomainResponse {
2313
2291
 
2314
2292
  PerformCheckOnly?: boolean;
2315
2293
 
2316
- AdvancedOptions?: {
2317
- [key: string]: string;
2318
- };
2294
+ AdvancedOptions?: Record<string, string>;
2319
2295
 
2320
2296
  ChangeProgressDetails?: ChangeProgressDetails;
2321
2297
  }
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.99.0",
4
+ "version": "3.109.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,36 +18,37 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.99.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.99.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.109.0",
22
+ "@aws-sdk/config-resolver": "3.109.0",
23
+ "@aws-sdk/credential-provider-node": "3.109.0",
24
+ "@aws-sdk/fetch-http-handler": "3.109.0",
25
+ "@aws-sdk/hash-node": "3.109.0",
26
+ "@aws-sdk/invalid-dependency": "3.109.0",
27
+ "@aws-sdk/middleware-content-length": "3.109.0",
28
+ "@aws-sdk/middleware-host-header": "3.109.0",
29
+ "@aws-sdk/middleware-logger": "3.109.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.109.0",
31
+ "@aws-sdk/middleware-retry": "3.109.0",
32
+ "@aws-sdk/middleware-serde": "3.109.0",
33
+ "@aws-sdk/middleware-signing": "3.109.0",
34
+ "@aws-sdk/middleware-stack": "3.109.0",
35
+ "@aws-sdk/middleware-user-agent": "3.109.0",
36
+ "@aws-sdk/node-config-provider": "3.109.0",
37
+ "@aws-sdk/node-http-handler": "3.109.0",
38
+ "@aws-sdk/protocol-http": "3.109.0",
39
+ "@aws-sdk/smithy-client": "3.109.0",
40
+ "@aws-sdk/types": "3.109.0",
41
+ "@aws-sdk/url-parser": "3.109.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.109.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.109.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.109.0",
49
+ "@aws-sdk/util-user-agent-node": "3.109.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
51
52
  "tslib": "^2.3.1"
52
53
  },
53
54
  "devDependencies": {