@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
|
@@ -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 resource definition which contains a list of resources to be used in a group. You can create an initial version of the definition by providing a list of resources now, or use ''CreateResourceDefinitionVersion'' later.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateResourceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateResourceDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateResourceDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateResourceDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateResourceDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateResourceDefinitionCommand 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 resource 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, CreateResourceDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateResourceDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateResourceDefinitionVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateResourceDefinitionVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateResourceDefinitionVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateResourceDefinitionVersionCommand 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 software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, CreateSoftwareUpdateJobCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateSoftwareUpdateJobCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateSoftwareUpdateJobCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateSoftwareUpdateJobCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateSoftwareUpdateJobCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateSoftwareUpdateJobCommand 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 subscription definition. You may provide the initial version of the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' 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, CreateSubscriptionDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateSubscriptionDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateSubscriptionDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateSubscriptionDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateSubscriptionDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateSubscriptionDefinitionCommand 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 subscription 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, CreateSubscriptionDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, CreateSubscriptionDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new CreateSubscriptionDefinitionVersionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateSubscriptionDefinitionVersionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateSubscriptionDefinitionVersionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateSubscriptionDefinitionVersionCommand 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
|
-
* Deletes a connector definition.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteConnectorDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteConnectorDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteConnectorDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteConnectorDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteConnectorDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteConnectorDefinitionCommand 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
|
-
* Deletes a core definition.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteCoreDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteCoreDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteCoreDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteCoreDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteCoreDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteCoreDefinitionCommand 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
|
-
* Deletes a device definition.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteDeviceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteDeviceDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteDeviceDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteDeviceDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteDeviceDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteDeviceDefinitionCommand 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
|
-
* Deletes a Lambda function definition.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteFunctionDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteFunctionDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteFunctionDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteFunctionDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteFunctionDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteFunctionDefinitionCommand 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
|
-
* Deletes a group.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteGroupCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteGroupCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteGroupCommand 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
|
-
* Deletes a logger definition.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteLoggerDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteLoggerDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteLoggerDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteLoggerDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteLoggerDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteLoggerDefinitionCommand 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
|
-
* Deletes a resource definition.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteResourceDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteResourceDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteResourceDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteResourceDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteResourceDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteResourceDefinitionCommand 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
|
-
* Deletes a subscription definition.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DeleteSubscriptionDefinitionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DeleteSubscriptionDefinitionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DeleteSubscriptionDefinitionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteSubscriptionDefinitionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteSubscriptionDefinitionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteSubscriptionDefinitionCommand 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
|
-
* Disassociates the role from a group.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DisassociateRoleFromGroupCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DisassociateRoleFromGroupCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DisassociateRoleFromGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DisassociateRoleFromGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DisassociateRoleFromGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DisassociateRoleFromGroupCommand 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
|
-
* Disassociates the service role from your account. Without a service role, deployments will not work.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, DisassociateServiceRoleFromAccountCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, DisassociateServiceRoleFromAccountCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new DisassociateServiceRoleFromAccountCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DisassociateServiceRoleFromAccountCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DisassociateServiceRoleFromAccountCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DisassociateServiceRoleFromAccountCommand 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
|
-
* Retrieves the role associated with a particular group.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, GetAssociatedRoleCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, GetAssociatedRoleCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new GetAssociatedRoleCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetAssociatedRoleCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetAssociatedRoleCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetAssociatedRoleCommand 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
|
-
* Returns the status of a bulk deployment.
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GreengrassClient, GetBulkDeploymentStatusCommand } from "@aws-sdk/client-greengrass"; // ES Modules import
|
|
14
|
-
* // const { GreengrassClient, GetBulkDeploymentStatusCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import
|
|
15
|
-
* const client = new GreengrassClient(config);
|
|
16
|
-
* const command = new GetBulkDeploymentStatusCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetBulkDeploymentStatusCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetBulkDeploymentStatusCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GreengrassClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetBulkDeploymentStatusCommand 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);
|