@aws-sdk/client-greengrassv2 3.952.0 → 3.953.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 (49) hide show
  1. package/dist-cjs/index.js +444 -303
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +2 -2
  4. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +2 -2
  5. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +2 -2
  6. package/dist-es/commands/CancelDeploymentCommand.js +2 -2
  7. package/dist-es/commands/CreateComponentVersionCommand.js +2 -2
  8. package/dist-es/commands/CreateDeploymentCommand.js +2 -2
  9. package/dist-es/commands/DeleteComponentCommand.js +2 -2
  10. package/dist-es/commands/DeleteCoreDeviceCommand.js +2 -2
  11. package/dist-es/commands/DeleteDeploymentCommand.js +2 -2
  12. package/dist-es/commands/DescribeComponentCommand.js +2 -2
  13. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +2 -2
  14. package/dist-es/commands/GetComponentCommand.js +2 -2
  15. package/dist-es/commands/GetComponentVersionArtifactCommand.js +2 -2
  16. package/dist-es/commands/GetConnectivityInfoCommand.js +2 -2
  17. package/dist-es/commands/GetCoreDeviceCommand.js +2 -2
  18. package/dist-es/commands/GetDeploymentCommand.js +2 -2
  19. package/dist-es/commands/GetServiceRoleForAccountCommand.js +2 -2
  20. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +2 -2
  21. package/dist-es/commands/ListComponentVersionsCommand.js +2 -2
  22. package/dist-es/commands/ListComponentsCommand.js +2 -2
  23. package/dist-es/commands/ListCoreDevicesCommand.js +2 -2
  24. package/dist-es/commands/ListDeploymentsCommand.js +2 -2
  25. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +2 -2
  26. package/dist-es/commands/ListInstalledComponentsCommand.js +2 -2
  27. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  28. package/dist-es/commands/ResolveComponentCandidatesCommand.js +2 -2
  29. package/dist-es/commands/TagResourceCommand.js +2 -2
  30. package/dist-es/commands/UntagResourceCommand.js +2 -2
  31. package/dist-es/commands/UpdateConnectivityInfoCommand.js +2 -2
  32. package/dist-es/index.js +1 -0
  33. package/dist-es/runtimeConfig.shared.js +6 -1
  34. package/dist-es/schemas/schemas_0.js +272 -265
  35. package/dist-types/GreengrassV2Client.d.ts +1 -10
  36. package/dist-types/index.d.ts +1 -0
  37. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  38. package/dist-types/runtimeConfig.d.ts +6 -2
  39. package/dist-types/runtimeConfig.native.d.ts +6 -2
  40. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  41. package/dist-types/schemas/schemas_0.d.ts +135 -169
  42. package/dist-types/ts3.4/GreengrassV2Client.d.ts +0 -4
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -170
  49. package/package.json +34 -34
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.greengrassv2" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.greengrassv2",
32
+ version: "2020-11-30",
33
+ serviceTarget: "GreengrassV2",
34
+ },
30
35
  serviceId: config?.serviceId ?? "GreengrassV2",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AssociateServiceRoleToAccount } from "../schemas/schemas_0";
4
+ import { AssociateServiceRoleToAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AssociateServiceRoleToAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AssociateServiceRoleToAccountCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "AssociateServiceRoleToAccount", {})
13
13
  .n("GreengrassV2Client", "AssociateServiceRoleToAccountCommand")
14
- .sc(AssociateServiceRoleToAccount)
14
+ .sc(AssociateServiceRoleToAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchAssociateClientDeviceWithCoreDevice } from "../schemas/schemas_0";
4
+ import { BatchAssociateClientDeviceWithCoreDevice$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchAssociateClientDeviceWithCoreDeviceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchAssociateClientDeviceWithCoreDeviceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "BatchAssociateClientDeviceWithCoreDevice", {})
13
13
  .n("GreengrassV2Client", "BatchAssociateClientDeviceWithCoreDeviceCommand")
