@aws-sdk/client-greengrassv2 3.306.0 → 3.309.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist-cjs/commands/AssociateServiceRoleToAccountCommand.js +2 -2
- package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/CancelDeploymentCommand.js +2 -2
- package/dist-cjs/commands/CreateComponentVersionCommand.js +2 -2
- package/dist-cjs/commands/CreateDeploymentCommand.js +2 -2
- package/dist-cjs/commands/DeleteComponentCommand.js +2 -2
- package/dist-cjs/commands/DeleteCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/DeleteDeploymentCommand.js +2 -2
- package/dist-cjs/commands/DescribeComponentCommand.js +2 -2
- package/dist-cjs/commands/DisassociateServiceRoleFromAccountCommand.js +2 -2
- package/dist-cjs/commands/GetComponentCommand.js +2 -2
- package/dist-cjs/commands/GetComponentVersionArtifactCommand.js +2 -2
- package/dist-cjs/commands/GetConnectivityInfoCommand.js +2 -2
- package/dist-cjs/commands/GetCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/GetDeploymentCommand.js +2 -2
- package/dist-cjs/commands/GetServiceRoleForAccountCommand.js +2 -2
- package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +2 -2
- package/dist-cjs/commands/ListComponentVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListComponentsCommand.js +2 -2
- package/dist-cjs/commands/ListCoreDevicesCommand.js +2 -2
- package/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
- package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js +2 -2
- package/dist-cjs/commands/ListInstalledComponentsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ResolveComponentCandidatesCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectivityInfoCommand.js +2 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +514 -546
- package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +3 -3
- package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +3 -3
- package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +3 -3
- package/dist-es/commands/CancelDeploymentCommand.js +3 -3
- package/dist-es/commands/CreateComponentVersionCommand.js +3 -3
- package/dist-es/commands/CreateDeploymentCommand.js +3 -3
- package/dist-es/commands/DeleteComponentCommand.js +3 -3
- package/dist-es/commands/DeleteCoreDeviceCommand.js +3 -3
- package/dist-es/commands/DeleteDeploymentCommand.js +3 -3
- package/dist-es/commands/DescribeComponentCommand.js +3 -3
- package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +3 -3
- package/dist-es/commands/GetComponentCommand.js +3 -3
- package/dist-es/commands/GetComponentVersionArtifactCommand.js +3 -3
- package/dist-es/commands/GetConnectivityInfoCommand.js +3 -3
- package/dist-es/commands/GetCoreDeviceCommand.js +3 -3
- package/dist-es/commands/GetDeploymentCommand.js +3 -3
- package/dist-es/commands/GetServiceRoleForAccountCommand.js +3 -3
- package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +3 -3
- package/dist-es/commands/ListComponentVersionsCommand.js +3 -3
- package/dist-es/commands/ListComponentsCommand.js +3 -3
- package/dist-es/commands/ListCoreDevicesCommand.js +3 -3
- package/dist-es/commands/ListDeploymentsCommand.js +3 -3
- package/dist-es/commands/ListEffectiveDeploymentsCommand.js +3 -3
- package/dist-es/commands/ListInstalledComponentsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/ResolveComponentCandidatesCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateConnectivityInfoCommand.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +454 -486
- package/dist-types/GreengrassV2.d.ts +32 -30
- package/dist-types/GreengrassV2Client.d.ts +2 -2
- package/dist-types/commands/CreateComponentVersionCommand.d.ts +2 -2
- package/dist-types/commands/GetComponentVersionArtifactCommand.d.ts +3 -2
- package/dist-types/commands/GetCoreDeviceCommand.d.ts +7 -7
- package/dist-types/commands/ListComponentVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListCoreDevicesCommand.d.ts +7 -7
- package/dist-types/commands/ListEffectiveDeploymentsCommand.d.ts +1 -2
- package/dist-types/commands/ListInstalledComponentsCommand.d.ts +6 -5
- package/dist-types/commands/ResolveComponentCandidatesCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +69 -20
- package/dist-types/protocols/Aws_restJson1.d.ts +232 -58
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +58 -58
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@ deploy applications to fleets of edge devices for local operation.</p>
|
|
|
18
18
|
<p>IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.
|
|
19
19
|
Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,
|
|
20
20
|
manage deployments, and core devices.</p>
|
|
21
|
-
<p>For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/what-is-iot-greengrass.html">What is IoT Greengrass?</a> in
|
|
22
|
-
|
|
21
|
+
<p>For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/what-is-iot-greengrass.html">What is IoT Greengrass?</a> in the
|
|
22
|
+
<i>IoT Greengrass V2 Developer Guide</i>.</p>
|
|
23
23
|
|
|
24
24
|
## Installing
|
|
25
25
|
|
|
@@ -36,10 +36,10 @@ class AssociateServiceRoleToAccountCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_AssociateServiceRoleToAccountCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_AssociateServiceRoleToAccountCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.AssociateServiceRoleToAccountCommand = AssociateServiceRoleToAccountCommand;
|
|
@@ -36,10 +36,10 @@ class BatchAssociateClientDeviceWithCoreDeviceCommand extends smithy_client_1.Co
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_BatchAssociateClientDeviceWithCoreDeviceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_BatchAssociateClientDeviceWithCoreDeviceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.BatchAssociateClientDeviceWithCoreDeviceCommand = BatchAssociateClientDeviceWithCoreDeviceCommand;
|
|
@@ -36,10 +36,10 @@ class BatchDisassociateClientDeviceFromCoreDeviceCommand extends smithy_client_1
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_BatchDisassociateClientDeviceFromCoreDeviceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_BatchDisassociateClientDeviceFromCoreDeviceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.BatchDisassociateClientDeviceFromCoreDeviceCommand = BatchDisassociateClientDeviceFromCoreDeviceCommand;
|
|
@@ -36,10 +36,10 @@ class CancelDeploymentCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_CancelDeploymentCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_CancelDeploymentCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.CancelDeploymentCommand = CancelDeploymentCommand;
|
|
@@ -36,10 +36,10 @@ class CreateComponentVersionCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_CreateComponentVersionCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_CreateComponentVersionCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.CreateComponentVersionCommand = CreateComponentVersionCommand;
|
|
@@ -36,10 +36,10 @@ class CreateDeploymentCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_CreateDeploymentCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_CreateDeploymentCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.CreateDeploymentCommand = CreateDeploymentCommand;
|
|
@@ -36,10 +36,10 @@ class DeleteComponentCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteComponentCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteComponentCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DeleteComponentCommand = DeleteComponentCommand;
|
|
@@ -36,10 +36,10 @@ class DeleteCoreDeviceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteCoreDeviceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteCoreDeviceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DeleteCoreDeviceCommand = DeleteCoreDeviceCommand;
|
|
@@ -36,10 +36,10 @@ class DeleteDeploymentCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteDeploymentCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteDeploymentCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DeleteDeploymentCommand = DeleteDeploymentCommand;
|
|
@@ -36,10 +36,10 @@ class DescribeComponentCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_DescribeComponentCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DescribeComponentCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DescribeComponentCommand = DescribeComponentCommand;
|
|
@@ -36,10 +36,10 @@ class DisassociateServiceRoleFromAccountCommand extends smithy_client_1.Command
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_DisassociateServiceRoleFromAccountCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_DisassociateServiceRoleFromAccountCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.DisassociateServiceRoleFromAccountCommand = DisassociateServiceRoleFromAccountCommand;
|
|
@@ -36,10 +36,10 @@ class GetComponentCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetComponentCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetComponentCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetComponentCommand = GetComponentCommand;
|
|
@@ -36,10 +36,10 @@ class GetComponentVersionArtifactCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetComponentVersionArtifactCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetComponentVersionArtifactCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetComponentVersionArtifactCommand = GetComponentVersionArtifactCommand;
|
|
@@ -36,10 +36,10 @@ class GetConnectivityInfoCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetConnectivityInfoCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetConnectivityInfoCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetConnectivityInfoCommand = GetConnectivityInfoCommand;
|
|
@@ -36,10 +36,10 @@ class GetCoreDeviceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetCoreDeviceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetCoreDeviceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetCoreDeviceCommand = GetCoreDeviceCommand;
|
|
@@ -36,10 +36,10 @@ class GetDeploymentCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetDeploymentCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetDeploymentCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetDeploymentCommand = GetDeploymentCommand;
|
|
@@ -36,10 +36,10 @@ class GetServiceRoleForAccountCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_GetServiceRoleForAccountCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_GetServiceRoleForAccountCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.GetServiceRoleForAccountCommand = GetServiceRoleForAccountCommand;
|
|
@@ -36,10 +36,10 @@ class ListClientDevicesAssociatedWithCoreDeviceCommand extends smithy_client_1.C
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListClientDevicesAssociatedWithCoreDeviceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListClientDevicesAssociatedWithCoreDeviceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListClientDevicesAssociatedWithCoreDeviceCommand = ListClientDevicesAssociatedWithCoreDeviceCommand;
|
|
@@ -36,10 +36,10 @@ class ListComponentVersionsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListComponentVersionsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListComponentVersionsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListComponentVersionsCommand = ListComponentVersionsCommand;
|
|
@@ -36,10 +36,10 @@ class ListComponentsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListComponentsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListComponentsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListComponentsCommand = ListComponentsCommand;
|
|
@@ -36,10 +36,10 @@ class ListCoreDevicesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListCoreDevicesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListCoreDevicesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListCoreDevicesCommand = ListCoreDevicesCommand;
|
|
@@ -36,10 +36,10 @@ class ListDeploymentsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListDeploymentsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListDeploymentsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListDeploymentsCommand = ListDeploymentsCommand;
|
|
@@ -36,10 +36,10 @@ class ListEffectiveDeploymentsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListEffectiveDeploymentsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListEffectiveDeploymentsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListEffectiveDeploymentsCommand = ListEffectiveDeploymentsCommand;
|
|
@@ -36,10 +36,10 @@ class ListInstalledComponentsCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListInstalledComponentsCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListInstalledComponentsCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListInstalledComponentsCommand = ListInstalledComponentsCommand;
|
|
@@ -36,10 +36,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ListTagsForResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ListTagsForResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -36,10 +36,10 @@ class ResolveComponentCandidatesCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_ResolveComponentCandidatesCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_ResolveComponentCandidatesCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.ResolveComponentCandidatesCommand = ResolveComponentCandidatesCommand;
|
|
@@ -36,10 +36,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_TagResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -36,10 +36,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -36,10 +36,10 @@ class UpdateConnectivityInfoCommand extends smithy_client_1.Command {
|
|
|
36
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
37
|
}
|
|
38
38
|
serialize(input, context) {
|
|
39
|
-
return (0, Aws_restJson1_1.
|
|
39
|
+
return (0, Aws_restJson1_1.se_UpdateConnectivityInfoCommand)(input, context);
|
|
40
40
|
}
|
|
41
41
|
deserialize(output, context) {
|
|
42
|
-
return (0, Aws_restJson1_1.
|
|
42
|
+
return (0, Aws_restJson1_1.de_UpdateConnectivityInfoCommand)(output, context);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
exports.UpdateConnectivityInfoCommand = UpdateConnectivityInfoCommand;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const w = "required", x = "fn", y = "argv", z = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = "us-gov-east-1", h = "us-gov-west-1", i = "sigv4", j = "greengrass", k = { [w]: false, "type": "String" }, l = { [w]: true, "default": false, "type": "Boolean" }, m = { [z]: "Endpoint" }, n = { [x]: "booleanEquals", [y]: [{ [z]: "UseFIPS" }, true] }, o = { [x]: "booleanEquals", [y]: [{ [z]: "UseDualStack" }, true] }, p = {}, q = { [z]: "Region" }, r = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsFIPS"] }] }, s = { [x]: "booleanEquals", [y]: [true, { [x]: "getAttr", [y]: [{ [z]: e }, "supportsDualStack"] }] }, t = [n], u = [o], v = [q];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: k, UseDualStack: l, UseFIPS: l, Endpoint: k }, rules: [{ conditions: [{ [x]: a, [y]: [m] }], type: b, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: m, properties: p, headers: p }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [x]: a, [y]: v }], type: b, rules: [{ conditions: [{ [x]: "aws.partition", [y]: v, assign: e }], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ conditions: [r, s], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: t, type: b, rules: [{ conditions: [r], type: b, rules: [{ type: b, rules: [{ conditions: [{ [x]: f, [y]: [q, g] }], endpoint: { url: "https://greengrass.us-gov-east-1.amazonaws.com", properties: p, headers: p }, type: d }, { conditions: [{ [x]: f, [y]: [q, h] }], endpoint: { url: "https://greengrass.us-gov-west-1.amazonaws.com", properties: p, headers: p }, type: d }, { endpoint: { url: "https://greengrass-fips.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: u, type: b, rules: [{ conditions: [s], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: p, headers: p }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [x]: f, [y]: [q, "dataplane-us-gov-east-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-east-1.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: g }] }, headers: p }, type: d }, { conditions: [{ [x]: f, [y]: [q, "dataplane-us-gov-west-1"] }], endpoint: { url: "https://greengrass-ats.iot.us-gov-west-1.amazonaws.com", properties: { authSchemes: [{ name: i, signingName: j, signingRegion: h }] }, headers: p }, type: d }, { endpoint: { url: "https://greengrass.{Region}.{PartitionResult#dnsSuffix}", properties: p, headers: p }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|