@aws-sdk/client-snow-device-management 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 +24 -135
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CancelTaskCommand.js +2 -14
- package/dist-es/commands/CreateTaskCommand.js +2 -14
- package/dist-es/commands/DescribeDeviceCommand.js +2 -14
- package/dist-es/commands/DescribeDeviceEc2InstancesCommand.js +2 -14
- package/dist-es/commands/DescribeExecutionCommand.js +2 -14
- package/dist-es/commands/DescribeTaskCommand.js +2 -14
- package/dist-es/commands/ListDeviceResourcesCommand.js +2 -14
- package/dist-es/commands/ListDevicesCommand.js +2 -14
- package/dist-es/commands/ListExecutionsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/ListTasksCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.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/CancelTaskCommand.d.ts +3 -8
- package/dist-types/commands/CreateTaskCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDeviceCommand.d.ts +3 -8
- package/dist-types/commands/DescribeDeviceEc2InstancesCommand.d.ts +3 -8
- package/dist-types/commands/DescribeExecutionCommand.d.ts +3 -8
- package/dist-types/commands/DescribeTaskCommand.d.ts +3 -8
- package/dist-types/commands/ListDeviceResourcesCommand.d.ts +3 -8
- package/dist-types/commands/ListDevicesCommand.d.ts +3 -8
- package/dist-types/commands/ListExecutionsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/ListTasksCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.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/CancelTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeDeviceEc2InstancesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeTaskCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDeviceResourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTasksCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.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
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultSnowDeviceManagementHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -710,6 +712,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
710
712
|
serviceTarget: "SnowDeviceManagement",
|
|
711
713
|
},
|
|
712
714
|
serviceId: config?.serviceId ?? "Snow Device Management",
|
|
715
|
+
sha256: config?.sha256 ?? Sha256,
|
|
713
716
|
urlParser: config?.urlParser ?? parseUrl,
|
|
714
717
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
715
718
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -743,7 +746,6 @@ const getRuntimeConfig = (config) => {
|
|
|
743
746
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
744
747
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
745
748
|
}, config),
|
|
746
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
747
749
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
748
750
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
749
751
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -831,160 +833,47 @@ class SnowDeviceManagementClient extends Client {
|
|
|
831
833
|
}
|
|
832
834
|
}
|
|
833
835
|
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
})
|
|
840
|
-
.s("SnowDeviceManagement", "CancelTask", {})
|
|
841
|
-
.n("SnowDeviceManagementClient", "CancelTaskCommand")
|
|
842
|
-
.sc(CancelTask$)
|
|
843
|
-
.build() {
|
|
836
|
+
const command = makeBuilder(commonParams, "SnowDeviceManagement", "SnowDeviceManagementClient", getEndpointPlugin);
|
|
837
|
+
const _ep0 = {};
|
|
838
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
839
|
+
|
|
840
|
+
class CancelTaskCommand extends command(_ep0, _mw0, "CancelTask", CancelTask$) {
|
|
844
841
|
}
|
|
845
842
|
|
|
846
|
-
class CreateTaskCommand extends
|
|
847
|
-
.classBuilder()
|
|
848
|
-
.ep(commonParams)
|
|
849
|
-
.m(function (Command, cs, config, o) {
|
|
850
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
851
|
-
})
|
|
852
|
-
.s("SnowDeviceManagement", "CreateTask", {})
|
|
853
|
-
.n("SnowDeviceManagementClient", "CreateTaskCommand")
|
|
854
|
-
.sc(CreateTask$)
|
|
855
|
-
.build() {
|
|
843
|
+
class CreateTaskCommand extends command(_ep0, _mw0, "CreateTask", CreateTask$) {
|
|
856
844
|
}
|
|
857
845
|
|
|
858
|
-
class DescribeDeviceCommand extends
|
|
859
|
-
.classBuilder()
|
|
860
|
-
.ep(commonParams)
|
|
861
|
-
.m(function (Command, cs, config, o) {
|
|
862
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
863
|
-
})
|
|
864
|
-
.s("SnowDeviceManagement", "DescribeDevice", {})
|
|
865
|
-
.n("SnowDeviceManagementClient", "DescribeDeviceCommand")
|
|
866
|
-
.sc(DescribeDevice$)
|
|
867
|
-
.build() {
|
|
846
|
+
class DescribeDeviceCommand extends command(_ep0, _mw0, "DescribeDevice", DescribeDevice$) {
|
|
868
847
|
}
|
|
869
848
|
|
|
870
|
-
class DescribeDeviceEc2InstancesCommand extends
|
|
871
|
-
.classBuilder()
|
|
872
|
-
.ep(commonParams)
|
|
873
|
-
.m(function (Command, cs, config, o) {
|
|
874
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
875
|
-
})
|
|
876
|
-
.s("SnowDeviceManagement", "DescribeDeviceEc2Instances", {})
|
|
877
|
-
.n("SnowDeviceManagementClient", "DescribeDeviceEc2InstancesCommand")
|
|
878
|
-
.sc(DescribeDeviceEc2Instances$)
|
|
879
|
-
.build() {
|
|
849
|
+
class DescribeDeviceEc2InstancesCommand extends command(_ep0, _mw0, "DescribeDeviceEc2Instances", DescribeDeviceEc2Instances$) {
|
|
880
850
|
}
|
|
881
851
|
|
|
882
|
-
class DescribeExecutionCommand extends
|
|
883
|
-
.classBuilder()
|
|
884
|
-
.ep(commonParams)
|
|
885
|
-
.m(function (Command, cs, config, o) {
|
|
886
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
887
|
-
})
|
|
888
|
-
.s("SnowDeviceManagement", "DescribeExecution", {})
|
|
889
|
-
.n("SnowDeviceManagementClient", "DescribeExecutionCommand")
|
|
890
|
-
.sc(DescribeExecution$)
|
|
891
|
-
.build() {
|
|
852
|
+
class DescribeExecutionCommand extends command(_ep0, _mw0, "DescribeExecution", DescribeExecution$) {
|
|
892
853
|
}
|
|
893
854
|
|
|
894
|
-
class DescribeTaskCommand extends
|
|
895
|
-
.classBuilder()
|
|
896
|
-
.ep(commonParams)
|
|
897
|
-
.m(function (Command, cs, config, o) {
|
|
898
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
899
|
-
})
|
|
900
|
-
.s("SnowDeviceManagement", "DescribeTask", {})
|
|
901
|
-
.n("SnowDeviceManagementClient", "DescribeTaskCommand")
|
|
902
|
-
.sc(DescribeTask$)
|
|
903
|
-
.build() {
|
|
855
|
+
class DescribeTaskCommand extends command(_ep0, _mw0, "DescribeTask", DescribeTask$) {
|
|
904
856
|
}
|
|
905
857
|
|
|
906
|
-
class ListDeviceResourcesCommand extends
|
|
907
|
-
.classBuilder()
|
|
908
|
-
.ep(commonParams)
|
|
909
|
-
.m(function (Command, cs, config, o) {
|
|
910
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
911
|
-
})
|
|
912
|
-
.s("SnowDeviceManagement", "ListDeviceResources", {})
|
|
913
|
-
.n("SnowDeviceManagementClient", "ListDeviceResourcesCommand")
|
|
914
|
-
.sc(ListDeviceResources$)
|
|
915
|
-
.build() {
|
|
858
|
+
class ListDeviceResourcesCommand extends command(_ep0, _mw0, "ListDeviceResources", ListDeviceResources$) {
|
|
916
859
|
}
|
|
917
860
|
|
|
918
|
-
class ListDevicesCommand extends
|
|
919
|
-
.classBuilder()
|
|
920
|
-
.ep(commonParams)
|
|
921
|
-
.m(function (Command, cs, config, o) {
|
|
922
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
923
|
-
})
|
|
924
|
-
.s("SnowDeviceManagement", "ListDevices", {})
|
|
925
|
-
.n("SnowDeviceManagementClient", "ListDevicesCommand")
|
|
926
|
-
.sc(ListDevices$)
|
|
927
|
-
.build() {
|
|
861
|
+
class ListDevicesCommand extends command(_ep0, _mw0, "ListDevices", ListDevices$) {
|
|
928
862
|
}
|
|
929
863
|
|
|
930
|
-
class ListExecutionsCommand extends
|
|
931
|
-
.classBuilder()
|
|
932
|
-
.ep(commonParams)
|
|
933
|
-
.m(function (Command, cs, config, o) {
|
|
934
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
935
|
-
})
|
|
936
|
-
.s("SnowDeviceManagement", "ListExecutions", {})
|
|
937
|
-
.n("SnowDeviceManagementClient", "ListExecutionsCommand")
|
|
938
|
-
.sc(ListExecutions$)
|
|
939
|
-
.build() {
|
|
864
|
+
class ListExecutionsCommand extends command(_ep0, _mw0, "ListExecutions", ListExecutions$) {
|
|
940
865
|
}
|
|
941
866
|
|
|
942
|
-
class ListTagsForResourceCommand extends
|
|
943
|
-
.classBuilder()
|
|
944
|
-
.ep(commonParams)
|
|
945
|
-
.m(function (Command, cs, config, o) {
|
|
946
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
947
|
-
})
|
|
948
|
-
.s("SnowDeviceManagement", "ListTagsForResource", {})
|
|
949
|
-
.n("SnowDeviceManagementClient", "ListTagsForResourceCommand")
|
|
950
|
-
.sc(ListTagsForResource$)
|
|
951
|
-
.build() {
|
|
867
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
952
868
|
}
|
|
953
869
|
|
|
954
|
-
class ListTasksCommand extends
|
|
955
|
-
.classBuilder()
|
|
956
|
-
.ep(commonParams)
|
|
957
|
-
.m(function (Command, cs, config, o) {
|
|
958
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
959
|
-
})
|
|
960
|
-
.s("SnowDeviceManagement", "ListTasks", {})
|
|
961
|
-
.n("SnowDeviceManagementClient", "ListTasksCommand")
|
|
962
|
-
.sc(ListTasks$)
|
|
963
|
-
.build() {
|
|
870
|
+
class ListTasksCommand extends command(_ep0, _mw0, "ListTasks", ListTasks$) {
|
|
964
871
|
}
|
|
965
872
|
|
|
966
|
-
class TagResourceCommand extends
|
|
967
|
-
.classBuilder()
|
|
968
|
-
.ep(commonParams)
|
|
969
|
-
.m(function (Command, cs, config, o) {
|
|
970
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
971
|
-
})
|
|
972
|
-
.s("SnowDeviceManagement", "TagResource", {})
|
|
973
|
-
.n("SnowDeviceManagementClient", "TagResourceCommand")
|
|
974
|
-
.sc(TagResource$)
|
|
975
|
-
.build() {
|
|
873
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
976
874
|
}
|
|
977
875
|
|
|
978
|
-
class UntagResourceCommand extends
|
|
979
|
-
.classBuilder()
|
|
980
|
-
.ep(commonParams)
|
|
981
|
-
.m(function (Command, cs, config, o) {
|
|
982
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
983
|
-
})
|
|
984
|
-
.s("SnowDeviceManagement", "UntagResource", {})
|
|
985
|
-
.n("SnowDeviceManagementClient", "UntagResourceCommand")
|
|
986
|
-
.sc(UntagResource$)
|
|
987
|
-
.build() {
|
|
876
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
988
877
|
}
|
|
989
878
|
|
|
990
879
|
const paginateListDeviceResources = createPaginator(SnowDeviceManagementClient, ListDeviceResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "SnowDeviceManagement", "SnowDeviceManagementClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -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 { CancelTask$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CancelTaskCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "CancelTask", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "CancelTaskCommand")
|
|
14
|
-
.sc(CancelTask$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CancelTaskCommand extends command(_ep0, _mw0, "CancelTask", CancelTask$) {
|
|
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 { CreateTask$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateTaskCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "CreateTask", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "CreateTaskCommand")
|
|
14
|
-
.sc(CreateTask$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateTaskCommand extends command(_ep0, _mw0, "CreateTask", CreateTask$) {
|
|
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 { DescribeDevice$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeDeviceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "DescribeDevice", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "DescribeDeviceCommand")
|
|
14
|
-
.sc(DescribeDevice$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeDeviceCommand extends command(_ep0, _mw0, "DescribeDevice", DescribeDevice$) {
|
|
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 { DescribeDeviceEc2Instances$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeDeviceEc2InstancesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "DescribeDeviceEc2Instances", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "DescribeDeviceEc2InstancesCommand")
|
|
14
|
-
.sc(DescribeDeviceEc2Instances$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeDeviceEc2InstancesCommand extends command(_ep0, _mw0, "DescribeDeviceEc2Instances", DescribeDeviceEc2Instances$) {
|
|
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 { DescribeExecution$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeExecutionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "DescribeExecution", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "DescribeExecutionCommand")
|
|
14
|
-
.sc(DescribeExecution$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeExecutionCommand extends command(_ep0, _mw0, "DescribeExecution", DescribeExecution$) {
|
|
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 { DescribeTask$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeTaskCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "DescribeTask", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "DescribeTaskCommand")
|
|
14
|
-
.sc(DescribeTask$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeTaskCommand extends command(_ep0, _mw0, "DescribeTask", DescribeTask$) {
|
|
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 { ListDeviceResources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListDeviceResourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "ListDeviceResources", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "ListDeviceResourcesCommand")
|
|
14
|
-
.sc(ListDeviceResources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListDeviceResourcesCommand extends command(_ep0, _mw0, "ListDeviceResources", ListDeviceResources$) {
|
|
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 { ListDevices$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListDevicesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "ListDevices", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "ListDevicesCommand")
|
|
14
|
-
.sc(ListDevices$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListDevicesCommand extends command(_ep0, _mw0, "ListDevices", ListDevices$) {
|
|
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 { ListExecutions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListExecutionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "ListExecutions", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "ListExecutionsCommand")
|
|
14
|
-
.sc(ListExecutions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListExecutionsCommand extends command(_ep0, _mw0, "ListExecutions", ListExecutions$) {
|
|
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("SnowDeviceManagement", "ListTagsForResource", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "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 { ListTasks$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTasksCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("SnowDeviceManagement", "ListTasks", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "ListTasksCommand")
|
|
14
|
-
.sc(ListTasks$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTasksCommand extends command(_ep0, _mw0, "ListTasks", ListTasks$) {
|
|
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("SnowDeviceManagement", "TagResource", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "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 { 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("SnowDeviceManagement", "UntagResource", {})
|
|
13
|
-
.n("SnowDeviceManagementClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./SnowDeviceManagementClient";
|
|
2
2
|
export * from "./SnowDeviceManagement";
|
|
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 { AwsRestJsonProtocol } 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: "SnowDeviceManagement",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Snow Device Management",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, SnowDeviceManagementClientResolvedConfig } from "./SnowDeviceManagementClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, SnowDeviceManagementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SnowDeviceManagementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CancelTaskInput, CancelTaskOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SnowDeviceManagementClientResolvedConfig } from "../SnowDeviceManagementClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CancelTaskCommandInput extends CancelTaskInput {
|
|
|
22
19
|
export interface CancelTaskCommandOutput extends CancelTaskOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CancelTaskCommand_base: {
|
|
25
|
-
new (input: CancelTaskCommandInput): import("@smithy/core/client").CommandImpl<CancelTaskCommandInput, CancelTaskCommandOutput, SnowDeviceManagementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CancelTaskCommandInput): import("@smithy/core/client").CommandImpl<CancelTaskCommandInput, CancelTaskCommandOutput, SnowDeviceManagementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CancelTaskCommandInput): import("@smithy/core/client").CommandImpl<CancelTaskCommandInput, CancelTaskCommandOutput, import("..").SnowDeviceManagementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CancelTaskCommandInput): import("@smithy/core/client").CommandImpl<CancelTaskCommandInput, CancelTaskCommandOutput, import("..").SnowDeviceManagementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Sends a cancel request for a specified task. You can cancel a task only if it's still in a
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateTaskInput, CreateTaskOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, SnowDeviceManagementClientResolvedConfig } from "../SnowDeviceManagementClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateTaskCommandInput extends CreateTaskInput {
|
|
|
22
19
|
export interface CreateTaskCommandOutput extends CreateTaskOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateTaskCommand_base: {
|
|
25
|
-
new (input: CreateTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskCommandInput, CreateTaskCommandOutput, SnowDeviceManagementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskCommandInput, CreateTaskCommandOutput, SnowDeviceManagementClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskCommandInput, CreateTaskCommandOutput, import("..").SnowDeviceManagementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateTaskCommandInput): import("@smithy/core/client").CommandImpl<CreateTaskCommandInput, CreateTaskCommandOutput, import("..").SnowDeviceManagementClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Instructs one or more devices to start a task, such as unlocking or rebooting.</p>
|