@aws-sdk/client-greengrass 3.750.0 → 3.772.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +41 -41
  2. package/package.json +13 -13
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AssociateRoleToGroupCommand: () => AssociateRoleToGroupCommand,
25
25
  AssociateServiceRoleToAccountCommand: () => AssociateServiceRoleToAccountCommand,
26
26
  BadRequestException: () => BadRequestException,
@@ -134,7 +134,7 @@ __export(src_exports, {
134
134
  UpdateThingRuntimeConfigurationCommand: () => UpdateThingRuntimeConfigurationCommand,
135
135
  __Client: () => import_smithy_client.Client
136
136
  });
137
- module.exports = __toCommonJS(src_exports);
137
+ module.exports = __toCommonJS(index_exports);
138
138
 
139
139
  // src/GreengrassClient.ts
140
140
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -261,9 +261,9 @@ var GreengrassClient = class extends import_smithy_client.Client {
261
261
  this.middlewareStack.use(
262
262
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
263
263
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultGreengrassHttpAuthSchemeParametersProvider,
264
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
264
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
265
265
  "aws.auth#sigv4": config.credentials
266
- })
266
+ }), "identityProviderConfigProvider")
267
267
  })
268
268
  );
269
269
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -485,9 +485,9 @@ var se_CreateConnectorDefinitionCommand = /* @__PURE__ */ __name(async (input, c
485
485
  let body;
486
486
  body = JSON.stringify(
487
487
  (0, import_smithy_client.take)(input, {
488
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
488
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
489
489
  Name: [],
490
- tags: (_) => (0, import_smithy_client._json)(_)
490
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
491
491
  })
492
492
  );
493
493
  b.m("POST").h(headers).b(body);
@@ -504,7 +504,7 @@ var se_CreateConnectorDefinitionVersionCommand = /* @__PURE__ */ __name(async (i
504
504
  let body;
505
505
  body = JSON.stringify(
506
506
  (0, import_smithy_client.take)(input, {
507
- Connectors: (_) => (0, import_smithy_client._json)(_)
507
+ Connectors: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Connectors")
508
508
  })
509
509
  );
510
510
  b.m("POST").h(headers).b(body);
@@ -520,9 +520,9 @@ var se_CreateCoreDefinitionCommand = /* @__PURE__ */ __name(async (input, contex
520
520
  let body;
521
521
  body = JSON.stringify(
522
522
  (0, import_smithy_client.take)(input, {
523
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
523
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
524
524
  Name: [],
525
- tags: (_) => (0, import_smithy_client._json)(_)
525
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
526
526
  })
527
527
  );
528
528
  b.m("POST").h(headers).b(body);
@@ -539,7 +539,7 @@ var se_CreateCoreDefinitionVersionCommand = /* @__PURE__ */ __name(async (input,
539
539
  let body;
540
540
  body = JSON.stringify(
541
541
  (0, import_smithy_client.take)(input, {
542
- Cores: (_) => (0, import_smithy_client._json)(_)
542
+ Cores: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Cores")
543
543
  })
544
544
  );
545
545
  b.m("POST").h(headers).b(body);
@@ -574,9 +574,9 @@ var se_CreateDeviceDefinitionCommand = /* @__PURE__ */ __name(async (input, cont
574
574
  let body;
575
575
  body = JSON.stringify(
576
576
  (0, import_smithy_client.take)(input, {
577
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
577
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
578
578
  Name: [],
579
- tags: (_) => (0, import_smithy_client._json)(_)
579
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
580
580
  })
581
581
  );
582
582
  b.m("POST").h(headers).b(body);
@@ -593,7 +593,7 @@ var se_CreateDeviceDefinitionVersionCommand = /* @__PURE__ */ __name(async (inpu
593
593
  let body;
594
594
  body = JSON.stringify(
595
595
  (0, import_smithy_client.take)(input, {
596
- Devices: (_) => (0, import_smithy_client._json)(_)
596
+ Devices: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Devices")
597
597
  })
598
598
  );
599
599
  b.m("POST").h(headers).b(body);
@@ -609,9 +609,9 @@ var se_CreateFunctionDefinitionCommand = /* @__PURE__ */ __name(async (input, co
609
609
  let body;
610
610
  body = JSON.stringify(
611
611
  (0, import_smithy_client.take)(input, {
612
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
612
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
613
613
  Name: [],
614
- tags: (_) => (0, import_smithy_client._json)(_)
614
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
615
615
  })
616
616
  );
617
617
  b.m("POST").h(headers).b(body);
@@ -628,8 +628,8 @@ var se_CreateFunctionDefinitionVersionCommand = /* @__PURE__ */ __name(async (in
628
628
  let body;
629
629
  body = JSON.stringify(
630
630
  (0, import_smithy_client.take)(input, {
631
- DefaultConfig: (_) => (0, import_smithy_client._json)(_),
632
- Functions: (_) => (0, import_smithy_client._json)(_)
631
+ DefaultConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DefaultConfig"),
632
+ Functions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Functions")
633
633
  })
634
634
  );
635
635
  b.m("POST").h(headers).b(body);
@@ -645,9 +645,9 @@ var se_CreateGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
645
645
  let body;
646
646
  body = JSON.stringify(
647
647
  (0, import_smithy_client.take)(input, {
648
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
648
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
649
649
  Name: [],
650
- tags: (_) => (0, import_smithy_client._json)(_)
650
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
651
651
  })
652
652
  );
653
653
  b.m("POST").h(headers).b(body);
@@ -697,9 +697,9 @@ var se_CreateLoggerDefinitionCommand = /* @__PURE__ */ __name(async (input, cont
697
697
  let body;
698
698
  body = JSON.stringify(
699
699
  (0, import_smithy_client.take)(input, {
700
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
700
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
701
701
  Name: [],
702
- tags: (_) => (0, import_smithy_client._json)(_)
702
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
703
703
  })
704
704
  );
705
705
  b.m("POST").h(headers).b(body);
@@ -716,7 +716,7 @@ var se_CreateLoggerDefinitionVersionCommand = /* @__PURE__ */ __name(async (inpu
716
716
  let body;
717
717
  body = JSON.stringify(
718
718
  (0, import_smithy_client.take)(input, {
719
- Loggers: (_) => (0, import_smithy_client._json)(_)
719
+ Loggers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Loggers")
720
720
  })
721
721
  );
722
722
  b.m("POST").h(headers).b(body);
@@ -732,9 +732,9 @@ var se_CreateResourceDefinitionCommand = /* @__PURE__ */ __name(async (input, co
732
732
  let body;
733
733
  body = JSON.stringify(
734
734
  (0, import_smithy_client.take)(input, {
735
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
735
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
736
736
  Name: [],
737
- tags: (_) => (0, import_smithy_client._json)(_)
737
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
738
738
  })
739
739
  );
740
740
  b.m("POST").h(headers).b(body);
@@ -751,7 +751,7 @@ var se_CreateResourceDefinitionVersionCommand = /* @__PURE__ */ __name(async (in
751
751
  let body;
752
752
  body = JSON.stringify(
753
753
  (0, import_smithy_client.take)(input, {
754
- Resources: (_) => (0, import_smithy_client._json)(_)
754
+ Resources: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Resources")
755
755
  })
756
756
  );
757
757
  b.m("POST").h(headers).b(body);
@@ -770,7 +770,7 @@ var se_CreateSoftwareUpdateJobCommand = /* @__PURE__ */ __name(async (input, con
770
770
  S3UrlSignerRole: [],
771
771
  SoftwareToUpdate: [],
772
772
  UpdateAgentLogLevel: [],
773
- UpdateTargets: (_) => (0, import_smithy_client._json)(_),
773
+ UpdateTargets: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "UpdateTargets"),
774
774
  UpdateTargetsArchitecture: [],
775
775
  UpdateTargetsOperatingSystem: []
776
776
  })
@@ -788,9 +788,9 @@ var se_CreateSubscriptionDefinitionCommand = /* @__PURE__ */ __name(async (input
788
788
  let body;
789
789
  body = JSON.stringify(
790
790
  (0, import_smithy_client.take)(input, {
791
- InitialVersion: (_) => (0, import_smithy_client._json)(_),
791
+ InitialVersion: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InitialVersion"),
792
792
  Name: [],
793
- tags: (_) => (0, import_smithy_client._json)(_)
793
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
794
794
  })
795
795
  );
796
796
  b.m("POST").h(headers).b(body);
@@ -807,7 +807,7 @@ var se_CreateSubscriptionDefinitionVersionCommand = /* @__PURE__ */ __name(async
807
807
  let body;
808
808
  body = JSON.stringify(
809
809
  (0, import_smithy_client.take)(input, {
810
- Subscriptions: (_) => (0, import_smithy_client._json)(_)
810
+ Subscriptions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Subscriptions")
811
811
  })
812
812
  );
813
813
  b.m("POST").h(headers).b(body);
@@ -1437,7 +1437,7 @@ var se_StartBulkDeploymentCommand = /* @__PURE__ */ __name(async (input, context
1437
1437
  (0, import_smithy_client.take)(input, {
1438
1438
  ExecutionRoleArn: [],
1439
1439
  InputFileUri: [],
1440
- tags: (_) => (0, import_smithy_client._json)(_)
1440
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1441
1441
  })
1442
1442
  );
1443
1443
  b.m("POST").h(headers).b(body);
@@ -1462,7 +1462,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1462
1462
  let body;
1463
1463
  body = JSON.stringify(
1464
1464
  (0, import_smithy_client.take)(input, {
1465
- tags: (_) => (0, import_smithy_client._json)(_)
1465
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1466
1466
  })
1467
1467
  );
1468
1468
  b.m("POST").h(headers).b(body);
@@ -1490,7 +1490,7 @@ var se_UpdateConnectivityInfoCommand = /* @__PURE__ */ __name(async (input, cont
1490
1490
  let body;
1491
1491
  body = JSON.stringify(
1492
1492
  (0, import_smithy_client.take)(input, {
1493
- ConnectivityInfo: (_) => (0, import_smithy_client._json)(_)
1493
+ ConnectivityInfo: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ConnectivityInfo")
1494
1494
  })
1495
1495
  );
1496
1496
  b.m("PUT").h(headers).b(body);
@@ -1650,7 +1650,7 @@ var se_UpdateThingRuntimeConfigurationCommand = /* @__PURE__ */ __name(async (in
1650
1650
  let body;
1651
1651
  body = JSON.stringify(
1652
1652
  (0, import_smithy_client.take)(input, {
1653
- TelemetryConfiguration: (_) => (0, import_smithy_client._json)(_)
1653
+ TelemetryConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TelemetryConfiguration")
1654
1654
  })
1655
1655
  );
1656
1656
  b.m("PUT").h(headers).b(body);
@@ -2617,7 +2617,7 @@ var de_ListConnectorDefinitionsCommand = /* @__PURE__ */ __name(async (output, c
2617
2617
  });
2618
2618
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2619
2619
  const doc = (0, import_smithy_client.take)(data, {
2620
- Definitions: (_) => de___listOfDefinitionInformation(_, context),
2620
+ Definitions: /* @__PURE__ */ __name((_) => de___listOfDefinitionInformation(_, context), "Definitions"),
2621
2621
  NextToken: import_smithy_client.expectString
2622
2622
  });
2623
2623
  Object.assign(contents, doc);
@@ -2647,7 +2647,7 @@ var de_ListCoreDefinitionsCommand = /* @__PURE__ */ __name(async (output, contex
2647
2647
  });
2648
2648
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2649
2649
  const doc = (0, import_smithy_client.take)(data, {
2650
- Definitions: (_) => de___listOfDefinitionInformation(_, context),
2650
+ Definitions: /* @__PURE__ */ __name((_) => de___listOfDefinitionInformation(_, context), "Definitions"),
2651
2651
  NextToken: import_smithy_client.expectString
2652
2652
  });
2653
2653
  Object.assign(contents, doc);
@@ -2692,7 +2692,7 @@ var de_ListDeviceDefinitionsCommand = /* @__PURE__ */ __name(async (output, cont
2692
2692
  });
2693
2693
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2694
2694
  const doc = (0, import_smithy_client.take)(data, {
2695
- Definitions: (_) => de___listOfDefinitionInformation(_, context),
2695
+ Definitions: /* @__PURE__ */ __name((_) => de___listOfDefinitionInformation(_, context), "Definitions"),
2696
2696
  NextToken: import_smithy_client.expectString
2697
2697
  });
2698
2698
  Object.assign(contents, doc);
@@ -2722,7 +2722,7 @@ var de_ListFunctionDefinitionsCommand = /* @__PURE__ */ __name(async (output, co
2722
2722
  });
2723
2723
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2724
2724
  const doc = (0, import_smithy_client.take)(data, {
2725
- Definitions: (_) => de___listOfDefinitionInformation(_, context),
2725
+ Definitions: /* @__PURE__ */ __name((_) => de___listOfDefinitionInformation(_, context), "Definitions"),
2726
2726
  NextToken: import_smithy_client.expectString
2727
2727
  });
2728
2728
  Object.assign(contents, doc);
@@ -2796,7 +2796,7 @@ var de_ListLoggerDefinitionsCommand = /* @__PURE__ */ __name(async (output, cont
2796
2796
  });
2797
2797
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2798
2798
  const doc = (0, import_smithy_client.take)(data, {
2799
- Definitions: (_) => de___listOfDefinitionInformation(_, context),
2799
+ Definitions: /* @__PURE__ */ __name((_) => de___listOfDefinitionInformation(_, context), "Definitions"),
2800
2800
  NextToken: import_smithy_client.expectString
2801
2801
  });
2802
2802
  Object.assign(contents, doc);
@@ -2826,7 +2826,7 @@ var de_ListResourceDefinitionsCommand = /* @__PURE__ */ __name(async (output, co
2826
2826
  });
2827
2827
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2828
2828
  const doc = (0, import_smithy_client.take)(data, {
2829
- Definitions: (_) => de___listOfDefinitionInformation(_, context),
2829
+ Definitions: /* @__PURE__ */ __name((_) => de___listOfDefinitionInformation(_, context), "Definitions"),
2830
2830
  NextToken: import_smithy_client.expectString
2831
2831
  });
2832
2832
  Object.assign(contents, doc);
@@ -2856,7 +2856,7 @@ var de_ListSubscriptionDefinitionsCommand = /* @__PURE__ */ __name(async (output
2856
2856
  });
2857
2857
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2858
2858
  const doc = (0, import_smithy_client.take)(data, {
2859
- Definitions: (_) => de___listOfDefinitionInformation(_, context),
2859
+ Definitions: /* @__PURE__ */ __name((_) => de___listOfDefinitionInformation(_, context), "Definitions"),
2860
2860
  NextToken: import_smithy_client.expectString
2861
2861
  });
2862
2862
  Object.assign(contents, doc);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrass",
3
3
  "description": "AWS SDK for JavaScript Greengrass Client for Node.js, Browser and React Native",
4
- "version": "3.750.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-greengrass",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.750.0",
24
- "@aws-sdk/credential-provider-node": "3.750.0",
23
+ "@aws-sdk/core": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.750.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
+ "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.750.0",
33
+ "@aws-sdk/util-user-agent-node": "3.758.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.4",
35
+ "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.5",
41
- "@smithy/middleware-retry": "^4.0.6",
40
+ "@smithy/middleware-endpoint": "^4.0.6",
41
+ "@smithy/middleware-retry": "^4.0.7",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.3",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.5",
47
+ "@smithy/smithy-client": "^4.1.6",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.6",
54
- "@smithy/util-defaults-mode-node": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
54
+ "@smithy/util-defaults-mode-node": "^4.0.7",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",