@aws-sdk/client-iot-data-plane 3.35.0 → 3.38.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.
Files changed (130) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/IoTDataPlane.js +0 -14
  3. package/dist-cjs/IoTDataPlaneClient.js +0 -19
  4. package/dist-cjs/commands/DeleteThingShadowCommand.js +0 -27
  5. package/dist-cjs/commands/GetRetainedMessageCommand.js +0 -31
  6. package/dist-cjs/commands/GetThingShadowCommand.js +0 -28
  7. package/dist-cjs/commands/ListNamedShadowsForThingCommand.js +0 -26
  8. package/dist-cjs/commands/ListRetainedMessagesCommand.js +0 -34
  9. package/dist-cjs/commands/PublishCommand.js +0 -31
  10. package/dist-cjs/commands/UpdateThingShadowCommand.js +0 -28
  11. package/dist-cjs/commands/index.js +10 -0
  12. package/dist-cjs/endpoints.js +1 -2
  13. package/dist-cjs/index.js +4 -12
  14. package/dist-cjs/models/index.js +0 -1
  15. package/dist-cjs/models/models_0.js +0 -73
  16. package/dist-cjs/pagination/Interfaces.js +0 -1
  17. package/dist-cjs/pagination/ListRetainedMessagesPaginator.js +0 -11
  18. package/dist-cjs/pagination/index.js +5 -0
  19. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  20. package/dist-cjs/runtimeConfig.browser.js +1 -6
  21. package/dist-cjs/runtimeConfig.js +2 -7
  22. package/dist-cjs/runtimeConfig.native.js +0 -4
  23. package/dist-cjs/runtimeConfig.shared.js +0 -4
  24. package/dist-es/IoTDataPlane.js +0 -1
  25. package/dist-es/IoTDataPlaneClient.js +0 -1
  26. package/dist-es/commands/DeleteThingShadowCommand.js +0 -1
  27. package/dist-es/commands/GetRetainedMessageCommand.js +0 -1
  28. package/dist-es/commands/GetThingShadowCommand.js +0 -1
  29. package/dist-es/commands/ListNamedShadowsForThingCommand.js +0 -1
  30. package/dist-es/commands/ListRetainedMessagesCommand.js +0 -1
  31. package/dist-es/commands/PublishCommand.js +0 -1
  32. package/dist-es/commands/UpdateThingShadowCommand.js +0 -1
  33. package/dist-es/commands/index.js +7 -0
  34. package/dist-es/endpoints.js +1 -2
  35. package/dist-es/index.js +4 -12
  36. package/dist-es/models/index.js +0 -1
  37. package/dist-es/models/models_0.js +0 -1
  38. package/dist-es/pagination/Interfaces.js +0 -1
  39. package/dist-es/pagination/ListRetainedMessagesPaginator.js +0 -1
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/protocols/Aws_restJson1.js +0 -1
  42. package/dist-es/runtimeConfig.browser.js +1 -2
  43. package/dist-es/runtimeConfig.js +2 -3
  44. package/dist-es/runtimeConfig.native.js +0 -1
  45. package/dist-es/runtimeConfig.shared.js +0 -1
  46. package/dist-types/commands/index.d.ts +7 -0
  47. package/dist-types/index.d.ts +4 -11
  48. package/dist-types/pagination/index.d.ts +2 -0
  49. package/dist-types/ts3.4/IoTDataPlane.d.ts +8 -64
  50. package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +24 -99
  51. package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +2 -22
  52. package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +2 -26
  53. package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +2 -23
  54. package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +2 -21
  55. package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +2 -29
  56. package/dist-types/ts3.4/commands/PublishCommand.d.ts +2 -26
  57. package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +2 -23
  58. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  59. package/dist-types/ts3.4/index.d.ts +4 -11
  60. package/dist-types/ts3.4/models/models_0.d.ts +87 -271
  61. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  62. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  64. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  65. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  66. package/package.json +33 -30
  67. package/dist-cjs/IoTDataPlane.js.map +0 -1
  68. package/dist-cjs/IoTDataPlaneClient.js.map +0 -1
  69. package/dist-cjs/commands/DeleteThingShadowCommand.js.map +0 -1
  70. package/dist-cjs/commands/GetRetainedMessageCommand.js.map +0 -1
  71. package/dist-cjs/commands/GetThingShadowCommand.js.map +0 -1
  72. package/dist-cjs/commands/ListNamedShadowsForThingCommand.js.map +0 -1
  73. package/dist-cjs/commands/ListRetainedMessagesCommand.js.map +0 -1
  74. package/dist-cjs/commands/PublishCommand.js.map +0 -1
  75. package/dist-cjs/commands/UpdateThingShadowCommand.js.map +0 -1
  76. package/dist-cjs/endpoints.js.map +0 -1
  77. package/dist-cjs/index.js.map +0 -1
  78. package/dist-cjs/models/index.js.map +0 -1
  79. package/dist-cjs/models/models_0.js.map +0 -1
  80. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  81. package/dist-cjs/pagination/ListRetainedMessagesPaginator.js.map +0 -1
  82. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  83. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  84. package/dist-cjs/runtimeConfig.js.map +0 -1
  85. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  86. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  87. package/dist-es/IoTDataPlane.js.map +0 -1
  88. package/dist-es/IoTDataPlaneClient.js.map +0 -1
  89. package/dist-es/commands/DeleteThingShadowCommand.js.map +0 -1
  90. package/dist-es/commands/GetRetainedMessageCommand.js.map +0 -1
  91. package/dist-es/commands/GetThingShadowCommand.js.map +0 -1
  92. package/dist-es/commands/ListNamedShadowsForThingCommand.js.map +0 -1
  93. package/dist-es/commands/ListRetainedMessagesCommand.js.map +0 -1
  94. package/dist-es/commands/PublishCommand.js.map +0 -1
  95. package/dist-es/commands/UpdateThingShadowCommand.js.map +0 -1
  96. package/dist-es/endpoints.js.map +0 -1
  97. package/dist-es/index.js.map +0 -1
  98. package/dist-es/models/index.js.map +0 -1
  99. package/dist-es/models/models_0.js.map +0 -1
  100. package/dist-es/pagination/Interfaces.js.map +0 -1
  101. package/dist-es/pagination/ListRetainedMessagesPaginator.js.map +0 -1
  102. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  103. package/dist-es/runtimeConfig.browser.js.map +0 -1
  104. package/dist-es/runtimeConfig.js.map +0 -1
  105. package/dist-es/runtimeConfig.native.js.map +0 -1
  106. package/dist-es/runtimeConfig.shared.js.map +0 -1
  107. package/jest.config.js +0 -4
  108. package/src/IoTDataPlane.ts +0 -297
  109. package/src/IoTDataPlaneClient.ts +0 -273
  110. package/src/commands/DeleteThingShadowCommand.ts +0 -97
  111. package/src/commands/GetRetainedMessageCommand.ts +0 -101
  112. package/src/commands/GetThingShadowCommand.ts +0 -98
  113. package/src/commands/ListNamedShadowsForThingCommand.ts +0 -96
  114. package/src/commands/ListRetainedMessagesCommand.ts +0 -104
  115. package/src/commands/PublishCommand.ts +0 -101
  116. package/src/commands/UpdateThingShadowCommand.ts +0 -98
  117. package/src/endpoints.ts +0 -91
  118. package/src/index.ts +0 -12
  119. package/src/models/index.ts +0 -1
  120. package/src/models/models_0.ts +0 -570
  121. package/src/pagination/Interfaces.ts +0 -8
  122. package/src/pagination/ListRetainedMessagesPaginator.ts +0 -59
  123. package/src/protocols/Aws_restJson1.ts +0 -1281
  124. package/src/runtimeConfig.browser.ts +0 -41
  125. package/src/runtimeConfig.native.ts +0 -17
  126. package/src/runtimeConfig.shared.ts +0 -17
  127. package/src/runtimeConfig.ts +0 -46
  128. package/tsconfig.es.json +0 -10
  129. package/tsconfig.json +0 -33
  130. package/tsconfig.types.json +0 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
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.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
19
+
20
+
21
+ ### Features
22
+
23
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
24
+
25
+
26
+
27
+
28
+
29
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
41
+
42
+
43
+ ### Features
44
+
45
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
46
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
47
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
54
 
