@aws-sdk/client-iot-wireless 3.39.0 → 3.43.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 +42 -0
- package/dist-cjs/IoTWireless.js +420 -0
- package/dist-cjs/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/CancelMulticastGroupSessionCommand.js +36 -0
- package/dist-cjs/commands/CreateFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/CreateMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/DeleteMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/GetFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/GetMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/GetMulticastGroupSessionCommand.js +36 -0
- package/dist-cjs/commands/GetNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/GetResourceEventConfigurationCommand.js +36 -0
- package/dist-cjs/commands/ListFuotaTasksCommand.js +36 -0
- package/dist-cjs/commands/ListMulticastGroupsByFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/ListMulticastGroupsCommand.js +36 -0
- package/dist-cjs/commands/SendDataToMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/StartFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/StartMulticastGroupSessionCommand.js +36 -0
- package/dist-cjs/commands/UpdateFuotaTaskCommand.js +36 -0
- package/dist-cjs/commands/UpdateMulticastGroupCommand.js +36 -0
- package/dist-cjs/commands/UpdateNetworkAnalyzerConfigurationCommand.js +36 -0
- package/dist-cjs/commands/UpdateResourceEventConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoints.js +121 -6
- package/dist-cjs/models/models_0.js +490 -4
- package/dist-cjs/pagination/ListFuotaTasksPaginator.js +35 -0
- package/dist-cjs/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +35 -0
- package/dist-cjs/pagination/ListMulticastGroupsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4371 -896
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/IoTWireless.js +420 -0
- package/dist-es/commands/AssociateMulticastGroupWithFuotaTaskCommand.js +39 -0
- package/dist-es/commands/AssociateWirelessDeviceWithFuotaTaskCommand.js +39 -0
- package/dist-es/commands/AssociateWirelessDeviceWithMulticastGroupCommand.js +39 -0
- package/dist-es/commands/CancelMulticastGroupSessionCommand.js +39 -0
- package/dist-es/commands/CreateFuotaTaskCommand.js +39 -0
- package/dist-es/commands/CreateMulticastGroupCommand.js +39 -0
- package/dist-es/commands/DeleteFuotaTaskCommand.js +39 -0
- package/dist-es/commands/DeleteMulticastGroupCommand.js +39 -0
- package/dist-es/commands/DisassociateMulticastGroupFromFuotaTaskCommand.js +39 -0
- package/dist-es/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.js +39 -0
- package/dist-es/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.js +39 -0
- package/dist-es/commands/GetFuotaTaskCommand.js +39 -0
- package/dist-es/commands/GetMulticastGroupCommand.js +39 -0
- package/dist-es/commands/GetMulticastGroupSessionCommand.js +39 -0
- package/dist-es/commands/GetNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/GetResourceEventConfigurationCommand.js +39 -0
- package/dist-es/commands/ListFuotaTasksCommand.js +39 -0
- package/dist-es/commands/ListMulticastGroupsByFuotaTaskCommand.js +39 -0
- package/dist-es/commands/ListMulticastGroupsCommand.js +39 -0
- package/dist-es/commands/SendDataToMulticastGroupCommand.js +39 -0
- package/dist-es/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.js +39 -0
- package/dist-es/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.js +39 -0
- package/dist-es/commands/StartFuotaTaskCommand.js +39 -0
- package/dist-es/commands/StartMulticastGroupSessionCommand.js +39 -0
- package/dist-es/commands/UpdateFuotaTaskCommand.js +39 -0
- package/dist-es/commands/UpdateMulticastGroupCommand.js +39 -0
- package/dist-es/commands/UpdateNetworkAnalyzerConfigurationCommand.js +39 -0
- package/dist-es/commands/UpdateResourceEventConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +28 -0
- package/dist-es/endpoints.js +121 -6
- package/dist-es/models/models_0.js +340 -0
- package/dist-es/pagination/ListFuotaTasksPaginator.js +74 -0
- package/dist-es/pagination/ListMulticastGroupsByFuotaTaskPaginator.js +74 -0
- package/dist-es/pagination/ListMulticastGroupsPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +5730 -1858
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/IoTWireless.d.ts +196 -0
- package/dist-types/IoTWirelessClient.d.ts +38 -2
- package/dist-types/commands/AssociateAwsAccountWithPartnerAccountCommand.d.ts +1 -1
- package/dist-types/commands/AssociateMulticastGroupWithFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/AssociateWirelessDeviceWithFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/AssociateWirelessDeviceWithMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/AssociateWirelessDeviceWithThingCommand.d.ts +1 -1
- package/dist-types/commands/AssociateWirelessGatewayWithCertificateCommand.d.ts +1 -1
- package/dist-types/commands/AssociateWirelessGatewayWithThingCommand.d.ts +1 -1
- package/dist-types/commands/CancelMulticastGroupSessionCommand.d.ts +35 -0
- package/dist-types/commands/CreateDestinationCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeviceProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/CreateMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/CreateServiceProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/commands/CreateWirelessGatewayCommand.d.ts +1 -1
- package/dist-types/commands/CreateWirelessGatewayTaskCommand.d.ts +1 -1
- package/dist-types/commands/CreateWirelessGatewayTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeviceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/DeleteServiceProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWirelessGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWirelessGatewayTaskCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWirelessGatewayTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateAwsAccountFromPartnerAccountCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateMulticastGroupFromFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateWirelessDeviceFromThingCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateWirelessGatewayFromCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateWirelessGatewayFromThingCommand.d.ts +1 -1
- package/dist-types/commands/GetDestinationCommand.d.ts +1 -1
- package/dist-types/commands/GetDeviceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/GetLogLevelsByResourceTypesCommand.d.ts +1 -1
- package/dist-types/commands/GetMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/GetMulticastGroupSessionCommand.d.ts +35 -0
- package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetPartnerAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceEventConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/GetResourceLogLevelCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceEndpointCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessDeviceStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessGatewayCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessGatewayCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessGatewayFirmwareInformationCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessGatewayStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessGatewayTaskCommand.d.ts +1 -1
- package/dist-types/commands/GetWirelessGatewayTaskDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/ListDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeviceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListFuotaTasksCommand.d.ts +35 -0
- package/dist-types/commands/ListMulticastGroupsByFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/ListMulticastGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListPartnerAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListServiceProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWirelessDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListWirelessGatewayTaskDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListWirelessGatewaysCommand.d.ts +1 -1
- package/dist-types/commands/PutResourceLogLevelCommand.d.ts +1 -1
- package/dist-types/commands/ResetAllResourceLogLevelsCommand.d.ts +1 -1
- package/dist-types/commands/ResetResourceLogLevelCommand.d.ts +1 -1
- package/dist-types/commands/SendDataToMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/SendDataToWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/StartFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/StartMulticastGroupSessionCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDestinationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFuotaTaskCommand.d.ts +35 -0
- package/dist-types/commands/UpdateLogLevelsByResourceTypesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMulticastGroupCommand.d.ts +35 -0
- package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdatePartnerAccountCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourceEventConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateWirelessDeviceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWirelessGatewayCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +28 -0
- package/dist-types/models/models_0.d.ts +1307 -51
- package/dist-types/pagination/ListFuotaTasksPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMulticastGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +84 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +140 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +34 -2
- package/dist-types/ts3.4/commands/AssociateMulticastGroupWithFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateWirelessDeviceWithFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociateWirelessDeviceWithMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelMulticastGroupSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateMulticastGroupFromFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMulticastGroupSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceEventConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFuotaTasksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMulticastGroupsByFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMulticastGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SendDataToMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartMulticastGroupSessionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFuotaTaskCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateMulticastGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResourceEventConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/dist-types/ts3.4/models/models_0.d.ts +784 -0
- package/dist-types/ts3.4/pagination/ListFuotaTasksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMulticastGroupsByFuotaTaskPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMulticastGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/IoTWireless.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { AssociateAwsAccountWithPartnerAccountCommand, } from "./commands/AssociateAwsAccountWithPartnerAccountCommand";
|
|
3
|
+
import { AssociateMulticastGroupWithFuotaTaskCommand, } from "./commands/AssociateMulticastGroupWithFuotaTaskCommand";
|
|
4
|
+
import { AssociateWirelessDeviceWithFuotaTaskCommand, } from "./commands/AssociateWirelessDeviceWithFuotaTaskCommand";
|
|
5
|
+
import { AssociateWirelessDeviceWithMulticastGroupCommand, } from "./commands/AssociateWirelessDeviceWithMulticastGroupCommand";
|
|
3
6
|
import { AssociateWirelessDeviceWithThingCommand, } from "./commands/AssociateWirelessDeviceWithThingCommand";
|
|
4
7
|
import { AssociateWirelessGatewayWithCertificateCommand, } from "./commands/AssociateWirelessGatewayWithCertificateCommand";
|
|
5
8
|
import { AssociateWirelessGatewayWithThingCommand, } from "./commands/AssociateWirelessGatewayWithThingCommand";
|
|
9
|
+
import { CancelMulticastGroupSessionCommand, } from "./commands/CancelMulticastGroupSessionCommand";
|
|
6
10
|
import { CreateDestinationCommand, } from "./commands/CreateDestinationCommand";
|
|
7
11
|
import { CreateDeviceProfileCommand, } from "./commands/CreateDeviceProfileCommand";
|
|
12
|
+
import { CreateFuotaTaskCommand, } from "./commands/CreateFuotaTaskCommand";
|
|
13
|
+
import { CreateMulticastGroupCommand, } from "./commands/CreateMulticastGroupCommand";
|
|
8
14
|
import { CreateServiceProfileCommand, } from "./commands/CreateServiceProfileCommand";
|
|
9
15
|
import { CreateWirelessDeviceCommand, } from "./commands/CreateWirelessDeviceCommand";
|
|
10
16
|
import { CreateWirelessGatewayCommand, } from "./commands/CreateWirelessGatewayCommand";
|
|
@@ -12,19 +18,29 @@ import { CreateWirelessGatewayTaskCommand, } from "./commands/CreateWirelessGate
|
|
|
12
18
|
import { CreateWirelessGatewayTaskDefinitionCommand, } from "./commands/CreateWirelessGatewayTaskDefinitionCommand";
|
|
13
19
|
import { DeleteDestinationCommand, } from "./commands/DeleteDestinationCommand";
|
|
14
20
|
import { DeleteDeviceProfileCommand, } from "./commands/DeleteDeviceProfileCommand";
|
|
21
|
+
import { DeleteFuotaTaskCommand, } from "./commands/DeleteFuotaTaskCommand";
|
|
22
|
+
import { DeleteMulticastGroupCommand, } from "./commands/DeleteMulticastGroupCommand";
|
|
15
23
|
import { DeleteServiceProfileCommand, } from "./commands/DeleteServiceProfileCommand";
|
|
16
24
|
import { DeleteWirelessDeviceCommand, } from "./commands/DeleteWirelessDeviceCommand";
|
|
17
25
|
import { DeleteWirelessGatewayCommand, } from "./commands/DeleteWirelessGatewayCommand";
|
|
18
26
|
import { DeleteWirelessGatewayTaskCommand, } from "./commands/DeleteWirelessGatewayTaskCommand";
|
|
19
27
|
import { DeleteWirelessGatewayTaskDefinitionCommand, } from "./commands/DeleteWirelessGatewayTaskDefinitionCommand";
|
|
20
28
|
import { DisassociateAwsAccountFromPartnerAccountCommand, } from "./commands/DisassociateAwsAccountFromPartnerAccountCommand";
|
|
29
|
+
import { DisassociateMulticastGroupFromFuotaTaskCommand, } from "./commands/DisassociateMulticastGroupFromFuotaTaskCommand";
|
|
30
|
+
import { DisassociateWirelessDeviceFromFuotaTaskCommand, } from "./commands/DisassociateWirelessDeviceFromFuotaTaskCommand";
|
|
31
|
+
import { DisassociateWirelessDeviceFromMulticastGroupCommand, } from "./commands/DisassociateWirelessDeviceFromMulticastGroupCommand";
|
|
21
32
|
import { DisassociateWirelessDeviceFromThingCommand, } from "./commands/DisassociateWirelessDeviceFromThingCommand";
|
|
22
33
|
import { DisassociateWirelessGatewayFromCertificateCommand, } from "./commands/DisassociateWirelessGatewayFromCertificateCommand";
|
|
23
34
|
import { DisassociateWirelessGatewayFromThingCommand, } from "./commands/DisassociateWirelessGatewayFromThingCommand";
|
|
24
35
|
import { GetDestinationCommand, } from "./commands/GetDestinationCommand";
|
|
25
36
|
import { GetDeviceProfileCommand, } from "./commands/GetDeviceProfileCommand";
|
|
37
|
+
import { GetFuotaTaskCommand, } from "./commands/GetFuotaTaskCommand";
|
|
26
38
|
import { GetLogLevelsByResourceTypesCommand, } from "./commands/GetLogLevelsByResourceTypesCommand";
|
|
39
|
+
import { GetMulticastGroupCommand, } from "./commands/GetMulticastGroupCommand";
|
|
40
|
+
import { GetMulticastGroupSessionCommand, } from "./commands/GetMulticastGroupSessionCommand";
|
|
41
|
+
import { GetNetworkAnalyzerConfigurationCommand, } from "./commands/GetNetworkAnalyzerConfigurationCommand";
|
|
27
42
|
import { GetPartnerAccountCommand, } from "./commands/GetPartnerAccountCommand";
|
|
43
|
+
import { GetResourceEventConfigurationCommand, } from "./commands/GetResourceEventConfigurationCommand";
|
|
28
44
|
import { GetResourceLogLevelCommand, } from "./commands/GetResourceLogLevelCommand";
|
|
29
45
|
import { GetServiceEndpointCommand, } from "./commands/GetServiceEndpointCommand";
|
|
30
46
|
import { GetServiceProfileCommand, } from "./commands/GetServiceProfileCommand";
|
|
@@ -38,6 +54,9 @@ import { GetWirelessGatewayTaskCommand, } from "./commands/GetWirelessGatewayTas
|
|
|
38
54
|
import { GetWirelessGatewayTaskDefinitionCommand, } from "./commands/GetWirelessGatewayTaskDefinitionCommand";
|
|
39
55
|
import { ListDestinationsCommand, } from "./commands/ListDestinationsCommand";
|
|
40
56
|
import { ListDeviceProfilesCommand, } from "./commands/ListDeviceProfilesCommand";
|
|
57
|
+
import { ListFuotaTasksCommand, } from "./commands/ListFuotaTasksCommand";
|
|
58
|
+
import { ListMulticastGroupsByFuotaTaskCommand, } from "./commands/ListMulticastGroupsByFuotaTaskCommand";
|
|
59
|
+
import { ListMulticastGroupsCommand, } from "./commands/ListMulticastGroupsCommand";
|
|
41
60
|
import { ListPartnerAccountsCommand, } from "./commands/ListPartnerAccountsCommand";
|
|
42
61
|
import { ListServiceProfilesCommand, } from "./commands/ListServiceProfilesCommand";
|
|
43
62
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -47,13 +66,22 @@ import { ListWirelessGatewayTaskDefinitionsCommand, } from "./commands/ListWirel
|
|
|
47
66
|
import { PutResourceLogLevelCommand, } from "./commands/PutResourceLogLevelCommand";
|
|
48
67
|
import { ResetAllResourceLogLevelsCommand, } from "./commands/ResetAllResourceLogLevelsCommand";
|
|
49
68
|
import { ResetResourceLogLevelCommand, } from "./commands/ResetResourceLogLevelCommand";
|
|
69
|
+
import { SendDataToMulticastGroupCommand, } from "./commands/SendDataToMulticastGroupCommand";
|
|
50
70
|
import { SendDataToWirelessDeviceCommand, } from "./commands/SendDataToWirelessDeviceCommand";
|
|
71
|
+
import { StartBulkAssociateWirelessDeviceWithMulticastGroupCommand, } from "./commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand";
|
|
72
|
+
import { StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand, } from "./commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand";
|
|
73
|
+
import { StartFuotaTaskCommand, } from "./commands/StartFuotaTaskCommand";
|
|
74
|
+
import { StartMulticastGroupSessionCommand, } from "./commands/StartMulticastGroupSessionCommand";
|
|
51
75
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
52
76
|
import { TestWirelessDeviceCommand, } from "./commands/TestWirelessDeviceCommand";
|
|
53
77
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
54
78
|
import { UpdateDestinationCommand, } from "./commands/UpdateDestinationCommand";
|
|
79
|
+
import { UpdateFuotaTaskCommand, } from "./commands/UpdateFuotaTaskCommand";
|
|
55
80
|
import { UpdateLogLevelsByResourceTypesCommand, } from "./commands/UpdateLogLevelsByResourceTypesCommand";
|
|
81
|
+
import { UpdateMulticastGroupCommand, } from "./commands/UpdateMulticastGroupCommand";
|
|
82
|
+
import { UpdateNetworkAnalyzerConfigurationCommand, } from "./commands/UpdateNetworkAnalyzerConfigurationCommand";
|
|
56
83
|
import { UpdatePartnerAccountCommand, } from "./commands/UpdatePartnerAccountCommand";
|
|
84
|
+
import { UpdateResourceEventConfigurationCommand, } from "./commands/UpdateResourceEventConfigurationCommand";
|
|
57
85
|
import { UpdateWirelessDeviceCommand, } from "./commands/UpdateWirelessDeviceCommand";
|
|
58
86
|
import { UpdateWirelessGatewayCommand, } from "./commands/UpdateWirelessGatewayCommand";
|
|
59
87
|
import { IoTWirelessClient } from "./IoTWirelessClient";
|
|
@@ -76,6 +104,48 @@ var IoTWireless = (function (_super) {
|
|
|
76
104
|
return this.send(command, optionsOrCb);
|
|
77
105
|
}
|
|
78
106
|
};
|
|
107
|
+
IoTWireless.prototype.associateMulticastGroupWithFuotaTask = function (args, optionsOrCb, cb) {
|
|
108
|
+
var command = new AssociateMulticastGroupWithFuotaTaskCommand(args);
|
|
109
|
+
if (typeof optionsOrCb === "function") {
|
|
110
|
+
this.send(command, optionsOrCb);
|
|
111
|
+
}
|
|
112
|
+
else if (typeof cb === "function") {
|
|
113
|
+
if (typeof optionsOrCb !== "object")
|
|
114
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
115
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
return this.send(command, optionsOrCb);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
IoTWireless.prototype.associateWirelessDeviceWithFuotaTask = function (args, optionsOrCb, cb) {
|
|
122
|
+
var command = new AssociateWirelessDeviceWithFuotaTaskCommand(args);
|
|
123
|
+
if (typeof optionsOrCb === "function") {
|
|
124
|
+
this.send(command, optionsOrCb);
|
|
125
|
+
}
|
|
126
|
+
else if (typeof cb === "function") {
|
|
127
|
+
if (typeof optionsOrCb !== "object")
|
|
128
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
129
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
return this.send(command, optionsOrCb);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
IoTWireless.prototype.associateWirelessDeviceWithMulticastGroup = function (args, optionsOrCb, cb) {
|
|
136
|
+
var command = new AssociateWirelessDeviceWithMulticastGroupCommand(args);
|
|
137
|
+
if (typeof optionsOrCb === "function") {
|
|
138
|
+
this.send(command, optionsOrCb);
|
|
139
|
+
}
|
|
140
|
+
else if (typeof cb === "function") {
|
|
141
|
+
if (typeof optionsOrCb !== "object")
|
|
142
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
143
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
return this.send(command, optionsOrCb);
|
|
147
|
+
}
|
|
148
|
+
};
|
|
79
149
|
IoTWireless.prototype.associateWirelessDeviceWithThing = function (args, optionsOrCb, cb) {
|
|
80
150
|
var command = new AssociateWirelessDeviceWithThingCommand(args);
|
|
81
151
|
if (typeof optionsOrCb === "function") {
|
|
@@ -118,6 +188,20 @@ var IoTWireless = (function (_super) {
|
|
|
118
188
|
return this.send(command, optionsOrCb);
|
|
119
189
|
}
|
|
120
190
|
};
|
|
191
|
+
IoTWireless.prototype.cancelMulticastGroupSession = function (args, optionsOrCb, cb) {
|
|
192
|
+
var command = new CancelMulticastGroupSessionCommand(args);
|
|
193
|
+
if (typeof optionsOrCb === "function") {
|
|
194
|
+
this.send(command, optionsOrCb);
|
|
195
|
+
}
|
|
196
|
+
else if (typeof cb === "function") {
|
|
197
|
+
if (typeof optionsOrCb !== "object")
|
|
198
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
199
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
return this.send(command, optionsOrCb);
|
|
203
|
+
}
|
|
204
|
+
};
|
|
121
205
|
IoTWireless.prototype.createDestination = function (args, optionsOrCb, cb) {
|
|
122
206
|
var command = new CreateDestinationCommand(args);
|
|
123
207
|
if (typeof optionsOrCb === "function") {
|
|
@@ -146,6 +230,34 @@ var IoTWireless = (function (_super) {
|
|
|
146
230
|
return this.send(command, optionsOrCb);
|
|
147
231
|
}
|
|
148
232
|
};
|
|
233
|
+
IoTWireless.prototype.createFuotaTask = function (args, optionsOrCb, cb) {
|
|
234
|
+
var command = new CreateFuotaTaskCommand(args);
|
|
235
|
+
if (typeof optionsOrCb === "function") {
|
|
236
|
+
this.send(command, optionsOrCb);
|
|
237
|
+
}
|
|
238
|
+
else if (typeof cb === "function") {
|
|
239
|
+
if (typeof optionsOrCb !== "object")
|
|
240
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
241
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
return this.send(command, optionsOrCb);
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
IoTWireless.prototype.createMulticastGroup = function (args, optionsOrCb, cb) {
|
|
248
|
+
var command = new CreateMulticastGroupCommand(args);
|
|
249
|
+
if (typeof optionsOrCb === "function") {
|
|
250
|
+
this.send(command, optionsOrCb);
|
|
251
|
+
}
|
|
252
|
+
else if (typeof cb === "function") {
|
|
253
|
+
if (typeof optionsOrCb !== "object")
|
|
254
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
255
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
256
|
+
}
|
|
257
|
+
else {
|
|
258
|
+
return this.send(command, optionsOrCb);
|
|
259
|
+
}
|
|
260
|
+
};
|
|
149
261
|
IoTWireless.prototype.createServiceProfile = function (args, optionsOrCb, cb) {
|
|
150
262
|
var command = new CreateServiceProfileCommand(args);
|
|
151
263
|
if (typeof optionsOrCb === "function") {
|
|
@@ -244,6 +356,34 @@ var IoTWireless = (function (_super) {
|
|
|
244
356
|
return this.send(command, optionsOrCb);
|
|
245
357
|
}
|
|
246
358
|
};
|
|
359
|
+
IoTWireless.prototype.deleteFuotaTask = function (args, optionsOrCb, cb) {
|
|
360
|
+
var command = new DeleteFuotaTaskCommand(args);
|
|
361
|
+
if (typeof optionsOrCb === "function") {
|
|
362
|
+
this.send(command, optionsOrCb);
|
|
363
|
+
}
|
|
364
|
+
else if (typeof cb === "function") {
|
|
365
|
+
if (typeof optionsOrCb !== "object")
|
|
366
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
367
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
368
|
+
}
|
|
369
|
+
else {
|
|
370
|
+
return this.send(command, optionsOrCb);
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
IoTWireless.prototype.deleteMulticastGroup = function (args, optionsOrCb, cb) {
|
|
374
|
+
var command = new DeleteMulticastGroupCommand(args);
|
|
375
|
+
if (typeof optionsOrCb === "function") {
|
|
376
|
+
this.send(command, optionsOrCb);
|
|
377
|
+
}
|
|
378
|
+
else if (typeof cb === "function") {
|
|
379
|
+
if (typeof optionsOrCb !== "object")
|
|
380
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
381
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
382
|
+
}
|
|
383
|
+
else {
|
|
384
|
+
return this.send(command, optionsOrCb);
|
|
385
|
+
}
|
|
386
|
+
};
|
|
247
387
|
IoTWireless.prototype.deleteServiceProfile = function (args, optionsOrCb, cb) {
|
|
248
388
|
var command = new DeleteServiceProfileCommand(args);
|
|
249
389
|
if (typeof optionsOrCb === "function") {
|
|
@@ -328,6 +468,48 @@ var IoTWireless = (function (_super) {
|
|
|
328
468
|
return this.send(command, optionsOrCb);
|
|
329
469
|
}
|
|
330
470
|
};
|
|
471
|
+
IoTWireless.prototype.disassociateMulticastGroupFromFuotaTask = function (args, optionsOrCb, cb) {
|
|
472
|
+
var command = new DisassociateMulticastGroupFromFuotaTaskCommand(args);
|
|
473
|
+
if (typeof optionsOrCb === "function") {
|
|
474
|
+
this.send(command, optionsOrCb);
|
|
475
|
+
}
|
|
476
|
+
else if (typeof cb === "function") {
|
|
477
|
+
if (typeof optionsOrCb !== "object")
|
|
478
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
479
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
480
|
+
}
|
|
481
|
+
else {
|
|
482
|
+
return this.send(command, optionsOrCb);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
IoTWireless.prototype.disassociateWirelessDeviceFromFuotaTask = function (args, optionsOrCb, cb) {
|
|
486
|
+
var command = new DisassociateWirelessDeviceFromFuotaTaskCommand(args);
|
|
487
|
+
if (typeof optionsOrCb === "function") {
|
|
488
|
+
this.send(command, optionsOrCb);
|
|
489
|
+
}
|
|
490
|
+
else if (typeof cb === "function") {
|
|
491
|
+
if (typeof optionsOrCb !== "object")
|
|
492
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
493
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
494
|
+
}
|
|
495
|
+
else {
|
|
496
|
+
return this.send(command, optionsOrCb);
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
IoTWireless.prototype.disassociateWirelessDeviceFromMulticastGroup = function (args, optionsOrCb, cb) {
|
|
500
|
+
var command = new DisassociateWirelessDeviceFromMulticastGroupCommand(args);
|
|
501
|
+
if (typeof optionsOrCb === "function") {
|
|
502
|
+
this.send(command, optionsOrCb);
|
|
503
|
+
}
|
|
504
|
+
else if (typeof cb === "function") {
|
|
505
|
+
if (typeof optionsOrCb !== "object")
|
|
506
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
507
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
508
|
+
}
|
|
509
|
+
else {
|
|
510
|
+
return this.send(command, optionsOrCb);
|
|
511
|
+
}
|
|
512
|
+
};
|
|
331
513
|
IoTWireless.prototype.disassociateWirelessDeviceFromThing = function (args, optionsOrCb, cb) {
|
|
332
514
|
var command = new DisassociateWirelessDeviceFromThingCommand(args);
|
|
333
515
|
if (typeof optionsOrCb === "function") {
|
|
@@ -398,6 +580,20 @@ var IoTWireless = (function (_super) {
|
|
|
398
580
|
return this.send(command, optionsOrCb);
|
|
399
581
|
}
|
|
400
582
|
};
|
|
583
|
+
IoTWireless.prototype.getFuotaTask = function (args, optionsOrCb, cb) {
|
|
584
|
+
var command = new GetFuotaTaskCommand(args);
|
|
585
|
+
if (typeof optionsOrCb === "function") {
|
|
586
|
+
this.send(command, optionsOrCb);
|
|
587
|
+
}
|
|
588
|
+
else if (typeof cb === "function") {
|
|
589
|
+
if (typeof optionsOrCb !== "object")
|
|
590
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
591
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
592
|
+
}
|
|
593
|
+
else {
|
|
594
|
+
return this.send(command, optionsOrCb);
|
|
595
|
+
}
|
|
596
|
+
};
|
|
401
597
|
IoTWireless.prototype.getLogLevelsByResourceTypes = function (args, optionsOrCb, cb) {
|
|
402
598
|
var command = new GetLogLevelsByResourceTypesCommand(args);
|
|
403
599
|
if (typeof optionsOrCb === "function") {
|
|
@@ -412,6 +608,48 @@ var IoTWireless = (function (_super) {
|
|
|
412
608
|
return this.send(command, optionsOrCb);
|
|
413
609
|
}
|
|
414
610
|
};
|
|
611
|
+
IoTWireless.prototype.getMulticastGroup = function (args, optionsOrCb, cb) {
|
|
612
|
+
var command = new GetMulticastGroupCommand(args);
|
|
613
|
+
if (typeof optionsOrCb === "function") {
|
|
614
|
+
this.send(command, optionsOrCb);
|
|
615
|
+
}
|
|
616
|
+
else if (typeof cb === "function") {
|
|
617
|
+
if (typeof optionsOrCb !== "object")
|
|
618
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
619
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
620
|
+
}
|
|
621
|
+
else {
|
|
622
|
+
return this.send(command, optionsOrCb);
|
|
623
|
+
}
|
|
624
|
+
};
|
|
625
|
+
IoTWireless.prototype.getMulticastGroupSession = function (args, optionsOrCb, cb) {
|
|
626
|
+
var command = new GetMulticastGroupSessionCommand(args);
|
|
627
|
+
if (typeof optionsOrCb === "function") {
|
|
628
|
+
this.send(command, optionsOrCb);
|
|
629
|
+
}
|
|
630
|
+
else if (typeof cb === "function") {
|
|
631
|
+
if (typeof optionsOrCb !== "object")
|
|
632
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
633
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
634
|
+
}
|
|
635
|
+
else {
|
|
636
|
+
return this.send(command, optionsOrCb);
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
IoTWireless.prototype.getNetworkAnalyzerConfiguration = function (args, optionsOrCb, cb) {
|
|
640
|
+
var command = new GetNetworkAnalyzerConfigurationCommand(args);
|
|
641
|
+
if (typeof optionsOrCb === "function") {
|
|
642
|
+
this.send(command, optionsOrCb);
|
|
643
|
+
}
|
|
644
|
+
else if (typeof cb === "function") {
|
|
645
|
+
if (typeof optionsOrCb !== "object")
|
|
646
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
647
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
648
|
+
}
|
|
649
|
+
else {
|
|
650
|
+
return this.send(command, optionsOrCb);
|
|
651
|
+
}
|
|
652
|
+
};
|
|
415
653
|
IoTWireless.prototype.getPartnerAccount = function (args, optionsOrCb, cb) {
|
|
416
654
|
var command = new GetPartnerAccountCommand(args);
|
|
417
655
|
if (typeof optionsOrCb === "function") {
|
|
@@ -426,6 +664,20 @@ var IoTWireless = (function (_super) {
|
|
|
426
664
|
return this.send(command, optionsOrCb);
|
|
427
665
|
}
|
|
428
666
|
};
|
|
667
|
+
IoTWireless.prototype.getResourceEventConfiguration = function (args, optionsOrCb, cb) {
|
|
668
|
+
var command = new GetResourceEventConfigurationCommand(args);
|
|
669
|
+
if (typeof optionsOrCb === "function") {
|
|
670
|
+
this.send(command, optionsOrCb);
|
|
671
|
+
}
|
|
672
|
+
else if (typeof cb === "function") {
|
|
673
|
+
if (typeof optionsOrCb !== "object")
|
|
674
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
675
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
676
|
+
}
|
|
677
|
+
else {
|
|
678
|
+
return this.send(command, optionsOrCb);
|
|
679
|
+
}
|
|
680
|
+
};
|
|
429
681
|
IoTWireless.prototype.getResourceLogLevel = function (args, optionsOrCb, cb) {
|
|
430
682
|
var command = new GetResourceLogLevelCommand(args);
|
|
431
683
|
if (typeof optionsOrCb === "function") {
|
|
@@ -608,6 +860,48 @@ var IoTWireless = (function (_super) {
|
|
|
608
860
|
return this.send(command, optionsOrCb);
|
|
609
861
|
}
|
|
610
862
|
};
|
|
863
|
+
IoTWireless.prototype.listFuotaTasks = function (args, optionsOrCb, cb) {
|
|
864
|
+
var command = new ListFuotaTasksCommand(args);
|
|
865
|
+
if (typeof optionsOrCb === "function") {
|
|
866
|
+
this.send(command, optionsOrCb);
|
|
867
|
+
}
|
|
868
|
+
else if (typeof cb === "function") {
|
|
869
|
+
if (typeof optionsOrCb !== "object")
|
|
870
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
871
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
872
|
+
}
|
|
873
|
+
else {
|
|
874
|
+
return this.send(command, optionsOrCb);
|
|
875
|
+
}
|
|
876
|
+
};
|
|
877
|
+
IoTWireless.prototype.listMulticastGroups = function (args, optionsOrCb, cb) {
|
|
878
|
+
var command = new ListMulticastGroupsCommand(args);
|
|
879
|
+
if (typeof optionsOrCb === "function") {
|
|
880
|
+
this.send(command, optionsOrCb);
|
|
881
|
+
}
|
|
882
|
+
else if (typeof cb === "function") {
|
|
883
|
+
if (typeof optionsOrCb !== "object")
|
|
884
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
885
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
886
|
+
}
|
|
887
|
+
else {
|
|
888
|
+
return this.send(command, optionsOrCb);
|
|
889
|
+
}
|
|
890
|
+
};
|
|
891
|
+
IoTWireless.prototype.listMulticastGroupsByFuotaTask = function (args, optionsOrCb, cb) {
|
|
892
|
+
var command = new ListMulticastGroupsByFuotaTaskCommand(args);
|
|
893
|
+
if (typeof optionsOrCb === "function") {
|
|
894
|
+
this.send(command, optionsOrCb);
|
|
895
|
+
}
|
|
896
|
+
else if (typeof cb === "function") {
|
|
897
|
+
if (typeof optionsOrCb !== "object")
|
|
898
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
899
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
900
|
+
}
|
|
901
|
+
else {
|
|
902
|
+
return this.send(command, optionsOrCb);
|
|
903
|
+
}
|
|
904
|
+
};
|
|
611
905
|
IoTWireless.prototype.listPartnerAccounts = function (args, optionsOrCb, cb) {
|
|
612
906
|
var command = new ListPartnerAccountsCommand(args);
|
|
613
907
|
if (typeof optionsOrCb === "function") {
|
|
@@ -734,6 +1028,20 @@ var IoTWireless = (function (_super) {
|
|
|
734
1028
|
return this.send(command, optionsOrCb);
|
|
735
1029
|
}
|
|
736
1030
|
};
|
|
1031
|
+
IoTWireless.prototype.sendDataToMulticastGroup = function (args, optionsOrCb, cb) {
|
|
1032
|
+
var command = new SendDataToMulticastGroupCommand(args);
|
|
1033
|
+
if (typeof optionsOrCb === "function") {
|
|
1034
|
+
this.send(command, optionsOrCb);
|
|
1035
|
+
}
|
|
1036
|
+
else if (typeof cb === "function") {
|
|
1037
|
+
if (typeof optionsOrCb !== "object")
|
|
1038
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1039
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1040
|
+
}
|
|
1041
|
+
else {
|
|
1042
|
+
return this.send(command, optionsOrCb);
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
737
1045
|
IoTWireless.prototype.sendDataToWirelessDevice = function (args, optionsOrCb, cb) {
|
|
738
1046
|
var command = new SendDataToWirelessDeviceCommand(args);
|
|
739
1047
|
if (typeof optionsOrCb === "function") {
|
|
@@ -748,6 +1056,62 @@ var IoTWireless = (function (_super) {
|
|
|
748
1056
|
return this.send(command, optionsOrCb);
|
|
749
1057
|
}
|
|
750
1058
|
};
|
|
1059
|
+
IoTWireless.prototype.startBulkAssociateWirelessDeviceWithMulticastGroup = function (args, optionsOrCb, cb) {
|
|
1060
|
+
var command = new StartBulkAssociateWirelessDeviceWithMulticastGroupCommand(args);
|
|
1061
|
+
if (typeof optionsOrCb === "function") {
|
|
1062
|
+
this.send(command, optionsOrCb);
|
|
1063
|
+
}
|
|
1064
|
+
else if (typeof cb === "function") {
|
|
1065
|
+
if (typeof optionsOrCb !== "object")
|
|
1066
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1067
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1068
|
+
}
|
|
1069
|
+
else {
|
|
1070
|
+
return this.send(command, optionsOrCb);
|
|
1071
|
+
}
|
|
1072
|
+
};
|
|
1073
|
+
IoTWireless.prototype.startBulkDisassociateWirelessDeviceFromMulticastGroup = function (args, optionsOrCb, cb) {
|
|
1074
|
+
var command = new StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand(args);
|
|
1075
|
+
if (typeof optionsOrCb === "function") {
|
|
1076
|
+
this.send(command, optionsOrCb);
|
|
1077
|
+
}
|
|
1078
|
+
else if (typeof cb === "function") {
|
|
1079
|
+
if (typeof optionsOrCb !== "object")
|
|
1080
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1081
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1082
|
+
}
|
|
1083
|
+
else {
|
|
1084
|
+
return this.send(command, optionsOrCb);
|
|
1085
|
+
}
|
|
1086
|
+
};
|
|
1087
|
+
IoTWireless.prototype.startFuotaTask = function (args, optionsOrCb, cb) {
|
|
1088
|
+
var command = new StartFuotaTaskCommand(args);
|
|
1089
|
+
if (typeof optionsOrCb === "function") {
|
|
1090
|
+
this.send(command, optionsOrCb);
|
|
1091
|
+
}
|
|
1092
|
+
else if (typeof cb === "function") {
|
|
1093
|
+
if (typeof optionsOrCb !== "object")
|
|
1094
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1095
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1096
|
+
}
|
|
1097
|
+
else {
|
|
1098
|
+
return this.send(command, optionsOrCb);
|
|
1099
|
+
}
|
|
1100
|
+
};
|
|
1101
|
+
IoTWireless.prototype.startMulticastGroupSession = function (args, optionsOrCb, cb) {
|
|
1102
|
+
var command = new StartMulticastGroupSessionCommand(args);
|
|
1103
|
+
if (typeof optionsOrCb === "function") {
|
|
1104
|
+
this.send(command, optionsOrCb);
|
|
1105
|
+
}
|
|
1106
|
+
else if (typeof cb === "function") {
|
|
1107
|
+
if (typeof optionsOrCb !== "object")
|
|
1108
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1109
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1110
|
+
}
|
|
1111
|
+
else {
|
|
1112
|
+
return this.send(command, optionsOrCb);
|
|
1113
|
+
}
|
|
1114
|
+
};
|
|
751
1115
|
IoTWireless.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
752
1116
|
var command = new TagResourceCommand(args);
|
|
753
1117
|
if (typeof optionsOrCb === "function") {
|
|
@@ -804,6 +1168,20 @@ var IoTWireless = (function (_super) {
|
|
|
804
1168
|
return this.send(command, optionsOrCb);
|
|
805
1169
|
}
|
|
806
1170
|
};
|
|
1171
|
+
IoTWireless.prototype.updateFuotaTask = function (args, optionsOrCb, cb) {
|
|
1172
|
+
var command = new UpdateFuotaTaskCommand(args);
|
|
1173
|
+
if (typeof optionsOrCb === "function") {
|
|
1174
|
+
this.send(command, optionsOrCb);
|
|
1175
|
+
}
|
|
1176
|
+
else if (typeof cb === "function") {
|
|
1177
|
+
if (typeof optionsOrCb !== "object")
|
|
1178
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1179
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1180
|
+
}
|
|
1181
|
+
else {
|
|
1182
|
+
return this.send(command, optionsOrCb);
|
|
1183
|
+
}
|
|
1184
|
+
};
|
|
807
1185
|
IoTWireless.prototype.updateLogLevelsByResourceTypes = function (args, optionsOrCb, cb) {
|
|
808
1186
|
var command = new UpdateLogLevelsByResourceTypesCommand(args);
|
|
809
1187
|
if (typeof optionsOrCb === "function") {
|
|
@@ -818,6 +1196,34 @@ var IoTWireless = (function (_super) {
|
|
|
818
1196
|
return this.send(command, optionsOrCb);
|
|
819
1197
|
}
|
|
820
1198
|
};
|
|
1199
|
+
IoTWireless.prototype.updateMulticastGroup = function (args, optionsOrCb, cb) {
|
|
1200
|
+
var command = new UpdateMulticastGroupCommand(args);
|
|
1201
|
+
if (typeof optionsOrCb === "function") {
|
|
1202
|
+
this.send(command, optionsOrCb);
|
|
1203
|
+
}
|
|
1204
|
+
else if (typeof cb === "function") {
|
|
1205
|
+
if (typeof optionsOrCb !== "object")
|
|
1206
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1207
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1208
|
+
}
|
|
1209
|
+
else {
|
|
1210
|
+
return this.send(command, optionsOrCb);
|
|
1211
|
+
}
|
|
1212
|
+
};
|
|
1213
|
+
IoTWireless.prototype.updateNetworkAnalyzerConfiguration = function (args, optionsOrCb, cb) {
|
|
1214
|
+
var command = new UpdateNetworkAnalyzerConfigurationCommand(args);
|
|
1215
|
+
if (typeof optionsOrCb === "function") {
|
|
1216
|
+
this.send(command, optionsOrCb);
|
|
1217
|
+
}
|
|
1218
|
+
else if (typeof cb === "function") {
|
|
1219
|
+
if (typeof optionsOrCb !== "object")
|
|
1220
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1221
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1222
|
+
}
|
|
1223
|
+
else {
|
|
1224
|
+
return this.send(command, optionsOrCb);
|
|
1225
|
+
}
|
|
1226
|
+
};
|
|
821
1227
|
IoTWireless.prototype.updatePartnerAccount = function (args, optionsOrCb, cb) {
|
|
822
1228
|
var command = new UpdatePartnerAccountCommand(args);
|
|
823
1229
|
if (typeof optionsOrCb === "function") {
|
|
@@ -832,6 +1238,20 @@ var IoTWireless = (function (_super) {
|
|
|
832
1238
|
return this.send(command, optionsOrCb);
|
|
833
1239
|
}
|
|
834
1240
|
};
|
|
1241
|
+
IoTWireless.prototype.updateResourceEventConfiguration = function (args, optionsOrCb, cb) {
|
|
1242
|
+
var command = new UpdateResourceEventConfigurationCommand(args);
|
|
1243
|
+
if (typeof optionsOrCb === "function") {
|
|
1244
|
+
this.send(command, optionsOrCb);
|
|
1245
|
+
}
|
|
1246
|
+
else if (typeof cb === "function") {
|
|
1247
|
+
if (typeof optionsOrCb !== "object")
|
|
1248
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
1249
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1250
|
+
}
|
|
1251
|
+
else {
|
|
1252
|
+
return this.send(command, optionsOrCb);
|
|
1253
|
+
}
|
|
1254
|
+
};
|
|
835
1255
|
IoTWireless.prototype.updateWirelessDevice = function (args, optionsOrCb, cb) {
|
|
836
1256
|
var command = new UpdateWirelessDeviceCommand(args);
|
|
837
1257
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { AssociateMulticastGroupWithFuotaTaskRequest, AssociateMulticastGroupWithFuotaTaskResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand, serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var AssociateMulticastGroupWithFuotaTaskCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateMulticastGroupWithFuotaTaskCommand, _super);
|
|
8
|
+
function AssociateMulticastGroupWithFuotaTaskCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
AssociateMulticastGroupWithFuotaTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTWirelessClient";
|
|
18
|
+
var commandName = "AssociateMulticastGroupWithFuotaTaskCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: AssociateMulticastGroupWithFuotaTaskRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: AssociateMulticastGroupWithFuotaTaskResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateMulticastGroupWithFuotaTaskCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
AssociateMulticastGroupWithFuotaTaskCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1AssociateMulticastGroupWithFuotaTaskCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return AssociateMulticastGroupWithFuotaTaskCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateMulticastGroupWithFuotaTaskCommand };
|