@aws-sdk/client-greengrassv2 3.927.0 → 3.929.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 (50) hide show
  1. package/dist-cjs/index.js +1621 -1496
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/GreengrassV2Client.js +2 -0
  4. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +3 -9
  5. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +3 -9
  6. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +3 -9
  7. package/dist-es/commands/CancelDeploymentCommand.js +3 -9
  8. package/dist-es/commands/CreateComponentVersionCommand.js +3 -9
  9. package/dist-es/commands/CreateDeploymentCommand.js +3 -9
  10. package/dist-es/commands/DeleteComponentCommand.js +3 -9
  11. package/dist-es/commands/DeleteCoreDeviceCommand.js +3 -9
  12. package/dist-es/commands/DeleteDeploymentCommand.js +3 -9
  13. package/dist-es/commands/DescribeComponentCommand.js +3 -9
  14. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +3 -9
  15. package/dist-es/commands/GetComponentCommand.js +3 -9
  16. package/dist-es/commands/GetComponentVersionArtifactCommand.js +3 -9
  17. package/dist-es/commands/GetConnectivityInfoCommand.js +3 -9
  18. package/dist-es/commands/GetCoreDeviceCommand.js +3 -9
  19. package/dist-es/commands/GetDeploymentCommand.js +3 -9
  20. package/dist-es/commands/GetServiceRoleForAccountCommand.js +3 -9
  21. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +3 -9
  22. package/dist-es/commands/ListComponentVersionsCommand.js +3 -9
  23. package/dist-es/commands/ListComponentsCommand.js +3 -9
  24. package/dist-es/commands/ListCoreDevicesCommand.js +3 -9
  25. package/dist-es/commands/ListDeploymentsCommand.js +3 -9
  26. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +3 -9
  27. package/dist-es/commands/ListInstalledComponentsCommand.js +3 -9
  28. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  29. package/dist-es/commands/ResolveComponentCandidatesCommand.js +3 -9
  30. package/dist-es/commands/TagResourceCommand.js +3 -9
  31. package/dist-es/commands/UntagResourceCommand.js +3 -9
  32. package/dist-es/commands/UpdateConnectivityInfoCommand.js +3 -9
  33. package/dist-es/runtimeConfig.shared.js +2 -0
  34. package/dist-es/schemas/schemas_0.js +1561 -0
  35. package/dist-types/GreengrassV2Client.d.ts +10 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +169 -0
  41. package/dist-types/ts3.4/GreengrassV2Client.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +175 -0
  47. package/package.json +5 -6
  48. package/dist-es/protocols/Aws_restJson1.js +0 -1283
  49. package/dist-types/protocols/Aws_restJson1.d.ts +0 -263
  50. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -353
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.greengrassv2" }),
28
30
  serviceId: config?.serviceId ?? "GreengrassV2",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class GreengrassV2Client extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AssociateServiceRoleToAccountCommand, se_AssociateServiceRoleToAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { AssociateServiceRoleToAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AssociateServiceRoleToAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "AssociateServiceRoleToAccount", {})
