@aws-sdk/client-iotthingsgraph 3.1076.0 → 3.1078.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/dist-cjs/index.js +46 -355
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateEntityToThingCommand.js +2 -14
- package/dist-es/commands/CreateFlowTemplateCommand.js +2 -14
- package/dist-es/commands/CreateSystemInstanceCommand.js +2 -14
- package/dist-es/commands/CreateSystemTemplateCommand.js +2 -14
- package/dist-es/commands/DeleteFlowTemplateCommand.js +2 -14
- package/dist-es/commands/DeleteNamespaceCommand.js +2 -14
- package/dist-es/commands/DeleteSystemInstanceCommand.js +2 -14
- package/dist-es/commands/DeleteSystemTemplateCommand.js +2 -14
- package/dist-es/commands/DeploySystemInstanceCommand.js +2 -14
- package/dist-es/commands/DeprecateFlowTemplateCommand.js +2 -14
- package/dist-es/commands/DeprecateSystemTemplateCommand.js +2 -14
- package/dist-es/commands/DescribeNamespaceCommand.js +2 -14
- package/dist-es/commands/DissociateEntityFromThingCommand.js +2 -14
- package/dist-es/commands/GetEntitiesCommand.js +2 -14
- package/dist-es/commands/GetFlowTemplateCommand.js +2 -14
- package/dist-es/commands/GetFlowTemplateRevisionsCommand.js +2 -14
- package/dist-es/commands/GetNamespaceDeletionStatusCommand.js +2 -14
- package/dist-es/commands/GetSystemInstanceCommand.js +2 -14
- package/dist-es/commands/GetSystemTemplateCommand.js +2 -14
- package/dist-es/commands/GetSystemTemplateRevisionsCommand.js +2 -14
- package/dist-es/commands/GetUploadStatusCommand.js +2 -14
- package/dist-es/commands/ListFlowExecutionMessagesCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/SearchEntitiesCommand.js +2 -14
- package/dist-es/commands/SearchFlowExecutionsCommand.js +2 -14
- package/dist-es/commands/SearchFlowTemplatesCommand.js +2 -14
- package/dist-es/commands/SearchSystemInstancesCommand.js +2 -14
- package/dist-es/commands/SearchSystemTemplatesCommand.js +2 -14
- package/dist-es/commands/SearchThingsCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UndeploySystemInstanceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateFlowTemplateCommand.js +2 -14
- package/dist-es/commands/UpdateSystemTemplateCommand.js +2 -14
- package/dist-es/commands/UploadEntityDefinitionsCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateEntityToThingCommand.d.ts +3 -8
- package/dist-types/commands/CreateFlowTemplateCommand.d.ts +3 -8
- package/dist-types/commands/CreateSystemInstanceCommand.d.ts +3 -8
- package/dist-types/commands/CreateSystemTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeleteFlowTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSystemInstanceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteSystemTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeploySystemInstanceCommand.d.ts +3 -8
- package/dist-types/commands/DeprecateFlowTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DeprecateSystemTemplateCommand.d.ts +3 -8
- package/dist-types/commands/DescribeNamespaceCommand.d.ts +3 -8
- package/dist-types/commands/DissociateEntityFromThingCommand.d.ts +3 -8
- package/dist-types/commands/GetEntitiesCommand.d.ts +3 -8
- package/dist-types/commands/GetFlowTemplateCommand.d.ts +3 -8
- package/dist-types/commands/GetFlowTemplateRevisionsCommand.d.ts +3 -8
- package/dist-types/commands/GetNamespaceDeletionStatusCommand.d.ts +3 -8
- package/dist-types/commands/GetSystemInstanceCommand.d.ts +3 -8
- package/dist-types/commands/GetSystemTemplateCommand.d.ts +3 -8
- package/dist-types/commands/GetSystemTemplateRevisionsCommand.d.ts +3 -8
- package/dist-types/commands/GetUploadStatusCommand.d.ts +3 -8
- package/dist-types/commands/ListFlowExecutionMessagesCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/SearchEntitiesCommand.d.ts +3 -8
- package/dist-types/commands/SearchFlowExecutionsCommand.d.ts +3 -8
- package/dist-types/commands/SearchFlowTemplatesCommand.d.ts +3 -8
- package/dist-types/commands/SearchSystemInstancesCommand.d.ts +3 -8
- package/dist-types/commands/SearchSystemTemplatesCommand.d.ts +3 -8
- package/dist-types/commands/SearchThingsCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UndeploySystemInstanceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateFlowTemplateCommand.d.ts +3 -8
- package/dist-types/commands/UpdateSystemTemplateCommand.d.ts +3 -8
- package/dist-types/commands/UploadEntityDefinitionsCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AssociateEntityToThingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateFlowTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSystemInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateSystemTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteFlowTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSystemInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteSystemTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeploySystemInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeprecateFlowTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeprecateSystemTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeNamespaceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DissociateEntityFromThingCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEntitiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFlowTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetFlowTemplateRevisionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetNamespaceDeletionStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSystemInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSystemTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetSystemTemplateRevisionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetUploadStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListFlowExecutionMessagesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchEntitiesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchFlowExecutionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchFlowTemplatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchSystemInstancesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchSystemTemplatesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/SearchThingsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UndeploySystemInstanceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateFlowTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateSystemTemplateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UploadEntityDefinitionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteSystemTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteSystemTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "DeleteSystemTemplate", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "DeleteSystemTemplateCommand")
|
|
14
|
-
.sc(DeleteSystemTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteSystemTemplateCommand extends command(_ep0, _mw0, "DeleteSystemTemplate", DeleteSystemTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeploySystemInstance$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeploySystemInstanceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "DeploySystemInstance", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "DeploySystemInstanceCommand")
|
|
14
|
-
.sc(DeploySystemInstance$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeploySystemInstanceCommand extends command(_ep0, _mw0, "DeploySystemInstance", DeploySystemInstance$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeprecateFlowTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeprecateFlowTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "DeprecateFlowTemplate", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "DeprecateFlowTemplateCommand")
|
|
14
|
-
.sc(DeprecateFlowTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeprecateFlowTemplateCommand extends command(_ep0, _mw0, "DeprecateFlowTemplate", DeprecateFlowTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeprecateSystemTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeprecateSystemTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "DeprecateSystemTemplate", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "DeprecateSystemTemplateCommand")
|
|
14
|
-
.sc(DeprecateSystemTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeprecateSystemTemplateCommand extends command(_ep0, _mw0, "DeprecateSystemTemplate", DeprecateSystemTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeNamespace$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeNamespaceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "DescribeNamespace", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "DescribeNamespaceCommand")
|
|
14
|
-
.sc(DescribeNamespace$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeNamespaceCommand extends command(_ep0, _mw0, "DescribeNamespace", DescribeNamespace$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DissociateEntityFromThing$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DissociateEntityFromThingCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "DissociateEntityFromThing", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "DissociateEntityFromThingCommand")
|
|
14
|
-
.sc(DissociateEntityFromThing$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DissociateEntityFromThingCommand extends command(_ep0, _mw0, "DissociateEntityFromThing", DissociateEntityFromThing$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetEntities$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetEntitiesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetEntities", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetEntitiesCommand")
|
|
14
|
-
.sc(GetEntities$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetEntitiesCommand extends command(_ep0, _mw0, "GetEntities", GetEntities$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetFlowTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetFlowTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetFlowTemplate", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetFlowTemplateCommand")
|
|
14
|
-
.sc(GetFlowTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetFlowTemplateCommand extends command(_ep0, _mw0, "GetFlowTemplate", GetFlowTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetFlowTemplateRevisions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetFlowTemplateRevisionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetFlowTemplateRevisions", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetFlowTemplateRevisionsCommand")
|
|
14
|
-
.sc(GetFlowTemplateRevisions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetFlowTemplateRevisionsCommand extends command(_ep0, _mw0, "GetFlowTemplateRevisions", GetFlowTemplateRevisions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetNamespaceDeletionStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetNamespaceDeletionStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetNamespaceDeletionStatus", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetNamespaceDeletionStatusCommand")
|
|
14
|
-
.sc(GetNamespaceDeletionStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetNamespaceDeletionStatusCommand extends command(_ep0, _mw0, "GetNamespaceDeletionStatus", GetNamespaceDeletionStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSystemInstance$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSystemInstanceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetSystemInstance", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetSystemInstanceCommand")
|
|
14
|
-
.sc(GetSystemInstance$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSystemInstanceCommand extends command(_ep0, _mw0, "GetSystemInstance", GetSystemInstance$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSystemTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSystemTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetSystemTemplate", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetSystemTemplateCommand")
|
|
14
|
-
.sc(GetSystemTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSystemTemplateCommand extends command(_ep0, _mw0, "GetSystemTemplate", GetSystemTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetSystemTemplateRevisions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetSystemTemplateRevisionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetSystemTemplateRevisions", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetSystemTemplateRevisionsCommand")
|
|
14
|
-
.sc(GetSystemTemplateRevisions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetSystemTemplateRevisionsCommand extends command(_ep0, _mw0, "GetSystemTemplateRevisions", GetSystemTemplateRevisions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetUploadStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetUploadStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "GetUploadStatus", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "GetUploadStatusCommand")
|
|
14
|
-
.sc(GetUploadStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetUploadStatusCommand extends command(_ep0, _mw0, "GetUploadStatus", GetUploadStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListFlowExecutionMessages$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListFlowExecutionMessagesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "ListFlowExecutionMessages", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "ListFlowExecutionMessagesCommand")
|
|
14
|
-
.sc(ListFlowExecutionMessages$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListFlowExecutionMessagesCommand extends command(_ep0, _mw0, "ListFlowExecutionMessages", ListFlowExecutionMessages$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "ListTagsForResource", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchEntities$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchEntitiesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "SearchEntities", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "SearchEntitiesCommand")
|
|
14
|
-
.sc(SearchEntities$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchEntitiesCommand extends command(_ep0, _mw0, "SearchEntities", SearchEntities$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchFlowExecutions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchFlowExecutionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "SearchFlowExecutions", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "SearchFlowExecutionsCommand")
|
|
14
|
-
.sc(SearchFlowExecutions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchFlowExecutionsCommand extends command(_ep0, _mw0, "SearchFlowExecutions", SearchFlowExecutions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchFlowTemplates$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchFlowTemplatesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "SearchFlowTemplates", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "SearchFlowTemplatesCommand")
|
|
14
|
-
.sc(SearchFlowTemplates$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchFlowTemplatesCommand extends command(_ep0, _mw0, "SearchFlowTemplates", SearchFlowTemplates$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchSystemInstances$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchSystemInstancesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "SearchSystemInstances", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "SearchSystemInstancesCommand")
|
|
14
|
-
.sc(SearchSystemInstances$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchSystemInstancesCommand extends command(_ep0, _mw0, "SearchSystemInstances", SearchSystemInstances$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchSystemTemplates$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchSystemTemplatesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "SearchSystemTemplates", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "SearchSystemTemplatesCommand")
|
|
14
|
-
.sc(SearchSystemTemplates$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchSystemTemplatesCommand extends command(_ep0, _mw0, "SearchSystemTemplates", SearchSystemTemplates$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { SearchThings$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class SearchThingsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "SearchThings", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "SearchThingsCommand")
|
|
14
|
-
.sc(SearchThings$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class SearchThingsCommand extends command(_ep0, _mw0, "SearchThings", SearchThings$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "TagResource", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UndeploySystemInstance$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UndeploySystemInstanceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "UndeploySystemInstance", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "UndeploySystemInstanceCommand")
|
|
14
|
-
.sc(UndeploySystemInstance$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UndeploySystemInstanceCommand extends command(_ep0, _mw0, "UndeploySystemInstance", UndeploySystemInstance$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "UntagResource", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateFlowTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateFlowTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "UpdateFlowTemplate", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "UpdateFlowTemplateCommand")
|
|
14
|
-
.sc(UpdateFlowTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateFlowTemplateCommand extends command(_ep0, _mw0, "UpdateFlowTemplate", UpdateFlowTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateSystemTemplate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateSystemTemplateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "UpdateSystemTemplate", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "UpdateSystemTemplateCommand")
|
|
14
|
-
.sc(UpdateSystemTemplate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateSystemTemplateCommand extends command(_ep0, _mw0, "UpdateSystemTemplate", UpdateSystemTemplate$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UploadEntityDefinitions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UploadEntityDefinitionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("IotThingsGraphFrontEndService", "UploadEntityDefinitions", {})
|
|
13
|
-
.n("IoTThingsGraphClient", "UploadEntityDefinitionsCommand")
|
|
14
|
-
.sc(UploadEntityDefinitions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UploadEntityDefinitionsCommand extends command(_ep0, _mw0, "UploadEntityDefinitions", UploadEntityDefinitions$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./IoTThingsGraphClient";
|
|
2
2
|
export * from "./IoTThingsGraph";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./pagination";
|
|
6
7
|
export * from "./models/enums";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "IotThingsGraphFrontEndService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "IoTThingsGraph",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|