@aws-sdk/client-iot-wireless 3.45.0 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +11 -1
- package/dist-cjs/IoTWireless.js +30 -0
- package/dist-cjs/commands/DeleteQueuedMessagesCommand.js +36 -0
- package/dist-cjs/commands/ListQueuedMessagesCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +41 -11
- package/dist-cjs/pagination/ListQueuedMessagesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +252 -4
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/IoTWireless.js +30 -0
- package/dist-es/commands/DeleteQueuedMessagesCommand.js +39 -0
- package/dist-es/commands/ListQueuedMessagesCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +24 -4
- package/dist-es/pagination/ListQueuedMessagesPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +277 -0
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/IoTWireless.d.ts +25 -1
- package/dist-types/IoTWirelessClient.d.ts +15 -3
- package/dist-types/commands/DeleteQueuedMessagesCommand.d.ts +35 -0
- package/dist-types/commands/ListQueuedMessagesCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +110 -15
- package/dist-types/pagination/ListQueuedMessagesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/IoTWireless.d.ts +10 -0
- package/dist-types/ts3.4/IoTWirelessClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteQueuedMessagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQueuedMessagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +66 -9
- package/dist-types/ts3.4/pagination/ListQueuedMessagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +36 -43
|
@@ -651,6 +651,39 @@ export var serializeAws_restJson1DeleteMulticastGroupCommand = function (input,
|
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
653
|
}); };
|
|
654
|
+
export var serializeAws_restJson1DeleteQueuedMessagesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
655
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
656
|
+
return __generator(this, function (_c) {
|
|
657
|
+
switch (_c.label) {
|
|
658
|
+
case 0: return [4, context.endpoint()];
|
|
659
|
+
case 1:
|
|
660
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
661
|
+
headers = {};
|
|
662
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/data";
|
|
663
|
+
if (input.Id !== undefined) {
|
|
664
|
+
labelValue = input.Id;
|
|
665
|
+
if (labelValue.length <= 0) {
|
|
666
|
+
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
667
|
+
}
|
|
668
|
+
resolvedPath = resolvedPath.replace("{Id}", __extendedEncodeURIComponent(labelValue));
|
|
669
|
+
}
|
|
670
|
+
else {
|
|
671
|
+
throw new Error("No value provided for input HTTP label: Id.");
|
|
672
|
+
}
|
|
673
|
+
query = __assign(__assign({}, (input.MessageId !== undefined && { messageId: input.MessageId })), (input.WirelessDeviceType !== undefined && { WirelessDeviceType: input.WirelessDeviceType }));
|
|
674
|
+
return [2, new __HttpRequest({
|
|
675
|
+
protocol: protocol,
|
|
676
|
+
hostname: hostname,
|
|
677
|
+
port: port,
|
|
678
|
+
method: "DELETE",
|
|
679
|
+
headers: headers,
|
|
680
|
+
path: resolvedPath,
|
|
681
|
+
query: query,
|
|
682
|
+
body: body,
|
|
683
|
+
})];
|
|
684
|
+
}
|
|
685
|
+
});
|
|
686
|
+
}); };
|
|
654
687
|
export var serializeAws_restJson1DeleteServiceProfileCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
655
688
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
656
689
|
return __generator(this, function (_c) {
|
|
@@ -1825,6 +1858,39 @@ export var serializeAws_restJson1ListPartnerAccountsCommand = function (input, c
|
|
|
1825
1858
|
}
|
|
1826
1859
|
});
|
|
1827
1860
|
}); };
|
|
1861
|
+
export var serializeAws_restJson1ListQueuedMessagesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1862
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, query, body;
|
|
1863
|
+
return __generator(this, function (_c) {
|
|
1864
|
+
switch (_c.label) {
|
|
1865
|
+
case 0: return [4, context.endpoint()];
|
|
1866
|
+
case 1:
|
|
1867
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1868
|
+
headers = {};
|
|
1869
|
+
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/wireless-devices/{Id}/data";
|
|
1870
|
+
if (input.Id !== undefined) {
|
|
1871
|
+
labelValue = input.Id;
|
|
1872
|
+
if (labelValue.length <= 0) {
|
|
1873
|
+
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
1874
|
+
}
|
|
1875
|
+
resolvedPath = resolvedPath.replace("{Id}", __extendedEncodeURIComponent(labelValue));
|
|
1876
|
+
}
|
|
1877
|
+
else {
|
|
1878
|
+
throw new Error("No value provided for input HTTP label: Id.");
|
|
1879
|
+
}
|
|
1880
|
+
query = __assign(__assign(__assign({}, (input.NextToken !== undefined && { nextToken: input.NextToken })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.WirelessDeviceType !== undefined && { WirelessDeviceType: input.WirelessDeviceType }));
|
|
1881
|
+
return [2, new __HttpRequest({
|
|
1882
|
+
protocol: protocol,
|
|
1883
|
+
hostname: hostname,
|
|
1884
|
+
port: port,
|
|
1885
|
+
method: "GET",
|
|
1886
|
+
headers: headers,
|
|
1887
|
+
path: resolvedPath,
|
|
1888
|
+
query: query,
|
|
1889
|
+
body: body,
|
|
1890
|
+
})];
|
|
1891
|
+
}
|
|
1892
|
+
});
|
|
1893
|
+
}); };
|
|
1828
1894
|
export var serializeAws_restJson1ListServiceProfilesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1829
1895
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
1830
1896
|
return __generator(this, function (_c) {
|
|
@@ -4757,6 +4823,94 @@ var deserializeAws_restJson1DeleteMulticastGroupCommandError = function (output,
|
|
|
4757
4823
|
}
|
|
4758
4824
|
});
|
|
4759
4825
|
}); };
|
|
4826
|
+
export var deserializeAws_restJson1DeleteQueuedMessagesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4827
|
+
var contents;
|
|
4828
|
+
return __generator(this, function (_a) {
|
|
4829
|
+
switch (_a.label) {
|
|
4830
|
+
case 0:
|
|
4831
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
4832
|
+
return [2, deserializeAws_restJson1DeleteQueuedMessagesCommandError(output, context)];
|
|
4833
|
+
}
|
|
4834
|
+
contents = {
|
|
4835
|
+
$metadata: deserializeMetadata(output),
|
|
4836
|
+
};
|
|
4837
|
+
return [4, collectBody(output.body, context)];
|
|
4838
|
+
case 1:
|
|
4839
|
+
_a.sent();
|
|
4840
|
+
return [2, Promise.resolve(contents)];
|
|
4841
|
+
}
|
|
4842
|
+
});
|
|
4843
|
+
}); };
|
|
4844
|
+
var deserializeAws_restJson1DeleteQueuedMessagesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4845
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
4846
|
+
var _h;
|
|
4847
|
+
return __generator(this, function (_j) {
|
|
4848
|
+
switch (_j.label) {
|
|
4849
|
+
case 0:
|
|
4850
|
+
_a = [__assign({}, output)];
|
|
4851
|
+
_h = {};
|
|
4852
|
+
return [4, parseBody(output.body, context)];
|
|
4853
|
+
case 1:
|
|
4854
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
4855
|
+
errorCode = "UnknownError";
|
|
4856
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4857
|
+
_b = errorCode;
|
|
4858
|
+
switch (_b) {
|
|
4859
|
+
case "AccessDeniedException": return [3, 2];
|
|
4860
|
+
case "com.amazonaws.iotwireless#AccessDeniedException": return [3, 2];
|
|
4861
|
+
case "InternalServerException": return [3, 4];
|
|
4862
|
+
case "com.amazonaws.iotwireless#InternalServerException": return [3, 4];
|
|
4863
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
4864
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException": return [3, 6];
|
|
4865
|
+
case "ThrottlingException": return [3, 8];
|
|
4866
|
+
case "com.amazonaws.iotwireless#ThrottlingException": return [3, 8];
|
|
4867
|
+
case "ValidationException": return [3, 10];
|
|
4868
|
+
case "com.amazonaws.iotwireless#ValidationException": return [3, 10];
|
|
4869
|
+
}
|
|
4870
|
+
return [3, 12];
|
|
4871
|
+
case 2:
|
|
4872
|
+
_c = [{}];
|
|
4873
|
+
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
4874
|
+
case 3:
|
|
4875
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4876
|
+
return [3, 13];
|
|
4877
|
+
case 4:
|
|
4878
|
+
_d = [{}];
|
|
4879
|
+
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
4880
|
+
case 5:
|
|
4881
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4882
|
+
return [3, 13];
|
|
4883
|
+
case 6:
|
|
4884
|
+
_e = [{}];
|
|
4885
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
4886
|
+
case 7:
|
|
4887
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4888
|
+
return [3, 13];
|
|
4889
|
+
case 8:
|
|
4890
|
+
_f = [{}];
|
|
4891
|
+
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
4892
|
+
case 9:
|
|
4893
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4894
|
+
return [3, 13];
|
|
4895
|
+
case 10:
|
|
4896
|
+
_g = [{}];
|
|
4897
|
+
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
4898
|
+
case 11:
|
|
4899
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4900
|
+
return [3, 13];
|
|
4901
|
+
case 12:
|
|
4902
|
+
parsedBody = parsedOutput.body;
|
|
4903
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
4904
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
4905
|
+
_j.label = 13;
|
|
4906
|
+
case 13:
|
|
4907
|
+
message = response.message || response.Message || errorCode;
|
|
4908
|
+
response.message = message;
|
|
4909
|
+
delete response.Message;
|
|
4910
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
4911
|
+
}
|
|
4912
|
+
});
|
|
4913
|
+
}); };
|
|
4760
4914
|
export var deserializeAws_restJson1DeleteServiceProfileCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4761
4915
|
var contents;
|
|
4762
4916
|
return __generator(this, function (_a) {
|
|
@@ -8493,6 +8647,104 @@ var deserializeAws_restJson1ListPartnerAccountsCommandError = function (output,
|
|
|
8493
8647
|
}
|
|
8494
8648
|
});
|
|
8495
8649
|
}); };
|
|
8650
|
+
export var deserializeAws_restJson1ListQueuedMessagesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8651
|
+
var contents, data, _a, _b;
|
|
8652
|
+
return __generator(this, function (_c) {
|
|
8653
|
+
switch (_c.label) {
|
|
8654
|
+
case 0:
|
|
8655
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
8656
|
+
return [2, deserializeAws_restJson1ListQueuedMessagesCommandError(output, context)];
|
|
8657
|
+
}
|
|
8658
|
+
contents = {
|
|
8659
|
+
$metadata: deserializeMetadata(output),
|
|
8660
|
+
DownlinkQueueMessagesList: undefined,
|
|
8661
|
+
NextToken: undefined,
|
|
8662
|
+
};
|
|
8663
|
+
_a = __expectNonNull;
|
|
8664
|
+
_b = __expectObject;
|
|
8665
|
+
return [4, parseBody(output.body, context)];
|
|
8666
|
+
case 1:
|
|
8667
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
8668
|
+
if (data.DownlinkQueueMessagesList !== undefined && data.DownlinkQueueMessagesList !== null) {
|
|
8669
|
+
contents.DownlinkQueueMessagesList = deserializeAws_restJson1DownlinkQueueMessagesList(data.DownlinkQueueMessagesList, context);
|
|
8670
|
+
}
|
|
8671
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
8672
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
8673
|
+
}
|
|
8674
|
+
return [2, Promise.resolve(contents)];
|
|
8675
|
+
}
|
|
8676
|
+
});
|
|
8677
|
+
}); };
|
|
8678
|
+
var deserializeAws_restJson1ListQueuedMessagesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8679
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
8680
|
+
var _h;
|
|
8681
|
+
return __generator(this, function (_j) {
|
|
8682
|
+
switch (_j.label) {
|
|
8683
|
+
case 0:
|
|
8684
|
+
_a = [__assign({}, output)];
|
|
8685
|
+
_h = {};
|
|
8686
|
+
return [4, parseBody(output.body, context)];
|
|
8687
|
+
case 1:
|
|
8688
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
8689
|
+
errorCode = "UnknownError";
|
|
8690
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8691
|
+
_b = errorCode;
|
|
8692
|
+
switch (_b) {
|
|
8693
|
+
case "AccessDeniedException": return [3, 2];
|
|
8694
|
+
case "com.amazonaws.iotwireless#AccessDeniedException": return [3, 2];
|
|
8695
|
+
case "InternalServerException": return [3, 4];
|
|
8696
|
+
case "com.amazonaws.iotwireless#InternalServerException": return [3, 4];
|
|
8697
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
8698
|
+
case "com.amazonaws.iotwireless#ResourceNotFoundException": return [3, 6];
|
|
8699
|
+
case "ThrottlingException": return [3, 8];
|
|
8700
|
+
case "com.amazonaws.iotwireless#ThrottlingException": return [3, 8];
|
|
8701
|
+
case "ValidationException": return [3, 10];
|
|
8702
|
+
case "com.amazonaws.iotwireless#ValidationException": return [3, 10];
|
|
8703
|
+
}
|
|
8704
|
+
return [3, 12];
|
|
8705
|
+
case 2:
|
|
8706
|
+
_c = [{}];
|
|
8707
|
+
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
8708
|
+
case 3:
|
|
8709
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8710
|
+
return [3, 13];
|
|
8711
|
+
case 4:
|
|
8712
|
+
_d = [{}];
|
|
8713
|
+
return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
8714
|
+
case 5:
|
|
8715
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8716
|
+
return [3, 13];
|
|
8717
|
+
case 6:
|
|
8718
|
+
_e = [{}];
|
|
8719
|
+
return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
8720
|
+
case 7:
|
|
8721
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8722
|
+
return [3, 13];
|
|
8723
|
+
case 8:
|
|
8724
|
+
_f = [{}];
|
|
8725
|
+
return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
8726
|
+
case 9:
|
|
8727
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8728
|
+
return [3, 13];
|
|
8729
|
+
case 10:
|
|
8730
|
+
_g = [{}];
|
|
8731
|
+
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
8732
|
+
case 11:
|
|
8733
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
8734
|
+
return [3, 13];
|
|
8735
|
+
case 12:
|
|
8736
|
+
parsedBody = parsedOutput.body;
|
|
8737
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
8738
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
8739
|
+
_j.label = 13;
|
|
8740
|
+
case 13:
|
|
8741
|
+
message = response.message || response.Message || errorCode;
|
|
8742
|
+
response.message = message;
|
|
8743
|
+
delete response.Message;
|
|
8744
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
8745
|
+
}
|
|
8746
|
+
});
|
|
8747
|
+
}); };
|
|
8496
8748
|
export var deserializeAws_restJson1ListServiceProfilesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8497
8749
|
var contents, data, _a, _b;
|
|
8498
8750
|
return __generator(this, function (_c) {
|
|
@@ -11351,6 +11603,26 @@ var deserializeAws_restJson1DeviceRegistrationStateEventConfiguration = function
|
|
|
11351
11603
|
: undefined,
|
|
11352
11604
|
};
|
|
11353
11605
|
};
|
|
11606
|
+
var deserializeAws_restJson1DownlinkQueueMessage = function (output, context) {
|
|
11607
|
+
return {
|
|
11608
|
+
LoRaWAN: output.LoRaWAN !== undefined && output.LoRaWAN !== null
|
|
11609
|
+
? deserializeAws_restJson1LoRaWANSendDataToDevice(output.LoRaWAN, context)
|
|
11610
|
+
: undefined,
|
|
11611
|
+
MessageId: __expectString(output.MessageId),
|
|
11612
|
+
ReceivedAt: __expectString(output.ReceivedAt),
|
|
11613
|
+
TransmitMode: __expectInt32(output.TransmitMode),
|
|
11614
|
+
};
|
|
11615
|
+
};
|
|
11616
|
+
var deserializeAws_restJson1DownlinkQueueMessagesList = function (output, context) {
|
|
11617
|
+
return (output || [])
|
|
11618
|
+
.filter(function (e) { return e != null; })
|
|
11619
|
+
.map(function (entry) {
|
|
11620
|
+
if (entry === null) {
|
|
11621
|
+
return null;
|
|
11622
|
+
}
|
|
11623
|
+
return deserializeAws_restJson1DownlinkQueueMessage(entry, context);
|
|
11624
|
+
});
|
|
11625
|
+
};
|
|
11354
11626
|
var deserializeAws_restJson1FactoryPresetFreqsList = function (output, context) {
|
|
11355
11627
|
return (output || [])
|
|
11356
11628
|
.filter(function (e) { return e != null; })
|
|
@@ -11564,6 +11836,11 @@ var deserializeAws_restJson1LoRaWANMulticastSession = function (output, context)
|
|
|
11564
11836
|
SessionTimeout: __expectInt32(output.SessionTimeout),
|
|
11565
11837
|
};
|
|
11566
11838
|
};
|
|
11839
|
+
var deserializeAws_restJson1LoRaWANSendDataToDevice = function (output, context) {
|
|
11840
|
+
return {
|
|
11841
|
+
FPort: __expectInt32(output.FPort),
|
|
11842
|
+
};
|
|
11843
|
+
};
|
|
11567
11844
|
var deserializeAws_restJson1LoRaWANUpdateGatewayTaskCreate = function (output, context) {
|
|
11568
11845
|
return {
|
|
11569
11846
|
CurrentVersion: output.CurrentVersion !== undefined && output.CurrentVersion !== null
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
|
@@ -20,6 +20,7 @@ import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from ".
|
|
|
20
20
|
import { DeleteDeviceProfileCommandInput, DeleteDeviceProfileCommandOutput } from "./commands/DeleteDeviceProfileCommand";
|
|
21
21
|
import { DeleteFuotaTaskCommandInput, DeleteFuotaTaskCommandOutput } from "./commands/DeleteFuotaTaskCommand";
|
|
22
22
|
import { DeleteMulticastGroupCommandInput, DeleteMulticastGroupCommandOutput } from "./commands/DeleteMulticastGroupCommand";
|
|
23
|
+
import { DeleteQueuedMessagesCommandInput, DeleteQueuedMessagesCommandOutput } from "./commands/DeleteQueuedMessagesCommand";
|
|
23
24
|
import { DeleteServiceProfileCommandInput, DeleteServiceProfileCommandOutput } from "./commands/DeleteServiceProfileCommand";
|
|
24
25
|
import { DeleteWirelessDeviceCommandInput, DeleteWirelessDeviceCommandOutput } from "./commands/DeleteWirelessDeviceCommand";
|
|
25
26
|
import { DeleteWirelessGatewayCommandInput, DeleteWirelessGatewayCommandOutput } from "./commands/DeleteWirelessGatewayCommand";
|
|
@@ -58,6 +59,7 @@ import { ListFuotaTasksCommandInput, ListFuotaTasksCommandOutput } from "./comma
|
|
|
58
59
|
import { ListMulticastGroupsByFuotaTaskCommandInput, ListMulticastGroupsByFuotaTaskCommandOutput } from "./commands/ListMulticastGroupsByFuotaTaskCommand";
|
|
59
60
|
import { ListMulticastGroupsCommandInput, ListMulticastGroupsCommandOutput } from "./commands/ListMulticastGroupsCommand";
|
|
60
61
|
import { ListPartnerAccountsCommandInput, ListPartnerAccountsCommandOutput } from "./commands/ListPartnerAccountsCommand";
|
|
62
|
+
import { ListQueuedMessagesCommandInput, ListQueuedMessagesCommandOutput } from "./commands/ListQueuedMessagesCommand";
|
|
61
63
|
import { ListServiceProfilesCommandInput, ListServiceProfilesCommandOutput } from "./commands/ListServiceProfilesCommand";
|
|
62
64
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
63
65
|
import { ListWirelessDevicesCommandInput, ListWirelessDevicesCommandOutput } from "./commands/ListWirelessDevicesCommand";
|
|
@@ -86,7 +88,17 @@ import { UpdateWirelessDeviceCommandInput, UpdateWirelessDeviceCommandOutput } f
|
|
|
86
88
|
import { UpdateWirelessGatewayCommandInput, UpdateWirelessGatewayCommandOutput } from "./commands/UpdateWirelessGatewayCommand";
|
|
87
89
|
import { IoTWirelessClient } from "./IoTWirelessClient";
|
|
88
90
|
/**
|
|
89
|
-
* <p>AWS IoT Wireless
|
|
91
|
+
* <p>AWS IoT Wireless provides bi-directional communication between internet-connected wireless
|
|
92
|
+
* devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the
|
|
93
|
+
* IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN)
|
|
94
|
+
* communication protocol to communicate with AWS IoT.</p>
|
|
95
|
+
* <p>Using the API, you can perform create, read, update, and delete operations for your wireless
|
|
96
|
+
* devices, gateways, destinations, and profiles. After onboarding your devices, you
|
|
97
|
+
* can use the API operations to set log levels and monitor your devices with CloudWatch.</p>
|
|
98
|
+
* <p>You can also use the API operations to create multicast groups and schedule a multicast session for
|
|
99
|
+
* sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air
|
|
100
|
+
* (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware
|
|
101
|
+
* of individual devices or an entire group of devices in a multicast group.</p>
|
|
90
102
|
*/
|
|
91
103
|
export declare class IoTWireless extends IoTWirelessClient {
|
|
92
104
|
/**
|
|
@@ -215,6 +227,12 @@ export declare class IoTWireless extends IoTWirelessClient {
|
|
|
215
227
|
deleteMulticastGroup(args: DeleteMulticastGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMulticastGroupCommandOutput>;
|
|
216
228
|
deleteMulticastGroup(args: DeleteMulticastGroupCommandInput, cb: (err: any, data?: DeleteMulticastGroupCommandOutput) => void): void;
|
|
217
229
|
deleteMulticastGroup(args: DeleteMulticastGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMulticastGroupCommandOutput) => void): void;
|
|
230
|
+
/**
|
|
231
|
+
* <p> The operation to delete queued messages. </p>
|
|
232
|
+
*/
|
|
233
|
+
deleteQueuedMessages(args: DeleteQueuedMessagesCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQueuedMessagesCommandOutput>;
|
|
234
|
+
deleteQueuedMessages(args: DeleteQueuedMessagesCommandInput, cb: (err: any, data?: DeleteQueuedMessagesCommandOutput) => void): void;
|
|
235
|
+
deleteQueuedMessages(args: DeleteQueuedMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueuedMessagesCommandOutput) => void): void;
|
|
218
236
|
/**
|
|
219
237
|
* <p>Deletes a service profile.</p>
|
|
220
238
|
*/
|
|
@@ -445,6 +463,12 @@ export declare class IoTWireless extends IoTWirelessClient {
|
|
|
445
463
|
listPartnerAccounts(args: ListPartnerAccountsCommandInput, options?: __HttpHandlerOptions): Promise<ListPartnerAccountsCommandOutput>;
|
|
446
464
|
listPartnerAccounts(args: ListPartnerAccountsCommandInput, cb: (err: any, data?: ListPartnerAccountsCommandOutput) => void): void;
|
|
447
465
|
listPartnerAccounts(args: ListPartnerAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartnerAccountsCommandOutput) => void): void;
|
|
466
|
+
/**
|
|
467
|
+
* <p>The operation to list queued messages. </p>
|
|
468
|
+
*/
|
|
469
|
+
listQueuedMessages(args: ListQueuedMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListQueuedMessagesCommandOutput>;
|
|
470
|
+
listQueuedMessages(args: ListQueuedMessagesCommandInput, cb: (err: any, data?: ListQueuedMessagesCommandOutput) => void): void;
|
|
471
|
+
listQueuedMessages(args: ListQueuedMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListQueuedMessagesCommandOutput) => void): void;
|
|
448
472
|
/**
|
|
449
473
|
* <p>Lists the service profiles registered to your AWS account.</p>
|
|
450
474
|
*/
|
|
@@ -27,6 +27,7 @@ import { DeleteDestinationCommandInput, DeleteDestinationCommandOutput } from ".
|
|
|
27
27
|
import { DeleteDeviceProfileCommandInput, DeleteDeviceProfileCommandOutput } from "./commands/DeleteDeviceProfileCommand";
|
|
28
28
|
import { DeleteFuotaTaskCommandInput, DeleteFuotaTaskCommandOutput } from "./commands/DeleteFuotaTaskCommand";
|
|
29
29
|
import { DeleteMulticastGroupCommandInput, DeleteMulticastGroupCommandOutput } from "./commands/DeleteMulticastGroupCommand";
|
|
30
|
+
import { DeleteQueuedMessagesCommandInput, DeleteQueuedMessagesCommandOutput } from "./commands/DeleteQueuedMessagesCommand";
|
|
30
31
|
import { DeleteServiceProfileCommandInput, DeleteServiceProfileCommandOutput } from "./commands/DeleteServiceProfileCommand";
|
|
31
32
|
import { DeleteWirelessDeviceCommandInput, DeleteWirelessDeviceCommandOutput } from "./commands/DeleteWirelessDeviceCommand";
|
|
32
33
|
import { DeleteWirelessGatewayCommandInput, DeleteWirelessGatewayCommandOutput } from "./commands/DeleteWirelessGatewayCommand";
|
|
@@ -65,6 +66,7 @@ import { ListFuotaTasksCommandInput, ListFuotaTasksCommandOutput } from "./comma
|
|
|
65
66
|
import { ListMulticastGroupsByFuotaTaskCommandInput, ListMulticastGroupsByFuotaTaskCommandOutput } from "./commands/ListMulticastGroupsByFuotaTaskCommand";
|
|
66
67
|
import { ListMulticastGroupsCommandInput, ListMulticastGroupsCommandOutput } from "./commands/ListMulticastGroupsCommand";
|
|
67
68
|
import { ListPartnerAccountsCommandInput, ListPartnerAccountsCommandOutput } from "./commands/ListPartnerAccountsCommand";
|
|
69
|
+
import { ListQueuedMessagesCommandInput, ListQueuedMessagesCommandOutput } from "./commands/ListQueuedMessagesCommand";
|
|
68
70
|
import { ListServiceProfilesCommandInput, ListServiceProfilesCommandOutput } from "./commands/ListServiceProfilesCommand";
|
|
69
71
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
70
72
|
import { ListWirelessDevicesCommandInput, ListWirelessDevicesCommandOutput } from "./commands/ListWirelessDevicesCommand";
|
|
@@ -91,8 +93,8 @@ import { UpdatePartnerAccountCommandInput, UpdatePartnerAccountCommandOutput } f
|
|
|
91
93
|
import { UpdateResourceEventConfigurationCommandInput, UpdateResourceEventConfigurationCommandOutput } from "./commands/UpdateResourceEventConfigurationCommand";
|
|
92
94
|
import { UpdateWirelessDeviceCommandInput, UpdateWirelessDeviceCommandOutput } from "./commands/UpdateWirelessDeviceCommand";
|
|
93
95
|
import { UpdateWirelessGatewayCommandInput, UpdateWirelessGatewayCommandOutput } from "./commands/UpdateWirelessGatewayCommand";
|
|
94
|
-
export declare type ServiceInputTypes = AssociateAwsAccountWithPartnerAccountCommandInput | AssociateMulticastGroupWithFuotaTaskCommandInput | AssociateWirelessDeviceWithFuotaTaskCommandInput | AssociateWirelessDeviceWithMulticastGroupCommandInput | AssociateWirelessDeviceWithThingCommandInput | AssociateWirelessGatewayWithCertificateCommandInput | AssociateWirelessGatewayWithThingCommandInput | CancelMulticastGroupSessionCommandInput | CreateDestinationCommandInput | CreateDeviceProfileCommandInput | CreateFuotaTaskCommandInput | CreateMulticastGroupCommandInput | CreateServiceProfileCommandInput | CreateWirelessDeviceCommandInput | CreateWirelessGatewayCommandInput | CreateWirelessGatewayTaskCommandInput | CreateWirelessGatewayTaskDefinitionCommandInput | DeleteDestinationCommandInput | DeleteDeviceProfileCommandInput | DeleteFuotaTaskCommandInput | DeleteMulticastGroupCommandInput | DeleteServiceProfileCommandInput | DeleteWirelessDeviceCommandInput | DeleteWirelessGatewayCommandInput | DeleteWirelessGatewayTaskCommandInput | DeleteWirelessGatewayTaskDefinitionCommandInput | DisassociateAwsAccountFromPartnerAccountCommandInput | DisassociateMulticastGroupFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromMulticastGroupCommandInput | DisassociateWirelessDeviceFromThingCommandInput | DisassociateWirelessGatewayFromCertificateCommandInput | DisassociateWirelessGatewayFromThingCommandInput | GetDestinationCommandInput | GetDeviceProfileCommandInput | GetFuotaTaskCommandInput | GetLogLevelsByResourceTypesCommandInput | GetMulticastGroupCommandInput | GetMulticastGroupSessionCommandInput | GetNetworkAnalyzerConfigurationCommandInput | GetPartnerAccountCommandInput | GetResourceEventConfigurationCommandInput | GetResourceLogLevelCommandInput | GetServiceEndpointCommandInput | GetServiceProfileCommandInput | GetWirelessDeviceCommandInput | GetWirelessDeviceStatisticsCommandInput | GetWirelessGatewayCertificateCommandInput | GetWirelessGatewayCommandInput | GetWirelessGatewayFirmwareInformationCommandInput | GetWirelessGatewayStatisticsCommandInput | GetWirelessGatewayTaskCommandInput | GetWirelessGatewayTaskDefinitionCommandInput | ListDestinationsCommandInput | ListDeviceProfilesCommandInput | ListFuotaTasksCommandInput | ListMulticastGroupsByFuotaTaskCommandInput | ListMulticastGroupsCommandInput | ListPartnerAccountsCommandInput | ListServiceProfilesCommandInput | ListTagsForResourceCommandInput | ListWirelessDevicesCommandInput | ListWirelessGatewayTaskDefinitionsCommandInput | ListWirelessGatewaysCommandInput | PutResourceLogLevelCommandInput | ResetAllResourceLogLevelsCommandInput | ResetResourceLogLevelCommandInput | SendDataToMulticastGroupCommandInput | SendDataToWirelessDeviceCommandInput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandInput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandInput | StartFuotaTaskCommandInput | StartMulticastGroupSessionCommandInput | TagResourceCommandInput | TestWirelessDeviceCommandInput | UntagResourceCommandInput | UpdateDestinationCommandInput | UpdateFuotaTaskCommandInput | UpdateLogLevelsByResourceTypesCommandInput | UpdateMulticastGroupCommandInput | UpdateNetworkAnalyzerConfigurationCommandInput | UpdatePartnerAccountCommandInput | UpdateResourceEventConfigurationCommandInput | UpdateWirelessDeviceCommandInput | UpdateWirelessGatewayCommandInput;
|
|
95
|
-
export declare type ServiceOutputTypes = AssociateAwsAccountWithPartnerAccountCommandOutput | AssociateMulticastGroupWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithMulticastGroupCommandOutput | AssociateWirelessDeviceWithThingCommandOutput | AssociateWirelessGatewayWithCertificateCommandOutput | AssociateWirelessGatewayWithThingCommandOutput | CancelMulticastGroupSessionCommandOutput | CreateDestinationCommandOutput | CreateDeviceProfileCommandOutput | CreateFuotaTaskCommandOutput | CreateMulticastGroupCommandOutput | CreateServiceProfileCommandOutput | CreateWirelessDeviceCommandOutput | CreateWirelessGatewayCommandOutput | CreateWirelessGatewayTaskCommandOutput | CreateWirelessGatewayTaskDefinitionCommandOutput | DeleteDestinationCommandOutput | DeleteDeviceProfileCommandOutput | DeleteFuotaTaskCommandOutput | DeleteMulticastGroupCommandOutput | DeleteServiceProfileCommandOutput | DeleteWirelessDeviceCommandOutput | DeleteWirelessGatewayCommandOutput | DeleteWirelessGatewayTaskCommandOutput | DeleteWirelessGatewayTaskDefinitionCommandOutput | DisassociateAwsAccountFromPartnerAccountCommandOutput | DisassociateMulticastGroupFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromMulticastGroupCommandOutput | DisassociateWirelessDeviceFromThingCommandOutput | DisassociateWirelessGatewayFromCertificateCommandOutput | DisassociateWirelessGatewayFromThingCommandOutput | GetDestinationCommandOutput | GetDeviceProfileCommandOutput | GetFuotaTaskCommandOutput | GetLogLevelsByResourceTypesCommandOutput | GetMulticastGroupCommandOutput | GetMulticastGroupSessionCommandOutput | GetNetworkAnalyzerConfigurationCommandOutput | GetPartnerAccountCommandOutput | GetResourceEventConfigurationCommandOutput | GetResourceLogLevelCommandOutput | GetServiceEndpointCommandOutput | GetServiceProfileCommandOutput | GetWirelessDeviceCommandOutput | GetWirelessDeviceStatisticsCommandOutput | GetWirelessGatewayCertificateCommandOutput | GetWirelessGatewayCommandOutput | GetWirelessGatewayFirmwareInformationCommandOutput | GetWirelessGatewayStatisticsCommandOutput | GetWirelessGatewayTaskCommandOutput | GetWirelessGatewayTaskDefinitionCommandOutput | ListDestinationsCommandOutput | ListDeviceProfilesCommandOutput | ListFuotaTasksCommandOutput | ListMulticastGroupsByFuotaTaskCommandOutput | ListMulticastGroupsCommandOutput | ListPartnerAccountsCommandOutput | ListServiceProfilesCommandOutput | ListTagsForResourceCommandOutput | ListWirelessDevicesCommandOutput | ListWirelessGatewayTaskDefinitionsCommandOutput | ListWirelessGatewaysCommandOutput | PutResourceLogLevelCommandOutput | ResetAllResourceLogLevelsCommandOutput | ResetResourceLogLevelCommandOutput | SendDataToMulticastGroupCommandOutput | SendDataToWirelessDeviceCommandOutput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandOutput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandOutput | StartFuotaTaskCommandOutput | StartMulticastGroupSessionCommandOutput | TagResourceCommandOutput | TestWirelessDeviceCommandOutput | UntagResourceCommandOutput | UpdateDestinationCommandOutput | UpdateFuotaTaskCommandOutput | UpdateLogLevelsByResourceTypesCommandOutput | UpdateMulticastGroupCommandOutput | UpdateNetworkAnalyzerConfigurationCommandOutput | UpdatePartnerAccountCommandOutput | UpdateResourceEventConfigurationCommandOutput | UpdateWirelessDeviceCommandOutput | UpdateWirelessGatewayCommandOutput;
|
|
96
|
+
export declare type ServiceInputTypes = AssociateAwsAccountWithPartnerAccountCommandInput | AssociateMulticastGroupWithFuotaTaskCommandInput | AssociateWirelessDeviceWithFuotaTaskCommandInput | AssociateWirelessDeviceWithMulticastGroupCommandInput | AssociateWirelessDeviceWithThingCommandInput | AssociateWirelessGatewayWithCertificateCommandInput | AssociateWirelessGatewayWithThingCommandInput | CancelMulticastGroupSessionCommandInput | CreateDestinationCommandInput | CreateDeviceProfileCommandInput | CreateFuotaTaskCommandInput | CreateMulticastGroupCommandInput | CreateServiceProfileCommandInput | CreateWirelessDeviceCommandInput | CreateWirelessGatewayCommandInput | CreateWirelessGatewayTaskCommandInput | CreateWirelessGatewayTaskDefinitionCommandInput | DeleteDestinationCommandInput | DeleteDeviceProfileCommandInput | DeleteFuotaTaskCommandInput | DeleteMulticastGroupCommandInput | DeleteQueuedMessagesCommandInput | DeleteServiceProfileCommandInput | DeleteWirelessDeviceCommandInput | DeleteWirelessGatewayCommandInput | DeleteWirelessGatewayTaskCommandInput | DeleteWirelessGatewayTaskDefinitionCommandInput | DisassociateAwsAccountFromPartnerAccountCommandInput | DisassociateMulticastGroupFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromFuotaTaskCommandInput | DisassociateWirelessDeviceFromMulticastGroupCommandInput | DisassociateWirelessDeviceFromThingCommandInput | DisassociateWirelessGatewayFromCertificateCommandInput | DisassociateWirelessGatewayFromThingCommandInput | GetDestinationCommandInput | GetDeviceProfileCommandInput | GetFuotaTaskCommandInput | GetLogLevelsByResourceTypesCommandInput | GetMulticastGroupCommandInput | GetMulticastGroupSessionCommandInput | GetNetworkAnalyzerConfigurationCommandInput | GetPartnerAccountCommandInput | GetResourceEventConfigurationCommandInput | GetResourceLogLevelCommandInput | GetServiceEndpointCommandInput | GetServiceProfileCommandInput | GetWirelessDeviceCommandInput | GetWirelessDeviceStatisticsCommandInput | GetWirelessGatewayCertificateCommandInput | GetWirelessGatewayCommandInput | GetWirelessGatewayFirmwareInformationCommandInput | GetWirelessGatewayStatisticsCommandInput | GetWirelessGatewayTaskCommandInput | GetWirelessGatewayTaskDefinitionCommandInput | ListDestinationsCommandInput | ListDeviceProfilesCommandInput | ListFuotaTasksCommandInput | ListMulticastGroupsByFuotaTaskCommandInput | ListMulticastGroupsCommandInput | ListPartnerAccountsCommandInput | ListQueuedMessagesCommandInput | ListServiceProfilesCommandInput | ListTagsForResourceCommandInput | ListWirelessDevicesCommandInput | ListWirelessGatewayTaskDefinitionsCommandInput | ListWirelessGatewaysCommandInput | PutResourceLogLevelCommandInput | ResetAllResourceLogLevelsCommandInput | ResetResourceLogLevelCommandInput | SendDataToMulticastGroupCommandInput | SendDataToWirelessDeviceCommandInput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandInput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandInput | StartFuotaTaskCommandInput | StartMulticastGroupSessionCommandInput | TagResourceCommandInput | TestWirelessDeviceCommandInput | UntagResourceCommandInput | UpdateDestinationCommandInput | UpdateFuotaTaskCommandInput | UpdateLogLevelsByResourceTypesCommandInput | UpdateMulticastGroupCommandInput | UpdateNetworkAnalyzerConfigurationCommandInput | UpdatePartnerAccountCommandInput | UpdateResourceEventConfigurationCommandInput | UpdateWirelessDeviceCommandInput | UpdateWirelessGatewayCommandInput;
|
|
97
|
+
export declare type ServiceOutputTypes = AssociateAwsAccountWithPartnerAccountCommandOutput | AssociateMulticastGroupWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithFuotaTaskCommandOutput | AssociateWirelessDeviceWithMulticastGroupCommandOutput | AssociateWirelessDeviceWithThingCommandOutput | AssociateWirelessGatewayWithCertificateCommandOutput | AssociateWirelessGatewayWithThingCommandOutput | CancelMulticastGroupSessionCommandOutput | CreateDestinationCommandOutput | CreateDeviceProfileCommandOutput | CreateFuotaTaskCommandOutput | CreateMulticastGroupCommandOutput | CreateServiceProfileCommandOutput | CreateWirelessDeviceCommandOutput | CreateWirelessGatewayCommandOutput | CreateWirelessGatewayTaskCommandOutput | CreateWirelessGatewayTaskDefinitionCommandOutput | DeleteDestinationCommandOutput | DeleteDeviceProfileCommandOutput | DeleteFuotaTaskCommandOutput | DeleteMulticastGroupCommandOutput | DeleteQueuedMessagesCommandOutput | DeleteServiceProfileCommandOutput | DeleteWirelessDeviceCommandOutput | DeleteWirelessGatewayCommandOutput | DeleteWirelessGatewayTaskCommandOutput | DeleteWirelessGatewayTaskDefinitionCommandOutput | DisassociateAwsAccountFromPartnerAccountCommandOutput | DisassociateMulticastGroupFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromFuotaTaskCommandOutput | DisassociateWirelessDeviceFromMulticastGroupCommandOutput | DisassociateWirelessDeviceFromThingCommandOutput | DisassociateWirelessGatewayFromCertificateCommandOutput | DisassociateWirelessGatewayFromThingCommandOutput | GetDestinationCommandOutput | GetDeviceProfileCommandOutput | GetFuotaTaskCommandOutput | GetLogLevelsByResourceTypesCommandOutput | GetMulticastGroupCommandOutput | GetMulticastGroupSessionCommandOutput | GetNetworkAnalyzerConfigurationCommandOutput | GetPartnerAccountCommandOutput | GetResourceEventConfigurationCommandOutput | GetResourceLogLevelCommandOutput | GetServiceEndpointCommandOutput | GetServiceProfileCommandOutput | GetWirelessDeviceCommandOutput | GetWirelessDeviceStatisticsCommandOutput | GetWirelessGatewayCertificateCommandOutput | GetWirelessGatewayCommandOutput | GetWirelessGatewayFirmwareInformationCommandOutput | GetWirelessGatewayStatisticsCommandOutput | GetWirelessGatewayTaskCommandOutput | GetWirelessGatewayTaskDefinitionCommandOutput | ListDestinationsCommandOutput | ListDeviceProfilesCommandOutput | ListFuotaTasksCommandOutput | ListMulticastGroupsByFuotaTaskCommandOutput | ListMulticastGroupsCommandOutput | ListPartnerAccountsCommandOutput | ListQueuedMessagesCommandOutput | ListServiceProfilesCommandOutput | ListTagsForResourceCommandOutput | ListWirelessDevicesCommandOutput | ListWirelessGatewayTaskDefinitionsCommandOutput | ListWirelessGatewaysCommandOutput | PutResourceLogLevelCommandOutput | ResetAllResourceLogLevelsCommandOutput | ResetResourceLogLevelCommandOutput | SendDataToMulticastGroupCommandOutput | SendDataToWirelessDeviceCommandOutput | StartBulkAssociateWirelessDeviceWithMulticastGroupCommandOutput | StartBulkDisassociateWirelessDeviceFromMulticastGroupCommandOutput | StartFuotaTaskCommandOutput | StartMulticastGroupSessionCommandOutput | TagResourceCommandOutput | TestWirelessDeviceCommandOutput | UntagResourceCommandOutput | UpdateDestinationCommandOutput | UpdateFuotaTaskCommandOutput | UpdateLogLevelsByResourceTypesCommandOutput | UpdateMulticastGroupCommandOutput | UpdateNetworkAnalyzerConfigurationCommandOutput | UpdatePartnerAccountCommandOutput | UpdateResourceEventConfigurationCommandOutput | UpdateWirelessDeviceCommandOutput | UpdateWirelessGatewayCommandOutput;
|
|
96
98
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
97
99
|
/**
|
|
98
100
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -207,7 +209,17 @@ declare type IoTWirelessClientResolvedConfigType = __SmithyResolvedConfiguration
|
|
|
207
209
|
export interface IoTWirelessClientResolvedConfig extends IoTWirelessClientResolvedConfigType {
|
|
208
210
|
}
|
|
209
211
|
/**
|
|
210
|
-
* <p>AWS IoT Wireless
|
|
212
|
+
* <p>AWS IoT Wireless provides bi-directional communication between internet-connected wireless
|
|
213
|
+
* devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the
|
|
214
|
+
* IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN)
|
|
215
|
+
* communication protocol to communicate with AWS IoT.</p>
|
|
216
|
+
* <p>Using the API, you can perform create, read, update, and delete operations for your wireless
|
|
217
|
+
* devices, gateways, destinations, and profiles. After onboarding your devices, you
|
|
218
|
+
* can use the API operations to set log levels and monitor your devices with CloudWatch.</p>
|
|
219
|
+
* <p>You can also use the API operations to create multicast groups and schedule a multicast session for
|
|
220
|
+
* sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air
|
|
221
|
+
* (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware
|
|
222
|
+
* of individual devices or an entire group of devices in a multicast group.</p>
|
|
211
223
|
*/
|
|
212
224
|
export declare class IoTWirelessClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IoTWirelessClientResolvedConfig> {
|
|
213
225
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
+
import { DeleteQueuedMessagesRequest, DeleteQueuedMessagesResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteQueuedMessagesCommandInput extends DeleteQueuedMessagesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteQueuedMessagesCommandOutput extends DeleteQueuedMessagesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p> The operation to delete queued messages. </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IoTWirelessClient, DeleteQueuedMessagesCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
|
|
15
|
+
* // const { IoTWirelessClient, DeleteQueuedMessagesCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
|
|
16
|
+
* const client = new IoTWirelessClient(config);
|
|
17
|
+
* const command = new DeleteQueuedMessagesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeleteQueuedMessagesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeleteQueuedMessagesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeleteQueuedMessagesCommand extends $Command<DeleteQueuedMessagesCommandInput, DeleteQueuedMessagesCommandOutput, IoTWirelessClientResolvedConfig> {
|
|
27
|
+
readonly input: DeleteQueuedMessagesCommandInput;
|
|
28
|
+
constructor(input: DeleteQueuedMessagesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTWirelessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteQueuedMessagesCommandInput, DeleteQueuedMessagesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient";
|
|
4
|
+
import { ListQueuedMessagesRequest, ListQueuedMessagesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListQueuedMessagesCommandInput extends ListQueuedMessagesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListQueuedMessagesCommandOutput extends ListQueuedMessagesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>The operation to list queued messages. </p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { IoTWirelessClient, ListQueuedMessagesCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import
|
|
15
|
+
* // const { IoTWirelessClient, ListQueuedMessagesCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import
|
|
16
|
+
* const client = new IoTWirelessClient(config);
|
|
17
|
+
* const command = new ListQueuedMessagesCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListQueuedMessagesCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListQueuedMessagesCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListQueuedMessagesCommand extends $Command<ListQueuedMessagesCommandInput, ListQueuedMessagesCommandOutput, IoTWirelessClientResolvedConfig> {
|
|
27
|
+
readonly input: ListQueuedMessagesCommandInput;
|
|
28
|
+
constructor(input: ListQueuedMessagesCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTWirelessClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListQueuedMessagesCommandInput, ListQueuedMessagesCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./DeleteDestinationCommand";
|
|
|
19
19
|
export * from "./DeleteDeviceProfileCommand";
|
|
20
20
|
export * from "./DeleteFuotaTaskCommand";
|
|
21
21
|
export * from "./DeleteMulticastGroupCommand";
|
|
22
|
+
export * from "./DeleteQueuedMessagesCommand";
|
|
22
23
|
export * from "./DeleteServiceProfileCommand";
|
|
23
24
|
export * from "./DeleteWirelessDeviceCommand";
|
|
24
25
|
export * from "./DeleteWirelessGatewayCommand";
|
|
@@ -57,6 +58,7 @@ export * from "./ListFuotaTasksCommand";
|
|
|
57
58
|
export * from "./ListMulticastGroupsByFuotaTaskCommand";
|
|
58
59
|
export * from "./ListMulticastGroupsCommand";
|
|
59
60
|
export * from "./ListPartnerAccountsCommand";
|
|
61
|
+
export * from "./ListQueuedMessagesCommand";
|
|
60
62
|
export * from "./ListServiceProfilesCommand";
|
|
61
63
|
export * from "./ListTagsForResourceCommand";
|
|
62
64
|
export * from "./ListWirelessDevicesCommand";
|