@aws-sdk/client-savingsplans 3.100.0 → 3.105.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,17 @@
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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-savingsplans
@@ -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 SavingsplansClient 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 SavingsplansClient = (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;
@@ -26,9 +26,7 @@ export interface CreateSavingsPlanRequest {
26
26
  /**
27
27
  * <p>One or more tags.</p>
28
28
  */
29
- tags?: {
30
- [key: string]: string;
31
- };
29
+ tags?: Record<string, string>;
32
30
  }
33
31
  export declare namespace CreateSavingsPlanRequest {
34
32
  /**
@@ -431,9 +429,7 @@ export interface SavingsPlan {
431
429
  /**
432
430
  * <p>One or more tags.</p>
433
431
  */
434
- tags?: {
435
- [key: string]: string;
436
- };
432
+ tags?: Record<string, string>;
437
433
  }
438
434
  export declare namespace SavingsPlan {
439
435
  /**
@@ -843,9 +839,7 @@ export interface ListTagsForResourceResponse {
843
839
  /**
844
840
  * <p>Information about the tags.</p>
845
841
  */
846
- tags?: {
847
- [key: string]: string;
848
- };
842
+ tags?: Record<string, string>;
849
843
  }
850
844
  export declare namespace ListTagsForResourceResponse {
851
845
  /**
@@ -861,9 +855,7 @@ export interface TagResourceRequest {
861
855
  /**
862
856
  * <p>One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p>
863
857
  */
864
- tags: {
865
- [key: string]: string;
866
- } | undefined;
858
+ tags: Record<string, string> | undefined;
867
859
  }
868
860
  export declare namespace TagResourceRequest {
869
861
  /**
@@ -12,9 +12,7 @@ export interface CreateSavingsPlanRequest {
12
12
 
13
13
  clientToken?: string;
14
14
 
15
- tags?: {
16
- [key: string]: string;
17
- };
15
+ tags?: Record<string, string>;
18
16
  }
19
17
  export declare namespace CreateSavingsPlanRequest {
20
18
 
@@ -272,9 +270,7 @@ export interface SavingsPlan {
272
270
 
273
271
  termDurationInSeconds?: number;
274
272
 
275
- tags?: {
276
- [key: string]: string;
277
- };
273
+ tags?: Record<string, string>;
278
274
  }
279
275
  export declare namespace SavingsPlan {
280
276
 
@@ -509,9 +505,7 @@ export declare namespace ListTagsForResourceRequest {
509
505
  }
510
506
  export interface ListTagsForResourceResponse {
511
507
 
512
- tags?: {
513
- [key: string]: string;
514
- };
508
+ tags?: Record<string, string>;
515
509
  }
516
510
  export declare namespace ListTagsForResourceResponse {
517
511
 
@@ -521,9 +515,7 @@ export interface TagResourceRequest {
521
515
 
522
516
  resourceArn: string | undefined;
523
517
 
524
- tags: {
525
- [key: string]: string;
526
- } | undefined;
518
+ tags: Record<string, string> | undefined;
527
519
  }
528
520
  export declare namespace TagResourceRequest {
529
521
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-savingsplans",
3
3
  "description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
4
- "version": "3.100.0",
4
+ "version": "3.105.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,15 +18,16 @@
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.100.0",
21
+ "@aws-sdk/client-sts": "3.105.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
23
+ "@aws-sdk/credential-provider-node": "3.105.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
27
27
  "@aws-sdk/middleware-content-length": "3.78.0",
28
28
  "@aws-sdk/middleware-host-header": "3.78.0",
29
29
  "@aws-sdk/middleware-logger": "3.78.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.105.0",
30
31
  "@aws-sdk/middleware-retry": "3.80.0",
31
32
  "@aws-sdk/middleware-serde": "3.78.0",
32
33
  "@aws-sdk/middleware-signing": "3.78.0",