@aws-sdk/client-iot-data-plane 3.337.0 → 3.341.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/IoTDataPlaneClient.js +2 -1
- package/dist-cjs/commands/DeleteThingShadowCommand.js +2 -1
- package/dist-cjs/commands/GetRetainedMessageCommand.js +2 -1
- package/dist-cjs/commands/GetThingShadowCommand.js +2 -1
- package/dist-cjs/commands/ListNamedShadowsForThingCommand.js +2 -1
- package/dist-cjs/commands/ListRetainedMessagesCommand.js +2 -1
- package/dist-cjs/commands/PublishCommand.js +2 -1
- package/dist-cjs/commands/UpdateThingShadowCommand.js +2 -1
- package/dist-cjs/index.js +2 -2
- package/dist-cjs/models/IoTDataPlaneServiceException.js +2 -1
- package/dist-es/IoTDataPlaneClient.js +1 -0
- package/dist-es/commands/DeleteThingShadowCommand.js +1 -0
- package/dist-es/commands/GetRetainedMessageCommand.js +1 -0
- package/dist-es/commands/GetThingShadowCommand.js +1 -0
- package/dist-es/commands/ListNamedShadowsForThingCommand.js +1 -0
- package/dist-es/commands/ListRetainedMessagesCommand.js +1 -0
- package/dist-es/commands/PublishCommand.js +1 -0
- package/dist-es/commands/UpdateThingShadowCommand.js +1 -0
- package/dist-es/index.js +2 -2
- package/dist-es/models/IoTDataPlaneServiceException.js +1 -0
- package/dist-types/IoTDataPlaneClient.d.ts +3 -3
- package/dist-types/commands/DeleteThingShadowCommand.d.ts +4 -0
- package/dist-types/commands/GetRetainedMessageCommand.d.ts +4 -0
- package/dist-types/commands/GetThingShadowCommand.d.ts +4 -0
- package/dist-types/commands/ListNamedShadowsForThingCommand.d.ts +4 -0
- package/dist-types/commands/ListRetainedMessagesCommand.d.ts +4 -0
- package/dist-types/commands/PublishCommand.d.ts +4 -0
- package/dist-types/commands/UpdateThingShadowCommand.d.ts +4 -0
- package/dist-types/index.d.ts +17 -2
- package/dist-types/models/IoTDataPlaneServiceException.d.ts +1 -0
- package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +1 -0
- package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +1 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IoTDataPlaneClient = void 0;
|
|
3
|
+
exports.IoTDataPlaneClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class IoTDataPlaneClient extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteThingShadowCommand = void 0;
|
|
3
|
+
exports.DeleteThingShadowCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class DeleteThingShadowCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetRetainedMessageCommand = void 0;
|
|
3
|
+
exports.GetRetainedMessageCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class GetRetainedMessageCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetThingShadowCommand = void 0;
|
|
3
|
+
exports.GetThingShadowCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class GetThingShadowCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListNamedShadowsForThingCommand = void 0;
|
|
3
|
+
exports.ListNamedShadowsForThingCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListNamedShadowsForThingCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListRetainedMessagesCommand = void 0;
|
|
3
|
+
exports.ListRetainedMessagesCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class ListRetainedMessagesCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PublishCommand = void 0;
|
|
3
|
+
exports.PublishCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class PublishCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateThingShadowCommand = void 0;
|
|
3
|
+
exports.UpdateThingShadowCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class UpdateThingShadowCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IoTDataPlaneServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./IoTDataPlane"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./IoTDataPlaneClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./IoTDataPlane"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./models"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
10
|
var IoTDataPlaneServiceException_1 = require("./models/IoTDataPlaneServiceException");
|
|
11
11
|
Object.defineProperty(exports, "IoTDataPlaneServiceException", { enumerable: true, get: function () { return IoTDataPlaneServiceException_1.IoTDataPlaneServiceException; } });
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IoTDataPlaneServiceException = void 0;
|
|
3
|
+
exports.IoTDataPlaneServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class IoTDataPlaneServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class IoTDataPlaneClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_DeleteThingShadowCommand, se_DeleteThingShadowCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class DeleteThingShadowCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_GetRetainedMessageCommand, se_GetRetainedMessageCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class GetRetainedMessageCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_GetThingShadowCommand, se_GetThingShadowCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class GetThingShadowCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ListNamedShadowsForThingCommand, se_ListNamedShadowsForThingCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ListNamedShadowsForThingCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_ListRetainedMessagesCommand, se_ListRetainedMessagesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class ListRetainedMessagesCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_PublishCommand, se_PublishCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class PublishCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_UpdateThingShadowCommand, se_UpdateThingShadowCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class UpdateThingShadowCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./IoTDataPlane";
|
|
2
1
|
export * from "./IoTDataPlaneClient";
|
|
2
|
+
export * from "./IoTDataPlane";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { IoTDataPlaneServiceException } from "./models/IoTDataPlaneServiceException";
|
|
@@ -16,6 +16,7 @@ import { ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput } f
|
|
|
16
16
|
import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
|
|
17
17
|
import { UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput } from "./commands/UpdateThingShadowCommand";
|
|
18
18
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
19
|
+
export { __Client };
|
|
19
20
|
/**
|
|
20
21
|
* @public
|
|
21
22
|
*/
|
|
@@ -130,7 +131,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
130
131
|
/**
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
|
-
type IoTDataPlaneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
134
|
+
export type IoTDataPlaneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
134
135
|
/**
|
|
135
136
|
* @public
|
|
136
137
|
*
|
|
@@ -141,7 +142,7 @@ export interface IoTDataPlaneClientConfig extends IoTDataPlaneClientConfigType {
|
|
|
141
142
|
/**
|
|
142
143
|
* @public
|
|
143
144
|
*/
|
|
144
|
-
type IoTDataPlaneClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
145
|
+
export type IoTDataPlaneClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
145
146
|
/**
|
|
146
147
|
* @public
|
|
147
148
|
*
|
|
@@ -176,4 +177,3 @@ export declare class IoTDataPlaneClient extends __Client<__HttpHandlerOptions, S
|
|
|
176
177
|
*/
|
|
177
178
|
destroy(): void;
|
|
178
179
|
}
|
|
179
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { ListNamedShadowsForThingRequest, ListNamedShadowsForThingResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { PublishRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { UpdateThingShadowRequest, UpdateThingShadowResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <fullname>IoT data</fullname>
|
|
3
|
+
* <p>IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,
|
|
4
|
+
* actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and
|
|
5
|
+
* things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a
|
|
6
|
+
* persistent representation of your things and their state in the Amazon Web Services cloud.</p>
|
|
7
|
+
* <p>Find the endpoint address for actions in IoT data by running this CLI command:</p>
|
|
8
|
+
* <p>
|
|
9
|
+
* <code>aws iot describe-endpoint --endpoint-type iot:Data-ATS</code>
|
|
10
|
+
* </p>
|
|
11
|
+
* <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>
|
|
12
|
+
* to sign requests is: <i>iotdevicegateway</i>.</p>
|
|
13
|
+
*
|
|
14
|
+
* @packageDocumentation
|
|
15
|
+
*/
|
|
2
16
|
export * from "./IoTDataPlaneClient";
|
|
17
|
+
export * from "./IoTDataPlane";
|
|
3
18
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
19
|
export * from "./pagination";
|
|
20
|
+
export * from "./models";
|
|
6
21
|
export { IoTDataPlaneServiceException } from "./models/IoTDataPlaneServiceException";
|
|
@@ -79,6 +79,7 @@ import {
|
|
|
79
79
|
ClientResolvedEndpointParameters,
|
|
80
80
|
EndpointParameters,
|
|
81
81
|
} from "./endpoint/EndpointParameters";
|
|
82
|
+
export { __Client };
|
|
82
83
|
export type ServiceInputTypes =
|
|
83
84
|
| DeleteThingShadowCommandInput
|
|
84
85
|
| GetRetainedMessageCommandInput
|
|
@@ -119,7 +120,7 @@ export interface ClientDefaults
|
|
|
119
120
|
logger?: __Logger;
|
|
120
121
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
121
122
|
}
|
|
122
|
-
type IoTDataPlaneClientConfigType = Partial<
|
|
123
|
+
export type IoTDataPlaneClientConfigType = Partial<
|
|
123
124
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
124
125
|
> &
|
|
125
126
|
ClientDefaults &
|
|
@@ -132,7 +133,7 @@ type IoTDataPlaneClientConfigType = Partial<
|
|
|
132
133
|
ClientInputEndpointParameters;
|
|
133
134
|
export interface IoTDataPlaneClientConfig
|
|
134
135
|
extends IoTDataPlaneClientConfigType {}
|
|
135
|
-
type IoTDataPlaneClientResolvedConfigType =
|
|
136
|
+
export type IoTDataPlaneClientResolvedConfigType =
|
|
136
137
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
137
138
|
Required<ClientDefaults> &
|
|
138
139
|
RegionResolvedConfig &
|
|
@@ -154,4 +155,3 @@ export declare class IoTDataPlaneClient extends __Client<
|
|
|
154
155
|
constructor(configuration: IoTDataPlaneClientConfig);
|
|
155
156
|
destroy(): void;
|
|
156
157
|
}
|
|
157
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
DeleteThingShadowRequest,
|
|
16
16
|
DeleteThingShadowResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface DeleteThingShadowCommandInput
|
|
19
20
|
extends DeleteThingShadowRequest {}
|
|
20
21
|
export interface DeleteThingShadowCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
GetRetainedMessageRequest,
|
|
16
16
|
GetRetainedMessageResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetRetainedMessageCommandInput
|
|
19
20
|
extends GetRetainedMessageRequest {}
|
|
20
21
|
export interface GetRetainedMessageCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
GetThingShadowRequest,
|
|
16
16
|
GetThingShadowResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface GetThingShadowCommandInput extends GetThingShadowRequest {}
|
|
19
20
|
export interface GetThingShadowCommandOutput
|
|
20
21
|
extends GetThingShadowResponse,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ListNamedShadowsForThingRequest,
|
|
16
16
|
ListNamedShadowsForThingResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListNamedShadowsForThingCommandInput
|
|
19
20
|
extends ListNamedShadowsForThingRequest {}
|
|
20
21
|
export interface ListNamedShadowsForThingCommandOutput
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
ListRetainedMessagesRequest,
|
|
16
16
|
ListRetainedMessagesResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface ListRetainedMessagesCommandInput
|
|
19
20
|
extends ListRetainedMessagesRequest {}
|
|
20
21
|
export interface ListRetainedMessagesCommandOutput
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../IoTDataPlaneClient";
|
|
14
14
|
import { PublishRequest } from "../models/models_0";
|
|
15
|
+
export { __MetadataBearer, $Command };
|
|
15
16
|
export interface PublishCommandInput extends PublishRequest {}
|
|
16
17
|
export interface PublishCommandOutput extends __MetadataBearer {}
|
|
17
18
|
export declare class PublishCommand extends $Command<
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
UpdateThingShadowRequest,
|
|
16
16
|
UpdateThingShadowResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface UpdateThingShadowCommandInput
|
|
19
20
|
extends UpdateThingShadowRequest {}
|
|
20
21
|
export interface UpdateThingShadowCommandOutput
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./IoTDataPlane";
|
|
2
1
|
export * from "./IoTDataPlaneClient";
|
|
2
|
+
export * from "./IoTDataPlane";
|
|
3
3
|
export * from "./commands";
|
|
4
|
-
export * from "./models";
|
|
5
4
|
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
6
|
export { IoTDataPlaneServiceException } from "./models/IoTDataPlaneServiceException";
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class IoTDataPlaneServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
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.341.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",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.341.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.341.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.341.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.341.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.341.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.341.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.341.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.341.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.341.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.341.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.341.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.341.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.341.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.341.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.341.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.341.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.341.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.341.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.341.0",
|
|
43
|
+
"@aws-sdk/types": "3.341.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.341.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.341.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.341.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.341.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.341.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.341.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.341.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|