8
55
 
@@ -9,19 +9,6 @@ const ListRetainedMessagesCommand_1 = require("./commands/ListRetainedMessagesCo
9
9
  const PublishCommand_1 = require("./commands/PublishCommand");
10
10
  const UpdateThingShadowCommand_1 = require("./commands/UpdateThingShadowCommand");
11
11
  const IoTDataPlaneClient_1 = require("./IoTDataPlaneClient");
12
- /**
13
- * <fullname>IoT data</fullname>
14
- * <p>IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,
15
- * actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and
16
- * things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a
17
- * persistent representation of your things and their state in the Amazon Web Services cloud.</p>
18
- * <p>Find the endpoint address for actions in IoT data by running this CLI command:</p>
19
- * <p>
20
- * <code>aws iot describe-endpoint --endpoint-type iot:Data-ATS</code>
21
- * </p>
22
- * <p>The service name used by <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Amazon Web ServicesSignature Version 4</a>
23
- * to sign requests is: <i>iotdevicegateway</i>.</p>
24
- */
25
12
  class IoTDataPlane extends IoTDataPlaneClient_1.IoTDataPlaneClient {
26
13
  deleteThingShadow(args, optionsOrCb, cb) {
27
14
  const command = new DeleteThingShadowCommand_1.DeleteThingShadowCommand(args);
@@ -123,4 +110,3 @@ class IoTDataPlane extends IoTDataPlaneClient_1.IoTDataPlaneClient {
123
110
  }
124
111
  }
125
112
  exports.IoTDataPlane = IoTDataPlane;
126
- //# sourceMappingURL=IoTDataPlane.js.map
@@ -10,19 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>IoT data</fullname>
15
- * <p>IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,
16
- * actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and
17
- * things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a
18
- * persistent representation of your things and their state in the Amazon Web Services cloud.</p>
19
- * <p>Find the endpoint address for actions in IoT data by running this CLI command:</p>
20
- * <p>
21
- * <code>aws iot describe-endpoint --endpoint-type iot:Data-ATS</code>
22
- * </p>
23
- * <p>The service name used by <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Amazon Web ServicesSignature Version 4</a>
24
- * to sign requests is: <i>iotdevicegateway</i>.</p>
25
- */
26
13
  class IoTDataPlaneClient extends smithy_client_1.Client {
27
14
  constructor(configuration) {
28
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -41,14 +28,8 @@ class IoTDataPlaneClient extends smithy_client_1.Client {
41
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
42
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
43
30
  }
44
- /**
45
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
46
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
47
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
48
- */
49
31
  destroy() {
50
32
  super.destroy();
51
33
  }
52
34
  }
53
35
  exports.IoTDataPlaneClient = IoTDataPlaneClient;
54
- //# sourceMappingURL=IoTDataPlaneClient.js.map
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Deletes the shadow for the specified thing.</p>
10
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">DeleteThingShadow</a> action.</p>
11
- * <p>For more information, see <a href="http://docs.aws.amazon.com/iot/latest/developerguide/API_DeleteThingShadow.html">DeleteThingShadow</a> in the IoT Developer Guide.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { IoTDataPlaneClient, DeleteThingShadowCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
16
- * // const { IoTDataPlaneClient, DeleteThingShadowCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
17
- * const client = new IoTDataPlaneClient(config);
18
- * const command = new DeleteThingShadowCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteThingShadowCommandInput} for command's `input` shape.
23
- * @see {@link DeleteThingShadowCommandOutput} for command's `response` shape.
24
- * @see {@link IoTDataPlaneClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteThingShadowCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -60,4 +34,3 @@ class DeleteThingShadowCommand extends smithy_client_1.Command {
60
34
  }
61
35
  }
62
36
  exports.DeleteThingShadowCommand = DeleteThingShadowCommand;
63
- //# sourceMappingURL=DeleteThingShadowCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the details of a single retained message for the specified topic.</p>
10
- * <p>This action returns the message payload of the retained message, which can
11
- * incur messaging costs. To list only the topic names of the retained messages, call
12
- * <a href="/iot/latest/developerguide/API_iotdata_ListRetainedMessages.html">ListRetainedMessages</a>.</p>
13
- * <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>
14
- * <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
15
- * pricing - Messaging</a>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { IoTDataPlaneClient, GetRetainedMessageCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
20
- * // const { IoTDataPlaneClient, GetRetainedMessageCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
21
- * const client = new IoTDataPlaneClient(config);
22
- * const command = new GetRetainedMessageCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link GetRetainedMessageCommandInput} for command's `input` shape.
27
- * @see {@link GetRetainedMessageCommandOutput} for command's `response` shape.
28
- * @see {@link IoTDataPlaneClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class GetRetainedMessageCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class GetRetainedMessageCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.GetRetainedMessageCommand = GetRetainedMessageCommand;
67
- //# sourceMappingURL=GetRetainedMessageCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Gets the shadow for the specified thing.</p>
10
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">GetThingShadow</a> action.</p>
11
- * <p>For more information, see <a href="http://docs.aws.amazon.com/iot/latest/developerguide/API_GetThingShadow.html">GetThingShadow</a> in the
12
- * IoT Developer Guide.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { IoTDataPlaneClient, GetThingShadowCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
17
- * // const { IoTDataPlaneClient, GetThingShadowCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
18
- * const client = new IoTDataPlaneClient(config);
19
- * const command = new GetThingShadowCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link GetThingShadowCommandInput} for command's `input` shape.
24
- * @see {@link GetThingShadowCommandOutput} for command's `response` shape.
25
- * @see {@link IoTDataPlaneClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class GetThingShadowCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class GetThingShadowCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.GetThingShadowCommand = GetThingShadowCommand;
64
- //# sourceMappingURL=GetThingShadowCommand.js.map
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists the shadows for the specified thing.</p>
10
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">ListNamedShadowsForThing</a> action.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { IoTDataPlaneClient, ListNamedShadowsForThingCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
15
- * // const { IoTDataPlaneClient, ListNamedShadowsForThingCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
16
- * const client = new IoTDataPlaneClient(config);
17
- * const command = new ListNamedShadowsForThingCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListNamedShadowsForThingCommandInput} for command's `input` shape.
22
- * @see {@link ListNamedShadowsForThingCommandOutput} for command's `response` shape.
23
- * @see {@link IoTDataPlaneClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListNamedShadowsForThingCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -59,4 +34,3 @@ class ListNamedShadowsForThingCommand extends smithy_client_1.Command {
59
34
  }
60
35
  }
61
36
  exports.ListNamedShadowsForThingCommand = ListNamedShadowsForThingCommand;
62
- //# sourceMappingURL=ListNamedShadowsForThingCommand.js.map
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Lists summary information about the retained messages stored for the account.</p>
10
- * <p>This action returns only the topic names of the retained messages. It doesn't
11
- * return any message payloads. Although this action doesn't return a message payload,
12
- * it can still incur messaging costs.</p>
13
- * <p>To get the message payload of a retained message, call
14
- * <a href="https://docs.aws.amazon.com/iot/latest/developerguide/API_iotdata_GetRetainedMessage.html">GetRetainedMessage</a>
15
- * with the topic name of the retained message.</p>
16
- * <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>
17
- * <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
18
- * pricing - Messaging</a>.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { IoTDataPlaneClient, ListRetainedMessagesCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
23
- * // const { IoTDataPlaneClient, ListRetainedMessagesCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
24
- * const client = new IoTDataPlaneClient(config);
25
- * const command = new ListRetainedMessagesCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link ListRetainedMessagesCommandInput} for command's `input` shape.
30
- * @see {@link ListRetainedMessagesCommandOutput} for command's `response` shape.
31
- * @see {@link IoTDataPlaneClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class ListRetainedMessagesCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -67,4 +34,3 @@ class ListRetainedMessagesCommand extends smithy_client_1.Command {
67
34
  }
68
35
  }
69
36
  exports.ListRetainedMessagesCommand = ListRetainedMessagesCommand;
70
- //# sourceMappingURL=ListRetainedMessagesCommand.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Publishes an MQTT message.</p>
10
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">Publish</a> action.</p>
11
- * <p>For more information about MQTT messages, see
12
- * <a href="http://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html">MQTT Protocol</a> in the
13
- * IoT Developer Guide.</p>
14
- * <p>For more information about messaging costs, see <a href="http://aws.amazon.com/iot-core/pricing/#Messaging">IoT Core
15
- * pricing - Messaging</a>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { IoTDataPlaneClient, PublishCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
20
- * // const { IoTDataPlaneClient, PublishCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
21
- * const client = new IoTDataPlaneClient(config);
22
- * const command = new PublishCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link PublishCommandInput} for command's `input` shape.
27
- * @see {@link PublishCommandOutput} for command's `response` shape.
28
- * @see {@link IoTDataPlaneClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class PublishCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class PublishCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.PublishCommand = PublishCommand;
67
- //# sourceMappingURL=PublishCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
- /**
9
- * <p>Updates the shadow for the specified thing.</p>
10
- * <p>Requires permission to access the <a href="https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions">UpdateThingShadow</a> action.</p>
11
- * <p>For more information, see <a href="http://docs.aws.amazon.com/iot/latest/developerguide/API_UpdateThingShadow.html">UpdateThingShadow</a> in the
12
- * IoT Developer Guide.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { IoTDataPlaneClient, UpdateThingShadowCommand } from "@aws-sdk/client-iot-data-plane"; // ES Modules import
17
- * // const { IoTDataPlaneClient, UpdateThingShadowCommand } = require("@aws-sdk/client-iot-data-plane"); // CommonJS import
18
- * const client = new IoTDataPlaneClient(config);
19
- * const command = new UpdateThingShadowCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UpdateThingShadowCommandInput} for command's `input` shape.
24
- * @see {@link UpdateThingShadowCommandOutput} for command's `response` shape.
25
- * @see {@link IoTDataPlaneClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UpdateThingShadowCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class UpdateThingShadowCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.UpdateThingShadowCommand = UpdateThingShadowCommand;
64
- //# sourceMappingURL=UpdateThingShadowCommand.js.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DeleteThingShadowCommand"), exports);
5
+ tslib_1.__exportStar(require("./GetRetainedMessageCommand"), exports);
6
+ tslib_1.__exportStar(require("./GetThingShadowCommand"), exports);
7
+ tslib_1.__exportStar(require("./ListNamedShadowsForThingCommand"), exports);
8
+ tslib_1.__exportStar(require("./ListRetainedMessagesCommand"), exports);
9
+ tslib_1.__exportStar(require("./PublishCommand"), exports);
10
+ tslib_1.__exportStar(require("./UpdateThingShadowCommand"), exports);
@@ -69,7 +69,7 @@ const partitionHash = {
69
69
  hostname: "data.iot.{region}.amazonaws.com.cn",
70
70
  },
71
71
  "aws-iso": {
72
- regions: ["us-iso-east-1"],
72
+ regions: ["us-iso-east-1", "us-iso-west-1"],
73
73
  hostname: "data.iot.{region}.c2s.ic.gov",
74
74
  },
75
75
  "aws-iso-b": {
@@ -88,4 +88,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
88
88
  partitionHash,
89
89
  });
90
90
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
91
- //# sourceMappingURL=endpoints.js.map
package/dist-cjs/index.js CHANGED
@@ -1,16 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./IoTDataPlaneClient"), exports);
5
4
  tslib_1.__exportStar(require("./IoTDataPlane"), exports);
6
- tslib_1.__exportStar(require("./commands/DeleteThingShadowCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/GetRetainedMessageCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/GetThingShadowCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/ListNamedShadowsForThingCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/ListRetainedMessagesCommand"), exports);
11
- tslib_1.__exportStar(require("./pagination/ListRetainedMessagesPaginator"), exports);
12
- tslib_1.__exportStar(require("./commands/PublishCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/UpdateThingShadowCommand"), exports);
14
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
15
- tslib_1.__exportStar(require("./models/index"), exports);
16
- //# sourceMappingURL=index.js.map
5
+ tslib_1.__exportStar(require("./IoTDataPlaneClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map