@aws-sdk/client-iot-wireless 3.315.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/IoTWireless.js +113 -1526
- package/dist-cjs/protocols/Aws_restJson1.js +12 -12
- package/dist-es/IoTWireless.js +113 -1526
- package/dist-es/protocols/Aws_restJson1.js +12 -12
- package/dist-types/IoTWireless.d.ts +126 -277
- package/dist-types/ts3.4/IoTWireless.d.ts +4 -1
- package/package.json +6 -6
package/dist-cjs/IoTWireless.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoTWireless = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AssociateAwsAccountWithPartnerAccountCommand_1 = require("./commands/AssociateAwsAccountWithPartnerAccountCommand");
|
|
5
6
|
const AssociateMulticastGroupWithFuotaTaskCommand_1 = require("./commands/AssociateMulticastGroupWithFuotaTaskCommand");
|
|
6
7
|
const AssociateWirelessDeviceWithFuotaTaskCommand_1 = require("./commands/AssociateWirelessDeviceWithFuotaTaskCommand");
|
|
@@ -111,1532 +112,118 @@ const UpdateWirelessDeviceCommand_1 = require("./commands/UpdateWirelessDeviceCo
|
|
|
111
112
|
const UpdateWirelessDeviceImportTaskCommand_1 = require("./commands/UpdateWirelessDeviceImportTaskCommand");
|
|
112
113
|
const UpdateWirelessGatewayCommand_1 = require("./commands/UpdateWirelessGatewayCommand");
|
|
113
114
|
const IoTWirelessClient_1 = require("./IoTWirelessClient");
|
|
115
|
+
const commands = {
|
|
116
|
+
AssociateAwsAccountWithPartnerAccountCommand: AssociateAwsAccountWithPartnerAccountCommand_1.AssociateAwsAccountWithPartnerAccountCommand,
|
|
117
|
+
AssociateMulticastGroupWithFuotaTaskCommand: AssociateMulticastGroupWithFuotaTaskCommand_1.AssociateMulticastGroupWithFuotaTaskCommand,
|
|
118
|
+
AssociateWirelessDeviceWithFuotaTaskCommand: AssociateWirelessDeviceWithFuotaTaskCommand_1.AssociateWirelessDeviceWithFuotaTaskCommand,
|
|
119
|
+
AssociateWirelessDeviceWithMulticastGroupCommand: AssociateWirelessDeviceWithMulticastGroupCommand_1.AssociateWirelessDeviceWithMulticastGroupCommand,
|
|
120
|
+
AssociateWirelessDeviceWithThingCommand: AssociateWirelessDeviceWithThingCommand_1.AssociateWirelessDeviceWithThingCommand,
|
|
121
|
+
AssociateWirelessGatewayWithCertificateCommand: AssociateWirelessGatewayWithCertificateCommand_1.AssociateWirelessGatewayWithCertificateCommand,
|
|
122
|
+
AssociateWirelessGatewayWithThingCommand: AssociateWirelessGatewayWithThingCommand_1.AssociateWirelessGatewayWithThingCommand,
|
|
123
|
+
CancelMulticastGroupSessionCommand: CancelMulticastGroupSessionCommand_1.CancelMulticastGroupSessionCommand,
|
|
124
|
+
CreateDestinationCommand: CreateDestinationCommand_1.CreateDestinationCommand,
|
|
125
|
+
CreateDeviceProfileCommand: CreateDeviceProfileCommand_1.CreateDeviceProfileCommand,
|
|
126
|
+
CreateFuotaTaskCommand: CreateFuotaTaskCommand_1.CreateFuotaTaskCommand,
|
|
127
|
+
CreateMulticastGroupCommand: CreateMulticastGroupCommand_1.CreateMulticastGroupCommand,
|
|
128
|
+
CreateNetworkAnalyzerConfigurationCommand: CreateNetworkAnalyzerConfigurationCommand_1.CreateNetworkAnalyzerConfigurationCommand,
|
|
129
|
+
CreateServiceProfileCommand: CreateServiceProfileCommand_1.CreateServiceProfileCommand,
|
|
130
|
+
CreateWirelessDeviceCommand: CreateWirelessDeviceCommand_1.CreateWirelessDeviceCommand,
|
|
131
|
+
CreateWirelessGatewayCommand: CreateWirelessGatewayCommand_1.CreateWirelessGatewayCommand,
|
|
132
|
+
CreateWirelessGatewayTaskCommand: CreateWirelessGatewayTaskCommand_1.CreateWirelessGatewayTaskCommand,
|
|
133
|
+
CreateWirelessGatewayTaskDefinitionCommand: CreateWirelessGatewayTaskDefinitionCommand_1.CreateWirelessGatewayTaskDefinitionCommand,
|
|
134
|
+
DeleteDestinationCommand: DeleteDestinationCommand_1.DeleteDestinationCommand,
|
|
135
|
+
DeleteDeviceProfileCommand: DeleteDeviceProfileCommand_1.DeleteDeviceProfileCommand,
|
|
136
|
+
DeleteFuotaTaskCommand: DeleteFuotaTaskCommand_1.DeleteFuotaTaskCommand,
|
|
137
|
+
DeleteMulticastGroupCommand: DeleteMulticastGroupCommand_1.DeleteMulticastGroupCommand,
|
|
138
|
+
DeleteNetworkAnalyzerConfigurationCommand: DeleteNetworkAnalyzerConfigurationCommand_1.DeleteNetworkAnalyzerConfigurationCommand,
|
|
139
|
+
DeleteQueuedMessagesCommand: DeleteQueuedMessagesCommand_1.DeleteQueuedMessagesCommand,
|
|
140
|
+
DeleteServiceProfileCommand: DeleteServiceProfileCommand_1.DeleteServiceProfileCommand,
|
|
141
|
+
DeleteWirelessDeviceCommand: DeleteWirelessDeviceCommand_1.DeleteWirelessDeviceCommand,
|
|
142
|
+
DeleteWirelessDeviceImportTaskCommand: DeleteWirelessDeviceImportTaskCommand_1.DeleteWirelessDeviceImportTaskCommand,
|
|
143
|
+
DeleteWirelessGatewayCommand: DeleteWirelessGatewayCommand_1.DeleteWirelessGatewayCommand,
|
|
144
|
+
DeleteWirelessGatewayTaskCommand: DeleteWirelessGatewayTaskCommand_1.DeleteWirelessGatewayTaskCommand,
|
|
145
|
+
DeleteWirelessGatewayTaskDefinitionCommand: DeleteWirelessGatewayTaskDefinitionCommand_1.DeleteWirelessGatewayTaskDefinitionCommand,
|
|
146
|
+
DeregisterWirelessDeviceCommand: DeregisterWirelessDeviceCommand_1.DeregisterWirelessDeviceCommand,
|
|
147
|
+
DisassociateAwsAccountFromPartnerAccountCommand: DisassociateAwsAccountFromPartnerAccountCommand_1.DisassociateAwsAccountFromPartnerAccountCommand,
|
|
148
|
+
DisassociateMulticastGroupFromFuotaTaskCommand: DisassociateMulticastGroupFromFuotaTaskCommand_1.DisassociateMulticastGroupFromFuotaTaskCommand,
|
|
149
|
+
DisassociateWirelessDeviceFromFuotaTaskCommand: DisassociateWirelessDeviceFromFuotaTaskCommand_1.DisassociateWirelessDeviceFromFuotaTaskCommand,
|
|
150
|
+
DisassociateWirelessDeviceFromMulticastGroupCommand: DisassociateWirelessDeviceFromMulticastGroupCommand_1.DisassociateWirelessDeviceFromMulticastGroupCommand,
|
|
151
|
+
DisassociateWirelessDeviceFromThingCommand: DisassociateWirelessDeviceFromThingCommand_1.DisassociateWirelessDeviceFromThingCommand,
|
|
152
|
+
DisassociateWirelessGatewayFromCertificateCommand: DisassociateWirelessGatewayFromCertificateCommand_1.DisassociateWirelessGatewayFromCertificateCommand,
|
|
153
|
+
DisassociateWirelessGatewayFromThingCommand: DisassociateWirelessGatewayFromThingCommand_1.DisassociateWirelessGatewayFromThingCommand,
|
|
154
|
+
GetDestinationCommand: GetDestinationCommand_1.GetDestinationCommand,
|
|
155
|
+
GetDeviceProfileCommand: GetDeviceProfileCommand_1.GetDeviceProfileCommand,
|
|
156
|
+
GetEventConfigurationByResourceTypesCommand: GetEventConfigurationByResourceTypesCommand_1.GetEventConfigurationByResourceTypesCommand,
|
|
157
|
+
GetFuotaTaskCommand: GetFuotaTaskCommand_1.GetFuotaTaskCommand,
|
|
158
|
+
GetLogLevelsByResourceTypesCommand: GetLogLevelsByResourceTypesCommand_1.GetLogLevelsByResourceTypesCommand,
|
|
159
|
+
GetMulticastGroupCommand: GetMulticastGroupCommand_1.GetMulticastGroupCommand,
|
|
160
|
+
GetMulticastGroupSessionCommand: GetMulticastGroupSessionCommand_1.GetMulticastGroupSessionCommand,
|
|
161
|
+
GetNetworkAnalyzerConfigurationCommand: GetNetworkAnalyzerConfigurationCommand_1.GetNetworkAnalyzerConfigurationCommand,
|
|
162
|
+
GetPartnerAccountCommand: GetPartnerAccountCommand_1.GetPartnerAccountCommand,
|
|
163
|
+
GetPositionCommand: GetPositionCommand_1.GetPositionCommand,
|
|
164
|
+
GetPositionConfigurationCommand: GetPositionConfigurationCommand_1.GetPositionConfigurationCommand,
|
|
165
|
+
GetPositionEstimateCommand: GetPositionEstimateCommand_1.GetPositionEstimateCommand,
|
|
166
|
+
GetResourceEventConfigurationCommand: GetResourceEventConfigurationCommand_1.GetResourceEventConfigurationCommand,
|
|
167
|
+
GetResourceLogLevelCommand: GetResourceLogLevelCommand_1.GetResourceLogLevelCommand,
|
|
168
|
+
GetResourcePositionCommand: GetResourcePositionCommand_1.GetResourcePositionCommand,
|
|
169
|
+
GetServiceEndpointCommand: GetServiceEndpointCommand_1.GetServiceEndpointCommand,
|
|
170
|
+
GetServiceProfileCommand: GetServiceProfileCommand_1.GetServiceProfileCommand,
|
|
171
|
+
GetWirelessDeviceCommand: GetWirelessDeviceCommand_1.GetWirelessDeviceCommand,
|
|
172
|
+
GetWirelessDeviceImportTaskCommand: GetWirelessDeviceImportTaskCommand_1.GetWirelessDeviceImportTaskCommand,
|
|
173
|
+
GetWirelessDeviceStatisticsCommand: GetWirelessDeviceStatisticsCommand_1.GetWirelessDeviceStatisticsCommand,
|
|
174
|
+
GetWirelessGatewayCommand: GetWirelessGatewayCommand_1.GetWirelessGatewayCommand,
|
|
175
|
+
GetWirelessGatewayCertificateCommand: GetWirelessGatewayCertificateCommand_1.GetWirelessGatewayCertificateCommand,
|
|
176
|
+
GetWirelessGatewayFirmwareInformationCommand: GetWirelessGatewayFirmwareInformationCommand_1.GetWirelessGatewayFirmwareInformationCommand,
|
|
177
|
+
GetWirelessGatewayStatisticsCommand: GetWirelessGatewayStatisticsCommand_1.GetWirelessGatewayStatisticsCommand,
|
|
178
|
+
GetWirelessGatewayTaskCommand: GetWirelessGatewayTaskCommand_1.GetWirelessGatewayTaskCommand,
|
|
179
|
+
GetWirelessGatewayTaskDefinitionCommand: GetWirelessGatewayTaskDefinitionCommand_1.GetWirelessGatewayTaskDefinitionCommand,
|
|
180
|
+
ListDestinationsCommand: ListDestinationsCommand_1.ListDestinationsCommand,
|
|
181
|
+
ListDeviceProfilesCommand: ListDeviceProfilesCommand_1.ListDeviceProfilesCommand,
|
|
182
|
+
ListDevicesForWirelessDeviceImportTaskCommand: ListDevicesForWirelessDeviceImportTaskCommand_1.ListDevicesForWirelessDeviceImportTaskCommand,
|
|
183
|
+
ListEventConfigurationsCommand: ListEventConfigurationsCommand_1.ListEventConfigurationsCommand,
|
|
184
|
+
ListFuotaTasksCommand: ListFuotaTasksCommand_1.ListFuotaTasksCommand,
|
|
185
|
+
ListMulticastGroupsCommand: ListMulticastGroupsCommand_1.ListMulticastGroupsCommand,
|
|
186
|
+
ListMulticastGroupsByFuotaTaskCommand: ListMulticastGroupsByFuotaTaskCommand_1.ListMulticastGroupsByFuotaTaskCommand,
|
|
187
|
+
ListNetworkAnalyzerConfigurationsCommand: ListNetworkAnalyzerConfigurationsCommand_1.ListNetworkAnalyzerConfigurationsCommand,
|
|
188
|
+
ListPartnerAccountsCommand: ListPartnerAccountsCommand_1.ListPartnerAccountsCommand,
|
|
189
|
+
ListPositionConfigurationsCommand: ListPositionConfigurationsCommand_1.ListPositionConfigurationsCommand,
|
|
190
|
+
ListQueuedMessagesCommand: ListQueuedMessagesCommand_1.ListQueuedMessagesCommand,
|
|
191
|
+
ListServiceProfilesCommand: ListServiceProfilesCommand_1.ListServiceProfilesCommand,
|
|
192
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
193
|
+
ListWirelessDeviceImportTasksCommand: ListWirelessDeviceImportTasksCommand_1.ListWirelessDeviceImportTasksCommand,
|
|
194
|
+
ListWirelessDevicesCommand: ListWirelessDevicesCommand_1.ListWirelessDevicesCommand,
|
|
195
|
+
ListWirelessGatewaysCommand: ListWirelessGatewaysCommand_1.ListWirelessGatewaysCommand,
|
|
196
|
+
ListWirelessGatewayTaskDefinitionsCommand: ListWirelessGatewayTaskDefinitionsCommand_1.ListWirelessGatewayTaskDefinitionsCommand,
|
|
197
|
+
PutPositionConfigurationCommand: PutPositionConfigurationCommand_1.PutPositionConfigurationCommand,
|
|
198
|
+
PutResourceLogLevelCommand: PutResourceLogLevelCommand_1.PutResourceLogLevelCommand,
|
|
199
|
+
ResetAllResourceLogLevelsCommand: ResetAllResourceLogLevelsCommand_1.ResetAllResourceLogLevelsCommand,
|
|
200
|
+
ResetResourceLogLevelCommand: ResetResourceLogLevelCommand_1.ResetResourceLogLevelCommand,
|
|
201
|
+
SendDataToMulticastGroupCommand: SendDataToMulticastGroupCommand_1.SendDataToMulticastGroupCommand,
|
|
202
|
+
SendDataToWirelessDeviceCommand: SendDataToWirelessDeviceCommand_1.SendDataToWirelessDeviceCommand,
|
|
203
|
+
StartBulkAssociateWirelessDeviceWithMulticastGroupCommand: StartBulkAssociateWirelessDeviceWithMulticastGroupCommand_1.StartBulkAssociateWirelessDeviceWithMulticastGroupCommand,
|
|
204
|
+
StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand: StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand_1.StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand,
|
|
205
|
+
StartFuotaTaskCommand: StartFuotaTaskCommand_1.StartFuotaTaskCommand,
|
|
206
|
+
StartMulticastGroupSessionCommand: StartMulticastGroupSessionCommand_1.StartMulticastGroupSessionCommand,
|
|
207
|
+
StartSingleWirelessDeviceImportTaskCommand: StartSingleWirelessDeviceImportTaskCommand_1.StartSingleWirelessDeviceImportTaskCommand,
|
|
208
|
+
StartWirelessDeviceImportTaskCommand: StartWirelessDeviceImportTaskCommand_1.StartWirelessDeviceImportTaskCommand,
|
|
209
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
210
|
+
TestWirelessDeviceCommand: TestWirelessDeviceCommand_1.TestWirelessDeviceCommand,
|
|
211
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
212
|
+
UpdateDestinationCommand: UpdateDestinationCommand_1.UpdateDestinationCommand,
|
|
213
|
+
UpdateEventConfigurationByResourceTypesCommand: UpdateEventConfigurationByResourceTypesCommand_1.UpdateEventConfigurationByResourceTypesCommand,
|
|
214
|
+
UpdateFuotaTaskCommand: UpdateFuotaTaskCommand_1.UpdateFuotaTaskCommand,
|
|
215
|
+
UpdateLogLevelsByResourceTypesCommand: UpdateLogLevelsByResourceTypesCommand_1.UpdateLogLevelsByResourceTypesCommand,
|
|
216
|
+
UpdateMulticastGroupCommand: UpdateMulticastGroupCommand_1.UpdateMulticastGroupCommand,
|
|
217
|
+
UpdateNetworkAnalyzerConfigurationCommand: UpdateNetworkAnalyzerConfigurationCommand_1.UpdateNetworkAnalyzerConfigurationCommand,
|
|
218
|
+
UpdatePartnerAccountCommand: UpdatePartnerAccountCommand_1.UpdatePartnerAccountCommand,
|
|
219
|
+
UpdatePositionCommand: UpdatePositionCommand_1.UpdatePositionCommand,
|
|
220
|
+
UpdateResourceEventConfigurationCommand: UpdateResourceEventConfigurationCommand_1.UpdateResourceEventConfigurationCommand,
|
|
221
|
+
UpdateResourcePositionCommand: UpdateResourcePositionCommand_1.UpdateResourcePositionCommand,
|
|
222
|
+
UpdateWirelessDeviceCommand: UpdateWirelessDeviceCommand_1.UpdateWirelessDeviceCommand,
|
|
223
|
+
UpdateWirelessDeviceImportTaskCommand: UpdateWirelessDeviceImportTaskCommand_1.UpdateWirelessDeviceImportTaskCommand,
|
|
224
|
+
UpdateWirelessGatewayCommand: UpdateWirelessGatewayCommand_1.UpdateWirelessGatewayCommand,
|
|
225
|
+
};
|
|
114
226
|
class IoTWireless extends IoTWirelessClient_1.IoTWirelessClient {
|
|
115
|
-
associateAwsAccountWithPartnerAccount(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new AssociateAwsAccountWithPartnerAccountCommand_1.AssociateAwsAccountWithPartnerAccountCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
associateMulticastGroupWithFuotaTask(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new AssociateMulticastGroupWithFuotaTaskCommand_1.AssociateMulticastGroupWithFuotaTaskCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
associateWirelessDeviceWithFuotaTask(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new AssociateWirelessDeviceWithFuotaTaskCommand_1.AssociateWirelessDeviceWithFuotaTaskCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
associateWirelessDeviceWithMulticastGroup(args, optionsOrCb, cb) {
|
|
158
|
-
const command = new AssociateWirelessDeviceWithMulticastGroupCommand_1.AssociateWirelessDeviceWithMulticastGroupCommand(args);
|
|
159
|
-
if (typeof optionsOrCb === "function") {
|
|
160
|
-
this.send(command, optionsOrCb);
|
|
161
|
-
}
|
|
162
|
-
else if (typeof cb === "function") {
|
|
163
|
-
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
return this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
associateWirelessDeviceWithThing(args, optionsOrCb, cb) {
|
|
172
|
-
const command = new AssociateWirelessDeviceWithThingCommand_1.AssociateWirelessDeviceWithThingCommand(args);
|
|
173
|
-
if (typeof optionsOrCb === "function") {
|
|
174
|
-
this.send(command, optionsOrCb);
|
|
175
|
-
}
|
|
176
|
-
else if (typeof cb === "function") {
|
|
177
|
-
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
179
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
return this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
associateWirelessGatewayWithCertificate(args, optionsOrCb, cb) {
|
|
186
|
-
const command = new AssociateWirelessGatewayWithCertificateCommand_1.AssociateWirelessGatewayWithCertificateCommand(args);
|
|
187
|
-
if (typeof optionsOrCb === "function") {
|
|
188
|
-
this.send(command, optionsOrCb);
|
|
189
|
-
}
|
|
190
|
-
else if (typeof cb === "function") {
|
|
191
|
-
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
193
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
return this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
associateWirelessGatewayWithThing(args, optionsOrCb, cb) {
|
|
200
|
-
const command = new AssociateWirelessGatewayWithThingCommand_1.AssociateWirelessGatewayWithThingCommand(args);
|
|
201
|
-
if (typeof optionsOrCb === "function") {
|
|
202
|
-
this.send(command, optionsOrCb);
|
|
203
|
-
}
|
|
204
|
-
else if (typeof cb === "function") {
|
|
205
|
-
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
207
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
208
|
-
}
|
|
209
|
-
else {
|
|
210
|
-
return this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
cancelMulticastGroupSession(args, optionsOrCb, cb) {
|
|
214
|
-
const command = new CancelMulticastGroupSessionCommand_1.CancelMulticastGroupSessionCommand(args);
|
|
215
|
-
if (typeof optionsOrCb === "function") {
|
|
216
|
-
this.send(command, optionsOrCb);
|
|
217
|
-
}
|
|
218
|
-
else if (typeof cb === "function") {
|
|
219
|
-
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
221
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
222
|
-
}
|
|
223
|
-
else {
|
|
224
|
-
return this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
createDestination(args, optionsOrCb, cb) {
|
|
228
|
-
const command = new CreateDestinationCommand_1.CreateDestinationCommand(args);
|
|
229
|
-
if (typeof optionsOrCb === "function") {
|
|
230
|
-
this.send(command, optionsOrCb);
|
|
231
|
-
}
|
|
232
|
-
else if (typeof cb === "function") {
|
|
233
|
-
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
235
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
-
}
|
|
237
|
-
else {
|
|
238
|
-
return this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
createDeviceProfile(args, optionsOrCb, cb) {
|
|
242
|
-
const command = new CreateDeviceProfileCommand_1.CreateDeviceProfileCommand(args);
|
|
243
|
-
if (typeof optionsOrCb === "function") {
|
|
244
|
-
this.send(command, optionsOrCb);
|
|
245
|
-
}
|
|
246
|
-
else if (typeof cb === "function") {
|
|
247
|
-
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
249
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
250
|
-
}
|
|
251
|
-
else {
|
|
252
|
-
return this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
createFuotaTask(args, optionsOrCb, cb) {
|
|
256
|
-
const command = new CreateFuotaTaskCommand_1.CreateFuotaTaskCommand(args);
|
|
257
|
-
if (typeof optionsOrCb === "function") {
|
|
258
|
-
this.send(command, optionsOrCb);
|
|
259
|
-
}
|
|
260
|
-
else if (typeof cb === "function") {
|
|
261
|
-
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
263
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
return this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
createMulticastGroup(args, optionsOrCb, cb) {
|
|
270
|
-
const command = new CreateMulticastGroupCommand_1.CreateMulticastGroupCommand(args);
|
|
271
|
-
if (typeof optionsOrCb === "function") {
|
|
272
|
-
this.send(command, optionsOrCb);
|
|
273
|
-
}
|
|
274
|
-
else if (typeof cb === "function") {
|
|
275
|
-
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
return this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
createNetworkAnalyzerConfiguration(args, optionsOrCb, cb) {
|
|
284
|
-
const command = new CreateNetworkAnalyzerConfigurationCommand_1.CreateNetworkAnalyzerConfigurationCommand(args);
|
|
285
|
-
if (typeof optionsOrCb === "function") {
|
|
286
|
-
this.send(command, optionsOrCb);
|
|
287
|
-
}
|
|
288
|
-
else if (typeof cb === "function") {
|
|
289
|
-
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
291
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
292
|
-
}
|
|
293
|
-
else {
|
|
294
|
-
return this.send(command, optionsOrCb);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
createServiceProfile(args, optionsOrCb, cb) {
|
|
298
|
-
const command = new CreateServiceProfileCommand_1.CreateServiceProfileCommand(args);
|
|
299
|
-
if (typeof optionsOrCb === "function") {
|
|
300
|
-
this.send(command, optionsOrCb);
|
|
301
|
-
}
|
|
302
|
-
else if (typeof cb === "function") {
|
|
303
|
-
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
305
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
306
|
-
}
|
|
307
|
-
else {
|
|
308
|
-
return this.send(command, optionsOrCb);
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
createWirelessDevice(args, optionsOrCb, cb) {
|
|
312
|
-
const command = new CreateWirelessDeviceCommand_1.CreateWirelessDeviceCommand(args);
|
|
313
|
-
if (typeof optionsOrCb === "function") {
|
|
314
|
-
this.send(command, optionsOrCb);
|
|
315
|
-
}
|
|
316
|
-
else if (typeof cb === "function") {
|
|
317
|
-
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
319
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
-
}
|
|
321
|
-
else {
|
|
322
|
-
return this.send(command, optionsOrCb);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
createWirelessGateway(args, optionsOrCb, cb) {
|
|
326
|
-
const command = new CreateWirelessGatewayCommand_1.CreateWirelessGatewayCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
}
|
|
330
|
-
else if (typeof cb === "function") {
|
|
331
|
-
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
-
}
|
|
335
|
-
else {
|
|
336
|
-
return this.send(command, optionsOrCb);
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
createWirelessGatewayTask(args, optionsOrCb, cb) {
|
|
340
|
-
const command = new CreateWirelessGatewayTaskCommand_1.CreateWirelessGatewayTaskCommand(args);
|
|
341
|
-
if (typeof optionsOrCb === "function") {
|
|
342
|
-
this.send(command, optionsOrCb);
|
|
343
|
-
}
|
|
344
|
-
else if (typeof cb === "function") {
|
|
345
|
-
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
347
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
348
|
-
}
|
|
349
|
-
else {
|
|
350
|
-
return this.send(command, optionsOrCb);
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
createWirelessGatewayTaskDefinition(args, optionsOrCb, cb) {
|
|
354
|
-
const command = new CreateWirelessGatewayTaskDefinitionCommand_1.CreateWirelessGatewayTaskDefinitionCommand(args);
|
|
355
|
-
if (typeof optionsOrCb === "function") {
|
|
356
|
-
this.send(command, optionsOrCb);
|
|
357
|
-
}
|
|
358
|
-
else if (typeof cb === "function") {
|
|
359
|
-
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
361
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
362
|
-
}
|
|
363
|
-
else {
|
|
364
|
-
return this.send(command, optionsOrCb);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
deleteDestination(args, optionsOrCb, cb) {
|
|
368
|
-
const command = new DeleteDestinationCommand_1.DeleteDestinationCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
}
|
|
372
|
-
else if (typeof cb === "function") {
|
|
373
|
-
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
375
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
376
|
-
}
|
|
377
|
-
else {
|
|
378
|
-
return this.send(command, optionsOrCb);
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
deleteDeviceProfile(args, optionsOrCb, cb) {
|
|
382
|
-
const command = new DeleteDeviceProfileCommand_1.DeleteDeviceProfileCommand(args);
|
|
383
|
-
if (typeof optionsOrCb === "function") {
|
|
384
|
-
this.send(command, optionsOrCb);
|
|
385
|
-
}
|
|
386
|
-
else if (typeof cb === "function") {
|
|
387
|
-
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
389
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
390
|
-
}
|
|
391
|
-
else {
|
|
392
|
-
return this.send(command, optionsOrCb);
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
deleteFuotaTask(args, optionsOrCb, cb) {
|
|
396
|
-
const command = new DeleteFuotaTaskCommand_1.DeleteFuotaTaskCommand(args);
|
|
397
|
-
if (typeof optionsOrCb === "function") {
|
|
398
|
-
this.send(command, optionsOrCb);
|
|
399
|
-
}
|
|
400
|
-
else if (typeof cb === "function") {
|
|
401
|
-
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
403
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
404
|
-
}
|
|
405
|
-
else {
|
|
406
|
-
return this.send(command, optionsOrCb);
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
deleteMulticastGroup(args, optionsOrCb, cb) {
|
|
410
|
-
const command = new DeleteMulticastGroupCommand_1.DeleteMulticastGroupCommand(args);
|
|
411
|
-
if (typeof optionsOrCb === "function") {
|
|
412
|
-
this.send(command, optionsOrCb);
|
|
413
|
-
}
|
|
414
|
-
else if (typeof cb === "function") {
|
|
415
|
-
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
417
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
418
|
-
}
|
|
419
|
-
else {
|
|
420
|
-
return this.send(command, optionsOrCb);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
deleteNetworkAnalyzerConfiguration(args, optionsOrCb, cb) {
|
|
424
|
-
const command = new DeleteNetworkAnalyzerConfigurationCommand_1.DeleteNetworkAnalyzerConfigurationCommand(args);
|
|
425
|
-
if (typeof optionsOrCb === "function") {
|
|
426
|
-
this.send(command, optionsOrCb);
|
|
427
|
-
}
|
|
428
|
-
else if (typeof cb === "function") {
|
|
429
|
-
if (typeof optionsOrCb !== "object")
|
|
430
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
431
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
432
|
-
}
|
|
433
|
-
else {
|
|
434
|
-
return this.send(command, optionsOrCb);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
deleteQueuedMessages(args, optionsOrCb, cb) {
|
|
438
|
-
const command = new DeleteQueuedMessagesCommand_1.DeleteQueuedMessagesCommand(args);
|
|
439
|
-
if (typeof optionsOrCb === "function") {
|
|
440
|
-
this.send(command, optionsOrCb);
|
|
441
|
-
}
|
|
442
|
-
else if (typeof cb === "function") {
|
|
443
|
-
if (typeof optionsOrCb !== "object")
|
|
444
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
445
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
446
|
-
}
|
|
447
|
-
else {
|
|
448
|
-
return this.send(command, optionsOrCb);
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
deleteServiceProfile(args, optionsOrCb, cb) {
|
|
452
|
-
const command = new DeleteServiceProfileCommand_1.DeleteServiceProfileCommand(args);
|
|
453
|
-
if (typeof optionsOrCb === "function") {
|
|
454
|
-
this.send(command, optionsOrCb);
|
|
455
|
-
}
|
|
456
|
-
else if (typeof cb === "function") {
|
|
457
|
-
if (typeof optionsOrCb !== "object")
|
|
458
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
459
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
460
|
-
}
|
|
461
|
-
else {
|
|
462
|
-
return this.send(command, optionsOrCb);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
deleteWirelessDevice(args, optionsOrCb, cb) {
|
|
466
|
-
const command = new DeleteWirelessDeviceCommand_1.DeleteWirelessDeviceCommand(args);
|
|
467
|
-
if (typeof optionsOrCb === "function") {
|
|
468
|
-
this.send(command, optionsOrCb);
|
|
469
|
-
}
|
|
470
|
-
else if (typeof cb === "function") {
|
|
471
|
-
if (typeof optionsOrCb !== "object")
|
|
472
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
473
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
474
|
-
}
|
|
475
|
-
else {
|
|
476
|
-
return this.send(command, optionsOrCb);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
deleteWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
480
|
-
const command = new DeleteWirelessDeviceImportTaskCommand_1.DeleteWirelessDeviceImportTaskCommand(args);
|
|
481
|
-
if (typeof optionsOrCb === "function") {
|
|
482
|
-
this.send(command, optionsOrCb);
|
|
483
|
-
}
|
|
484
|
-
else if (typeof cb === "function") {
|
|
485
|
-
if (typeof optionsOrCb !== "object")
|
|
486
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
487
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
488
|
-
}
|
|
489
|
-
else {
|
|
490
|
-
return this.send(command, optionsOrCb);
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
deleteWirelessGateway(args, optionsOrCb, cb) {
|
|
494
|
-
const command = new DeleteWirelessGatewayCommand_1.DeleteWirelessGatewayCommand(args);
|
|
495
|
-
if (typeof optionsOrCb === "function") {
|
|
496
|
-
this.send(command, optionsOrCb);
|
|
497
|
-
}
|
|
498
|
-
else if (typeof cb === "function") {
|
|
499
|
-
if (typeof optionsOrCb !== "object")
|
|
500
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
501
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
502
|
-
}
|
|
503
|
-
else {
|
|
504
|
-
return this.send(command, optionsOrCb);
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
deleteWirelessGatewayTask(args, optionsOrCb, cb) {
|
|
508
|
-
const command = new DeleteWirelessGatewayTaskCommand_1.DeleteWirelessGatewayTaskCommand(args);
|
|
509
|
-
if (typeof optionsOrCb === "function") {
|
|
510
|
-
this.send(command, optionsOrCb);
|
|
511
|
-
}
|
|
512
|
-
else if (typeof cb === "function") {
|
|
513
|
-
if (typeof optionsOrCb !== "object")
|
|
514
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
515
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
516
|
-
}
|
|
517
|
-
else {
|
|
518
|
-
return this.send(command, optionsOrCb);
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
deleteWirelessGatewayTaskDefinition(args, optionsOrCb, cb) {
|
|
522
|
-
const command = new DeleteWirelessGatewayTaskDefinitionCommand_1.DeleteWirelessGatewayTaskDefinitionCommand(args);
|
|
523
|
-
if (typeof optionsOrCb === "function") {
|
|
524
|
-
this.send(command, optionsOrCb);
|
|
525
|
-
}
|
|
526
|
-
else if (typeof cb === "function") {
|
|
527
|
-
if (typeof optionsOrCb !== "object")
|
|
528
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
529
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
530
|
-
}
|
|
531
|
-
else {
|
|
532
|
-
return this.send(command, optionsOrCb);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
deregisterWirelessDevice(args, optionsOrCb, cb) {
|
|
536
|
-
const command = new DeregisterWirelessDeviceCommand_1.DeregisterWirelessDeviceCommand(args);
|
|
537
|
-
if (typeof optionsOrCb === "function") {
|
|
538
|
-
this.send(command, optionsOrCb);
|
|
539
|
-
}
|
|
540
|
-
else if (typeof cb === "function") {
|
|
541
|
-
if (typeof optionsOrCb !== "object")
|
|
542
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
543
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
544
|
-
}
|
|
545
|
-
else {
|
|
546
|
-
return this.send(command, optionsOrCb);
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
disassociateAwsAccountFromPartnerAccount(args, optionsOrCb, cb) {
|
|
550
|
-
const command = new DisassociateAwsAccountFromPartnerAccountCommand_1.DisassociateAwsAccountFromPartnerAccountCommand(args);
|
|
551
|
-
if (typeof optionsOrCb === "function") {
|
|
552
|
-
this.send(command, optionsOrCb);
|
|
553
|
-
}
|
|
554
|
-
else if (typeof cb === "function") {
|
|
555
|
-
if (typeof optionsOrCb !== "object")
|
|
556
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
557
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
558
|
-
}
|
|
559
|
-
else {
|
|
560
|
-
return this.send(command, optionsOrCb);
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
disassociateMulticastGroupFromFuotaTask(args, optionsOrCb, cb) {
|
|
564
|
-
const command = new DisassociateMulticastGroupFromFuotaTaskCommand_1.DisassociateMulticastGroupFromFuotaTaskCommand(args);
|
|
565
|
-
if (typeof optionsOrCb === "function") {
|
|
566
|
-
this.send(command, optionsOrCb);
|
|
567
|
-
}
|
|
568
|
-
else if (typeof cb === "function") {
|
|
569
|
-
if (typeof optionsOrCb !== "object")
|
|
570
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
571
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
572
|
-
}
|
|
573
|
-
else {
|
|
574
|
-
return this.send(command, optionsOrCb);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
disassociateWirelessDeviceFromFuotaTask(args, optionsOrCb, cb) {
|
|
578
|
-
const command = new DisassociateWirelessDeviceFromFuotaTaskCommand_1.DisassociateWirelessDeviceFromFuotaTaskCommand(args);
|
|
579
|
-
if (typeof optionsOrCb === "function") {
|
|
580
|
-
this.send(command, optionsOrCb);
|
|
581
|
-
}
|
|
582
|
-
else if (typeof cb === "function") {
|
|
583
|
-
if (typeof optionsOrCb !== "object")
|
|
584
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
585
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
586
|
-
}
|
|
587
|
-
else {
|
|
588
|
-
return this.send(command, optionsOrCb);
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
disassociateWirelessDeviceFromMulticastGroup(args, optionsOrCb, cb) {
|
|
592
|
-
const command = new DisassociateWirelessDeviceFromMulticastGroupCommand_1.DisassociateWirelessDeviceFromMulticastGroupCommand(args);
|
|
593
|
-
if (typeof optionsOrCb === "function") {
|
|
594
|
-
this.send(command, optionsOrCb);
|
|
595
|
-
}
|
|
596
|
-
else if (typeof cb === "function") {
|
|
597
|
-
if (typeof optionsOrCb !== "object")
|
|
598
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
599
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
600
|
-
}
|
|
601
|
-
else {
|
|
602
|
-
return this.send(command, optionsOrCb);
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
disassociateWirelessDeviceFromThing(args, optionsOrCb, cb) {
|
|
606
|
-
const command = new DisassociateWirelessDeviceFromThingCommand_1.DisassociateWirelessDeviceFromThingCommand(args);
|
|
607
|
-
if (typeof optionsOrCb === "function") {
|
|
608
|
-
this.send(command, optionsOrCb);
|
|
609
|
-
}
|
|
610
|
-
else if (typeof cb === "function") {
|
|
611
|
-
if (typeof optionsOrCb !== "object")
|
|
612
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
613
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
614
|
-
}
|
|
615
|
-
else {
|
|
616
|
-
return this.send(command, optionsOrCb);
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
disassociateWirelessGatewayFromCertificate(args, optionsOrCb, cb) {
|
|
620
|
-
const command = new DisassociateWirelessGatewayFromCertificateCommand_1.DisassociateWirelessGatewayFromCertificateCommand(args);
|
|
621
|
-
if (typeof optionsOrCb === "function") {
|
|
622
|
-
this.send(command, optionsOrCb);
|
|
623
|
-
}
|
|
624
|
-
else if (typeof cb === "function") {
|
|
625
|
-
if (typeof optionsOrCb !== "object")
|
|
626
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
627
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
628
|
-
}
|
|
629
|
-
else {
|
|
630
|
-
return this.send(command, optionsOrCb);
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
disassociateWirelessGatewayFromThing(args, optionsOrCb, cb) {
|
|
634
|
-
const command = new DisassociateWirelessGatewayFromThingCommand_1.DisassociateWirelessGatewayFromThingCommand(args);
|
|
635
|
-
if (typeof optionsOrCb === "function") {
|
|
636
|
-
this.send(command, optionsOrCb);
|
|
637
|
-
}
|
|
638
|
-
else if (typeof cb === "function") {
|
|
639
|
-
if (typeof optionsOrCb !== "object")
|
|
640
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
641
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
642
|
-
}
|
|
643
|
-
else {
|
|
644
|
-
return this.send(command, optionsOrCb);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
getDestination(args, optionsOrCb, cb) {
|
|
648
|
-
const command = new GetDestinationCommand_1.GetDestinationCommand(args);
|
|
649
|
-
if (typeof optionsOrCb === "function") {
|
|
650
|
-
this.send(command, optionsOrCb);
|
|
651
|
-
}
|
|
652
|
-
else if (typeof cb === "function") {
|
|
653
|
-
if (typeof optionsOrCb !== "object")
|
|
654
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
655
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
656
|
-
}
|
|
657
|
-
else {
|
|
658
|
-
return this.send(command, optionsOrCb);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
getDeviceProfile(args, optionsOrCb, cb) {
|
|
662
|
-
const command = new GetDeviceProfileCommand_1.GetDeviceProfileCommand(args);
|
|
663
|
-
if (typeof optionsOrCb === "function") {
|
|
664
|
-
this.send(command, optionsOrCb);
|
|
665
|
-
}
|
|
666
|
-
else if (typeof cb === "function") {
|
|
667
|
-
if (typeof optionsOrCb !== "object")
|
|
668
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
669
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
670
|
-
}
|
|
671
|
-
else {
|
|
672
|
-
return this.send(command, optionsOrCb);
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
getEventConfigurationByResourceTypes(args, optionsOrCb, cb) {
|
|
676
|
-
const command = new GetEventConfigurationByResourceTypesCommand_1.GetEventConfigurationByResourceTypesCommand(args);
|
|
677
|
-
if (typeof optionsOrCb === "function") {
|
|
678
|
-
this.send(command, optionsOrCb);
|
|
679
|
-
}
|
|
680
|
-
else if (typeof cb === "function") {
|
|
681
|
-
if (typeof optionsOrCb !== "object")
|
|
682
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
683
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
684
|
-
}
|
|
685
|
-
else {
|
|
686
|
-
return this.send(command, optionsOrCb);
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
getFuotaTask(args, optionsOrCb, cb) {
|
|
690
|
-
const command = new GetFuotaTaskCommand_1.GetFuotaTaskCommand(args);
|
|
691
|
-
if (typeof optionsOrCb === "function") {
|
|
692
|
-
this.send(command, optionsOrCb);
|
|
693
|
-
}
|
|
694
|
-
else if (typeof cb === "function") {
|
|
695
|
-
if (typeof optionsOrCb !== "object")
|
|
696
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
697
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
698
|
-
}
|
|
699
|
-
else {
|
|
700
|
-
return this.send(command, optionsOrCb);
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
getLogLevelsByResourceTypes(args, optionsOrCb, cb) {
|
|
704
|
-
const command = new GetLogLevelsByResourceTypesCommand_1.GetLogLevelsByResourceTypesCommand(args);
|
|
705
|
-
if (typeof optionsOrCb === "function") {
|
|
706
|
-
this.send(command, optionsOrCb);
|
|
707
|
-
}
|
|
708
|
-
else if (typeof cb === "function") {
|
|
709
|
-
if (typeof optionsOrCb !== "object")
|
|
710
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
711
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
712
|
-
}
|
|
713
|
-
else {
|
|
714
|
-
return this.send(command, optionsOrCb);
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
getMulticastGroup(args, optionsOrCb, cb) {
|
|
718
|
-
const command = new GetMulticastGroupCommand_1.GetMulticastGroupCommand(args);
|
|
719
|
-
if (typeof optionsOrCb === "function") {
|
|
720
|
-
this.send(command, optionsOrCb);
|
|
721
|
-
}
|
|
722
|
-
else if (typeof cb === "function") {
|
|
723
|
-
if (typeof optionsOrCb !== "object")
|
|
724
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
725
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
726
|
-
}
|
|
727
|
-
else {
|
|
728
|
-
return this.send(command, optionsOrCb);
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
getMulticastGroupSession(args, optionsOrCb, cb) {
|
|
732
|
-
const command = new GetMulticastGroupSessionCommand_1.GetMulticastGroupSessionCommand(args);
|
|
733
|
-
if (typeof optionsOrCb === "function") {
|
|
734
|
-
this.send(command, optionsOrCb);
|
|
735
|
-
}
|
|
736
|
-
else if (typeof cb === "function") {
|
|
737
|
-
if (typeof optionsOrCb !== "object")
|
|
738
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
739
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
740
|
-
}
|
|
741
|
-
else {
|
|
742
|
-
return this.send(command, optionsOrCb);
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
getNetworkAnalyzerConfiguration(args, optionsOrCb, cb) {
|
|
746
|
-
const command = new GetNetworkAnalyzerConfigurationCommand_1.GetNetworkAnalyzerConfigurationCommand(args);
|
|
747
|
-
if (typeof optionsOrCb === "function") {
|
|
748
|
-
this.send(command, optionsOrCb);
|
|
749
|
-
}
|
|
750
|
-
else if (typeof cb === "function") {
|
|
751
|
-
if (typeof optionsOrCb !== "object")
|
|
752
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
753
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
754
|
-
}
|
|
755
|
-
else {
|
|
756
|
-
return this.send(command, optionsOrCb);
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
getPartnerAccount(args, optionsOrCb, cb) {
|
|
760
|
-
const command = new GetPartnerAccountCommand_1.GetPartnerAccountCommand(args);
|
|
761
|
-
if (typeof optionsOrCb === "function") {
|
|
762
|
-
this.send(command, optionsOrCb);
|
|
763
|
-
}
|
|
764
|
-
else if (typeof cb === "function") {
|
|
765
|
-
if (typeof optionsOrCb !== "object")
|
|
766
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
767
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
768
|
-
}
|
|
769
|
-
else {
|
|
770
|
-
return this.send(command, optionsOrCb);
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
getPosition(args, optionsOrCb, cb) {
|
|
774
|
-
const command = new GetPositionCommand_1.GetPositionCommand(args);
|
|
775
|
-
if (typeof optionsOrCb === "function") {
|
|
776
|
-
this.send(command, optionsOrCb);
|
|
777
|
-
}
|
|
778
|
-
else if (typeof cb === "function") {
|
|
779
|
-
if (typeof optionsOrCb !== "object")
|
|
780
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
781
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
782
|
-
}
|
|
783
|
-
else {
|
|
784
|
-
return this.send(command, optionsOrCb);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
getPositionConfiguration(args, optionsOrCb, cb) {
|
|
788
|
-
const command = new GetPositionConfigurationCommand_1.GetPositionConfigurationCommand(args);
|
|
789
|
-
if (typeof optionsOrCb === "function") {
|
|
790
|
-
this.send(command, optionsOrCb);
|
|
791
|
-
}
|
|
792
|
-
else if (typeof cb === "function") {
|
|
793
|
-
if (typeof optionsOrCb !== "object")
|
|
794
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
795
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
796
|
-
}
|
|
797
|
-
else {
|
|
798
|
-
return this.send(command, optionsOrCb);
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
getPositionEstimate(args, optionsOrCb, cb) {
|
|
802
|
-
const command = new GetPositionEstimateCommand_1.GetPositionEstimateCommand(args);
|
|
803
|
-
if (typeof optionsOrCb === "function") {
|
|
804
|
-
this.send(command, optionsOrCb);
|
|
805
|
-
}
|
|
806
|
-
else if (typeof cb === "function") {
|
|
807
|
-
if (typeof optionsOrCb !== "object")
|
|
808
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
809
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
810
|
-
}
|
|
811
|
-
else {
|
|
812
|
-
return this.send(command, optionsOrCb);
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
getResourceEventConfiguration(args, optionsOrCb, cb) {
|
|
816
|
-
const command = new GetResourceEventConfigurationCommand_1.GetResourceEventConfigurationCommand(args);
|
|
817
|
-
if (typeof optionsOrCb === "function") {
|
|
818
|
-
this.send(command, optionsOrCb);
|
|
819
|
-
}
|
|
820
|
-
else if (typeof cb === "function") {
|
|
821
|
-
if (typeof optionsOrCb !== "object")
|
|
822
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
823
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
824
|
-
}
|
|
825
|
-
else {
|
|
826
|
-
return this.send(command, optionsOrCb);
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
getResourceLogLevel(args, optionsOrCb, cb) {
|
|
830
|
-
const command = new GetResourceLogLevelCommand_1.GetResourceLogLevelCommand(args);
|
|
831
|
-
if (typeof optionsOrCb === "function") {
|
|
832
|
-
this.send(command, optionsOrCb);
|
|
833
|
-
}
|
|
834
|
-
else if (typeof cb === "function") {
|
|
835
|
-
if (typeof optionsOrCb !== "object")
|
|
836
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
837
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
838
|
-
}
|
|
839
|
-
else {
|
|
840
|
-
return this.send(command, optionsOrCb);
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
getResourcePosition(args, optionsOrCb, cb) {
|
|
844
|
-
const command = new GetResourcePositionCommand_1.GetResourcePositionCommand(args);
|
|
845
|
-
if (typeof optionsOrCb === "function") {
|
|
846
|
-
this.send(command, optionsOrCb);
|
|
847
|
-
}
|
|
848
|
-
else if (typeof cb === "function") {
|
|
849
|
-
if (typeof optionsOrCb !== "object")
|
|
850
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
851
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
852
|
-
}
|
|
853
|
-
else {
|
|
854
|
-
return this.send(command, optionsOrCb);
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
getServiceEndpoint(args, optionsOrCb, cb) {
|
|
858
|
-
const command = new GetServiceEndpointCommand_1.GetServiceEndpointCommand(args);
|
|
859
|
-
if (typeof optionsOrCb === "function") {
|
|
860
|
-
this.send(command, optionsOrCb);
|
|
861
|
-
}
|
|
862
|
-
else if (typeof cb === "function") {
|
|
863
|
-
if (typeof optionsOrCb !== "object")
|
|
864
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
865
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
866
|
-
}
|
|
867
|
-
else {
|
|
868
|
-
return this.send(command, optionsOrCb);
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
getServiceProfile(args, optionsOrCb, cb) {
|
|
872
|
-
const command = new GetServiceProfileCommand_1.GetServiceProfileCommand(args);
|
|
873
|
-
if (typeof optionsOrCb === "function") {
|
|
874
|
-
this.send(command, optionsOrCb);
|
|
875
|
-
}
|
|
876
|
-
else if (typeof cb === "function") {
|
|
877
|
-
if (typeof optionsOrCb !== "object")
|
|
878
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
879
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
880
|
-
}
|
|
881
|
-
else {
|
|
882
|
-
return this.send(command, optionsOrCb);
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
getWirelessDevice(args, optionsOrCb, cb) {
|
|
886
|
-
const command = new GetWirelessDeviceCommand_1.GetWirelessDeviceCommand(args);
|
|
887
|
-
if (typeof optionsOrCb === "function") {
|
|
888
|
-
this.send(command, optionsOrCb);
|
|
889
|
-
}
|
|
890
|
-
else if (typeof cb === "function") {
|
|
891
|
-
if (typeof optionsOrCb !== "object")
|
|
892
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
893
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
894
|
-
}
|
|
895
|
-
else {
|
|
896
|
-
return this.send(command, optionsOrCb);
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
getWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
900
|
-
const command = new GetWirelessDeviceImportTaskCommand_1.GetWirelessDeviceImportTaskCommand(args);
|
|
901
|
-
if (typeof optionsOrCb === "function") {
|
|
902
|
-
this.send(command, optionsOrCb);
|
|
903
|
-
}
|
|
904
|
-
else if (typeof cb === "function") {
|
|
905
|
-
if (typeof optionsOrCb !== "object")
|
|
906
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
907
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
908
|
-
}
|
|
909
|
-
else {
|
|
910
|
-
return this.send(command, optionsOrCb);
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
getWirelessDeviceStatistics(args, optionsOrCb, cb) {
|
|
914
|
-
const command = new GetWirelessDeviceStatisticsCommand_1.GetWirelessDeviceStatisticsCommand(args);
|
|
915
|
-
if (typeof optionsOrCb === "function") {
|
|
916
|
-
this.send(command, optionsOrCb);
|
|
917
|
-
}
|
|
918
|
-
else if (typeof cb === "function") {
|
|
919
|
-
if (typeof optionsOrCb !== "object")
|
|
920
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
921
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
922
|
-
}
|
|
923
|
-
else {
|
|
924
|
-
return this.send(command, optionsOrCb);
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
getWirelessGateway(args, optionsOrCb, cb) {
|
|
928
|
-
const command = new GetWirelessGatewayCommand_1.GetWirelessGatewayCommand(args);
|
|
929
|
-
if (typeof optionsOrCb === "function") {
|
|
930
|
-
this.send(command, optionsOrCb);
|
|
931
|
-
}
|
|
932
|
-
else if (typeof cb === "function") {
|
|
933
|
-
if (typeof optionsOrCb !== "object")
|
|
934
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
935
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
936
|
-
}
|
|
937
|
-
else {
|
|
938
|
-
return this.send(command, optionsOrCb);
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
getWirelessGatewayCertificate(args, optionsOrCb, cb) {
|
|
942
|
-
const command = new GetWirelessGatewayCertificateCommand_1.GetWirelessGatewayCertificateCommand(args);
|
|
943
|
-
if (typeof optionsOrCb === "function") {
|
|
944
|
-
this.send(command, optionsOrCb);
|
|
945
|
-
}
|
|
946
|
-
else if (typeof cb === "function") {
|
|
947
|
-
if (typeof optionsOrCb !== "object")
|
|
948
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
949
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
950
|
-
}
|
|
951
|
-
else {
|
|
952
|
-
return this.send(command, optionsOrCb);
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
getWirelessGatewayFirmwareInformation(args, optionsOrCb, cb) {
|
|
956
|
-
const command = new GetWirelessGatewayFirmwareInformationCommand_1.GetWirelessGatewayFirmwareInformationCommand(args);
|
|
957
|
-
if (typeof optionsOrCb === "function") {
|
|
958
|
-
this.send(command, optionsOrCb);
|
|
959
|
-
}
|
|
960
|
-
else if (typeof cb === "function") {
|
|
961
|
-
if (typeof optionsOrCb !== "object")
|
|
962
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
963
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
964
|
-
}
|
|
965
|
-
else {
|
|
966
|
-
return this.send(command, optionsOrCb);
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
getWirelessGatewayStatistics(args, optionsOrCb, cb) {
|
|
970
|
-
const command = new GetWirelessGatewayStatisticsCommand_1.GetWirelessGatewayStatisticsCommand(args);
|
|
971
|
-
if (typeof optionsOrCb === "function") {
|
|
972
|
-
this.send(command, optionsOrCb);
|
|
973
|
-
}
|
|
974
|
-
else if (typeof cb === "function") {
|
|
975
|
-
if (typeof optionsOrCb !== "object")
|
|
976
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
977
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
978
|
-
}
|
|
979
|
-
else {
|
|
980
|
-
return this.send(command, optionsOrCb);
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
getWirelessGatewayTask(args, optionsOrCb, cb) {
|
|
984
|
-
const command = new GetWirelessGatewayTaskCommand_1.GetWirelessGatewayTaskCommand(args);
|
|
985
|
-
if (typeof optionsOrCb === "function") {
|
|
986
|
-
this.send(command, optionsOrCb);
|
|
987
|
-
}
|
|
988
|
-
else if (typeof cb === "function") {
|
|
989
|
-
if (typeof optionsOrCb !== "object")
|
|
990
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
991
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
992
|
-
}
|
|
993
|
-
else {
|
|
994
|
-
return this.send(command, optionsOrCb);
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
getWirelessGatewayTaskDefinition(args, optionsOrCb, cb) {
|
|
998
|
-
const command = new GetWirelessGatewayTaskDefinitionCommand_1.GetWirelessGatewayTaskDefinitionCommand(args);
|
|
999
|
-
if (typeof optionsOrCb === "function") {
|
|
1000
|
-
this.send(command, optionsOrCb);
|
|
1001
|
-
}
|
|
1002
|
-
else if (typeof cb === "function") {
|
|
1003
|
-
if (typeof optionsOrCb !== "object")
|
|
1004
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1005
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1006
|
-
}
|
|
1007
|
-
else {
|
|
1008
|
-
return this.send(command, optionsOrCb);
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
listDestinations(args, optionsOrCb, cb) {
|
|
1012
|
-
const command = new ListDestinationsCommand_1.ListDestinationsCommand(args);
|
|
1013
|
-
if (typeof optionsOrCb === "function") {
|
|
1014
|
-
this.send(command, optionsOrCb);
|
|
1015
|
-
}
|
|
1016
|
-
else if (typeof cb === "function") {
|
|
1017
|
-
if (typeof optionsOrCb !== "object")
|
|
1018
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1019
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1020
|
-
}
|
|
1021
|
-
else {
|
|
1022
|
-
return this.send(command, optionsOrCb);
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
listDeviceProfiles(args, optionsOrCb, cb) {
|
|
1026
|
-
const command = new ListDeviceProfilesCommand_1.ListDeviceProfilesCommand(args);
|
|
1027
|
-
if (typeof optionsOrCb === "function") {
|
|
1028
|
-
this.send(command, optionsOrCb);
|
|
1029
|
-
}
|
|
1030
|
-
else if (typeof cb === "function") {
|
|
1031
|
-
if (typeof optionsOrCb !== "object")
|
|
1032
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1033
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1034
|
-
}
|
|
1035
|
-
else {
|
|
1036
|
-
return this.send(command, optionsOrCb);
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
listDevicesForWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1040
|
-
const command = new ListDevicesForWirelessDeviceImportTaskCommand_1.ListDevicesForWirelessDeviceImportTaskCommand(args);
|
|
1041
|
-
if (typeof optionsOrCb === "function") {
|
|
1042
|
-
this.send(command, optionsOrCb);
|
|
1043
|
-
}
|
|
1044
|
-
else if (typeof cb === "function") {
|
|
1045
|
-
if (typeof optionsOrCb !== "object")
|
|
1046
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1047
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1048
|
-
}
|
|
1049
|
-
else {
|
|
1050
|
-
return this.send(command, optionsOrCb);
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
listEventConfigurations(args, optionsOrCb, cb) {
|
|
1054
|
-
const command = new ListEventConfigurationsCommand_1.ListEventConfigurationsCommand(args);
|
|
1055
|
-
if (typeof optionsOrCb === "function") {
|
|
1056
|
-
this.send(command, optionsOrCb);
|
|
1057
|
-
}
|
|
1058
|
-
else if (typeof cb === "function") {
|
|
1059
|
-
if (typeof optionsOrCb !== "object")
|
|
1060
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1061
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1062
|
-
}
|
|
1063
|
-
else {
|
|
1064
|
-
return this.send(command, optionsOrCb);
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
listFuotaTasks(args, optionsOrCb, cb) {
|
|
1068
|
-
const command = new ListFuotaTasksCommand_1.ListFuotaTasksCommand(args);
|
|
1069
|
-
if (typeof optionsOrCb === "function") {
|
|
1070
|
-
this.send(command, optionsOrCb);
|
|
1071
|
-
}
|
|
1072
|
-
else if (typeof cb === "function") {
|
|
1073
|
-
if (typeof optionsOrCb !== "object")
|
|
1074
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1075
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1076
|
-
}
|
|
1077
|
-
else {
|
|
1078
|
-
return this.send(command, optionsOrCb);
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
listMulticastGroups(args, optionsOrCb, cb) {
|
|
1082
|
-
const command = new ListMulticastGroupsCommand_1.ListMulticastGroupsCommand(args);
|
|
1083
|
-
if (typeof optionsOrCb === "function") {
|
|
1084
|
-
this.send(command, optionsOrCb);
|
|
1085
|
-
}
|
|
1086
|
-
else if (typeof cb === "function") {
|
|
1087
|
-
if (typeof optionsOrCb !== "object")
|
|
1088
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1089
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1090
|
-
}
|
|
1091
|
-
else {
|
|
1092
|
-
return this.send(command, optionsOrCb);
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
listMulticastGroupsByFuotaTask(args, optionsOrCb, cb) {
|
|
1096
|
-
const command = new ListMulticastGroupsByFuotaTaskCommand_1.ListMulticastGroupsByFuotaTaskCommand(args);
|
|
1097
|
-
if (typeof optionsOrCb === "function") {
|
|
1098
|
-
this.send(command, optionsOrCb);
|
|
1099
|
-
}
|
|
1100
|
-
else if (typeof cb === "function") {
|
|
1101
|
-
if (typeof optionsOrCb !== "object")
|
|
1102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1104
|
-
}
|
|
1105
|
-
else {
|
|
1106
|
-
return this.send(command, optionsOrCb);
|
|
1107
|
-
}
|
|
1108
|
-
}
|
|
1109
|
-
listNetworkAnalyzerConfigurations(args, optionsOrCb, cb) {
|
|
1110
|
-
const command = new ListNetworkAnalyzerConfigurationsCommand_1.ListNetworkAnalyzerConfigurationsCommand(args);
|
|
1111
|
-
if (typeof optionsOrCb === "function") {
|
|
1112
|
-
this.send(command, optionsOrCb);
|
|
1113
|
-
}
|
|
1114
|
-
else if (typeof cb === "function") {
|
|
1115
|
-
if (typeof optionsOrCb !== "object")
|
|
1116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1118
|
-
}
|
|
1119
|
-
else {
|
|
1120
|
-
return this.send(command, optionsOrCb);
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
listPartnerAccounts(args, optionsOrCb, cb) {
|
|
1124
|
-
const command = new ListPartnerAccountsCommand_1.ListPartnerAccountsCommand(args);
|
|
1125
|
-
if (typeof optionsOrCb === "function") {
|
|
1126
|
-
this.send(command, optionsOrCb);
|
|
1127
|
-
}
|
|
1128
|
-
else if (typeof cb === "function") {
|
|
1129
|
-
if (typeof optionsOrCb !== "object")
|
|
1130
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1131
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1132
|
-
}
|
|
1133
|
-
else {
|
|
1134
|
-
return this.send(command, optionsOrCb);
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
listPositionConfigurations(args, optionsOrCb, cb) {
|
|
1138
|
-
const command = new ListPositionConfigurationsCommand_1.ListPositionConfigurationsCommand(args);
|
|
1139
|
-
if (typeof optionsOrCb === "function") {
|
|
1140
|
-
this.send(command, optionsOrCb);
|
|
1141
|
-
}
|
|
1142
|
-
else if (typeof cb === "function") {
|
|
1143
|
-
if (typeof optionsOrCb !== "object")
|
|
1144
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1145
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1146
|
-
}
|
|
1147
|
-
else {
|
|
1148
|
-
return this.send(command, optionsOrCb);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
listQueuedMessages(args, optionsOrCb, cb) {
|
|
1152
|
-
const command = new ListQueuedMessagesCommand_1.ListQueuedMessagesCommand(args);
|
|
1153
|
-
if (typeof optionsOrCb === "function") {
|
|
1154
|
-
this.send(command, optionsOrCb);
|
|
1155
|
-
}
|
|
1156
|
-
else if (typeof cb === "function") {
|
|
1157
|
-
if (typeof optionsOrCb !== "object")
|
|
1158
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1159
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1160
|
-
}
|
|
1161
|
-
else {
|
|
1162
|
-
return this.send(command, optionsOrCb);
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
listServiceProfiles(args, optionsOrCb, cb) {
|
|
1166
|
-
const command = new ListServiceProfilesCommand_1.ListServiceProfilesCommand(args);
|
|
1167
|
-
if (typeof optionsOrCb === "function") {
|
|
1168
|
-
this.send(command, optionsOrCb);
|
|
1169
|
-
}
|
|
1170
|
-
else if (typeof cb === "function") {
|
|
1171
|
-
if (typeof optionsOrCb !== "object")
|
|
1172
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1173
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1174
|
-
}
|
|
1175
|
-
else {
|
|
1176
|
-
return this.send(command, optionsOrCb);
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
1180
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
1181
|
-
if (typeof optionsOrCb === "function") {
|
|
1182
|
-
this.send(command, optionsOrCb);
|
|
1183
|
-
}
|
|
1184
|
-
else if (typeof cb === "function") {
|
|
1185
|
-
if (typeof optionsOrCb !== "object")
|
|
1186
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1188
|
-
}
|
|
1189
|
-
else {
|
|
1190
|
-
return this.send(command, optionsOrCb);
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
listWirelessDeviceImportTasks(args, optionsOrCb, cb) {
|
|
1194
|
-
const command = new ListWirelessDeviceImportTasksCommand_1.ListWirelessDeviceImportTasksCommand(args);
|
|
1195
|
-
if (typeof optionsOrCb === "function") {
|
|
1196
|
-
this.send(command, optionsOrCb);
|
|
1197
|
-
}
|
|
1198
|
-
else if (typeof cb === "function") {
|
|
1199
|
-
if (typeof optionsOrCb !== "object")
|
|
1200
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1202
|
-
}
|
|
1203
|
-
else {
|
|
1204
|
-
return this.send(command, optionsOrCb);
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
listWirelessDevices(args, optionsOrCb, cb) {
|
|
1208
|
-
const command = new ListWirelessDevicesCommand_1.ListWirelessDevicesCommand(args);
|
|
1209
|
-
if (typeof optionsOrCb === "function") {
|
|
1210
|
-
this.send(command, optionsOrCb);
|
|
1211
|
-
}
|
|
1212
|
-
else if (typeof cb === "function") {
|
|
1213
|
-
if (typeof optionsOrCb !== "object")
|
|
1214
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1216
|
-
}
|
|
1217
|
-
else {
|
|
1218
|
-
return this.send(command, optionsOrCb);
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
listWirelessGateways(args, optionsOrCb, cb) {
|
|
1222
|
-
const command = new ListWirelessGatewaysCommand_1.ListWirelessGatewaysCommand(args);
|
|
1223
|
-
if (typeof optionsOrCb === "function") {
|
|
1224
|
-
this.send(command, optionsOrCb);
|
|
1225
|
-
}
|
|
1226
|
-
else if (typeof cb === "function") {
|
|
1227
|
-
if (typeof optionsOrCb !== "object")
|
|
1228
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1229
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1230
|
-
}
|
|
1231
|
-
else {
|
|
1232
|
-
return this.send(command, optionsOrCb);
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
listWirelessGatewayTaskDefinitions(args, optionsOrCb, cb) {
|
|
1236
|
-
const command = new ListWirelessGatewayTaskDefinitionsCommand_1.ListWirelessGatewayTaskDefinitionsCommand(args);
|
|
1237
|
-
if (typeof optionsOrCb === "function") {
|
|
1238
|
-
this.send(command, optionsOrCb);
|
|
1239
|
-
}
|
|
1240
|
-
else if (typeof cb === "function") {
|
|
1241
|
-
if (typeof optionsOrCb !== "object")
|
|
1242
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1243
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1244
|
-
}
|
|
1245
|
-
else {
|
|
1246
|
-
return this.send(command, optionsOrCb);
|
|
1247
|
-
}
|
|
1248
|
-
}
|
|
1249
|
-
putPositionConfiguration(args, optionsOrCb, cb) {
|
|
1250
|
-
const command = new PutPositionConfigurationCommand_1.PutPositionConfigurationCommand(args);
|
|
1251
|
-
if (typeof optionsOrCb === "function") {
|
|
1252
|
-
this.send(command, optionsOrCb);
|
|
1253
|
-
}
|
|
1254
|
-
else if (typeof cb === "function") {
|
|
1255
|
-
if (typeof optionsOrCb !== "object")
|
|
1256
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1258
|
-
}
|
|
1259
|
-
else {
|
|
1260
|
-
return this.send(command, optionsOrCb);
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1263
|
-
putResourceLogLevel(args, optionsOrCb, cb) {
|
|
1264
|
-
const command = new PutResourceLogLevelCommand_1.PutResourceLogLevelCommand(args);
|
|
1265
|
-
if (typeof optionsOrCb === "function") {
|
|
1266
|
-
this.send(command, optionsOrCb);
|
|
1267
|
-
}
|
|
1268
|
-
else if (typeof cb === "function") {
|
|
1269
|
-
if (typeof optionsOrCb !== "object")
|
|
1270
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1271
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1272
|
-
}
|
|
1273
|
-
else {
|
|
1274
|
-
return this.send(command, optionsOrCb);
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
resetAllResourceLogLevels(args, optionsOrCb, cb) {
|
|
1278
|
-
const command = new ResetAllResourceLogLevelsCommand_1.ResetAllResourceLogLevelsCommand(args);
|
|
1279
|
-
if (typeof optionsOrCb === "function") {
|
|
1280
|
-
this.send(command, optionsOrCb);
|
|
1281
|
-
}
|
|
1282
|
-
else if (typeof cb === "function") {
|
|
1283
|
-
if (typeof optionsOrCb !== "object")
|
|
1284
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1286
|
-
}
|
|
1287
|
-
else {
|
|
1288
|
-
return this.send(command, optionsOrCb);
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
resetResourceLogLevel(args, optionsOrCb, cb) {
|
|
1292
|
-
const command = new ResetResourceLogLevelCommand_1.ResetResourceLogLevelCommand(args);
|
|
1293
|
-
if (typeof optionsOrCb === "function") {
|
|
1294
|
-
this.send(command, optionsOrCb);
|
|
1295
|
-
}
|
|
1296
|
-
else if (typeof cb === "function") {
|
|
1297
|
-
if (typeof optionsOrCb !== "object")
|
|
1298
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1299
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1300
|
-
}
|
|
1301
|
-
else {
|
|
1302
|
-
return this.send(command, optionsOrCb);
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
sendDataToMulticastGroup(args, optionsOrCb, cb) {
|
|
1306
|
-
const command = new SendDataToMulticastGroupCommand_1.SendDataToMulticastGroupCommand(args);
|
|
1307
|
-
if (typeof optionsOrCb === "function") {
|
|
1308
|
-
this.send(command, optionsOrCb);
|
|
1309
|
-
}
|
|
1310
|
-
else if (typeof cb === "function") {
|
|
1311
|
-
if (typeof optionsOrCb !== "object")
|
|
1312
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1313
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1314
|
-
}
|
|
1315
|
-
else {
|
|
1316
|
-
return this.send(command, optionsOrCb);
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
sendDataToWirelessDevice(args, optionsOrCb, cb) {
|
|
1320
|
-
const command = new SendDataToWirelessDeviceCommand_1.SendDataToWirelessDeviceCommand(args);
|
|
1321
|
-
if (typeof optionsOrCb === "function") {
|
|
1322
|
-
this.send(command, optionsOrCb);
|
|
1323
|
-
}
|
|
1324
|
-
else if (typeof cb === "function") {
|
|
1325
|
-
if (typeof optionsOrCb !== "object")
|
|
1326
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1327
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1328
|
-
}
|
|
1329
|
-
else {
|
|
1330
|
-
return this.send(command, optionsOrCb);
|
|
1331
|
-
}
|
|
1332
|
-
}
|
|
1333
|
-
startBulkAssociateWirelessDeviceWithMulticastGroup(args, optionsOrCb, cb) {
|
|
1334
|
-
const command = new StartBulkAssociateWirelessDeviceWithMulticastGroupCommand_1.StartBulkAssociateWirelessDeviceWithMulticastGroupCommand(args);
|
|
1335
|
-
if (typeof optionsOrCb === "function") {
|
|
1336
|
-
this.send(command, optionsOrCb);
|
|
1337
|
-
}
|
|
1338
|
-
else if (typeof cb === "function") {
|
|
1339
|
-
if (typeof optionsOrCb !== "object")
|
|
1340
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1341
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1342
|
-
}
|
|
1343
|
-
else {
|
|
1344
|
-
return this.send(command, optionsOrCb);
|
|
1345
|
-
}
|
|
1346
|
-
}
|
|
1347
|
-
startBulkDisassociateWirelessDeviceFromMulticastGroup(args, optionsOrCb, cb) {
|
|
1348
|
-
const command = new StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand_1.StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand(args);
|
|
1349
|
-
if (typeof optionsOrCb === "function") {
|
|
1350
|
-
this.send(command, optionsOrCb);
|
|
1351
|
-
}
|
|
1352
|
-
else if (typeof cb === "function") {
|
|
1353
|
-
if (typeof optionsOrCb !== "object")
|
|
1354
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1355
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1356
|
-
}
|
|
1357
|
-
else {
|
|
1358
|
-
return this.send(command, optionsOrCb);
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
startFuotaTask(args, optionsOrCb, cb) {
|
|
1362
|
-
const command = new StartFuotaTaskCommand_1.StartFuotaTaskCommand(args);
|
|
1363
|
-
if (typeof optionsOrCb === "function") {
|
|
1364
|
-
this.send(command, optionsOrCb);
|
|
1365
|
-
}
|
|
1366
|
-
else if (typeof cb === "function") {
|
|
1367
|
-
if (typeof optionsOrCb !== "object")
|
|
1368
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1369
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1370
|
-
}
|
|
1371
|
-
else {
|
|
1372
|
-
return this.send(command, optionsOrCb);
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
startMulticastGroupSession(args, optionsOrCb, cb) {
|
|
1376
|
-
const command = new StartMulticastGroupSessionCommand_1.StartMulticastGroupSessionCommand(args);
|
|
1377
|
-
if (typeof optionsOrCb === "function") {
|
|
1378
|
-
this.send(command, optionsOrCb);
|
|
1379
|
-
}
|
|
1380
|
-
else if (typeof cb === "function") {
|
|
1381
|
-
if (typeof optionsOrCb !== "object")
|
|
1382
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1383
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1384
|
-
}
|
|
1385
|
-
else {
|
|
1386
|
-
return this.send(command, optionsOrCb);
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
startSingleWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1390
|
-
const command = new StartSingleWirelessDeviceImportTaskCommand_1.StartSingleWirelessDeviceImportTaskCommand(args);
|
|
1391
|
-
if (typeof optionsOrCb === "function") {
|
|
1392
|
-
this.send(command, optionsOrCb);
|
|
1393
|
-
}
|
|
1394
|
-
else if (typeof cb === "function") {
|
|
1395
|
-
if (typeof optionsOrCb !== "object")
|
|
1396
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1397
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1398
|
-
}
|
|
1399
|
-
else {
|
|
1400
|
-
return this.send(command, optionsOrCb);
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
startWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1404
|
-
const command = new StartWirelessDeviceImportTaskCommand_1.StartWirelessDeviceImportTaskCommand(args);
|
|
1405
|
-
if (typeof optionsOrCb === "function") {
|
|
1406
|
-
this.send(command, optionsOrCb);
|
|
1407
|
-
}
|
|
1408
|
-
else if (typeof cb === "function") {
|
|
1409
|
-
if (typeof optionsOrCb !== "object")
|
|
1410
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1411
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1412
|
-
}
|
|
1413
|
-
else {
|
|
1414
|
-
return this.send(command, optionsOrCb);
|
|
1415
|
-
}
|
|
1416
|
-
}
|
|
1417
|
-
tagResource(args, optionsOrCb, cb) {
|
|
1418
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
1419
|
-
if (typeof optionsOrCb === "function") {
|
|
1420
|
-
this.send(command, optionsOrCb);
|
|
1421
|
-
}
|
|
1422
|
-
else if (typeof cb === "function") {
|
|
1423
|
-
if (typeof optionsOrCb !== "object")
|
|
1424
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1425
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1426
|
-
}
|
|
1427
|
-
else {
|
|
1428
|
-
return this.send(command, optionsOrCb);
|
|
1429
|
-
}
|
|
1430
|
-
}
|
|
1431
|
-
testWirelessDevice(args, optionsOrCb, cb) {
|
|
1432
|
-
const command = new TestWirelessDeviceCommand_1.TestWirelessDeviceCommand(args);
|
|
1433
|
-
if (typeof optionsOrCb === "function") {
|
|
1434
|
-
this.send(command, optionsOrCb);
|
|
1435
|
-
}
|
|
1436
|
-
else if (typeof cb === "function") {
|
|
1437
|
-
if (typeof optionsOrCb !== "object")
|
|
1438
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1439
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1440
|
-
}
|
|
1441
|
-
else {
|
|
1442
|
-
return this.send(command, optionsOrCb);
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
untagResource(args, optionsOrCb, cb) {
|
|
1446
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
1447
|
-
if (typeof optionsOrCb === "function") {
|
|
1448
|
-
this.send(command, optionsOrCb);
|
|
1449
|
-
}
|
|
1450
|
-
else if (typeof cb === "function") {
|
|
1451
|
-
if (typeof optionsOrCb !== "object")
|
|
1452
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1453
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1454
|
-
}
|
|
1455
|
-
else {
|
|
1456
|
-
return this.send(command, optionsOrCb);
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
updateDestination(args, optionsOrCb, cb) {
|
|
1460
|
-
const command = new UpdateDestinationCommand_1.UpdateDestinationCommand(args);
|
|
1461
|
-
if (typeof optionsOrCb === "function") {
|
|
1462
|
-
this.send(command, optionsOrCb);
|
|
1463
|
-
}
|
|
1464
|
-
else if (typeof cb === "function") {
|
|
1465
|
-
if (typeof optionsOrCb !== "object")
|
|
1466
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1467
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1468
|
-
}
|
|
1469
|
-
else {
|
|
1470
|
-
return this.send(command, optionsOrCb);
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
updateEventConfigurationByResourceTypes(args, optionsOrCb, cb) {
|
|
1474
|
-
const command = new UpdateEventConfigurationByResourceTypesCommand_1.UpdateEventConfigurationByResourceTypesCommand(args);
|
|
1475
|
-
if (typeof optionsOrCb === "function") {
|
|
1476
|
-
this.send(command, optionsOrCb);
|
|
1477
|
-
}
|
|
1478
|
-
else if (typeof cb === "function") {
|
|
1479
|
-
if (typeof optionsOrCb !== "object")
|
|
1480
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1481
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1482
|
-
}
|
|
1483
|
-
else {
|
|
1484
|
-
return this.send(command, optionsOrCb);
|
|
1485
|
-
}
|
|
1486
|
-
}
|
|
1487
|
-
updateFuotaTask(args, optionsOrCb, cb) {
|
|
1488
|
-
const command = new UpdateFuotaTaskCommand_1.UpdateFuotaTaskCommand(args);
|
|
1489
|
-
if (typeof optionsOrCb === "function") {
|
|
1490
|
-
this.send(command, optionsOrCb);
|
|
1491
|
-
}
|
|
1492
|
-
else if (typeof cb === "function") {
|
|
1493
|
-
if (typeof optionsOrCb !== "object")
|
|
1494
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1495
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1496
|
-
}
|
|
1497
|
-
else {
|
|
1498
|
-
return this.send(command, optionsOrCb);
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
updateLogLevelsByResourceTypes(args, optionsOrCb, cb) {
|
|
1502
|
-
const command = new UpdateLogLevelsByResourceTypesCommand_1.UpdateLogLevelsByResourceTypesCommand(args);
|
|
1503
|
-
if (typeof optionsOrCb === "function") {
|
|
1504
|
-
this.send(command, optionsOrCb);
|
|
1505
|
-
}
|
|
1506
|
-
else if (typeof cb === "function") {
|
|
1507
|
-
if (typeof optionsOrCb !== "object")
|
|
1508
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1509
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1510
|
-
}
|
|
1511
|
-
else {
|
|
1512
|
-
return this.send(command, optionsOrCb);
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
updateMulticastGroup(args, optionsOrCb, cb) {
|
|
1516
|
-
const command = new UpdateMulticastGroupCommand_1.UpdateMulticastGroupCommand(args);
|
|
1517
|
-
if (typeof optionsOrCb === "function") {
|
|
1518
|
-
this.send(command, optionsOrCb);
|
|
1519
|
-
}
|
|
1520
|
-
else if (typeof cb === "function") {
|
|
1521
|
-
if (typeof optionsOrCb !== "object")
|
|
1522
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1523
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1524
|
-
}
|
|
1525
|
-
else {
|
|
1526
|
-
return this.send(command, optionsOrCb);
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
updateNetworkAnalyzerConfiguration(args, optionsOrCb, cb) {
|
|
1530
|
-
const command = new UpdateNetworkAnalyzerConfigurationCommand_1.UpdateNetworkAnalyzerConfigurationCommand(args);
|
|
1531
|
-
if (typeof optionsOrCb === "function") {
|
|
1532
|
-
this.send(command, optionsOrCb);
|
|
1533
|
-
}
|
|
1534
|
-
else if (typeof cb === "function") {
|
|
1535
|
-
if (typeof optionsOrCb !== "object")
|
|
1536
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1537
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1538
|
-
}
|
|
1539
|
-
else {
|
|
1540
|
-
return this.send(command, optionsOrCb);
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
updatePartnerAccount(args, optionsOrCb, cb) {
|
|
1544
|
-
const command = new UpdatePartnerAccountCommand_1.UpdatePartnerAccountCommand(args);
|
|
1545
|
-
if (typeof optionsOrCb === "function") {
|
|
1546
|
-
this.send(command, optionsOrCb);
|
|
1547
|
-
}
|
|
1548
|
-
else if (typeof cb === "function") {
|
|
1549
|
-
if (typeof optionsOrCb !== "object")
|
|
1550
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1551
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1552
|
-
}
|
|
1553
|
-
else {
|
|
1554
|
-
return this.send(command, optionsOrCb);
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
updatePosition(args, optionsOrCb, cb) {
|
|
1558
|
-
const command = new UpdatePositionCommand_1.UpdatePositionCommand(args);
|
|
1559
|
-
if (typeof optionsOrCb === "function") {
|
|
1560
|
-
this.send(command, optionsOrCb);
|
|
1561
|
-
}
|
|
1562
|
-
else if (typeof cb === "function") {
|
|
1563
|
-
if (typeof optionsOrCb !== "object")
|
|
1564
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1565
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1566
|
-
}
|
|
1567
|
-
else {
|
|
1568
|
-
return this.send(command, optionsOrCb);
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
updateResourceEventConfiguration(args, optionsOrCb, cb) {
|
|
1572
|
-
const command = new UpdateResourceEventConfigurationCommand_1.UpdateResourceEventConfigurationCommand(args);
|
|
1573
|
-
if (typeof optionsOrCb === "function") {
|
|
1574
|
-
this.send(command, optionsOrCb);
|
|
1575
|
-
}
|
|
1576
|
-
else if (typeof cb === "function") {
|
|
1577
|
-
if (typeof optionsOrCb !== "object")
|
|
1578
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1579
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1580
|
-
}
|
|
1581
|
-
else {
|
|
1582
|
-
return this.send(command, optionsOrCb);
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
updateResourcePosition(args, optionsOrCb, cb) {
|
|
1586
|
-
const command = new UpdateResourcePositionCommand_1.UpdateResourcePositionCommand(args);
|
|
1587
|
-
if (typeof optionsOrCb === "function") {
|
|
1588
|
-
this.send(command, optionsOrCb);
|
|
1589
|
-
}
|
|
1590
|
-
else if (typeof cb === "function") {
|
|
1591
|
-
if (typeof optionsOrCb !== "object")
|
|
1592
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1593
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1594
|
-
}
|
|
1595
|
-
else {
|
|
1596
|
-
return this.send(command, optionsOrCb);
|
|
1597
|
-
}
|
|
1598
|
-
}
|
|
1599
|
-
updateWirelessDevice(args, optionsOrCb, cb) {
|
|
1600
|
-
const command = new UpdateWirelessDeviceCommand_1.UpdateWirelessDeviceCommand(args);
|
|
1601
|
-
if (typeof optionsOrCb === "function") {
|
|
1602
|
-
this.send(command, optionsOrCb);
|
|
1603
|
-
}
|
|
1604
|
-
else if (typeof cb === "function") {
|
|
1605
|
-
if (typeof optionsOrCb !== "object")
|
|
1606
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1607
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1608
|
-
}
|
|
1609
|
-
else {
|
|
1610
|
-
return this.send(command, optionsOrCb);
|
|
1611
|
-
}
|
|
1612
|
-
}
|
|
1613
|
-
updateWirelessDeviceImportTask(args, optionsOrCb, cb) {
|
|
1614
|
-
const command = new UpdateWirelessDeviceImportTaskCommand_1.UpdateWirelessDeviceImportTaskCommand(args);
|
|
1615
|
-
if (typeof optionsOrCb === "function") {
|
|
1616
|
-
this.send(command, optionsOrCb);
|
|
1617
|
-
}
|
|
1618
|
-
else if (typeof cb === "function") {
|
|
1619
|
-
if (typeof optionsOrCb !== "object")
|
|
1620
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1621
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1622
|
-
}
|
|
1623
|
-
else {
|
|
1624
|
-
return this.send(command, optionsOrCb);
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
updateWirelessGateway(args, optionsOrCb, cb) {
|
|
1628
|
-
const command = new UpdateWirelessGatewayCommand_1.UpdateWirelessGatewayCommand(args);
|
|
1629
|
-
if (typeof optionsOrCb === "function") {
|
|
1630
|
-
this.send(command, optionsOrCb);
|
|
1631
|
-
}
|
|
1632
|
-
else if (typeof cb === "function") {
|
|
1633
|
-
if (typeof optionsOrCb !== "object")
|
|
1634
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1635
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1636
|
-
}
|
|
1637
|
-
else {
|
|
1638
|
-
return this.send(command, optionsOrCb);
|
|
1639
|
-
}
|
|
1640
|
-
}
|
|
1641
227
|
}
|
|
1642
228
|
exports.IoTWireless = IoTWireless;
|
|
229
|
+
(0, smithy_client_1.createAggregatedClient)(commands, IoTWireless);
|