@aws-sdk/client-snow-device-management 3.95.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,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.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
+
17
+ # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-snow-device-management
20
+
21
+
22
+
23
+
24
+
25
+ # [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-snow-device-management
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-snow-device-management
@@ -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 SnowDeviceManagementClient 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
  }
@@ -17,8 +17,10 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
+ const smithy_client_2 = require("@aws-sdk/smithy-client");
20
21
  const getRuntimeConfig = (config) => {
21
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
23
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
26
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -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 SnowDeviceManagementClient = (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;
@@ -14,8 +14,10 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
16
  import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
17
18
  export var getRuntimeConfig = function (config) {
18
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
19
21
  var defaultsMode = resolveDefaultsModeConfig(config);
20
22
  var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
21
23
  var clientSharedValues = getSharedRuntimeConfig(config);
@@ -216,9 +216,7 @@ export interface CreateTaskInput {
216
216
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
217
217
  * in different ways, such as by purpose, owner, or environment. </p>
218
218
  */
219
- tags?: {
220
- [key: string]: string;
221
- };
219
+ tags?: Record<string, string>;
222
220
  /**
223
221
  * <p>A token ensuring that the action is called only once with the specified details.</p>
224
222
  */
@@ -365,9 +363,7 @@ export interface DescribeDeviceOutput {
365
363
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
366
364
  * in different ways, such as by purpose, owner, or environment. </p>
367
365
  */
368
- tags?: {
369
- [key: string]: string;
370
- };
366
+ tags?: Record<string, string>;
371
367
  /**
372
368
  * <p>The ID of the device that you checked the information for.</p>
373
369
  */
@@ -768,9 +764,7 @@ export interface DescribeTaskOutput {
768
764
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
769
765
  * in different ways, such as by purpose, owner, or environment.</p>
770
766
  */
771
- tags?: {
772
- [key: string]: string;
773
- };
767
+ tags?: Record<string, string>;
774
768
  }
775
769
  export declare namespace DescribeTaskOutput {
776
770
  /**
@@ -798,9 +792,7 @@ export interface DeviceSummary {
798
792
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
799
793
  * in different ways, such as by purpose, owner, or environment.</p>
800
794
  */
801
- tags?: {
802
- [key: string]: string;
803
- };
795
+ tags?: Record<string, string>;
804
796
  }
805
797
  export declare namespace DeviceSummary {
806
798
  /**
@@ -991,9 +983,7 @@ export interface ListTagsForResourceOutput {
991
983
  /**
992
984
  * <p>The list of tags for the device or task.</p>
993
985
  */
994
- tags?: {
995
- [key: string]: string;
996
- };
986
+ tags?: Record<string, string>;
997
987
  }
998
988
  export declare namespace ListTagsForResourceOutput {
999
989
  /**
@@ -1041,9 +1031,7 @@ export interface TaskSummary {
1041
1031
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
1042
1032
  * in different ways, such as by purpose, owner, or environment.</p>
1043
1033
  */
1044
- tags?: {
1045
- [key: string]: string;
1046
- };
1034
+ tags?: Record<string, string>;
1047
1035
  }
1048
1036
  export declare namespace TaskSummary {
1049
1037
  /**
@@ -1076,9 +1064,7 @@ export interface TagResourceInput {
1076
1064
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
1077
1065
  * in different ways, such as by purpose, owner, or environment.</p>
1078
1066
  */
1079
- tags: {
1080
- [key: string]: string;
1081
- } | undefined;
1067
+ tags: Record<string, string> | undefined;
1082
1068
  }
1083
1069
  export declare namespace TagResourceInput {
1084
1070
  /**
@@ -143,9 +143,7 @@ export interface CreateTaskInput {
143
143
 
144
144
  description?: string;
145
145
 
146
- tags?: {
147
- [key: string]: string;
148
- };
146
+ tags?: Record<string, string>;
149
147
 
150
148
  clientToken?: string;
151
149
  }
@@ -234,9 +232,7 @@ export interface DescribeDeviceOutput {
234
232
 
235
233
  lastUpdatedAt?: Date;
236
234
 
237
- tags?: {
238
- [key: string]: string;
239
- };
235
+ tags?: Record<string, string>;
240
236
 
241
237
  managedDeviceId?: string;
242
238
 
@@ -444,9 +440,7 @@ export interface DescribeTaskOutput {
444
440
 
445
441
  description?: string;
446
442
 
447
- tags?: {
448
- [key: string]: string;
449
- };
443
+ tags?: Record<string, string>;
450
444
  }
451
445
  export declare namespace DescribeTaskOutput {
452
446
 
@@ -461,9 +455,7 @@ export interface DeviceSummary {
461
455
 
462
456
  associatedWithJob?: string;
463
457
 
464
- tags?: {
465
- [key: string]: string;
466
- };
458
+ tags?: Record<string, string>;
467
459
  }
468
460
  export declare namespace DeviceSummary {
469
461
 
@@ -577,9 +569,7 @@ export declare namespace ListTagsForResourceInput {
577
569
  }
578
570
  export interface ListTagsForResourceOutput {
579
571
 
580
- tags?: {
581
- [key: string]: string;
582
- };
572
+ tags?: Record<string, string>;
583
573
  }
584
574
  export declare namespace ListTagsForResourceOutput {
585
575
 
@@ -606,9 +596,7 @@ export interface TaskSummary {
606
596
 
607
597
  state?: TaskState | string;
608
598
 
609
- tags?: {
610
- [key: string]: string;
611
- };
599
+ tags?: Record<string, string>;
612
600
  }
613
601
  export declare namespace TaskSummary {
614
602
 
@@ -628,9 +616,7 @@ export interface TagResourceInput {
628
616
 
629
617
  resourceArn: string | undefined;
630
618
 
631
- tags: {
632
- [key: string]: string;
633
- } | undefined;
619
+ tags: Record<string, string> | undefined;
634
620
  }
635
621
  export declare namespace TagResourceInput {
636
622
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-snow-device-management",
3
3
  "description": "AWS SDK for JavaScript Snow Device Management Client for Node.js, Browser and React Native",
4
- "version": "3.95.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.95.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.95.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",
@@ -35,15 +36,15 @@
35
36
  "@aws-sdk/node-config-provider": "3.80.0",
36
37
  "@aws-sdk/node-http-handler": "3.94.0",
37
38
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.85.0",
39
+ "@aws-sdk/smithy-client": "3.99.0",
39
40
  "@aws-sdk/types": "3.78.0",
40
41
  "@aws-sdk/url-parser": "3.78.0",
41
42
  "@aws-sdk/util-base64-browser": "3.58.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.85.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.99.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
48
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
49
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
50
  "@aws-sdk/util-utf8-browser": "3.55.0",