@aws-sdk/client-greengrassv2 3.1077.0 → 3.1079.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 (95) hide show
  1. package/dist-cjs/index.js +37 -293
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +2 -14
  4. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +2 -14
  5. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +2 -14
  6. package/dist-es/commands/CancelDeploymentCommand.js +2 -14
  7. package/dist-es/commands/CreateComponentVersionCommand.js +2 -14
  8. package/dist-es/commands/CreateDeploymentCommand.js +2 -14
  9. package/dist-es/commands/DeleteComponentCommand.js +2 -14
  10. package/dist-es/commands/DeleteCoreDeviceCommand.js +2 -14
  11. package/dist-es/commands/DeleteDeploymentCommand.js +2 -14
  12. package/dist-es/commands/DescribeComponentCommand.js +2 -14
  13. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +2 -14
  14. package/dist-es/commands/GetComponentCommand.js +2 -14
  15. package/dist-es/commands/GetComponentVersionArtifactCommand.js +2 -14
  16. package/dist-es/commands/GetConnectivityInfoCommand.js +2 -14
  17. package/dist-es/commands/GetCoreDeviceCommand.js +2 -14
  18. package/dist-es/commands/GetDeploymentCommand.js +2 -14
  19. package/dist-es/commands/GetServiceRoleForAccountCommand.js +2 -14
  20. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +2 -14
  21. package/dist-es/commands/ListComponentVersionsCommand.js +2 -14
  22. package/dist-es/commands/ListComponentsCommand.js +2 -14
  23. package/dist-es/commands/ListCoreDevicesCommand.js +2 -14
  24. package/dist-es/commands/ListDeploymentsCommand.js +2 -14
  25. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +2 -14
  26. package/dist-es/commands/ListInstalledComponentsCommand.js +2 -14
  27. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  28. package/dist-es/commands/ResolveComponentCandidatesCommand.js +2 -14
  29. package/dist-es/commands/TagResourceCommand.js +2 -14
  30. package/dist-es/commands/UntagResourceCommand.js +2 -14
  31. package/dist-es/commands/UpdateConnectivityInfoCommand.js +2 -14
  32. package/dist-es/index.js +1 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/AssociateServiceRoleToAccountCommand.d.ts +3 -8
  35. package/dist-types/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +3 -8
  36. package/dist-types/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +3 -8
  37. package/dist-types/commands/CancelDeploymentCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateComponentVersionCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteComponentCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteCoreDeviceCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteDeploymentCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeComponentCommand.d.ts +3 -8
  44. package/dist-types/commands/DisassociateServiceRoleFromAccountCommand.d.ts +3 -8
  45. package/dist-types/commands/GetComponentCommand.d.ts +3 -8
  46. package/dist-types/commands/GetComponentVersionArtifactCommand.d.ts +3 -8
  47. package/dist-types/commands/GetConnectivityInfoCommand.d.ts +3 -8
  48. package/dist-types/commands/GetCoreDeviceCommand.d.ts +3 -8
  49. package/dist-types/commands/GetDeploymentCommand.d.ts +3 -8
  50. package/dist-types/commands/GetServiceRoleForAccountCommand.d.ts +3 -8
  51. package/dist-types/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +3 -8
  52. package/dist-types/commands/ListComponentVersionsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListComponentsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListCoreDevicesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListDeploymentsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListEffectiveDeploymentsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListInstalledComponentsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/ResolveComponentCandidatesCommand.d.ts +3 -8
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateConnectivityInfoCommand.d.ts +3 -8
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/AssociateServiceRoleToAccountCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CancelDeploymentCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/CreateComponentVersionCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteCoreDeviceCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DisassociateServiceRoleFromAccountCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetComponentVersionArtifactCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetConnectivityInfoCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetCoreDeviceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetServiceRoleForAccountCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListComponentVersionsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListCoreDevicesCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListEffectiveDeploymentsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListInstalledComponentsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ResolveComponentCandidatesCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdateConnectivityInfoCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/index.d.ts +1 -0
  95. package/package.json +8 -8
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetComponentVersionArtifact$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetComponentVersionArtifactCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "GetComponentVersionArtifact", {})
13
- .n("GreengrassV2Client", "GetComponentVersionArtifactCommand")
14
- .sc(GetComponentVersionArtifact$)
15
- .build() {
3
+ export class GetComponentVersionArtifactCommand extends command(_ep0, _mw0, "GetComponentVersionArtifact", GetComponentVersionArtifact$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetConnectivityInfo$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetConnectivityInfoCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "GetConnectivityInfo", {})
13
- .n("GreengrassV2Client", "GetConnectivityInfoCommand")
14
- .sc(GetConnectivityInfo$)
15
- .build() {
3
+ export class GetConnectivityInfoCommand extends command(_ep0, _mw0, "GetConnectivityInfo", GetConnectivityInfo$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetCoreDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetCoreDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "GetCoreDevice", {})
13
- .n("GreengrassV2Client", "GetCoreDeviceCommand")
14
- .sc(GetCoreDevice$)
15
- .build() {
3
+ export class GetCoreDeviceCommand extends command(_ep0, _mw0, "GetCoreDevice", GetCoreDevice$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetDeployment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetDeploymentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "GetDeployment", {})
13
- .n("GreengrassV2Client", "GetDeploymentCommand")
14
- .sc(GetDeployment$)
15
- .build() {
3
+ export class GetDeploymentCommand extends command(_ep0, _mw0, "GetDeployment", GetDeployment$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetServiceRoleForAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetServiceRoleForAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "GetServiceRoleForAccount", {})
13
- .n("GreengrassV2Client", "GetServiceRoleForAccountCommand")
14
- .sc(GetServiceRoleForAccount$)
15
- .build() {
3
+ export class GetServiceRoleForAccountCommand extends command(_ep0, _mw0, "GetServiceRoleForAccount", GetServiceRoleForAccount$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListClientDevicesAssociatedWithCoreDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListClientDevicesAssociatedWithCoreDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListClientDevicesAssociatedWithCoreDevice", {})
13
- .n("GreengrassV2Client", "ListClientDevicesAssociatedWithCoreDeviceCommand")
14
- .sc(ListClientDevicesAssociatedWithCoreDevice$)
15
- .build() {
3
+ export class ListClientDevicesAssociatedWithCoreDeviceCommand extends command(_ep0, _mw0, "ListClientDevicesAssociatedWithCoreDevice", ListClientDevicesAssociatedWithCoreDevice$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListComponentVersions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListComponentVersionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListComponentVersions", {})
13
- .n("GreengrassV2Client", "ListComponentVersionsCommand")
14
- .sc(ListComponentVersions$)
15
- .build() {
3
+ export class ListComponentVersionsCommand extends command(_ep0, _mw0, "ListComponentVersions", ListComponentVersions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListComponents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListComponentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListComponents", {})
13
- .n("GreengrassV2Client", "ListComponentsCommand")
14
- .sc(ListComponents$)
15
- .build() {
3
+ export class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCoreDevices$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCoreDevicesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListCoreDevices", {})
13
- .n("GreengrassV2Client", "ListCoreDevicesCommand")
14
- .sc(ListCoreDevices$)
15
- .build() {
3
+ export class ListCoreDevicesCommand extends command(_ep0, _mw0, "ListCoreDevices", ListCoreDevices$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListDeployments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListDeploymentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListDeployments", {})
13
- .n("GreengrassV2Client", "ListDeploymentsCommand")
14
- .sc(ListDeployments$)
15
- .build() {
3
+ export class ListDeploymentsCommand extends command(_ep0, _mw0, "ListDeployments", ListDeployments$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEffectiveDeployments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEffectiveDeploymentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListEffectiveDeployments", {})
13
- .n("GreengrassV2Client", "ListEffectiveDeploymentsCommand")
14
- .sc(ListEffectiveDeployments$)
15
- .build() {
3
+ export class ListEffectiveDeploymentsCommand extends command(_ep0, _mw0, "ListEffectiveDeployments", ListEffectiveDeployments$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListInstalledComponents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListInstalledComponentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListInstalledComponents", {})
13
- .n("GreengrassV2Client", "ListInstalledComponentsCommand")
14
- .sc(ListInstalledComponents$)
15
- .build() {
3
+ export class ListInstalledComponentsCommand extends command(_ep0, _mw0, "ListInstalledComponents", ListInstalledComponents$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ListTagsForResource", {})
13
- .n("GreengrassV2Client", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ResolveComponentCandidates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ResolveComponentCandidatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "ResolveComponentCandidates", {})
13
- .n("GreengrassV2Client", "ResolveComponentCandidatesCommand")
14
- .sc(ResolveComponentCandidates$)
15
- .build() {
3
+ export class ResolveComponentCandidatesCommand extends command(_ep0, _mw0, "ResolveComponentCandidates", ResolveComponentCandidates$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "TagResource", {})
13
- .n("GreengrassV2Client", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "UntagResource", {})
13
- .n("GreengrassV2Client", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateConnectivityInfo$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateConnectivityInfoCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "UpdateConnectivityInfo", {})
13
- .n("GreengrassV2Client", "UpdateConnectivityInfoCommand")
14
- .sc(UpdateConnectivityInfo$)
15
- .build() {
3
+ export class UpdateConnectivityInfoCommand extends command(_ep0, _mw0, "UpdateConnectivityInfo", UpdateConnectivityInfo$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./GreengrassV2Client";
2
2
  export * from "./GreengrassV2";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./GreengrassV2Client";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { AssociateServiceRoleToAccountRequest, AssociateServiceRoleToAccountResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateServiceRoleToAccountCommandInput extends AssociateServ
22
19
  export interface AssociateServiceRoleToAccountCommandOutput extends AssociateServiceRoleToAccountResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateServiceRoleToAccountCommand_base: {
25
- new (input: AssociateServiceRoleToAccountCommandInput): import("@smithy/core/client").CommandImpl<AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateServiceRoleToAccountCommandInput): import("@smithy/core/client").CommandImpl<AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateServiceRoleToAccountCommandInput): import("@smithy/core/client").CommandImpl<AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateServiceRoleToAccountCommandInput): import("@smithy/core/client").CommandImpl<AssociateServiceRoleToAccountCommandInput, AssociateServiceRoleToAccountCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Associates a Greengrass service role with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. IoT Greengrass
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { BatchAssociateClientDeviceWithCoreDeviceRequest, BatchAssociateClientDeviceWithCoreDeviceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchAssociateClientDeviceWithCoreDeviceCommandInput extends Ba
22
19
  export interface BatchAssociateClientDeviceWithCoreDeviceCommandOutput extends BatchAssociateClientDeviceWithCoreDeviceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const BatchAssociateClientDeviceWithCoreDeviceCommand_base: {
25
- new (input: BatchAssociateClientDeviceWithCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchAssociateClientDeviceWithCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchAssociateClientDeviceWithCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchAssociateClientDeviceWithCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchAssociateClientDeviceWithCoreDeviceCommandInput, BatchAssociateClientDeviceWithCoreDeviceCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Associates a list of client devices with a core device. Use this API operation to specify
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { BatchDisassociateClientDeviceFromCoreDeviceRequest, BatchDisassociateClientDeviceFromCoreDeviceResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchDisassociateClientDeviceFromCoreDeviceCommandInput extends
22
19
  export interface BatchDisassociateClientDeviceFromCoreDeviceCommandOutput extends BatchDisassociateClientDeviceFromCoreDeviceResponse, __MetadataBearer {
23
20
  }
24
21
  declare const BatchDisassociateClientDeviceFromCoreDeviceCommand_base: {
25
- new (input: BatchDisassociateClientDeviceFromCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateClientDeviceFromCoreDeviceCommandInput, BatchDisassociateClientDeviceFromCoreDeviceCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchDisassociateClientDeviceFromCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateClientDeviceFromCoreDeviceCommandInput, BatchDisassociateClientDeviceFromCoreDeviceCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchDisassociateClientDeviceFromCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateClientDeviceFromCoreDeviceCommandInput, BatchDisassociateClientDeviceFromCoreDeviceCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchDisassociateClientDeviceFromCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<BatchDisassociateClientDeviceFromCoreDeviceCommandInput, BatchDisassociateClientDeviceFromCoreDeviceCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Disassociates a list of client devices from a core device. After you disassociate a client
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { CancelDeploymentRequest, CancelDeploymentResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CancelDeploymentCommandInput extends CancelDeploymentRequest {
22
19
  export interface CancelDeploymentCommandOutput extends CancelDeploymentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CancelDeploymentCommand_base: {
25
- new (input: CancelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CancelDeploymentCommandInput, CancelDeploymentCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CancelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CancelDeploymentCommandInput, CancelDeploymentCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CancelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CancelDeploymentCommandInput, CancelDeploymentCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CancelDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CancelDeploymentCommandInput, CancelDeploymentCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Cancels a deployment. This operation cancels the deployment for devices that haven't yet
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { CreateComponentVersionRequest, CreateComponentVersionResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateComponentVersionCommandInput extends CreateComponentVersi
22
19
  export interface CreateComponentVersionCommandOutput extends CreateComponentVersionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateComponentVersionCommand_base: {
25
- new (input: CreateComponentVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateComponentVersionCommandInput, CreateComponentVersionCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [CreateComponentVersionCommandInput]): import("@smithy/core/client").CommandImpl<CreateComponentVersionCommandInput, CreateComponentVersionCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateComponentVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateComponentVersionCommandInput, CreateComponentVersionCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [CreateComponentVersionCommandInput]): import("@smithy/core/client").CommandImpl<CreateComponentVersionCommandInput, CreateComponentVersionCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a component. Components are software that run on Greengrass core devices. After you
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { CreateDeploymentRequest, CreateDeploymentResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateDeploymentCommandInput extends CreateDeploymentRequest {
22
19
  export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateDeploymentCommand_base: {
25
- new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a continuous deployment for a target, which is a Greengrass core device or group of core
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { DeleteComponentRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteComponentCommandInput extends DeleteComponentRequest {
22
19
  export interface DeleteComponentCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteComponentCommand_base: {
25
- new (input: DeleteComponentCommandInput): import("@smithy/core/client").CommandImpl<DeleteComponentCommandInput, DeleteComponentCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteComponentCommandInput): import("@smithy/core/client").CommandImpl<DeleteComponentCommandInput, DeleteComponentCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteComponentCommandInput): import("@smithy/core/client").CommandImpl<DeleteComponentCommandInput, DeleteComponentCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteComponentCommandInput): import("@smithy/core/client").CommandImpl<DeleteComponentCommandInput, DeleteComponentCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a version of a component from IoT Greengrass.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
4
2
  import type { DeleteCoreDeviceRequest } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteCoreDeviceCommandInput extends DeleteCoreDeviceRequest {
22
19
  export interface DeleteCoreDeviceCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteCoreDeviceCommand_base: {
25
- new (input: DeleteCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<DeleteCoreDeviceCommandInput, DeleteCoreDeviceCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<DeleteCoreDeviceCommandInput, DeleteCoreDeviceCommandOutput, GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<DeleteCoreDeviceCommandInput, DeleteCoreDeviceCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteCoreDeviceCommandInput): import("@smithy/core/client").CommandImpl<DeleteCoreDeviceCommandInput, DeleteCoreDeviceCommandOutput, import("..").GreengrassV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes a Greengrass core device, which is an IoT thing. This operation removes the core