17
13
  .n("GreengrassV2Client", "AssociateServiceRoleToAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AssociateServiceRoleToAccountCommand)
20
- .de(de_AssociateServiceRoleToAccountCommand)
14
+ .sc(AssociateServiceRoleToAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchAssociateClientDeviceWithCoreDeviceCommand, se_BatchAssociateClientDeviceWithCoreDeviceCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchAssociateClientDeviceWithCoreDevice } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchAssociateClientDeviceWithCoreDeviceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "BatchAssociateClientDeviceWithCoreDevice", {})
17
13
  .n("GreengrassV2Client", "BatchAssociateClientDeviceWithCoreDeviceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchAssociateClientDeviceWithCoreDeviceCommand)
20
- .de(de_BatchAssociateClientDeviceWithCoreDeviceCommand)
14
+ .sc(BatchAssociateClientDeviceWithCoreDevice)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_BatchDisassociateClientDeviceFromCoreDeviceCommand, se_BatchDisassociateClientDeviceFromCoreDeviceCommand, } from "../protocols/Aws_restJson1";
4
+ import { BatchDisassociateClientDeviceFromCoreDevice } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class BatchDisassociateClientDeviceFromCoreDeviceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "BatchDisassociateClientDeviceFromCoreDevice", {})
17
13
  .n("GreengrassV2Client", "BatchDisassociateClientDeviceFromCoreDeviceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_BatchDisassociateClientDeviceFromCoreDeviceCommand)
20
- .de(de_BatchDisassociateClientDeviceFromCoreDeviceCommand)
14
+ .sc(BatchDisassociateClientDeviceFromCoreDevice)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelDeploymentCommand, se_CancelDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelDeploymentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "CancelDeployment", {})
17
13
  .n("GreengrassV2Client", "CancelDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelDeploymentCommand)
20
- .de(de_CancelDeploymentCommand)
14
+ .sc(CancelDeployment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateComponentVersionCommand, se_CreateComponentVersionCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateComponentVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateComponentVersionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "CreateComponentVersion", {})
17
13
  .n("GreengrassV2Client", "CreateComponentVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateComponentVersionCommand)
20
- .de(de_CreateComponentVersionCommand)
14
+ .sc(CreateComponentVersion)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateDeploymentCommand, se_CreateDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateDeploymentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "CreateDeployment", {})
17
13
  .n("GreengrassV2Client", "CreateDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateDeploymentCommand)
20
- .de(de_CreateDeploymentCommand)
14
+ .sc(CreateDeployment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteComponentCommand, se_DeleteComponentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteComponent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteComponentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "DeleteComponent", {})
17
13
  .n("GreengrassV2Client", "DeleteComponentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteComponentCommand)
20
- .de(de_DeleteComponentCommand)
14
+ .sc(DeleteComponent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteCoreDeviceCommand, se_DeleteCoreDeviceCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteCoreDevice } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteCoreDeviceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "DeleteCoreDevice", {})
17
13
  .n("GreengrassV2Client", "DeleteCoreDeviceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteCoreDeviceCommand)
20
- .de(de_DeleteCoreDeviceCommand)
14
+ .sc(DeleteCoreDevice)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteDeploymentCommand, se_DeleteDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteDeploymentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "DeleteDeployment", {})
17
13
  .n("GreengrassV2Client", "DeleteDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteDeploymentCommand)
20
- .de(de_DeleteDeploymentCommand)
14
+ .sc(DeleteDeployment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeComponentCommand, se_DescribeComponentCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeComponent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeComponentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "DescribeComponent", {})
17
13
  .n("GreengrassV2Client", "DescribeComponentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeComponentCommand)
20
- .de(de_DescribeComponentCommand)
14
+ .sc(DescribeComponent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisassociateServiceRoleFromAccountCommand, se_DisassociateServiceRoleFromAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisassociateServiceRoleFromAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateServiceRoleFromAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "DisassociateServiceRoleFromAccount", {})
17
13
  .n("GreengrassV2Client", "DisassociateServiceRoleFromAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateServiceRoleFromAccountCommand)
20
- .de(de_DisassociateServiceRoleFromAccountCommand)
14
+ .sc(DisassociateServiceRoleFromAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetComponentCommand, se_GetComponentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetComponent } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetComponentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "GetComponent", {})
17
13
  .n("GreengrassV2Client", "GetComponentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetComponentCommand)
20
- .de(de_GetComponentCommand)
14
+ .sc(GetComponent)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetComponentVersionArtifactCommand, se_GetComponentVersionArtifactCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetComponentVersionArtifact } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetComponentVersionArtifactCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "GetComponentVersionArtifact", {})
17
13
  .n("GreengrassV2Client", "GetComponentVersionArtifactCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetComponentVersionArtifactCommand)
20
- .de(de_GetComponentVersionArtifactCommand)
14
+ .sc(GetComponentVersionArtifact)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetConnectivityInfoCommand, se_GetConnectivityInfoCommand } from "../protocols/Aws_restJson1";
4
+ import { GetConnectivityInfo } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetConnectivityInfoCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "GetConnectivityInfo", {})
17
13
  .n("GreengrassV2Client", "GetConnectivityInfoCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetConnectivityInfoCommand)
20
- .de(de_GetConnectivityInfoCommand)
14
+ .sc(GetConnectivityInfo)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCoreDeviceCommand, se_GetCoreDeviceCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCoreDevice } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCoreDeviceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "GetCoreDevice", {})
17
13
  .n("GreengrassV2Client", "GetCoreDeviceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCoreDeviceCommand)
20
- .de(de_GetCoreDeviceCommand)
14
+ .sc(GetCoreDevice)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDeploymentCommand, se_GetDeploymentCommand } from "../protocols/Aws_restJson1";
4
+ import { GetDeployment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDeploymentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "GetDeployment", {})
17
13
  .n("GreengrassV2Client", "GetDeploymentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDeploymentCommand)
20
- .de(de_GetDeploymentCommand)
14
+ .sc(GetDeployment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetServiceRoleForAccountCommand, se_GetServiceRoleForAccountCommand } from "../protocols/Aws_restJson1";
4
+ import { GetServiceRoleForAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetServiceRoleForAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "GetServiceRoleForAccount", {})
17
13
  .n("GreengrassV2Client", "GetServiceRoleForAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetServiceRoleForAccountCommand)
20
- .de(de_GetServiceRoleForAccountCommand)
14
+ .sc(GetServiceRoleForAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListClientDevicesAssociatedWithCoreDeviceCommand, se_ListClientDevicesAssociatedWithCoreDeviceCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListClientDevicesAssociatedWithCoreDevice } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListClientDevicesAssociatedWithCoreDeviceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "ListClientDevicesAssociatedWithCoreDevice", {})
17
13
  .n("GreengrassV2Client", "ListClientDevicesAssociatedWithCoreDeviceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListClientDevicesAssociatedWithCoreDeviceCommand)
20
- .de(de_ListClientDevicesAssociatedWithCoreDeviceCommand)
14
+ .sc(ListClientDevicesAssociatedWithCoreDevice)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListComponentVersionsCommand, se_ListComponentVersionsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListComponentVersions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListComponentVersionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "ListComponentVersions", {})
17
13
  .n("GreengrassV2Client", "ListComponentVersionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListComponentVersionsCommand)
20
- .de(de_ListComponentVersionsCommand)
14
+ .sc(ListComponentVersions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListComponentsCommand, se_ListComponentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListComponents } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListComponentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "ListComponents", {})
17
13
  .n("GreengrassV2Client", "ListComponentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListComponentsCommand)
20
- .de(de_ListComponentsCommand)
14
+ .sc(ListComponents)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListCoreDevicesCommand, se_ListCoreDevicesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCoreDevices } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCoreDevicesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "ListCoreDevices", {})
17
13
  .n("GreengrassV2Client", "ListCoreDevicesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCoreDevicesCommand)
20
- .de(de_ListCoreDevicesCommand)
14
+ .sc(ListCoreDevices)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListDeploymentsCommand, se_ListDeploymentsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListDeployments } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListDeploymentsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("GreengrassV2", "ListDeployments", {})
17
13
  .n("GreengrassV2Client", "ListDeploymentsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListDeploymentsCommand)
20
- .de(de_ListDeploymentsCommand)
14
+ .sc(ListDeployments)
21
15
  .build() {
22
16
  }