@aws-sdk/client-iot-data-plane 3.55.0 → 3.60.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 +27 -0
- package/dist-cjs/endpoints.js +18 -80
- package/dist-es/endpoints.js +18 -80
- package/dist-types/IoTDataPlane.d.ts +3 -3
- package/dist-types/commands/GetRetainedMessageCommand.d.ts +1 -1
- package/dist-types/commands/ListRetainedMessagesCommand.d.ts +1 -1
- package/dist-types/commands/PublishCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.60.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.59.0...v3.60.0) (2022-03-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-iot-data-plane:** Update the default AWS IoT Core Data Plane endpoint from VeriSign signed to ATS signed. If you have firewalls with strict egress rules, configure the rules to grant you access to data-ats.iot.[region].amazonaws.com or data-ats.iot.[region].amazonaws.com.cn. ([3c918da](https://github.com/aws/aws-sdk-js-v3/commit/3c918dac69e4ff6ed2fe9c102c6bc66def395411))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-data-plane
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-data-plane
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-iot-data-plane
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -2,64 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
"ca-central-1": {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "data.iot-fips.ca-central-1.amazonaws.com",
|
|
10
|
-
tags: ["fips"],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
"us-east-1": {
|
|
15
|
-
variants: [
|
|
16
|
-
{
|
|
17
|
-
hostname: "data.iot-fips.us-east-1.amazonaws.com",
|
|
18
|
-
tags: ["fips"],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
"us-east-2": {
|
|
23
|
-
variants: [
|
|
24
|
-
{
|
|
25
|
-
hostname: "data.iot-fips.us-east-2.amazonaws.com",
|
|
26
|
-
tags: ["fips"],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
"us-gov-east-1": {
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "data.iot-fips.us-gov-east-1.amazonaws.com",
|
|
34
|
-
tags: ["fips"],
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
"us-gov-west-1": {
|
|
39
|
-
variants: [
|
|
40
|
-
{
|
|
41
|
-
hostname: "data.iot-fips.us-gov-west-1.amazonaws.com",
|
|
42
|
-
tags: ["fips"],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
"us-west-1": {
|
|
47
|
-
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "data.iot-fips.us-west-1.amazonaws.com",
|
|
50
|
-
tags: ["fips"],
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
"us-west-2": {
|
|
55
|
-
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "data.iot-fips.us-west-2.amazonaws.com",
|
|
58
|
-
tags: ["fips"],
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
},
|
|
62
|
-
};
|
|
5
|
+
const regionHash = {};
|
|
63
6
|
const partitionHash = {
|
|
64
7
|
aws: {
|
|
65
8
|
regions: [
|
|
@@ -79,11 +22,6 @@ const partitionHash = {
|
|
|
79
22
|
"eu-west-1",
|
|
80
23
|
"eu-west-2",
|
|
81
24
|
"eu-west-3",
|
|
82
|
-
"fips-ca-central-1",
|
|
83
|
-
"fips-us-east-1",
|
|
84
|
-
"fips-us-east-2",
|
|
85
|
-
"fips-us-west-1",
|
|
86
|
-
"fips-us-west-2",
|
|
87
25
|
"me-south-1",
|
|
88
26
|
"sa-east-1",
|
|
89
27
|
"us-east-1",
|
|
@@ -94,19 +32,19 @@ const partitionHash = {
|
|
|
94
32
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
95
33
|
variants: [
|
|
96
34
|
{
|
|
97
|
-
hostname: "data.iot.{region}.amazonaws.com",
|
|
35
|
+
hostname: "data-ats.iot.{region}.amazonaws.com",
|
|
98
36
|
tags: [],
|
|
99
37
|
},
|
|
100
38
|
{
|
|
101
|
-
hostname: "data.iot-fips.{region}.amazonaws.com",
|
|
39
|
+
hostname: "data-ats.iot-fips.{region}.amazonaws.com",
|
|
102
40
|
tags: ["fips"],
|
|
103
41
|
},
|
|
104
42
|
{
|
|
105
|
-
hostname: "data.iot-fips.{region}.api.aws",
|
|
43
|
+
hostname: "data-ats.iot-fips.{region}.api.aws",
|
|
106
44
|
tags: ["dualstack", "fips"],
|
|
107
45
|
},
|
|
108
46
|
{
|
|
109
|
-
hostname: "data.iot.{region}.api.aws",
|
|
47
|
+
hostname: "data-ats.iot.{region}.api.aws",
|
|
110
48
|
tags: ["dualstack"],
|
|
111
49
|
},
|
|
112
50
|
],
|
|
@@ -116,19 +54,19 @@ const partitionHash = {
|
|
|
116
54
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
117
55
|
variants: [
|
|
118
56
|
{
|
|
119
|
-
hostname: "data.iot.{region}.amazonaws.com.cn",
|
|
57
|
+
hostname: "data-ats.iot.{region}.amazonaws.com.cn",
|
|
120
58
|
tags: [],
|
|
121
59
|
},
|
|
122
60
|
{
|
|
123
|
-
hostname: "data.iot-fips.{region}.amazonaws.com.cn",
|
|
61
|
+
hostname: "data-ats.iot-fips.{region}.amazonaws.com.cn",
|
|
124
62
|
tags: ["fips"],
|
|
125
63
|
},
|
|
126
64
|
{
|
|
127
|
-
hostname: "data.iot-fips.{region}.api.amazonwebservices.com.cn",
|
|
65
|
+
hostname: "data-ats.iot-fips.{region}.api.amazonwebservices.com.cn",
|
|
128
66
|
tags: ["dualstack", "fips"],
|
|
129
67
|
},
|
|
130
68
|
{
|
|
131
|
-
hostname: "data.iot.{region}.api.amazonwebservices.com.cn",
|
|
69
|
+
hostname: "data-ats.iot.{region}.api.amazonwebservices.com.cn",
|
|
132
70
|
tags: ["dualstack"],
|
|
133
71
|
},
|
|
134
72
|
],
|
|
@@ -138,11 +76,11 @@ const partitionHash = {
|
|
|
138
76
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
139
77
|
variants: [
|
|
140
78
|
{
|
|
141
|
-
hostname: "data.iot.{region}.c2s.ic.gov",
|
|
79
|
+
hostname: "data-ats.iot.{region}.c2s.ic.gov",
|
|
142
80
|
tags: [],
|
|
143
81
|
},
|
|
144
82
|
{
|
|
145
|
-
hostname: "data.iot-fips.{region}.c2s.ic.gov",
|
|
83
|
+
hostname: "data-ats.iot-fips.{region}.c2s.ic.gov",
|
|
146
84
|
tags: ["fips"],
|
|
147
85
|
},
|
|
148
86
|
],
|
|
@@ -152,33 +90,33 @@ const partitionHash = {
|
|
|
152
90
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
153
91
|
variants: [
|
|
154
92
|
{
|
|
155
|
-
hostname: "data.iot.{region}.sc2s.sgov.gov",
|
|
93
|
+
hostname: "data-ats.iot.{region}.sc2s.sgov.gov",
|
|
156
94
|
tags: [],
|
|
157
95
|
},
|
|
158
96
|
{
|
|
159
|
-
hostname: "data.iot-fips.{region}.sc2s.sgov.gov",
|
|
97
|
+
hostname: "data-ats.iot-fips.{region}.sc2s.sgov.gov",
|
|
160
98
|
tags: ["fips"],
|
|
161
99
|
},
|
|
162
100
|
],
|
|
163
101
|
},
|
|
164
102
|
"aws-us-gov": {
|
|
165
|
-
regions: ["
|
|
103
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
166
104
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
167
105
|
variants: [
|
|
168
106
|
{
|
|
169
|
-
hostname: "data.iot.{region}.amazonaws.com",
|
|
107
|
+
hostname: "data-ats.iot.{region}.amazonaws.com",
|
|
170
108
|
tags: [],
|
|
171
109
|
},
|
|
172
110
|
{
|
|
173
|
-
hostname: "data.iot-fips.{region}.amazonaws.com",
|
|
111
|
+
hostname: "data-ats.iot-fips.{region}.amazonaws.com",
|
|
174
112
|
tags: ["fips"],
|
|
175
113
|
},
|
|
176
114
|
{
|
|
177
|
-
hostname: "data.iot-fips.{region}.api.aws",
|
|
115
|
+
hostname: "data-ats.iot-fips.{region}.api.aws",
|
|
178
116
|
tags: ["dualstack", "fips"],
|
|
179
117
|
},
|
|
180
118
|
{
|
|
181
|
-
hostname: "data.iot.{region}.api.aws",
|
|
119
|
+
hostname: "data-ats.iot.{region}.api.aws",
|
|
182
120
|
tags: ["dualstack"],
|
|
183
121
|
},
|
|
184
122
|
],
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,63 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
var regionHash = {
|
|
4
|
-
"ca-central-1": {
|
|
5
|
-
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "data.iot-fips.ca-central-1.amazonaws.com",
|
|
8
|
-
tags: ["fips"],
|
|
9
|
-
},
|
|
10
|
-
],
|
|
11
|
-
},
|
|
12
|
-
"us-east-1": {
|
|
13
|
-
variants: [
|
|
14
|
-
{
|
|
15
|
-
hostname: "data.iot-fips.us-east-1.amazonaws.com",
|
|
16
|
-
tags: ["fips"],
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
"us-east-2": {
|
|
21
|
-
variants: [
|
|
22
|
-
{
|
|
23
|
-
hostname: "data.iot-fips.us-east-2.amazonaws.com",
|
|
24
|
-
tags: ["fips"],
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
"us-gov-east-1": {
|
|
29
|
-
variants: [
|
|
30
|
-
{
|
|
31
|
-
hostname: "data.iot-fips.us-gov-east-1.amazonaws.com",
|
|
32
|
-
tags: ["fips"],
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
},
|
|
36
|
-
"us-gov-west-1": {
|
|
37
|
-
variants: [
|
|
38
|
-
{
|
|
39
|
-
hostname: "data.iot-fips.us-gov-west-1.amazonaws.com",
|
|
40
|
-
tags: ["fips"],
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
},
|
|
44
|
-
"us-west-1": {
|
|
45
|
-
variants: [
|
|
46
|
-
{
|
|
47
|
-
hostname: "data.iot-fips.us-west-1.amazonaws.com",
|
|
48
|
-
tags: ["fips"],
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
},
|
|
52
|
-
"us-west-2": {
|
|
53
|
-
variants: [
|
|
54
|
-
{
|
|
55
|
-
hostname: "data.iot-fips.us-west-2.amazonaws.com",
|
|
56
|
-
tags: ["fips"],
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
};
|
|
3
|
+
var regionHash = {};
|
|
61
4
|
var partitionHash = {
|
|
62
5
|
aws: {
|
|
63
6
|
regions: [
|
|
@@ -77,11 +20,6 @@ var partitionHash = {
|
|
|
77
20
|
"eu-west-1",
|
|
78
21
|
"eu-west-2",
|
|
79
22
|
"eu-west-3",
|
|
80
|
-
"fips-ca-central-1",
|
|
81
|
-
"fips-us-east-1",
|
|
82
|
-
"fips-us-east-2",
|
|
83
|
-
"fips-us-west-1",
|
|
84
|
-
"fips-us-west-2",
|
|
85
23
|
"me-south-1",
|
|
86
24
|
"sa-east-1",
|
|
87
25
|
"us-east-1",
|
|
@@ -92,19 +30,19 @@ var partitionHash = {
|
|
|
92
30
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
93
31
|
variants: [
|
|
94
32
|
{
|
|
95
|
-
hostname: "data.iot.{region}.amazonaws.com",
|
|
33
|
+
hostname: "data-ats.iot.{region}.amazonaws.com",
|
|
96
34
|
tags: [],
|
|
97
35
|
},
|
|
98
36
|
{
|
|
99
|
-
hostname: "data.iot-fips.{region}.amazonaws.com",
|
|
37
|
+
hostname: "data-ats.iot-fips.{region}.amazonaws.com",
|
|
100
38
|
tags: ["fips"],
|
|
101
39
|
},
|
|
102
40
|
{
|
|
103
|
-
hostname: "data.iot-fips.{region}.api.aws",
|
|
41
|
+
hostname: "data-ats.iot-fips.{region}.api.aws",
|
|
104
42
|
tags: ["dualstack", "fips"],
|
|
105
43
|
},
|
|
106
44
|
{
|
|
107
|
-
hostname: "data.iot.{region}.api.aws",
|
|
45
|
+
hostname: "data-ats.iot.{region}.api.aws",
|
|
108
46
|
tags: ["dualstack"],
|
|
109
47
|
},
|
|
110
48
|
],
|
|
@@ -114,19 +52,19 @@ var partitionHash = {
|
|
|
114
52
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
115
53
|
variants: [
|
|
116
54
|
{
|
|
117
|
-
hostname: "data.iot.{region}.amazonaws.com.cn",
|
|
55
|
+
hostname: "data-ats.iot.{region}.amazonaws.com.cn",
|
|
118
56
|
tags: [],
|
|
119
57
|
},
|
|
120
58
|
{
|
|
121
|
-
hostname: "data.iot-fips.{region}.amazonaws.com.cn",
|
|
59
|
+
hostname: "data-ats.iot-fips.{region}.amazonaws.com.cn",
|
|
122
60
|
tags: ["fips"],
|
|
123
61
|
},
|
|
124
62
|
{
|
|
125
|
-
hostname: "data.iot-fips.{region}.api.amazonwebservices.com.cn",
|
|
63
|
+
hostname: "data-ats.iot-fips.{region}.api.amazonwebservices.com.cn",
|
|
126
64
|
tags: ["dualstack", "fips"],
|
|
127
65
|
},
|
|
128
66
|
{
|
|
129
|
-
hostname: "data.iot.{region}.api.amazonwebservices.com.cn",
|
|
67
|
+
hostname: "data-ats.iot.{region}.api.amazonwebservices.com.cn",
|
|
130
68
|
tags: ["dualstack"],
|
|
131
69
|
},
|
|
132
70
|
],
|
|
@@ -136,11 +74,11 @@ var partitionHash = {
|
|
|
136
74
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
137
75
|
variants: [
|
|
138
76
|
{
|
|
139
|
-
hostname: "data.iot.{region}.c2s.ic.gov",
|
|
77
|
+
hostname: "data-ats.iot.{region}.c2s.ic.gov",
|
|
140
78
|
tags: [],
|
|
141
79
|
},
|
|
142
80
|
{
|
|
143
|
-
hostname: "data.iot-fips.{region}.c2s.ic.gov",
|
|
81
|
+
hostname: "data-ats.iot-fips.{region}.c2s.ic.gov",
|
|
144
82
|
tags: ["fips"],
|
|
145
83
|
},
|
|
146
84
|
],
|
|
@@ -150,33 +88,33 @@ var partitionHash = {
|
|
|
150
88
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
151
89
|
variants: [
|
|
152
90
|
{
|
|
153
|
-
hostname: "data.iot.{region}.sc2s.sgov.gov",
|
|
91
|
+
hostname: "data-ats.iot.{region}.sc2s.sgov.gov",
|
|
154
92
|
tags: [],
|
|
155
93
|
},
|
|
156
94
|
{
|
|
157
|
-
hostname: "data.iot-fips.{region}.sc2s.sgov.gov",
|
|
95
|
+
hostname: "data-ats.iot-fips.{region}.sc2s.sgov.gov",
|
|
158
96
|
tags: ["fips"],
|
|
159
97
|
},
|
|
160
98
|
],
|
|
161
99
|
},
|
|
162
100
|
"aws-us-gov": {
|
|
163
|
-
regions: ["
|
|
101
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
164
102
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
165
103
|
variants: [
|
|
166
104
|
{
|
|
167
|
-
hostname: "data.iot.{region}.amazonaws.com",
|
|
105
|
+
hostname: "data-ats.iot.{region}.amazonaws.com",
|
|
168
106
|
tags: [],
|
|
169
107
|
},
|
|
170
108
|
{
|
|
171
|
-
hostname: "data.iot-fips.{region}.amazonaws.com",
|
|
109
|
+
hostname: "data-ats.iot-fips.{region}.amazonaws.com",
|
|
172
110
|
tags: ["fips"],
|
|
173
111
|
},
|
|
174
112
|
{
|
|
175
|
-
hostname: "data.iot-fips.{region}.api.aws",
|
|
113
|
+
hostname: "data-ats.iot-fips.{region}.api.aws",
|
|
176
114
|
tags: ["dualstack", "fips"],
|
|
177
115
|
},
|
|
178
116
|
{
|
|
179
|
-
hostname: "data.iot.{region}.api.aws",
|
|
117
|
+
hostname: "data-ats.iot.{region}.api.aws",
|
|
180
118
|
tags: ["dualstack"],
|
|
181
119
|
},
|
|
182
120
|
],
|
|
@@ -35,7 +35,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
35
35
|
* incur messaging costs. To list only the topic names of the retained messages, call
|
|
36
36
|
* <a href="/iot/latest/developerguide/API_iotdata_ListRetainedMessages.html">ListRetainedMessages</a>.</p>
|
|
37
37
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions">GetRetainedMessage</a> action.</p>
|
|
38
|
-
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
|
|
38
|
+
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">Amazon Web Services IoT Core
|
|
39
39
|
* pricing - Messaging</a>.</p>
|
|
40
40
|
*/
|
|
41
41
|
getRetainedMessage(args: GetRetainedMessageCommandInput, options?: __HttpHandlerOptions): Promise<GetRetainedMessageCommandOutput>;
|
|
@@ -66,7 +66,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
66
66
|
* <a href="https://docs.aws.amazon.com/iot/latest/developerguide/API_iotdata_GetRetainedMessage.html">GetRetainedMessage</a>
|
|
67
67
|
* with the topic name of the retained message.</p>
|
|
68
68
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions">ListRetainedMessages</a> action.</p>
|
|
69
|
-
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
|
|
69
|
+
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">Amazon Web Services IoT Core
|
|
70
70
|
* pricing - Messaging</a>.</p>
|
|
71
71
|
*/
|
|
72
72
|
listRetainedMessages(args: ListRetainedMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListRetainedMessagesCommandOutput>;
|
|
@@ -78,7 +78,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
78
78
|
* <p>For more information about MQTT messages, see
|
|
79
79
|
* <a href="http://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html">MQTT Protocol</a> in the
|
|
80
80
|
* IoT Developer Guide.</p>
|
|
81
|
-
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
|
|
81
|
+
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">Amazon Web Services IoT Core
|
|
82
82
|
* pricing - Messaging</a>.</p>
|
|
83
83
|
*/
|
|
84
84
|
publish(args: PublishCommandInput, options?: __HttpHandlerOptions): Promise<PublishCommandOutput>;
|
|
@@ -12,7 +12,7 @@ export interface GetRetainedMessageCommandOutput extends GetRetainedMessageRespo
|
|
|
12
12
|
* incur messaging costs. To list only the topic names of the retained messages, call
|
|
13
13
|
* <a href="/iot/latest/developerguide/API_iotdata_ListRetainedMessages.html">ListRetainedMessages</a>.</p>
|
|
14
14
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions">GetRetainedMessage</a> action.</p>
|
|
15
|
-
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
|
|
15
|
+
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">Amazon Web Services IoT Core
|
|
16
16
|
* pricing - Messaging</a>.</p>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -15,7 +15,7 @@ export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesR
|
|
|
15
15
|
* <a href="https://docs.aws.amazon.com/iot/latest/developerguide/API_iotdata_GetRetainedMessage.html">GetRetainedMessage</a>
|
|
16
16
|
* with the topic name of the retained message.</p>
|
|
17
17
|
* <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiotfleethubfordevicemanagement.html#awsiotfleethubfordevicemanagement-actions-as-permissions">ListRetainedMessages</a> action.</p>
|
|
18
|
-
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
|
|
18
|
+
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">Amazon Web Services IoT Core
|
|
19
19
|
* pricing - Messaging</a>.</p>
|
|
20
20
|
* @example
|
|
21
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -12,7 +12,7 @@ export interface PublishCommandOutput extends __MetadataBearer {
|
|
|
12
12
|
* <p>For more information about MQTT messages, see
|
|
13
13
|
* <a href="http://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html">MQTT Protocol</a> in the
|
|
14
14
|
* IoT Developer Guide.</p>
|
|
15
|
-
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
|
|
15
|
+
* <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">Amazon Web Services IoT Core
|
|
16
16
|
* pricing - Messaging</a>.</p>
|
|
17
17
|
* @example
|
|
18
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -335,7 +335,7 @@ export interface PublishRequest {
|
|
|
335
335
|
/**
|
|
336
336
|
* <p>The message body. MQTT accepts text, binary, and empty (null) message payloads.</p>
|
|
337
337
|
* <p>Publishing an empty (null) payload with <b>retain</b> =
|
|
338
|
-
* <code>true</code> deletes the retained message identified by <b>topic</b> from IoT Core.</p>
|
|
338
|
+
* <code>true</code> deletes the retained message identified by <b>topic</b> from Amazon Web Services IoT Core.</p>
|
|
339
339
|
*/
|
|
340
340
|
payload?: Uint8Array;
|
|
341
341
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-data-plane",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Data Plane Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.60.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.55.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
31
31
|
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
39
|
"@aws-sdk/types": "3.55.0",
|
|
40
40
|
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.58.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
49
|
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
51
|
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.58.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|