@aws-sdk/client-greengrass 3.36.0 → 3.36.1
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/CHANGELOG.md +11 -0
- package/dist-cjs/Greengrass.js +0 -3
- package/dist-cjs/GreengrassClient.js +0 -8
- package/dist-cjs/commands/AssociateRoleToGroupCommand.js +0 -24
- package/dist-cjs/commands/AssociateServiceRoleToAccountCommand.js +0 -24
- package/dist-cjs/commands/CreateConnectorDefinitionCommand.js +0 -24
- package/dist-cjs/commands/CreateConnectorDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateCoreDefinitionCommand.js +0 -24
- package/dist-cjs/commands/CreateCoreDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateDeploymentCommand.js +0 -24
- package/dist-cjs/commands/CreateDeviceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/CreateDeviceDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateFunctionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/CreateFunctionDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateGroupCertificateAuthorityCommand.js +0 -24
- package/dist-cjs/commands/CreateGroupCommand.js +0 -24
- package/dist-cjs/commands/CreateGroupVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateLoggerDefinitionCommand.js +0 -24
- package/dist-cjs/commands/CreateLoggerDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateResourceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/CreateResourceDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateSoftwareUpdateJobCommand.js +0 -24
- package/dist-cjs/commands/CreateSubscriptionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/CreateSubscriptionDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/DeleteConnectorDefinitionCommand.js +0 -24
- package/dist-cjs/commands/DeleteCoreDefinitionCommand.js +0 -24
- package/dist-cjs/commands/DeleteDeviceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/DeleteFunctionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/DeleteGroupCommand.js +0 -24
- package/dist-cjs/commands/DeleteLoggerDefinitionCommand.js +0 -24
- package/dist-cjs/commands/DeleteResourceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/DeleteSubscriptionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/DisassociateRoleFromGroupCommand.js +0 -24
- package/dist-cjs/commands/DisassociateServiceRoleFromAccountCommand.js +0 -24
- package/dist-cjs/commands/GetAssociatedRoleCommand.js +0 -24
- package/dist-cjs/commands/GetBulkDeploymentStatusCommand.js +0 -24
- package/dist-cjs/commands/GetConnectivityInfoCommand.js +0 -24
- package/dist-cjs/commands/GetConnectorDefinitionCommand.js +0 -24
- package/dist-cjs/commands/GetConnectorDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetCoreDefinitionCommand.js +0 -24
- package/dist-cjs/commands/GetCoreDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetDeploymentStatusCommand.js +0 -24
- package/dist-cjs/commands/GetDeviceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/GetDeviceDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetFunctionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/GetFunctionDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetGroupCertificateAuthorityCommand.js +0 -24
- package/dist-cjs/commands/GetGroupCertificateConfigurationCommand.js +0 -24
- package/dist-cjs/commands/GetGroupCommand.js +0 -24
- package/dist-cjs/commands/GetGroupVersionCommand.js +0 -24
- package/dist-cjs/commands/GetLoggerDefinitionCommand.js +0 -24
- package/dist-cjs/commands/GetLoggerDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetResourceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/GetResourceDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetServiceRoleForAccountCommand.js +0 -24
- package/dist-cjs/commands/GetSubscriptionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/GetSubscriptionDefinitionVersionCommand.js +0 -24
- package/dist-cjs/commands/GetThingRuntimeConfigurationCommand.js +0 -24
- package/dist-cjs/commands/ListBulkDeploymentDetailedReportsCommand.js +0 -24
- package/dist-cjs/commands/ListBulkDeploymentsCommand.js +0 -24
- package/dist-cjs/commands/ListConnectorDefinitionVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListConnectorDefinitionsCommand.js +0 -24
- package/dist-cjs/commands/ListCoreDefinitionVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListCoreDefinitionsCommand.js +0 -24
- package/dist-cjs/commands/ListDeploymentsCommand.js +0 -24
- package/dist-cjs/commands/ListDeviceDefinitionVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListDeviceDefinitionsCommand.js +0 -24
- package/dist-cjs/commands/ListFunctionDefinitionVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListFunctionDefinitionsCommand.js +0 -24
- package/dist-cjs/commands/ListGroupCertificateAuthoritiesCommand.js +0 -24
- package/dist-cjs/commands/ListGroupVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListGroupsCommand.js +0 -24
- package/dist-cjs/commands/ListLoggerDefinitionVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListLoggerDefinitionsCommand.js +0 -24
- package/dist-cjs/commands/ListResourceDefinitionVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListResourceDefinitionsCommand.js +0 -24
- package/dist-cjs/commands/ListSubscriptionDefinitionVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListSubscriptionDefinitionsCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ResetDeploymentsCommand.js +0 -24
- package/dist-cjs/commands/StartBulkDeploymentCommand.js +0 -24
- package/dist-cjs/commands/StopBulkDeploymentCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateConnectivityInfoCommand.js +0 -24
- package/dist-cjs/commands/UpdateConnectorDefinitionCommand.js +0 -24
- package/dist-cjs/commands/UpdateCoreDefinitionCommand.js +0 -24
- package/dist-cjs/commands/UpdateDeviceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/UpdateFunctionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/UpdateGroupCertificateConfigurationCommand.js +0 -24
- package/dist-cjs/commands/UpdateGroupCommand.js +0 -24
- package/dist-cjs/commands/UpdateLoggerDefinitionCommand.js +0 -24
- package/dist-cjs/commands/UpdateResourceDefinitionCommand.js +0 -24
- package/dist-cjs/commands/UpdateSubscriptionDefinitionCommand.js +0 -24
- package/dist-cjs/commands/UpdateThingRuntimeConfigurationCommand.js +0 -24
- package/dist-cjs/models/models_0.js +0 -681
- package/dist-cjs/protocols/Aws_restJson1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/Greengrass.d.ts +93 -279
- package/dist-types/ts3.4/GreengrassClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/AssociateRoleToGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/AssociateServiceRoleToAccountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateConnectorDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateConnectorDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCoreDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateCoreDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeviceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeviceDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFunctionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateFunctionDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateGroupCertificateAuthorityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateGroupVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateLoggerDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateLoggerDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateResourceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateResourceDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSoftwareUpdateJobCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSubscriptionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateSubscriptionDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteConnectorDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCoreDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDeviceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteFunctionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteLoggerDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteResourceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteSubscriptionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateRoleFromGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateServiceRoleFromAccountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAssociatedRoleCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetBulkDeploymentStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetConnectivityInfoCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetConnectorDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetConnectorDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCoreDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetCoreDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentStatusCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeviceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeviceDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFunctionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetFunctionDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGroupCertificateAuthorityCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGroupCertificateConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetGroupVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLoggerDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLoggerDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResourceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetResourceDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetServiceRoleForAccountCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSubscriptionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetSubscriptionDefinitionVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetThingRuntimeConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListBulkDeploymentDetailedReportsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListBulkDeploymentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListConnectorDefinitionVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListConnectorDefinitionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListCoreDefinitionVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListCoreDefinitionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeviceDefinitionVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeviceDefinitionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFunctionDefinitionVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFunctionDefinitionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGroupCertificateAuthoritiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGroupVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLoggerDefinitionVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLoggerDefinitionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResourceDefinitionVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResourceDefinitionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListSubscriptionDefinitionVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListSubscriptionDefinitionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ResetDeploymentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartBulkDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopBulkDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateConnectivityInfoCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateConnectorDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCoreDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDeviceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateFunctionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGroupCertificateConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateLoggerDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateResourceDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateSubscriptionDefinitionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateThingRuntimeConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/models/models_0.d.ts +905 -2715
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/Greengrass.js
CHANGED
|
@@ -94,9 +94,6 @@ const UpdateResourceDefinitionCommand_1 = require("./commands/UpdateResourceDefi
|
|
|
94
94
|
const UpdateSubscriptionDefinitionCommand_1 = require("./commands/UpdateSubscriptionDefinitionCommand");
|
|
95
95
|
const UpdateThingRuntimeConfigurationCommand_1 = require("./commands/UpdateThingRuntimeConfigurationCommand");
|
|
96
96
|
const GreengrassClient_1 = require("./GreengrassClient");
|
|
97
|
-
/**
|
|
98
|
-
* AWS IoT Greengrass seamlessly extends AWS onto physical devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. AWS IoT Greengrass ensures your devices can respond quickly to local events and operate with intermittent connectivity. AWS IoT Greengrass minimizes the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions that execute locally.
|
|
99
|
-
*/
|
|
100
97
|
class Greengrass extends GreengrassClient_1.GreengrassClient {
|
|
101
98
|
associateRoleToGroup(args, optionsOrCb, cb) {
|
|
102
99
|
const command = new AssociateRoleToGroupCommand_1.AssociateRoleToGroupCommand(args);
|
|
@@ -10,9 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* AWS IoT Greengrass seamlessly extends AWS onto physical devices so they can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. AWS IoT Greengrass ensures your devices can respond quickly to local events and operate with intermittent connectivity. AWS IoT Greengrass minimizes the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions that execute locally.
|
|
15
|
-
*/
|
|
16
13
|
class GreengrassClient extends smithy_client_1.Client {
|
|
17
14
|
constructor(configuration) {
|
|
18
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -31,11 +28,6 @@ class GreengrassClient extends smithy_client_1.Client {
|
|
|
31
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
32
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
33
30
|
}
|
|
34
|
-
/**
|
|
35
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
36
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
37
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
38
|
-
*/
|
|
39
31
|
destroy() {
|
|
40
32
|
super.destroy();
|
|
41
33
|
}
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Associates a role with a group. Your Greengrass core will use the role to access AWS cloud services. The role's permissions should allow Greengrass core Lambda functions to perform actions against the cloud.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, AssociateRoleToGroupCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, AssociateRoleToGroupCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new AssociateRoleToGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link AssociateRoleToGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link AssociateRoleToGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class AssociateRoleToGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Associates a role with your account. AWS IoT Greengrass will use the role to access your Lambda functions and AWS IoT resources. This is necessary for deployments to succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, AssociateServiceRoleToAccountCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, AssociateServiceRoleToAccountCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new AssociateServiceRoleToAccountCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link AssociateServiceRoleToAccountCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link AssociateServiceRoleToAccountCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class AssociateServiceRoleToAccountCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateConnectorDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateConnectorDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateConnectorDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateConnectorDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateConnectorDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateConnectorDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a version of a connector definition which has already been defined.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateConnectorDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateConnectorDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateConnectorDefinitionVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateConnectorDefinitionVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateConnectorDefinitionVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateConnectorDefinitionVersionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a core definition. You may provide the initial version of the core definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must each contain exactly one Greengrass core.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateCoreDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateCoreDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateCoreDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateCoreDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateCoreDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateCoreDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a version of a core definition that has already been defined. Greengrass groups must each contain exactly one Greengrass core.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateCoreDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateCoreDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateCoreDefinitionVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateCoreDefinitionVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateCoreDefinitionVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateCoreDefinitionVersionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to the ''X-Amzn-Client-Token'' token and the request parameters.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateDeploymentCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateDeploymentCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateDeploymentCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateDeploymentCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateDeploymentCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateDeploymentCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a device definition. You may provide the initial version of the device definition now or use ''CreateDeviceDefinitionVersion'' at a later time.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateDeviceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateDeviceDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateDeviceDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateDeviceDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateDeviceDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateDeviceDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a version of a device definition that has already been defined.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateDeviceDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateDeviceDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateDeviceDefinitionVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateDeviceDefinitionVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateDeviceDefinitionVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateDeviceDefinitionVersionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a Lambda function definition which contains a list of Lambda functions and their configurations to be used in a group. You can create an initial version of the definition by providing a list of Lambda functions and their configurations now, or use ''CreateFunctionDefinitionVersion'' later.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateFunctionDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateFunctionDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateFunctionDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateFunctionDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateFunctionDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateFunctionDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a version of a Lambda function definition that has already been defined.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateFunctionDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateFunctionDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateFunctionDefinitionVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateFunctionDefinitionVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateFunctionDefinitionVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateFunctionDefinitionVersionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a CA for the group. If a CA already exists, it will rotate the existing CA.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateGroupCertificateAuthorityCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateGroupCertificateAuthorityCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateGroupCertificateAuthorityCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateGroupCertificateAuthorityCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateGroupCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateGroupCertificateAuthorityCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) as a library or command-line application to create and deploy Greengrass groups.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateGroupCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateGroupCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a version of a group which has already been defined.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateGroupVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateGroupVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateGroupVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateGroupVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateGroupVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateGroupVersionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a logger definition. You may provide the initial version of the logger definition now or use ''CreateLoggerDefinitionVersion'' at a later time.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateLoggerDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateLoggerDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateLoggerDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateLoggerDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateLoggerDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateLoggerDefinitionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
-
/**
|
|
9
|
-
* Creates a version of a logger definition that has already been defined.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateLoggerDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateLoggerDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateLoggerDefinitionVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateLoggerDefinitionVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateLoggerDefinitionVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateLoggerDefinitionVersionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|