@aws-sdk/client-iot-wireless 3.299.0 → 3.301.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/README.md +64 -0
- package/dist-cjs/IoTWireless.js +120 -0
- package/dist-cjs/commands/DeleteWirelessDeviceImportTaskCommand.js +45 -0
- package/dist-cjs/commands/DeregisterWirelessDeviceCommand.js +45 -0
- package/dist-cjs/commands/GetDeviceProfileCommand.js +2 -1
- package/dist-cjs/commands/GetWirelessDeviceImportTaskCommand.js +45 -0
- package/dist-cjs/commands/ListDevicesForWirelessDeviceImportTaskCommand.js +45 -0
- package/dist-cjs/commands/ListWirelessDeviceImportTasksCommand.js +45 -0
- package/dist-cjs/commands/StartSingleWirelessDeviceImportTaskCommand.js +45 -0
- package/dist-cjs/commands/StartWirelessDeviceImportTaskCommand.js +45 -0
- package/dist-cjs/commands/UpdateWirelessDeviceImportTaskCommand.js +45 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +49 -5
- package/dist-cjs/models/models_1.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +767 -18
- package/dist-es/IoTWireless.js +120 -0
- package/dist-es/commands/DeleteWirelessDeviceImportTaskCommand.js +41 -0
- package/dist-es/commands/DeregisterWirelessDeviceCommand.js +41 -0
- package/dist-es/commands/GetDeviceProfileCommand.js +2 -1
- package/dist-es/commands/GetWirelessDeviceImportTaskCommand.js +41 -0
- package/dist-es/commands/ListDevicesForWirelessDeviceImportTaskCommand.js +41 -0
- package/dist-es/commands/ListWirelessDeviceImportTasksCommand.js +41 -0
- package/dist-es/commands/StartSingleWirelessDeviceImportTaskCommand.js +41 -0
- package/dist-es/commands/StartWirelessDeviceImportTaskCommand.js +41 -0
- package/dist-es/commands/UpdateWirelessDeviceImportTaskCommand.js +41 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +45 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +743 -10
- package/dist-types/IoTWireless.d.ts +65 -0
- package/dist-types/IoTWirelessClient.d.ts +10 -2
- package/dist-types/commands/AssociateAwsAccountWithPartnerAccountCommand.d.ts +13 -0
- package/dist-types/commands/AssociateMulticastGroupWithFuotaTaskCommand.d.ts +4 -0
- package/dist-types/commands/AssociateWirelessDeviceWithFuotaTaskCommand.d.ts +4 -0
- package/dist-types/commands/AssociateWirelessDeviceWithMulticastGroupCommand.d.ts +4 -0
- package/dist-types/commands/AssociateWirelessDeviceWithThingCommand.d.ts +4 -0
- package/dist-types/commands/AssociateWirelessGatewayWithCertificateCommand.d.ts +4 -0
- package/dist-types/commands/AssociateWirelessGatewayWithThingCommand.d.ts +4 -0
- package/dist-types/commands/CancelMulticastGroupSessionCommand.d.ts +3 -0
- package/dist-types/commands/CreateDestinationCommand.d.ts +14 -0
- package/dist-types/commands/CreateDeviceProfileCommand.d.ts +34 -0
- package/dist-types/commands/CreateFuotaTaskCommand.d.ts +19 -0
- package/dist-types/commands/CreateMulticastGroupCommand.d.ts +15 -0
- package/dist-types/commands/CreateNetworkAnalyzerConfigurationCommand.d.ts +21 -0
- package/dist-types/commands/CreateServiceProfileCommand.d.ts +15 -0
- package/dist-types/commands/CreateWirelessDeviceCommand.d.ts +67 -0
- package/dist-types/commands/CreateWirelessGatewayCommand.d.ts +32 -0
- package/dist-types/commands/CreateWirelessGatewayTaskCommand.d.ts +4 -0
- package/dist-types/commands/CreateWirelessGatewayTaskDefinitionCommand.d.ts +29 -0
- package/dist-types/commands/DeleteDestinationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDeviceProfileCommand.d.ts +3 -0
- package/dist-types/commands/DeleteFuotaTaskCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMulticastGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteNetworkAnalyzerConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteQueuedMessagesCommand.d.ts +5 -0
- package/dist-types/commands/DeleteServiceProfileCommand.d.ts +3 -0
- package/dist-types/commands/DeleteWirelessDeviceCommand.d.ts +3 -0
- package/dist-types/commands/DeleteWirelessDeviceImportTaskCommand.d.ts +81 -0
- package/dist-types/commands/DeleteWirelessGatewayCommand.d.ts +3 -0
- package/dist-types/commands/DeleteWirelessGatewayTaskCommand.d.ts +3 -0
- package/dist-types/commands/DeleteWirelessGatewayTaskDefinitionCommand.d.ts +3 -0
- package/dist-types/commands/DeregisterWirelessDeviceCommand.d.ts +76 -0
- package/dist-types/commands/DisassociateAwsAccountFromPartnerAccountCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateMulticastGroupFromFuotaTaskCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateWirelessDeviceFromFuotaTaskCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateWirelessDeviceFromThingCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateWirelessGatewayFromCertificateCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateWirelessGatewayFromThingCommand.d.ts +3 -0
- package/dist-types/commands/GetDestinationCommand.d.ts +3 -0
- package/dist-types/commands/GetDeviceProfileCommand.d.ts +3 -0
- package/dist-types/commands/GetEventConfigurationByResourceTypesCommand.d.ts +1 -0
- package/dist-types/commands/GetFuotaTaskCommand.d.ts +3 -0
- package/dist-types/commands/GetLogLevelsByResourceTypesCommand.d.ts +1 -0
- package/dist-types/commands/GetMulticastGroupCommand.d.ts +3 -0
- package/dist-types/commands/GetMulticastGroupSessionCommand.d.ts +3 -0
- package/dist-types/commands/GetNetworkAnalyzerConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetPartnerAccountCommand.d.ts +4 -0
- package/dist-types/commands/GetPositionCommand.d.ts +4 -0
- package/dist-types/commands/GetPositionConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/GetPositionEstimateCommand.d.ts +144 -0
- package/dist-types/commands/GetResourceEventConfigurationCommand.d.ts +5 -0
- package/dist-types/commands/GetResourceLogLevelCommand.d.ts +4 -0
- package/dist-types/commands/GetResourcePositionCommand.d.ts +4 -0
- package/dist-types/commands/GetServiceEndpointCommand.d.ts +3 -0
- package/dist-types/commands/GetServiceProfileCommand.d.ts +3 -0
- package/dist-types/commands/GetWirelessDeviceCommand.d.ts +4 -0
- package/dist-types/commands/GetWirelessDeviceImportTaskCommand.d.ts +82 -0
- package/dist-types/commands/GetWirelessDeviceStatisticsCommand.d.ts +3 -0
- package/dist-types/commands/GetWirelessGatewayCertificateCommand.d.ts +3 -0
- package/dist-types/commands/GetWirelessGatewayCommand.d.ts +4 -0
- package/dist-types/commands/GetWirelessGatewayFirmwareInformationCommand.d.ts +3 -0
- package/dist-types/commands/GetWirelessGatewayStatisticsCommand.d.ts +3 -0
- package/dist-types/commands/GetWirelessGatewayTaskCommand.d.ts +3 -0
- package/dist-types/commands/GetWirelessGatewayTaskDefinitionCommand.d.ts +3 -0
- package/dist-types/commands/ListDestinationsCommand.d.ts +4 -0
- package/dist-types/commands/ListDeviceProfilesCommand.d.ts +5 -0
- package/dist-types/commands/ListDevicesForWirelessDeviceImportTaskCommand.d.ts +84 -0
- package/dist-types/commands/ListEventConfigurationsCommand.d.ts +5 -0
- package/dist-types/commands/ListFuotaTasksCommand.d.ts +4 -0
- package/dist-types/commands/ListMulticastGroupsByFuotaTaskCommand.d.ts +5 -0
- package/dist-types/commands/ListMulticastGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListNetworkAnalyzerConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/ListPartnerAccountsCommand.d.ts +4 -0
- package/dist-types/commands/ListPositionConfigurationsCommand.d.ts +5 -0
- package/dist-types/commands/ListQueuedMessagesCommand.d.ts +6 -0
- package/dist-types/commands/ListServiceProfilesCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListWirelessDeviceImportTasksCommand.d.ts +82 -0
- package/dist-types/commands/ListWirelessDevicesCommand.d.ts +12 -1
- package/dist-types/commands/ListWirelessGatewayTaskDefinitionsCommand.d.ts +6 -1
- package/dist-types/commands/ListWirelessGatewaysCommand.d.ts +5 -1
- package/dist-types/commands/PutPositionConfigurationCommand.d.ts +12 -1
- package/dist-types/commands/PutResourceLogLevelCommand.d.ts +6 -1
- package/dist-types/commands/ResetAllResourceLogLevelsCommand.d.ts +2 -1
- package/dist-types/commands/ResetResourceLogLevelCommand.d.ts +5 -1
- package/dist-types/commands/SendDataToMulticastGroupCommand.d.ts +9 -0
- package/dist-types/commands/SendDataToWirelessDeviceCommand.d.ts +25 -0
- package/dist-types/commands/StartBulkAssociateWirelessDeviceWithMulticastGroupCommand.d.ts +10 -0
- package/dist-types/commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand.d.ts +10 -0
- package/dist-types/commands/StartFuotaTaskCommand.d.ts +6 -0
- package/dist-types/commands/StartMulticastGroupSessionCommand.d.ts +9 -0
- package/dist-types/commands/StartSingleWirelessDeviceImportTaskCommand.d.ts +92 -0
- package/dist-types/commands/StartWirelessDeviceImportTaskCommand.d.ts +92 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/TestWirelessDeviceCommand.d.ts +3 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDestinationCommand.d.ts +7 -0
- package/dist-types/commands/UpdateEventConfigurationByResourceTypesCommand.d.ts +27 -0
- package/dist-types/commands/UpdateFuotaTaskCommand.d.ts +13 -0
- package/dist-types/commands/UpdateLogLevelsByResourceTypesCommand.d.ts +27 -0
- package/dist-types/commands/UpdateMulticastGroupCommand.d.ts +9 -0
- package/dist-types/commands/UpdateNetworkAnalyzerConfigurationCommand.d.ts +20 -0
- package/dist-types/commands/UpdatePartnerAccountCommand.d.ts +7 -0
- package/dist-types/commands/UpdatePositionCommand.d.ts +7 -0
- package/dist-types/commands/UpdateResourceEventConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateResourcePositionCommand.d.ts +5 -0
- package/dist-types/commands/UpdateWirelessDeviceCommand.d.ts +31 -0
- package/dist-types/commands/UpdateWirelessDeviceImportTaskCommand.d.ts +84 -0
- package/dist-types/commands/UpdateWirelessGatewayCommand.d.ts +13 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +392 -286
- package/dist-types/models/models_1.d.ts +438 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +148 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/DeleteWirelessDeviceImportTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeregisterWirelessDeviceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetWirelessDeviceImportTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListDevicesForWirelessDeviceImportTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListWirelessDeviceImportTasksCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListWirelessDevicesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListWirelessGatewayTaskDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWirelessGatewaysCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutPositionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutResourceLogLevelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetAllResourceLogLevelsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetResourceLogLevelCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartSingleWirelessDeviceImportTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartWirelessDeviceImportTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateWirelessDeviceImportTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +135 -87
- package/dist-types/ts3.4/models/models_1.d.ts +131 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +8 -8
package/dist-es/IoTWireless.js
CHANGED
|
@@ -24,9 +24,11 @@ import { DeleteNetworkAnalyzerConfigurationCommand, } from "./commands/DeleteNet
|
|
|
24
24
|
import { DeleteQueuedMessagesCommand, } from "./commands/DeleteQueuedMessagesCommand";
|
|
25
25
|
import { DeleteServiceProfileCommand, } from "./commands/DeleteServiceProfileCommand";
|
|
26
26
|
import { DeleteWirelessDeviceCommand, } from "./commands/DeleteWirelessDeviceCommand";
|
|
27
|
+
import { DeleteWirelessDeviceImportTaskCommand, } from "./commands/DeleteWirelessDeviceImportTaskCommand";
|
|
27
28
|
import { DeleteWirelessGatewayCommand, } from "./commands/DeleteWirelessGatewayCommand";
|
|
28
29
|
import { DeleteWirelessGatewayTaskCommand, } from "./commands/DeleteWirelessGatewayTaskCommand";
|
|
29
30
|
import { DeleteWirelessGatewayTaskDefinitionCommand, } from "./commands/DeleteWirelessGatewayTaskDefinitionCommand";
|
|
31
|
+
import { DeregisterWirelessDeviceCommand, } from "./commands/DeregisterWirelessDeviceCommand";
|
|
30
32
|
import { DisassociateAwsAccountFromPartnerAccountCommand, } from "./commands/DisassociateAwsAccountFromPartnerAccountCommand";
|
|
31
33
|
import { DisassociateMulticastGroupFromFuotaTaskCommand, } from "./commands/DisassociateMulticastGroupFromFuotaTaskCommand";
|
|
32
34
|
import { DisassociateWirelessDeviceFromFuotaTaskCommand, } from "./commands/DisassociateWirelessDeviceFromFuotaTaskCommand";
|
|
@@ -52,6 +54,7 @@ import { GetResourcePositionCommand, } from "./commands/GetResourcePositionComma
|
|
|
52
54
|
import { GetServiceEndpointCommand, } from "./commands/GetServiceEndpointCommand";
|
|
53
55
|
import { GetServiceProfileCommand, } from "./commands/GetServiceProfileCommand";
|
|
54
56
|
import { GetWirelessDeviceCommand, } from "./commands/GetWirelessDeviceCommand";
|
|
57
|
+
import { GetWirelessDeviceImportTaskCommand, } from "./commands/GetWirelessDeviceImportTaskCommand";
|
|
55
58
|
import { GetWirelessDeviceStatisticsCommand, } from "./commands/GetWirelessDeviceStatisticsCommand";
|
|
56
59
|
import { GetWirelessGatewayCertificateCommand, } from "./commands/GetWirelessGatewayCertificateCommand";
|
|
57
60
|
import { GetWirelessGatewayCommand, } from "./commands/GetWirelessGatewayCommand";
|
|
@@ -61,6 +64,7 @@ import { GetWirelessGatewayTaskCommand, } from "./commands/GetWirelessGatewayTas
|
|
|
61
64
|
import { GetWirelessGatewayTaskDefinitionCommand, } from "./commands/GetWirelessGatewayTaskDefinitionCommand";
|
|
62
65
|
import { ListDestinationsCommand, } from "./commands/ListDestinationsCommand";
|
|
63
66
|
import { ListDeviceProfilesCommand, } from "./commands/ListDeviceProfilesCommand";
|
|
67
|
+
import { ListDevicesForWirelessDeviceImportTaskCommand, } from "./commands/ListDevicesForWirelessDeviceImportTaskCommand";
|
|
64
68
|
import { ListEventConfigurationsCommand, } from "./commands/ListEventConfigurationsCommand";
|
|
65
69
|
import { ListFuotaTasksCommand, } from "./commands/ListFuotaTasksCommand";
|
|
66
70
|
import { ListMulticastGroupsByFuotaTaskCommand, } from "./commands/ListMulticastGroupsByFuotaTaskCommand";
|
|
@@ -71,6 +75,7 @@ import { ListPositionConfigurationsCommand, } from "./commands/ListPositionConfi
|
|
|
71
75
|
import { ListQueuedMessagesCommand, } from "./commands/ListQueuedMessagesCommand";
|
|
72
76
|
import { ListServiceProfilesCommand, } from "./commands/ListServiceProfilesCommand";
|
|
73
77
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
78
|
+
import { ListWirelessDeviceImportTasksCommand, } from "./commands/ListWirelessDeviceImportTasksCommand";
|
|
74
79
|
import { ListWirelessDevicesCommand, } from "./commands/ListWirelessDevicesCommand";
|
|
75
80
|
import { ListWirelessGatewaysCommand, } from "./commands/ListWirelessGatewaysCommand";
|
|
76
81
|
import { ListWirelessGatewayTaskDefinitionsCommand, } from "./commands/ListWirelessGatewayTaskDefinitionsCommand";
|
|
@@ -84,6 +89,8 @@ import { StartBulkAssociateWirelessDeviceWithMulticastGroupCommand, } from "./co
|
|
|
84
89
|
import { StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand, } from "./commands/StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand";
|
|
85
90
|
import { StartFuotaTaskCommand, } from "./commands/StartFuotaTaskCommand";
|
|
86
91
|
import { StartMulticastGroupSessionCommand, } from "./commands/StartMulticastGroupSessionCommand";
|
|
92
|
+
import { StartSingleWirelessDeviceImportTaskCommand, } from "./commands/StartSingleWirelessDeviceImportTaskCommand";
|
|
93
|
+
import { StartWirelessDeviceImportTaskCommand, } from "./commands/StartWirelessDeviceImportTaskCommand";
|
|
87
94
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
88
95
|
import { TestWirelessDeviceCommand, } from "./commands/TestWirelessDeviceCommand";
|
|
89
96
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -98,6 +105,7 @@ import { UpdatePositionCommand, } from "./commands/UpdatePositionCommand";
|
|
|
98
105
|
import { UpdateResourceEventConfigurationCommand, } from "./commands/UpdateResourceEventConfigurationCommand";
|
|
99
106
|
import { UpdateResourcePositionCommand, } from "./commands/UpdateResourcePositionCommand";
|
|
100
107
|
import { UpdateWirelessDeviceCommand, } from "./commands/UpdateWirelessDeviceCommand";
|
|
108
|
+
import { UpdateWirelessDeviceImportTaskCommand, } from "./commands/UpdateWirelessDeviceImportTaskCommand";
|
|
101
109
|
import { UpdateWirelessGatewayCommand, } from "./commands/UpdateWirelessGatewayCommand";
|
|
102
110
|
import { IoTWirelessClient } from "./IoTWirelessClient";
|
|
103
111
|
export class IoTWireless extends IoTWirelessClient {
|
|
@@ -465,6 +473,20 @@ export class IoTWireless extends IoTWirelessClient {
|
|
|
465
473
|
return this.send(command, optionsOrCb);
|
|
466
474
|
}
|
|
467
475
|
}
|
|
476
|
+
deleteWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
477
|
+
const command = new DeleteWirelessDeviceImportTaskCommand(args);
|
|
478
|
+
if (typeof optionsOrCb === "function") {
|
|
479
|
+
this.send(command, optionsOrCb);
|
|
480
|
+
}
|
|
481
|
+
else if (typeof cb === "function") {
|
|
482
|
+
if (typeof optionsOrCb !== "object")
|
|
483
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
484
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
485
|
+
}
|
|
486
|
+
else {
|
|
487
|
+
return this.send(command, optionsOrCb);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
468
490
|
deleteWirelessGateway(args, optionsOrCb, cb) {
|
|
469
491
|
const command = new DeleteWirelessGatewayCommand(args);
|
|
470
492
|
if (typeof optionsOrCb === "function") {
|
|
@@ -507,6 +529,20 @@ export class IoTWireless extends IoTWirelessClient {
|
|
|
507
529
|
return this.send(command, optionsOrCb);
|
|
508
530
|
}
|
|
509
531
|
}
|
|
532
|
+
deregisterWirelessDevice(args, optionsOrCb, cb) {
|
|
533
|
+
const command = new DeregisterWirelessDeviceCommand(args);
|
|
534
|
+
if (typeof optionsOrCb === "function") {
|
|
535
|
+
this.send(command, optionsOrCb);
|
|
536
|
+
}
|
|
537
|
+
else if (typeof cb === "function") {
|
|
538
|
+
if (typeof optionsOrCb !== "object")
|
|
539
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
540
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
541
|
+
}
|
|
542
|
+
else {
|
|
543
|
+
return this.send(command, optionsOrCb);
|
|
544
|
+
}
|
|
545
|
+
}
|
|
510
546
|
disassociateAwsAccountFromPartnerAccount(args, optionsOrCb, cb) {
|
|
511
547
|
const command = new DisassociateAwsAccountFromPartnerAccountCommand(args);
|
|
512
548
|
if (typeof optionsOrCb === "function") {
|
|
@@ -857,6 +893,20 @@ export class IoTWireless extends IoTWirelessClient {
|
|
|
857
893
|
return this.send(command, optionsOrCb);
|
|
858
894
|
}
|
|
859
895
|
}
|
|
896
|
+
getWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
897
|
+
const command = new GetWirelessDeviceImportTaskCommand(args);
|
|
898
|
+
if (typeof optionsOrCb === "function") {
|
|
899
|
+
this.send(command, optionsOrCb);
|
|
900
|
+
}
|
|
901
|
+
else if (typeof cb === "function") {
|
|
902
|
+
if (typeof optionsOrCb !== "object")
|
|
903
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
904
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
905
|
+
}
|
|
906
|
+
else {
|
|
907
|
+
return this.send(command, optionsOrCb);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
860
910
|
getWirelessDeviceStatistics(args, optionsOrCb, cb) {
|
|
861
911
|
const command = new GetWirelessDeviceStatisticsCommand(args);
|
|
862
912
|
if (typeof optionsOrCb === "function") {
|
|
@@ -983,6 +1033,20 @@ export class IoTWireless extends IoTWirelessClient {
|
|
|
983
1033
|
return this.send(command, optionsOrCb);
|
|
984
1034
|
}
|
|
985
1035
|
}
|
|
1036
|
+
listDevicesForWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1037
|
+
const command = new ListDevicesForWirelessDeviceImportTaskCommand(args);
|
|
1038
|
+
if (typeof optionsOrCb === "function") {
|
|
1039
|
+
this.send(command, optionsOrCb);
|
|
1040
|
+
}
|
|
1041
|
+
else if (typeof cb === "function") {
|
|
1042
|
+
if (typeof optionsOrCb !== "object")
|
|
1043
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1044
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1045
|
+
}
|
|
1046
|
+
else {
|
|
1047
|
+
return this.send(command, optionsOrCb);
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
986
1050
|
listEventConfigurations(args, optionsOrCb, cb) {
|
|
987
1051
|
const command = new ListEventConfigurationsCommand(args);
|
|
988
1052
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1123,6 +1187,20 @@ export class IoTWireless extends IoTWirelessClient {
|
|
|
1123
1187
|
return this.send(command, optionsOrCb);
|
|
1124
1188
|
}
|
|
1125
1189
|
}
|
|
1190
|
+
listWirelessDeviceImportTasks(args, optionsOrCb, cb) {
|
|
1191
|
+
const command = new ListWirelessDeviceImportTasksCommand(args);
|
|
1192
|
+
if (typeof optionsOrCb === "function") {
|
|
1193
|
+
this.send(command, optionsOrCb);
|
|
1194
|
+
}
|
|
1195
|
+
else if (typeof cb === "function") {
|
|
1196
|
+
if (typeof optionsOrCb !== "object")
|
|
1197
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1198
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1199
|
+
}
|
|
1200
|
+
else {
|
|
1201
|
+
return this.send(command, optionsOrCb);
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1126
1204
|
listWirelessDevices(args, optionsOrCb, cb) {
|
|
1127
1205
|
const command = new ListWirelessDevicesCommand(args);
|
|
1128
1206
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1305,6 +1383,34 @@ export class IoTWireless extends IoTWirelessClient {
|
|
|
1305
1383
|
return this.send(command, optionsOrCb);
|
|
1306
1384
|
}
|
|
1307
1385
|
}
|
|
1386
|
+
startSingleWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1387
|
+
const command = new StartSingleWirelessDeviceImportTaskCommand(args);
|
|
1388
|
+
if (typeof optionsOrCb === "function") {
|
|
1389
|
+
this.send(command, optionsOrCb);
|
|
1390
|
+
}
|
|
1391
|
+
else if (typeof cb === "function") {
|
|
1392
|
+
if (typeof optionsOrCb !== "object")
|
|
1393
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1394
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1395
|
+
}
|
|
1396
|
+
else {
|
|
1397
|
+
return this.send(command, optionsOrCb);
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
startWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1401
|
+
const command = new StartWirelessDeviceImportTaskCommand(args);
|
|
1402
|
+
if (typeof optionsOrCb === "function") {
|
|
1403
|
+
this.send(command, optionsOrCb);
|
|
1404
|
+
}
|
|
1405
|
+
else if (typeof cb === "function") {
|
|
1406
|
+
if (typeof optionsOrCb !== "object")
|
|
1407
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1408
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1409
|
+
}
|
|
1410
|
+
else {
|
|
1411
|
+
return this.send(command, optionsOrCb);
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1308
1414
|
tagResource(args, optionsOrCb, cb) {
|
|
1309
1415
|
const command = new TagResourceCommand(args);
|
|
1310
1416
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1501,6 +1607,20 @@ export class IoTWireless extends IoTWirelessClient {
|
|
|
1501
1607
|
return this.send(command, optionsOrCb);
|
|
1502
1608
|
}
|
|
1503
1609
|
}
|
|
1610
|
+
updateWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1611
|
+
const command = new UpdateWirelessDeviceImportTaskCommand(args);
|
|
1612
|
+
if (typeof optionsOrCb === "function") {
|
|
1613
|
+
this.send(command, optionsOrCb);
|
|
1614
|
+
}
|
|
1615
|
+
else if (typeof cb === "function") {
|
|
1616
|
+
if (typeof optionsOrCb !== "object")
|
|
1617
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1618
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1619
|
+
}
|
|
1620
|
+
else {
|
|
1621
|
+
return this.send(command, optionsOrCb);
|
|
1622
|
+
}
|
|
1623
|
+
}
|
|
1504
1624
|
updateWirelessGateway(args, optionsOrCb, cb) {
|
|
1505
1625
|
const command = new UpdateWirelessGatewayCommand(args);
|
|
1506
1626
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommand, serializeAws_restJson1DeleteWirelessDeviceImportTaskCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class DeleteWirelessDeviceImportTaskCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteWirelessDeviceImportTaskCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "DeleteWirelessDeviceImportTaskCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1DeleteWirelessDeviceImportTaskCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1DeleteWirelessDeviceImportTaskCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1DeregisterWirelessDeviceCommand, serializeAws_restJson1DeregisterWirelessDeviceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class DeregisterWirelessDeviceCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterWirelessDeviceCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "DeregisterWirelessDeviceCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1DeregisterWirelessDeviceCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1DeregisterWirelessDeviceCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetDeviceProfileResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDeviceProfileCommand, serializeAws_restJson1GetDeviceProfileCommand, } from "../protocols/Aws_restJson1";
|
|
5
6
|
export class GetDeviceProfileCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +28,7 @@ export class GetDeviceProfileCommand extends $Command {
|
|
|
27
28
|
clientName,
|
|
28
29
|
commandName,
|
|
29
30
|
inputFilterSensitiveLog: (_) => _,
|
|
30
|
-
outputFilterSensitiveLog:
|
|
31
|
+
outputFilterSensitiveLog: GetDeviceProfileResponseFilterSensitiveLog,
|
|
31
32
|
};
|
|
32
33
|
const { requestHandler } = configuration;
|
|
33
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1GetWirelessDeviceImportTaskCommand, serializeAws_restJson1GetWirelessDeviceImportTaskCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class GetWirelessDeviceImportTaskCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetWirelessDeviceImportTaskCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "GetWirelessDeviceImportTaskCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1GetWirelessDeviceImportTaskCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1GetWirelessDeviceImportTaskCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand, serializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class ListDevicesForWirelessDeviceImportTaskCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListDevicesForWirelessDeviceImportTaskCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "ListDevicesForWirelessDeviceImportTaskCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1ListDevicesForWirelessDeviceImportTaskCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1ListWirelessDeviceImportTasksCommand, serializeAws_restJson1ListWirelessDeviceImportTasksCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class ListWirelessDeviceImportTasksCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListWirelessDeviceImportTasksCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "ListWirelessDeviceImportTasksCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1ListWirelessDeviceImportTasksCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1ListWirelessDeviceImportTasksCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand, serializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class StartSingleWirelessDeviceImportTaskCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartSingleWirelessDeviceImportTaskCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "StartSingleWirelessDeviceImportTaskCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1StartSingleWirelessDeviceImportTaskCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1StartWirelessDeviceImportTaskCommand, serializeAws_restJson1StartWirelessDeviceImportTaskCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class StartWirelessDeviceImportTaskCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartWirelessDeviceImportTaskCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "StartWirelessDeviceImportTaskCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1StartWirelessDeviceImportTaskCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1StartWirelessDeviceImportTaskCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommand, serializeAws_restJson1UpdateWirelessDeviceImportTaskCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class UpdateWirelessDeviceImportTaskCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateWirelessDeviceImportTaskCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "IoTWirelessClient";
|
|
24
|
+
const commandName = "UpdateWirelessDeviceImportTaskCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1UpdateWirelessDeviceImportTaskCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1UpdateWirelessDeviceImportTaskCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -24,9 +24,11 @@ export * from "./DeleteNetworkAnalyzerConfigurationCommand";
|
|
|
24
24
|
export * from "./DeleteQueuedMessagesCommand";
|
|
25
25
|
export * from "./DeleteServiceProfileCommand";
|
|
26
26
|
export * from "./DeleteWirelessDeviceCommand";
|
|
27
|
+
export * from "./DeleteWirelessDeviceImportTaskCommand";
|
|
27
28
|
export * from "./DeleteWirelessGatewayCommand";
|
|
28
29
|
export * from "./DeleteWirelessGatewayTaskCommand";
|
|
29
30
|
export * from "./DeleteWirelessGatewayTaskDefinitionCommand";
|
|
31
|
+
export * from "./DeregisterWirelessDeviceCommand";
|
|
30
32
|
export * from "./DisassociateAwsAccountFromPartnerAccountCommand";
|
|
31
33
|
export * from "./DisassociateMulticastGroupFromFuotaTaskCommand";
|
|
32
34
|
export * from "./DisassociateWirelessDeviceFromFuotaTaskCommand";
|
|
@@ -52,6 +54,7 @@ export * from "./GetResourcePositionCommand";
|
|
|
52
54
|
export * from "./GetServiceEndpointCommand";
|
|
53
55
|
export * from "./GetServiceProfileCommand";
|
|
54
56
|
export * from "./GetWirelessDeviceCommand";
|
|
57
|
+
export * from "./GetWirelessDeviceImportTaskCommand";
|
|
55
58
|
export * from "./GetWirelessDeviceStatisticsCommand";
|
|
56
59
|
export * from "./GetWirelessGatewayCertificateCommand";
|
|
57
60
|
export * from "./GetWirelessGatewayCommand";
|
|
@@ -61,6 +64,7 @@ export * from "./GetWirelessGatewayTaskCommand";
|
|
|
61
64
|
export * from "./GetWirelessGatewayTaskDefinitionCommand";
|
|
62
65
|
export * from "./ListDestinationsCommand";
|
|
63
66
|
export * from "./ListDeviceProfilesCommand";
|
|
67
|
+
export * from "./ListDevicesForWirelessDeviceImportTaskCommand";
|
|
64
68
|
export * from "./ListEventConfigurationsCommand";
|
|
65
69
|
export * from "./ListFuotaTasksCommand";
|
|
66
70
|
export * from "./ListMulticastGroupsByFuotaTaskCommand";
|
|
@@ -71,6 +75,7 @@ export * from "./ListPositionConfigurationsCommand";
|
|
|
71
75
|
export * from "./ListQueuedMessagesCommand";
|
|
72
76
|
export * from "./ListServiceProfilesCommand";
|
|
73
77
|
export * from "./ListTagsForResourceCommand";
|
|
78
|
+
export * from "./ListWirelessDeviceImportTasksCommand";
|
|
74
79
|
export * from "./ListWirelessDevicesCommand";
|
|
75
80
|
export * from "./ListWirelessGatewayTaskDefinitionsCommand";
|
|
76
81
|
export * from "./ListWirelessGatewaysCommand";
|
|
@@ -84,6 +89,8 @@ export * from "./StartBulkAssociateWirelessDeviceWithMulticastGroupCommand";
|
|
|
84
89
|
export * from "./StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand";
|
|
85
90
|
export * from "./StartFuotaTaskCommand";
|
|
86
91
|
export * from "./StartMulticastGroupSessionCommand";
|
|
92
|
+
export * from "./StartSingleWirelessDeviceImportTaskCommand";
|
|
93
|
+
export * from "./StartWirelessDeviceImportTaskCommand";
|
|
87
94
|
export * from "./TagResourceCommand";
|
|
88
95
|
export * from "./TestWirelessDeviceCommand";
|
|
89
96
|
export * from "./UntagResourceCommand";
|
|
@@ -98,4 +105,5 @@ export * from "./UpdatePositionCommand";
|
|
|
98
105
|
export * from "./UpdateResourceEventConfigurationCommand";
|
|
99
106
|
export * from "./UpdateResourcePositionCommand";
|
|
100
107
|
export * from "./UpdateWirelessDeviceCommand";
|
|
108
|
+
export * from "./UpdateWirelessDeviceImportTaskCommand";
|
|
101
109
|
export * from "./UpdateWirelessGatewayCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://api.iotwireless.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|