14
- .sc(BatchAssociateClientDeviceWithCoreDevice)
14
+ .sc(BatchAssociateClientDeviceWithCoreDevice$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { BatchDisassociateClientDeviceFromCoreDevice } from "../schemas/schemas_0";
4
+ import { BatchDisassociateClientDeviceFromCoreDevice$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class BatchDisassociateClientDeviceFromCoreDeviceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class BatchDisassociateClientDeviceFromCoreDeviceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "BatchDisassociateClientDeviceFromCoreDevice", {})
13
13
  .n("GreengrassV2Client", "BatchDisassociateClientDeviceFromCoreDeviceCommand")
14
- .sc(BatchDisassociateClientDeviceFromCoreDevice)
14
+ .sc(BatchDisassociateClientDeviceFromCoreDevice$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelDeployment } from "../schemas/schemas_0";
4
+ import { CancelDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelDeploymentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelDeploymentCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "CancelDeployment", {})
13
13
  .n("GreengrassV2Client", "CancelDeploymentCommand")
14
- .sc(CancelDeployment)
14
+ .sc(CancelDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateComponentVersion } from "../schemas/schemas_0";
4
+ import { CreateComponentVersion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateComponentVersionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateComponentVersionCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "CreateComponentVersion", {})
13
13
  .n("GreengrassV2Client", "CreateComponentVersionCommand")
14
- .sc(CreateComponentVersion)
14
+ .sc(CreateComponentVersion$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CreateDeployment } from "../schemas/schemas_0";
4
+ import { CreateDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateDeploymentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateDeploymentCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "CreateDeployment", {})
13
13
  .n("GreengrassV2Client", "CreateDeploymentCommand")
14
- .sc(CreateDeployment)
14
+ .sc(CreateDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteComponent } from "../schemas/schemas_0";
4
+ import { DeleteComponent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteComponentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteComponentCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "DeleteComponent", {})
13
13
  .n("GreengrassV2Client", "DeleteComponentCommand")
14
- .sc(DeleteComponent)
14
+ .sc(DeleteComponent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteCoreDevice } from "../schemas/schemas_0";
4
+ import { DeleteCoreDevice$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteCoreDeviceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteCoreDeviceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "DeleteCoreDevice", {})
13
13
  .n("GreengrassV2Client", "DeleteCoreDeviceCommand")
14
- .sc(DeleteCoreDevice)
14
+ .sc(DeleteCoreDevice$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteDeployment } from "../schemas/schemas_0";
4
+ import { DeleteDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteDeploymentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteDeploymentCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "DeleteDeployment", {})
13
13
  .n("GreengrassV2Client", "DeleteDeploymentCommand")
14
- .sc(DeleteDeployment)
14
+ .sc(DeleteDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeComponent } from "../schemas/schemas_0";
4
+ import { DescribeComponent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeComponentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeComponentCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "DescribeComponent", {})
13
13
  .n("GreengrassV2Client", "DescribeComponentCommand")
14
- .sc(DescribeComponent)
14
+ .sc(DescribeComponent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DisassociateServiceRoleFromAccount } from "../schemas/schemas_0";
4
+ import { DisassociateServiceRoleFromAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DisassociateServiceRoleFromAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DisassociateServiceRoleFromAccountCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "DisassociateServiceRoleFromAccount", {})
13
13
  .n("GreengrassV2Client", "DisassociateServiceRoleFromAccountCommand")
14
- .sc(DisassociateServiceRoleFromAccount)
14
+ .sc(DisassociateServiceRoleFromAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetComponent } from "../schemas/schemas_0";
4
+ import { GetComponent$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetComponentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetComponentCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "GetComponent", {})
13
13
  .n("GreengrassV2Client", "GetComponentCommand")
14
- .sc(GetComponent)
14
+ .sc(GetComponent$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetComponentVersionArtifact } from "../schemas/schemas_0";
4
+ import { GetComponentVersionArtifact$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetComponentVersionArtifactCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetComponentVersionArtifactCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "GetComponentVersionArtifact", {})
13
13
  .n("GreengrassV2Client", "GetComponentVersionArtifactCommand")
14
- .sc(GetComponentVersionArtifact)
14
+ .sc(GetComponentVersionArtifact$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetConnectivityInfo } from "../schemas/schemas_0";
4
+ import { GetConnectivityInfo$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetConnectivityInfoCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetConnectivityInfoCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "GetConnectivityInfo", {})
13
13
  .n("GreengrassV2Client", "GetConnectivityInfoCommand")
14
- .sc(GetConnectivityInfo)
14
+ .sc(GetConnectivityInfo$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetCoreDevice } from "../schemas/schemas_0";
4
+ import { GetCoreDevice$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetCoreDeviceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetCoreDeviceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "GetCoreDevice", {})
13
13
  .n("GreengrassV2Client", "GetCoreDeviceCommand")
14
- .sc(GetCoreDevice)
14
+ .sc(GetCoreDevice$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetDeployment } from "../schemas/schemas_0";
4
+ import { GetDeployment$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetDeploymentCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetDeploymentCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "GetDeployment", {})
13
13
  .n("GreengrassV2Client", "GetDeploymentCommand")
14
- .sc(GetDeployment)
14
+ .sc(GetDeployment$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetServiceRoleForAccount } from "../schemas/schemas_0";
4
+ import { GetServiceRoleForAccount$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetServiceRoleForAccountCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetServiceRoleForAccountCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "GetServiceRoleForAccount", {})
13
13
  .n("GreengrassV2Client", "GetServiceRoleForAccountCommand")
14
- .sc(GetServiceRoleForAccount)
14
+ .sc(GetServiceRoleForAccount$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListClientDevicesAssociatedWithCoreDevice } from "../schemas/schemas_0";
4
+ import { ListClientDevicesAssociatedWithCoreDevice$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListClientDevicesAssociatedWithCoreDeviceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListClientDevicesAssociatedWithCoreDeviceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListClientDevicesAssociatedWithCoreDevice", {})
13
13
  .n("GreengrassV2Client", "ListClientDevicesAssociatedWithCoreDeviceCommand")
14
- .sc(ListClientDevicesAssociatedWithCoreDevice)
14
+ .sc(ListClientDevicesAssociatedWithCoreDevice$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListComponentVersions } from "../schemas/schemas_0";
4
+ import { ListComponentVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListComponentVersionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListComponentVersionsCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListComponentVersions", {})
13
13
  .n("GreengrassV2Client", "ListComponentVersionsCommand")
14
- .sc(ListComponentVersions)
14
+ .sc(ListComponentVersions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListComponents } from "../schemas/schemas_0";
4
+ import { ListComponents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListComponentsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListComponentsCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListComponents", {})
13
13
  .n("GreengrassV2Client", "ListComponentsCommand")
14
- .sc(ListComponents)
14
+ .sc(ListComponents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListCoreDevices } from "../schemas/schemas_0";
4
+ import { ListCoreDevices$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListCoreDevicesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListCoreDevicesCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListCoreDevices", {})
13
13
  .n("GreengrassV2Client", "ListCoreDevicesCommand")
14
- .sc(ListCoreDevices)
14
+ .sc(ListCoreDevices$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListDeployments } from "../schemas/schemas_0";
4
+ import { ListDeployments$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListDeploymentsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListDeploymentsCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListDeployments", {})
13
13
  .n("GreengrassV2Client", "ListDeploymentsCommand")
14
- .sc(ListDeployments)
14
+ .sc(ListDeployments$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListEffectiveDeployments } from "../schemas/schemas_0";
4
+ import { ListEffectiveDeployments$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListEffectiveDeploymentsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListEffectiveDeploymentsCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListEffectiveDeployments", {})
13
13
  .n("GreengrassV2Client", "ListEffectiveDeploymentsCommand")
14
- .sc(ListEffectiveDeployments)
14
+ .sc(ListEffectiveDeployments$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListInstalledComponents } from "../schemas/schemas_0";
4
+ import { ListInstalledComponents$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListInstalledComponentsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListInstalledComponentsCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListInstalledComponents", {})
13
13
  .n("GreengrassV2Client", "ListInstalledComponentsCommand")
14
- .sc(ListInstalledComponents)
14
+ .sc(ListInstalledComponents$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ListTagsForResource", {})
13
13
  .n("GreengrassV2Client", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ResolveComponentCandidates } from "../schemas/schemas_0";
4
+ import { ResolveComponentCandidates$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ResolveComponentCandidatesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ResolveComponentCandidatesCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "ResolveComponentCandidates", {})
13
13
  .n("GreengrassV2Client", "ResolveComponentCandidatesCommand")
14
- .sc(ResolveComponentCandidates)
14
+ .sc(ResolveComponentCandidates$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "TagResource", {})
13
13
  .n("GreengrassV2Client", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "UntagResource", {})
13
13
  .n("GreengrassV2Client", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateConnectivityInfo } from "../schemas/schemas_0";
4
+ import { UpdateConnectivityInfo$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateConnectivityInfoCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateConnectivityInfoCommand extends $Command
11
11
  })
12
12
  .s("GreengrassV2", "UpdateConnectivityInfo", {})
13
13
  .n("GreengrassV2Client", "UpdateConnectivityInfoCommand")
14
- .sc(UpdateConnectivityInfo)
14
+ .sc(UpdateConnectivityInfo$)
15
15
  .build() {
16
16
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.greengrassv2" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.greengrassv2",
29
+ version: "2020-11-30",
30
+ serviceTarget: "GreengrassV2",
31
+ },
27
32
  serviceId: config?.serviceId ?? "GreengrassV2",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,