@aws-sdk/client-greengrassv2 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-greengrassv2
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-greengrassv2
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-greengrassv2
@@ -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 GreengrassV2Client 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 GreengrassV2Client = (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;
@@ -375,9 +375,7 @@ export interface CloudComponentStatus {
375
375
  * <code>errors</code> contains the artifact's URI as a key, and the error message as the value
376
376
  * for that key.</p>
377
377
  */
378
- errors?: {
379
- [key: string]: string;
380
- };
378
+ errors?: Record<string, string>;
381
379
  /**
382
380
  * <p>The vendor guidance state for the component version. This state indicates whether
383
381
  * the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:</p>
@@ -428,9 +426,7 @@ export interface ComponentPlatform {
428
426
  * see the <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html">Greengrass nucleus
429
427
  * component</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
430
428
  */
431
- attributes?: {
432
- [key: string]: string;
433
- };
429
+ attributes?: Record<string, string>;
434
430
  }
435
431
  export declare namespace ComponentPlatform {
436
432
  /**
@@ -514,9 +510,7 @@ export interface ComponentCandidate {
514
510
  * version requirements from component recipes.</p>
515
511
  * <p>IoT Greengrass V2 uses semantic version constraints. For more information, see <a href="https://semver.org/">Semantic Versioning</a>.</p>
516
512
  */
517
- versionRequirements?: {
518
- [key: string]: string;
519
- };
513
+ versionRequirements?: Record<string, string>;
520
514
  }
521
515
  export declare namespace ComponentCandidate {
522
516
  /**
@@ -1023,9 +1017,7 @@ export interface LambdaExecutionParameters {
1023
1017
  /**
1024
1018
  * <p>The map of environment variables that are available to the Lambda function when it runs.</p>
1025
1019
  */
1026
- environmentVariables?: {
1027
- [key: string]: string;
1028
- };
1020
+ environmentVariables?: Record<string, string>;
1029
1021
  /**
1030
1022
  * <p>The parameters for the Linux process that contains the Lambda function.</p>
1031
1023
  */
@@ -1064,9 +1056,7 @@ export interface LambdaFunctionRecipeSource {
1064
1056
  /**
1065
1057
  * <p>The component versions on which this Lambda function component depends.</p>
1066
1058
  */
1067
- componentDependencies?: {
1068
- [key: string]: ComponentDependencyRequirement;
1069
- };
1059
+ componentDependencies?: Record<string, ComponentDependencyRequirement>;
1070
1060
  /**
1071
1061
  * <p>The system and runtime parameters for the Lambda function as it runs on the Greengrass core
1072
1062
  * device.</p>
@@ -1096,9 +1086,7 @@ export interface CreateComponentVersionRequest {
1096
1086
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
1097
1087
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
1098
1088
  */
1099
- tags?: {
1100
- [key: string]: string;
1101
- };
1089
+ tags?: Record<string, string>;
1102
1090
  /**
1103
1091
  * <p>A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
1104
1092
  * Idempotency means that the request is successfully processed only once, even if you send the request multiple times.
@@ -1481,9 +1469,7 @@ export interface CreateDeploymentRequest {
1481
1469
  * <p>The components to deploy. This is a dictionary, where each key is the name of a component,
1482
1470
  * and each key's value is the version and configuration to deploy for that component.</p>
1483
1471
  */
1484
- components?: {
1485
- [key: string]: ComponentDeploymentSpecification;
1486
- };
1472
+ components?: Record<string, ComponentDeploymentSpecification>;
1487
1473
  /**
1488
1474
  * <p>The job configuration for the deployment configuration. The job configuration specifies
1489
1475
  * the rollout, timeout, and stop configurations for the deployment configuration.</p>
@@ -1499,9 +1485,7 @@ export interface CreateDeploymentRequest {
1499
1485
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
1500
1486
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
1501
1487
  */
1502
- tags?: {
1503
- [key: string]: string;
1504
- };
1488
+ tags?: Record<string, string>;
1505
1489
  /**
1506
1490
  * <p>A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent.
1507
1491
  * Idempotency means that the request is successfully processed only once, even if you send the request multiple times.
@@ -1674,9 +1658,7 @@ export interface DescribeComponentResponse {
1674
1658
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
1675
1659
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
1676
1660
  */
1677
- tags?: {
1678
- [key: string]: string;
1679
- };
1661
+ tags?: Record<string, string>;
1680
1662
  }
1681
1663
  export declare namespace DescribeComponentResponse {
1682
1664
  /**
@@ -1800,9 +1782,7 @@ export interface GetComponentResponse {
1800
1782
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
1801
1783
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
1802
1784
  */
1803
- tags?: {
1804
- [key: string]: string;
1805
- };
1785
+ tags?: Record<string, string>;
1806
1786
  }
1807
1787
  export declare namespace GetComponentResponse {
1808
1788
  /**
@@ -1928,9 +1908,7 @@ export interface GetCoreDeviceResponse {
1928
1908
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
1929
1909
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
1930
1910
  */
1931
- tags?: {
1932
- [key: string]: string;
1933
- };
1911
+ tags?: Record<string, string>;
1934
1912
  }
1935
1913
  export declare namespace GetCoreDeviceResponse {
1936
1914
  /**
@@ -1983,9 +1961,7 @@ export interface GetDeploymentResponse {
1983
1961
  * <p>The components to deploy. This is a dictionary, where each key is the name of a component,
1984
1962
  * and each key's value is the version and configuration to deploy for that component.</p>
1985
1963
  */
1986
- components?: {
1987
- [key: string]: ComponentDeploymentSpecification;
1988
- };
1964
+ components?: Record<string, ComponentDeploymentSpecification>;
1989
1965
  /**
1990
1966
  * <p>The deployment policies for the deployment. These policies define how the deployment
1991
1967
  * updates components and handles failure.</p>
@@ -2009,9 +1985,7 @@ export interface GetDeploymentResponse {
2009
1985
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
2010
1986
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
2011
1987
  */
2012
- tags?: {
2013
- [key: string]: string;
2014
- };
1988
+ tags?: Record<string, string>;
2015
1989
  }
2016
1990
  export declare namespace GetDeploymentResponse {
2017
1991
  /**
@@ -2394,9 +2368,7 @@ export interface ListTagsForResourceResponse {
2394
2368
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
2395
2369
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
2396
2370
  */
2397
- tags?: {
2398
- [key: string]: string;
2399
- };
2371
+ tags?: Record<string, string>;
2400
2372
  }
2401
2373
  export declare namespace ListTagsForResourceResponse {
2402
2374
  /**
@@ -2497,9 +2469,7 @@ export interface TagResourceRequest {
2497
2469
  * information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html">Tag your
2498
2470
  * resources</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
2499
2471
  */
2500
- tags: {
2501
- [key: string]: string;
2502
- } | undefined;
2472
+ tags: Record<string, string> | undefined;
2503
2473
  }
2504
2474
  export declare namespace TagResourceRequest {
2505
2475
  /**
@@ -221,9 +221,7 @@ export interface CloudComponentStatus {
221
221
 
222
222
  message?: string;
223
223
 
224
- errors?: {
225
- [key: string]: string;
226
- };
224
+ errors?: Record<string, string>;
227
225
 
228
226
  vendorGuidance?: VendorGuidance | string;
229
227
 
@@ -238,9 +236,7 @@ export interface ComponentPlatform {
238
236
 
239
237
  name?: string;
240
238
 
241
- attributes?: {
242
- [key: string]: string;
243
- };
239
+ attributes?: Record<string, string>;
244
240
  }
245
241
  export declare namespace ComponentPlatform {
246
242
 
@@ -285,9 +281,7 @@ export interface ComponentCandidate {
285
281
 
286
282
  componentVersion?: string;
287
283
 
288
- versionRequirements?: {
289
- [key: string]: string;
290
- };
284
+ versionRequirements?: Record<string, string>;
291
285
  }
292
286
  export declare namespace ComponentCandidate {
293
287
 
@@ -507,9 +501,7 @@ export interface LambdaExecutionParameters {
507
501
 
508
502
  execArgs?: string[];
509
503
 
510
- environmentVariables?: {
511
- [key: string]: string;
512
- };
504
+ environmentVariables?: Record<string, string>;
513
505
 
514
506
  linuxProcessParams?: LambdaLinuxProcessParams;
515
507
  }
@@ -528,9 +520,7 @@ export interface LambdaFunctionRecipeSource {
528
520
 
529
521
  componentPlatforms?: ComponentPlatform[];
530
522
 
531
- componentDependencies?: {
532
- [key: string]: ComponentDependencyRequirement;
533
- };
523
+ componentDependencies?: Record<string, ComponentDependencyRequirement>;
534
524
 
535
525
  componentLambdaParameters?: LambdaExecutionParameters;
536
526
  }
@@ -544,9 +534,7 @@ export interface CreateComponentVersionRequest {
544
534
 
545
535
  lambdaFunction?: LambdaFunctionRecipeSource;
546
536
 
547
- tags?: {
548
- [key: string]: string;
549
- };
537
+ tags?: Record<string, string>;
550
538
 
551
539
  clientToken?: string;
552
540
  }
@@ -729,17 +717,13 @@ export interface CreateDeploymentRequest {
729
717
 
730
718
  deploymentName?: string;
731
719
 
732
- components?: {
733
- [key: string]: ComponentDeploymentSpecification;
734
- };
720
+ components?: Record<string, ComponentDeploymentSpecification>;
735
721
 
736
722
  iotJobConfiguration?: DeploymentIoTJobConfiguration;
737
723
 
738
724
  deploymentPolicies?: DeploymentPolicies;
739
725
 
740
- tags?: {
741
- [key: string]: string;
742
- };
726
+ tags?: Record<string, string>;
743
727
 
744
728
  clientToken?: string;
745
729
  }
@@ -841,9 +825,7 @@ export interface DescribeComponentResponse {
841
825
 
842
826
  platforms?: ComponentPlatform[];
843
827
 
844
- tags?: {
845
- [key: string]: string;
846
- };
828
+ tags?: Record<string, string>;
847
829
  }
848
830
  export declare namespace DescribeComponentResponse {
849
831
 
@@ -919,9 +901,7 @@ export interface GetComponentResponse {
919
901
 
920
902
  recipe: Uint8Array | undefined;
921
903
 
922
- tags?: {
923
- [key: string]: string;
924
- };
904
+ tags?: Record<string, string>;
925
905
  }
926
906
  export declare namespace GetComponentResponse {
927
907
 
@@ -985,9 +965,7 @@ export interface GetCoreDeviceResponse {
985
965
 
986
966
  lastStatusUpdateTimestamp?: Date;
987
967
 
988
- tags?: {
989
- [key: string]: string;
990
- };
968
+ tags?: Record<string, string>;
991
969
  }
992
970
  export declare namespace GetCoreDeviceResponse {
993
971
 
@@ -1017,9 +995,7 @@ export interface GetDeploymentResponse {
1017
995
 
1018
996
  iotJobArn?: string;
1019
997
 
1020
- components?: {
1021
- [key: string]: ComponentDeploymentSpecification;
1022
- };
998
+ components?: Record<string, ComponentDeploymentSpecification>;
1023
999
 
1024
1000
  deploymentPolicies?: DeploymentPolicies;
1025
1001
 
@@ -1029,9 +1005,7 @@ export interface GetDeploymentResponse {
1029
1005
 
1030
1006
  isLatestForTarget?: boolean;
1031
1007
 
1032
- tags?: {
1033
- [key: string]: string;
1034
- };
1008
+ tags?: Record<string, string>;
1035
1009
  }
1036
1010
  export declare namespace GetDeploymentResponse {
1037
1011
 
@@ -1248,9 +1222,7 @@ export declare namespace ListTagsForResourceRequest {
1248
1222
  }
1249
1223
  export interface ListTagsForResourceResponse {
1250
1224
 
1251
- tags?: {
1252
- [key: string]: string;
1253
- };
1225
+ tags?: Record<string, string>;
1254
1226
  }
1255
1227
  export declare namespace ListTagsForResourceResponse {
1256
1228
 
@@ -1297,9 +1269,7 @@ export interface TagResourceRequest {
1297
1269
 
1298
1270
  resourceArn: string | undefined;
1299
1271
 
1300
- tags: {
1301
- [key: string]: string;
1302
- } | undefined;
1272
+ tags: Record<string, string> | undefined;
1303
1273
  }
1304
1274
  export declare namespace TagResourceRequest {
1305
1275
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrassv2",
3
3
  "description": "AWS SDK for JavaScript Greengrassv2 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
  "uuid": "^8.3.2"
53
54
  },