@aws-sdk/client-iotthingsgraph 3.35.0 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist-cjs/IoTThingsGraph.js +0 -1
- package/dist-cjs/IoTThingsGraphClient.js +0 -1
- package/dist-cjs/commands/AssociateEntityToThingCommand.js +0 -1
- package/dist-cjs/commands/CreateFlowTemplateCommand.js +0 -1
- package/dist-cjs/commands/CreateSystemInstanceCommand.js +0 -1
- package/dist-cjs/commands/CreateSystemTemplateCommand.js +0 -1
- package/dist-cjs/commands/DeleteFlowTemplateCommand.js +0 -1
- package/dist-cjs/commands/DeleteNamespaceCommand.js +0 -1
- package/dist-cjs/commands/DeleteSystemInstanceCommand.js +0 -1
- package/dist-cjs/commands/DeleteSystemTemplateCommand.js +0 -1
- package/dist-cjs/commands/DeploySystemInstanceCommand.js +0 -1
- package/dist-cjs/commands/DeprecateFlowTemplateCommand.js +0 -1
- package/dist-cjs/commands/DeprecateSystemTemplateCommand.js +0 -1
- package/dist-cjs/commands/DescribeNamespaceCommand.js +0 -1
- package/dist-cjs/commands/DissociateEntityFromThingCommand.js +0 -1
- package/dist-cjs/commands/GetEntitiesCommand.js +0 -1
- package/dist-cjs/commands/GetFlowTemplateCommand.js +0 -1
- package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js +0 -1
- package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js +0 -1
- package/dist-cjs/commands/GetSystemInstanceCommand.js +0 -1
- package/dist-cjs/commands/GetSystemTemplateCommand.js +0 -1
- package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js +0 -1
- package/dist-cjs/commands/GetUploadStatusCommand.js +0 -1
- package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/SearchEntitiesCommand.js +0 -1
- package/dist-cjs/commands/SearchFlowExecutionsCommand.js +0 -1
- package/dist-cjs/commands/SearchFlowTemplatesCommand.js +0 -1
- package/dist-cjs/commands/SearchSystemInstancesCommand.js +0 -1
- package/dist-cjs/commands/SearchSystemTemplatesCommand.js +0 -1
- package/dist-cjs/commands/SearchThingsCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UndeploySystemInstanceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateFlowTemplateCommand.js +0 -1
- package/dist-cjs/commands/UpdateSystemTemplateCommand.js +0 -1
- package/dist-cjs/commands/UploadEntityDefinitionsCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js +0 -1
- package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/pagination/SearchEntitiesPaginator.js +0 -1
- package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js +0 -1
- package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js +0 -1
- package/dist-cjs/pagination/SearchSystemInstancesPaginator.js +0 -1
- package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js +0 -1
- package/dist-cjs/pagination/SearchThingsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/IoTThingsGraph.js +0 -1
- package/dist-es/IoTThingsGraphClient.js +0 -1
- package/dist-es/commands/AssociateEntityToThingCommand.js +0 -1
- package/dist-es/commands/CreateFlowTemplateCommand.js +0 -1
- package/dist-es/commands/CreateSystemInstanceCommand.js +0 -1
- package/dist-es/commands/CreateSystemTemplateCommand.js +0 -1
- package/dist-es/commands/DeleteFlowTemplateCommand.js +0 -1
- package/dist-es/commands/DeleteNamespaceCommand.js +0 -1
- package/dist-es/commands/DeleteSystemInstanceCommand.js +0 -1
- package/dist-es/commands/DeleteSystemTemplateCommand.js +0 -1
- package/dist-es/commands/DeploySystemInstanceCommand.js +0 -1
- package/dist-es/commands/DeprecateFlowTemplateCommand.js +0 -1
- package/dist-es/commands/DeprecateSystemTemplateCommand.js +0 -1
- package/dist-es/commands/DescribeNamespaceCommand.js +0 -1
- package/dist-es/commands/DissociateEntityFromThingCommand.js +0 -1
- package/dist-es/commands/GetEntitiesCommand.js +0 -1
- package/dist-es/commands/GetFlowTemplateCommand.js +0 -1
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +0 -1
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +0 -1
- package/dist-es/commands/GetSystemInstanceCommand.js +0 -1
- package/dist-es/commands/GetSystemTemplateCommand.js +0 -1
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +0 -1
- package/dist-es/commands/GetUploadStatusCommand.js +0 -1
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/SearchEntitiesCommand.js +0 -1
- package/dist-es/commands/SearchFlowExecutionsCommand.js +0 -1
- package/dist-es/commands/SearchFlowTemplatesCommand.js +0 -1
- package/dist-es/commands/SearchSystemInstancesCommand.js +0 -1
- package/dist-es/commands/SearchSystemTemplatesCommand.js +0 -1
- package/dist-es/commands/SearchThingsCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UndeploySystemInstanceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFlowTemplateCommand.js +0 -1
- package/dist-es/commands/UpdateSystemTemplateCommand.js +0 -1
- package/dist-es/commands/UploadEntityDefinitionsCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js +0 -1
- package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/SearchEntitiesPaginator.js +0 -1
- package/dist-es/pagination/SearchFlowExecutionsPaginator.js +0 -1
- package/dist-es/pagination/SearchFlowTemplatesPaginator.js +0 -1
- package/dist-es/pagination/SearchSystemInstancesPaginator.js +0 -1
- package/dist-es/pagination/SearchSystemTemplatesPaginator.js +0 -1
- package/dist-es/pagination/SearchThingsPaginator.js +0 -1
- package/dist-es/protocols/Aws_json1_1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/IoTThingsGraph.js.map +0 -1
- package/dist-cjs/IoTThingsGraphClient.js.map +0 -1
- package/dist-cjs/commands/AssociateEntityToThingCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteNamespaceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeploySystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeprecateFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DeprecateSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeNamespaceCommand.js.map +0 -1
- package/dist-cjs/commands/DissociateEntityFromThingCommand.js.map +0 -1
- package/dist-cjs/commands/GetEntitiesCommand.js.map +0 -1
- package/dist-cjs/commands/GetFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
- package/dist-cjs/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
- package/dist-cjs/commands/GetSystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/GetSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
- package/dist-cjs/commands/GetUploadStatusCommand.js.map +0 -1
- package/dist-cjs/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/SearchEntitiesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchFlowExecutionsCommand.js.map +0 -1
- package/dist-cjs/commands/SearchFlowTemplatesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchSystemInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchSystemTemplatesCommand.js.map +0 -1
- package/dist-cjs/commands/SearchThingsCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UndeploySystemInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFlowTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSystemTemplateCommand.js.map +0 -1
- package/dist-cjs/commands/UploadEntityDefinitionsCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchEntitiesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchSystemInstancesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/SearchThingsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/IoTThingsGraph.js.map +0 -1
- package/dist-es/IoTThingsGraphClient.js.map +0 -1
- package/dist-es/commands/AssociateEntityToThingCommand.js.map +0 -1
- package/dist-es/commands/CreateFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/CreateSystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/CreateSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeleteFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeleteNamespaceCommand.js.map +0 -1
- package/dist-es/commands/DeleteSystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeleteSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeploySystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeprecateFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/DeprecateSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/DescribeNamespaceCommand.js.map +0 -1
- package/dist-es/commands/DissociateEntityFromThingCommand.js.map +0 -1
- package/dist-es/commands/GetEntitiesCommand.js.map +0 -1
- package/dist-es/commands/GetFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js.map +0 -1
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js.map +0 -1
- package/dist-es/commands/GetSystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/GetSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js.map +0 -1
- package/dist-es/commands/GetUploadStatusCommand.js.map +0 -1
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/SearchEntitiesCommand.js.map +0 -1
- package/dist-es/commands/SearchFlowExecutionsCommand.js.map +0 -1
- package/dist-es/commands/SearchFlowTemplatesCommand.js.map +0 -1
- package/dist-es/commands/SearchSystemInstancesCommand.js.map +0 -1
- package/dist-es/commands/SearchSystemTemplatesCommand.js.map +0 -1
- package/dist-es/commands/SearchThingsCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UndeploySystemInstanceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFlowTemplateCommand.js.map +0 -1
- package/dist-es/commands/UpdateSystemTemplateCommand.js.map +0 -1
- package/dist-es/commands/UploadEntityDefinitionsCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetFlowTemplateRevisionsPaginator.js.map +0 -1
- package/dist-es/pagination/GetSystemTemplateRevisionsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListFlowExecutionMessagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/pagination/SearchEntitiesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchFlowExecutionsPaginator.js.map +0 -1
- package/dist-es/pagination/SearchFlowTemplatesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchSystemInstancesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchSystemTemplatesPaginator.js.map +0 -1
- package/dist-es/pagination/SearchThingsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/IoTThingsGraph.ts +0 -1359
- package/src/IoTThingsGraphClient.ts +0 -408
- package/src/commands/AssociateEntityToThingCommand.ts +0 -96
- package/src/commands/CreateFlowTemplateCommand.ts +0 -97
- package/src/commands/CreateSystemInstanceCommand.ts +0 -103
- package/src/commands/CreateSystemTemplateCommand.ts +0 -96
- package/src/commands/DeleteFlowTemplateCommand.ts +0 -96
- package/src/commands/DeleteNamespaceCommand.ts +0 -95
- package/src/commands/DeleteSystemInstanceCommand.ts +0 -97
- package/src/commands/DeleteSystemTemplateCommand.ts +0 -96
- package/src/commands/DeploySystemInstanceCommand.ts +0 -106
- package/src/commands/DeprecateFlowTemplateCommand.ts +0 -95
- package/src/commands/DeprecateSystemTemplateCommand.ts +0 -95
- package/src/commands/DescribeNamespaceCommand.ts +0 -95
- package/src/commands/DissociateEntityFromThingCommand.ts +0 -99
- package/src/commands/GetEntitiesCommand.ts +0 -126
- package/src/commands/GetFlowTemplateCommand.ts +0 -95
- package/src/commands/GetFlowTemplateRevisionsCommand.ts +0 -96
- package/src/commands/GetNamespaceDeletionStatusCommand.ts +0 -98
- package/src/commands/GetSystemInstanceCommand.ts +0 -95
- package/src/commands/GetSystemTemplateCommand.ts +0 -95
- package/src/commands/GetSystemTemplateRevisionsCommand.ts +0 -99
- package/src/commands/GetUploadStatusCommand.ts +0 -95
- package/src/commands/ListFlowExecutionMessagesCommand.ts +0 -98
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/SearchEntitiesCommand.ts +0 -95
- package/src/commands/SearchFlowExecutionsCommand.ts +0 -95
- package/src/commands/SearchFlowTemplatesCommand.ts +0 -95
- package/src/commands/SearchSystemInstancesCommand.ts +0 -95
- package/src/commands/SearchSystemTemplatesCommand.ts +0 -95
- package/src/commands/SearchThingsCommand.ts +0 -98
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UndeploySystemInstanceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateFlowTemplateCommand.ts +0 -96
- package/src/commands/UpdateSystemTemplateCommand.ts +0 -95
- package/src/commands/UploadEntityDefinitionsCommand.ts +0 -105
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -49
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2312
- package/src/pagination/GetFlowTemplateRevisionsPaginator.ts +0 -59
- package/src/pagination/GetSystemTemplateRevisionsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListFlowExecutionMessagesPaginator.ts +0 -59
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/pagination/SearchEntitiesPaginator.ts +0 -59
- package/src/pagination/SearchFlowExecutionsPaginator.ts +0 -59
- package/src/pagination/SearchFlowTemplatesPaginator.ts +0 -59
- package/src/pagination/SearchSystemInstancesPaginator.ts +0 -59
- package/src/pagination/SearchSystemTemplatesPaginator.ts +0 -59
- package/src/pagination/SearchThingsPaginator.ts +0 -59
- package/src/protocols/Aws_json1_1.ts +0 -4845
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
|
|
15
|
-
import { DeploySystemInstanceRequest, DeploySystemInstanceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeploySystemInstanceCommand,
|
|
18
|
-
serializeAws_json1_1DeploySystemInstanceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeploySystemInstanceCommandInput extends DeploySystemInstanceRequest {}
|
|
22
|
-
export interface DeploySystemInstanceCommandOutput extends DeploySystemInstanceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>
|
|
26
|
-
* <b>Greengrass and Cloud Deployments</b>
|
|
27
|
-
* </p>
|
|
28
|
-
* <p>Deploys the system instance to the target specified in <code>CreateSystemInstance</code>. </p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>Greengrass Deployments</b>
|
|
31
|
-
* </p>
|
|
32
|
-
* <p>If the system or any workflows and entities have been updated before this action is called, then the deployment will create a new Amazon Simple Storage Service
|
|
33
|
-
* resource file and then deploy it.</p>
|
|
34
|
-
* <p>Since this action creates a Greengrass deployment on the caller's behalf, the calling identity must have write permissions
|
|
35
|
-
* to the specified Greengrass group. Otherwise, the call will fail with an authorization error.</p>
|
|
36
|
-
* <p>For information about the artifacts that get added to your Greengrass core device when you use this API, see <a href="https://docs.aws.amazon.com/thingsgraph/latest/ug/iot-tg-greengrass.html">AWS IoT Things Graph and AWS IoT Greengrass</a>.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { IoTThingsGraphClient, DeploySystemInstanceCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
|
|
41
|
-
* // const { IoTThingsGraphClient, DeploySystemInstanceCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
|
|
42
|
-
* const client = new IoTThingsGraphClient(config);
|
|
43
|
-
* const command = new DeploySystemInstanceCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link DeploySystemInstanceCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link DeploySystemInstanceCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
export class DeploySystemInstanceCommand extends $Command<
|
|
53
|
-
DeploySystemInstanceCommandInput,
|
|
54
|
-
DeploySystemInstanceCommandOutput,
|
|
55
|
-
IoTThingsGraphClientResolvedConfig
|
|
56
|
-
> {
|
|
57
|
-
// Start section: command_properties
|
|
58
|
-
// End section: command_properties
|
|
59
|
-
|
|
60
|
-
constructor(readonly input: DeploySystemInstanceCommandInput) {
|
|
61
|
-
// Start section: command_constructor
|
|
62
|
-
super();
|
|
63
|
-
// End section: command_constructor
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
resolveMiddleware(
|
|
70
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
71
|
-
configuration: IoTThingsGraphClientResolvedConfig,
|
|
72
|
-
options?: __HttpHandlerOptions
|
|
73
|
-
): Handler<DeploySystemInstanceCommandInput, DeploySystemInstanceCommandOutput> {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "IoTThingsGraphClient";
|
|
80
|
-
const commandName = "DeploySystemInstanceCommand";
|
|
81
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: DeploySystemInstanceRequest.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: DeploySystemInstanceResponse.filterSensitiveLog,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve(
|
|
90
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
91
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
92
|
-
handlerExecutionContext
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private serialize(input: DeploySystemInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_1DeploySystemInstanceCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeploySystemInstanceCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_1DeploySystemInstanceCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
|
|
15
|
-
import { DeprecateFlowTemplateRequest, DeprecateFlowTemplateResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeprecateFlowTemplateCommand,
|
|
18
|
-
serializeAws_json1_1DeprecateFlowTemplateCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeprecateFlowTemplateCommandInput extends DeprecateFlowTemplateRequest {}
|
|
22
|
-
export interface DeprecateFlowTemplateCommandOutput extends DeprecateFlowTemplateResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deprecates the specified workflow. This action marks the workflow for deletion. Deprecated flows can't be deployed, but existing deployments will continue to run.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTThingsGraphClient, DeprecateFlowTemplateCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
|
|
30
|
-
* // const { IoTThingsGraphClient, DeprecateFlowTemplateCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
|
|
31
|
-
* const client = new IoTThingsGraphClient(config);
|
|
32
|
-
* const command = new DeprecateFlowTemplateCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeprecateFlowTemplateCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeprecateFlowTemplateCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeprecateFlowTemplateCommand extends $Command<
|
|
42
|
-
DeprecateFlowTemplateCommandInput,
|
|
43
|
-
DeprecateFlowTemplateCommandOutput,
|
|
44
|
-
IoTThingsGraphClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeprecateFlowTemplateCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: IoTThingsGraphClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeprecateFlowTemplateCommandInput, DeprecateFlowTemplateCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "IoTThingsGraphClient";
|
|
69
|
-
const commandName = "DeprecateFlowTemplateCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeprecateFlowTemplateRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeprecateFlowTemplateResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeprecateFlowTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeprecateFlowTemplateCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeprecateFlowTemplateCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DeprecateFlowTemplateCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
|
|
15
|
-
import { DeprecateSystemTemplateRequest, DeprecateSystemTemplateResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DeprecateSystemTemplateCommand,
|
|
18
|
-
serializeAws_json1_1DeprecateSystemTemplateCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DeprecateSystemTemplateCommandInput extends DeprecateSystemTemplateRequest {}
|
|
22
|
-
export interface DeprecateSystemTemplateCommandOutput extends DeprecateSystemTemplateResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deprecates the specified system.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTThingsGraphClient, DeprecateSystemTemplateCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
|
|
30
|
-
* // const { IoTThingsGraphClient, DeprecateSystemTemplateCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
|
|
31
|
-
* const client = new IoTThingsGraphClient(config);
|
|
32
|
-
* const command = new DeprecateSystemTemplateCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeprecateSystemTemplateCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeprecateSystemTemplateCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeprecateSystemTemplateCommand extends $Command<
|
|
42
|
-
DeprecateSystemTemplateCommandInput,
|
|
43
|
-
DeprecateSystemTemplateCommandOutput,
|
|
44
|
-
IoTThingsGraphClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeprecateSystemTemplateCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: IoTThingsGraphClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeprecateSystemTemplateCommandInput, DeprecateSystemTemplateCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "IoTThingsGraphClient";
|
|
69
|
-
const commandName = "DeprecateSystemTemplateCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeprecateSystemTemplateRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeprecateSystemTemplateResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeprecateSystemTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DeprecateSystemTemplateCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeprecateSystemTemplateCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DeprecateSystemTemplateCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
|
|
15
|
-
import { DescribeNamespaceRequest, DescribeNamespaceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DescribeNamespaceCommand,
|
|
18
|
-
serializeAws_json1_1DescribeNamespaceCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeNamespaceCommandInput extends DescribeNamespaceRequest {}
|
|
22
|
-
export interface DescribeNamespaceCommandOutput extends DescribeNamespaceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets the latest version of the user's namespace and the public version that it is tracking.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTThingsGraphClient, DescribeNamespaceCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
|
|
30
|
-
* // const { IoTThingsGraphClient, DescribeNamespaceCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
|
|
31
|
-
* const client = new IoTThingsGraphClient(config);
|
|
32
|
-
* const command = new DescribeNamespaceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeNamespaceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeNamespaceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeNamespaceCommand extends $Command<
|
|
42
|
-
DescribeNamespaceCommandInput,
|
|
43
|
-
DescribeNamespaceCommandOutput,
|
|
44
|
-
IoTThingsGraphClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeNamespaceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: IoTThingsGraphClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DescribeNamespaceCommandInput, DescribeNamespaceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "IoTThingsGraphClient";
|
|
69
|
-
const commandName = "DescribeNamespaceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeNamespaceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeNamespaceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DescribeNamespaceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1DescribeNamespaceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeNamespaceCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1DescribeNamespaceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
|
|
15
|
-
import { DissociateEntityFromThingRequest, DissociateEntityFromThingResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1DissociateEntityFromThingCommand,
|
|
18
|
-
serializeAws_json1_1DissociateEntityFromThingCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface DissociateEntityFromThingCommandInput extends DissociateEntityFromThingRequest {}
|
|
22
|
-
export interface DissociateEntityFromThingCommandOutput extends DissociateEntityFromThingResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Dissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to dissociate because only
|
|
26
|
-
* one entity of a particular type can be associated with a thing.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { IoTThingsGraphClient, DissociateEntityFromThingCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
|
|
31
|
-
* // const { IoTThingsGraphClient, DissociateEntityFromThingCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
|
|
32
|
-
* const client = new IoTThingsGraphClient(config);
|
|
33
|
-
* const command = new DissociateEntityFromThingCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DissociateEntityFromThingCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DissociateEntityFromThingCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DissociateEntityFromThingCommand extends $Command<
|
|
43
|
-
DissociateEntityFromThingCommandInput,
|
|
44
|
-
DissociateEntityFromThingCommandOutput,
|
|
45
|
-
IoTThingsGraphClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DissociateEntityFromThingCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: IoTThingsGraphClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DissociateEntityFromThingCommandInput, DissociateEntityFromThingCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "IoTThingsGraphClient";
|
|
70
|
-
const commandName = "DissociateEntityFromThingCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DissociateEntityFromThingRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DissociateEntityFromThingResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DissociateEntityFromThingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1DissociateEntityFromThingCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<DissociateEntityFromThingCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1DissociateEntityFromThingCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTThingsGraphClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTThingsGraphClient";
|
|
15
|
-
import { GetEntitiesRequest, GetEntitiesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_json1_1GetEntitiesCommand,
|
|
18
|
-
serializeAws_json1_1GetEntitiesCommand,
|
|
19
|
-
} from "../protocols/Aws_json1_1";
|
|
20
|
-
|
|
21
|
-
export interface GetEntitiesCommandInput extends GetEntitiesRequest {}
|
|
22
|
-
export interface GetEntitiesCommandOutput extends GetEntitiesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the
|
|
26
|
-
* following TDM entities.</p>
|
|
27
|
-
* <ul>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Properties</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>States</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Events</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Actions</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>Capabilities</p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>Mappings</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* <li>
|
|
47
|
-
* <p>Devices</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>Device Models</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>Services</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* </ul>
|
|
56
|
-
* <p>This action doesn't return definitions for systems, flows, and deployments.</p>
|
|
57
|
-
* @example
|
|
58
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
59
|
-
* ```javascript
|
|
60
|
-
* import { IoTThingsGraphClient, GetEntitiesCommand } from "@aws-sdk/client-iotthingsgraph"; // ES Modules import
|
|
61
|
-
* // const { IoTThingsGraphClient, GetEntitiesCommand } = require("@aws-sdk/client-iotthingsgraph"); // CommonJS import
|
|
62
|
-
* const client = new IoTThingsGraphClient(config);
|
|
63
|
-
* const command = new GetEntitiesCommand(input);
|
|
64
|
-
* const response = await client.send(command);
|
|
65
|
-
* ```
|
|
66
|
-
*
|
|
67
|
-
* @see {@link GetEntitiesCommandInput} for command's `input` shape.
|
|
68
|
-
* @see {@link GetEntitiesCommandOutput} for command's `response` shape.
|
|
69
|
-
* @see {@link IoTThingsGraphClientResolvedConfig | config} for command's `input` shape.
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
export class GetEntitiesCommand extends $Command<
|
|
73
|
-
GetEntitiesCommandInput,
|
|
74
|
-
GetEntitiesCommandOutput,
|
|
75
|
-
IoTThingsGraphClientResolvedConfig
|
|
76
|
-
> {
|
|
77
|
-
// Start section: command_properties
|
|
78
|
-
// End section: command_properties
|
|
79
|
-
|
|
80
|
-
constructor(readonly input: GetEntitiesCommandInput) {
|
|
81
|
-
// Start section: command_constructor
|
|
82
|
-
super();
|
|
83
|
-
// End section: command_constructor
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
resolveMiddleware(
|
|
90
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
91
|
-
configuration: IoTThingsGraphClientResolvedConfig,
|
|
92
|
-
options?: __HttpHandlerOptions
|
|
93
|
-
): Handler<GetEntitiesCommandInput, GetEntitiesCommandOutput> {
|
|
94
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
95
|
-
|
|
96
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
97
|
-
|
|
98
|
-
const { logger } = configuration;
|
|
99
|
-
const clientName = "IoTThingsGraphClient";
|
|
100
|
-
const commandName = "GetEntitiesCommand";
|
|
101
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
102
|
-
logger,
|
|
103
|
-
clientName,
|
|
104
|
-
commandName,
|
|
105
|
-
inputFilterSensitiveLog: GetEntitiesRequest.filterSensitiveLog,
|
|
106
|
-
outputFilterSensitiveLog: GetEntitiesResponse.filterSensitiveLog,
|
|
107
|
-
};
|
|
108
|
-
const { requestHandler } = configuration;
|
|
109
|
-
return stack.resolve(
|
|
110
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
111
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
112
|
-
handlerExecutionContext
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
private serialize(input: GetEntitiesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
117
|
-
return serializeAws_json1_1GetEntitiesCommand(input, context);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetEntitiesCommandOutput> {
|
|
121
|
-
return deserializeAws_json1_1GetEntitiesCommand(output, context);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
// Start section: command_body_extra
|
|
125
|
-
// End section: command_body_extra
|
|
126
|
-
}
|