@aws-sdk/client-iot-data-plane 3.295.0 → 3.297.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-types/IoTDataPlane.d.ts +8 -0
- package/dist-types/IoTDataPlaneClient.d.ts +24 -4
- package/dist-types/commands/DeleteThingShadowCommand.d.ts +16 -0
- package/dist-types/commands/GetRetainedMessageCommand.d.ts +16 -0
- package/dist-types/commands/GetThingShadowCommand.d.ts +16 -0
- package/dist-types/commands/ListNamedShadowsForThingCommand.d.ts +16 -0
- package/dist-types/commands/ListRetainedMessagesCommand.d.ts +16 -0
- package/dist-types/commands/PublishCommand.d.ts +16 -0
- package/dist-types/commands/UpdateThingShadowCommand.d.ts +16 -0
- package/dist-types/models/IoTDataPlaneServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +36 -1
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListRetainedMessagesPaginator.d.ts +3 -0
- package/package.json +29 -29
|
@@ -8,6 +8,7 @@ import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCom
|
|
|
8
8
|
import { UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput } from "./commands/UpdateThingShadowCommand";
|
|
9
9
|
import { IoTDataPlaneClient } from "./IoTDataPlaneClient";
|
|
10
10
|
/**
|
|
11
|
+
* @public
|
|
11
12
|
* <fullname>IoT data</fullname>
|
|
12
13
|
* <p>IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,
|
|
13
14
|
* actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and
|
|
@@ -22,6 +23,7 @@ import { IoTDataPlaneClient } from "./IoTDataPlaneClient";
|
|
|
22
23
|
*/
|
|
23
24
|
export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
24
25
|
/**
|
|
26
|
+
* @public
|
|
25
27
|
* <p>Deletes the shadow for the specified thing.</p>
|
|
26
28
|
* <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>
|
|
27
29
|
* <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>
|
|
@@ -30,6 +32,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
30
32
|
deleteThingShadow(args: DeleteThingShadowCommandInput, cb: (err: any, data?: DeleteThingShadowCommandOutput) => void): void;
|
|
31
33
|
deleteThingShadow(args: DeleteThingShadowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteThingShadowCommandOutput) => void): void;
|
|
32
34
|
/**
|
|
35
|
+
* @public
|
|
33
36
|
* <p>Gets the details of a single retained message for the specified topic.</p>
|
|
34
37
|
* <p>This action returns the message payload of the retained message, which can
|
|
35
38
|
* incur messaging costs. To list only the topic names of the retained messages, call
|
|
@@ -42,6 +45,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
42
45
|
getRetainedMessage(args: GetRetainedMessageCommandInput, cb: (err: any, data?: GetRetainedMessageCommandOutput) => void): void;
|
|
43
46
|
getRetainedMessage(args: GetRetainedMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRetainedMessageCommandOutput) => void): void;
|
|
44
47
|
/**
|
|
48
|
+
* @public
|
|
45
49
|
* <p>Gets the shadow for the specified thing.</p>
|
|
46
50
|
* <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>
|
|
47
51
|
* <p>For more information, see <a href="http://docs.aws.amazon.com/iot/latest/developerguide/API_GetThingShadow.html">GetThingShadow</a> in the
|
|
@@ -51,6 +55,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
51
55
|
getThingShadow(args: GetThingShadowCommandInput, cb: (err: any, data?: GetThingShadowCommandOutput) => void): void;
|
|
52
56
|
getThingShadow(args: GetThingShadowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetThingShadowCommandOutput) => void): void;
|
|
53
57
|
/**
|
|
58
|
+
* @public
|
|
54
59
|
* <p>Lists the shadows for the specified thing.</p>
|
|
55
60
|
* <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>
|
|
56
61
|
*/
|
|
@@ -58,6 +63,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
58
63
|
listNamedShadowsForThing(args: ListNamedShadowsForThingCommandInput, cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void): void;
|
|
59
64
|
listNamedShadowsForThing(args: ListNamedShadowsForThingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void): void;
|
|
60
65
|
/**
|
|
66
|
+
* @public
|
|
61
67
|
* <p>Lists summary information about the retained messages stored for the account.</p>
|
|
62
68
|
* <p>This action returns only the topic names of the retained messages. It doesn't
|
|
63
69
|
* return any message payloads. Although this action doesn't return a message payload,
|
|
@@ -73,6 +79,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
73
79
|
listRetainedMessages(args: ListRetainedMessagesCommandInput, cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void): void;
|
|
74
80
|
listRetainedMessages(args: ListRetainedMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void): void;
|
|
75
81
|
/**
|
|
82
|
+
* @public
|
|
76
83
|
* <p>Publishes an MQTT message.</p>
|
|
77
84
|
* <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>
|
|
78
85
|
* <p>For more information about MQTT messages, see
|
|
@@ -85,6 +92,7 @@ export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
|
85
92
|
publish(args: PublishCommandInput, cb: (err: any, data?: PublishCommandOutput) => void): void;
|
|
86
93
|
publish(args: PublishCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishCommandOutput) => void): void;
|
|
87
94
|
/**
|
|
95
|
+
* @public
|
|
88
96
|
* <p>Updates the shadow for the specified thing.</p>
|
|
89
97
|
* <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>
|
|
90
98
|
* <p>For more information, see <a href="http://docs.aws.amazon.com/iot/latest/developerguide/API_UpdateThingShadow.html">UpdateThingShadow</a> in the
|
|
@@ -15,15 +15,24 @@ import { ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput } f
|
|
|
15
15
|
import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
|
|
16
16
|
import { UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput } from "./commands/UpdateThingShadowCommand";
|
|
17
17
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
18
21
|
export type ServiceInputTypes = DeleteThingShadowCommandInput | GetRetainedMessageCommandInput | GetThingShadowCommandInput | ListNamedShadowsForThingCommandInput | ListRetainedMessagesCommandInput | PublishCommandInput | UpdateThingShadowCommandInput;
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
19
25
|
export type ServiceOutputTypes = DeleteThingShadowCommandOutput | GetRetainedMessageCommandOutput | GetThingShadowCommandOutput | ListNamedShadowsForThingCommandOutput | ListRetainedMessagesCommandOutput | PublishCommandOutput | UpdateThingShadowCommandOutput;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
20
29
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
21
30
|
/**
|
|
22
31
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
23
32
|
*/
|
|
24
33
|
requestHandler?: __HttpHandler;
|
|
25
34
|
/**
|
|
26
|
-
* A constructor for a class implementing the {@link
|
|
35
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
27
36
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
28
37
|
* @internal
|
|
29
38
|
*/
|
|
@@ -113,23 +122,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
113
122
|
*/
|
|
114
123
|
logger?: __Logger;
|
|
115
124
|
/**
|
|
116
|
-
* The {@link
|
|
125
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
117
126
|
*/
|
|
118
127
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
119
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
120
132
|
type IoTDataPlaneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
121
133
|
/**
|
|
122
|
-
*
|
|
134
|
+
* @public
|
|
135
|
+
*
|
|
136
|
+
* The configuration interface of IoTDataPlaneClient class constructor that set the region, credentials and other options.
|
|
123
137
|
*/
|
|
124
138
|
export interface IoTDataPlaneClientConfig extends IoTDataPlaneClientConfigType {
|
|
125
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
126
143
|
type IoTDataPlaneClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
127
144
|
/**
|
|
128
|
-
*
|
|
145
|
+
* @public
|
|
146
|
+
*
|
|
147
|
+
* The resolved configuration interface of IoTDataPlaneClient class. This is resolved and normalized from the {@link IoTDataPlaneClientConfig | constructor configuration interface}.
|
|
129
148
|
*/
|
|
130
149
|
export interface IoTDataPlaneClientResolvedConfig extends IoTDataPlaneClientResolvedConfigType {
|
|
131
150
|
}
|
|
132
151
|
/**
|
|
152
|
+
* @public
|
|
133
153
|
* <fullname>IoT data</fullname>
|
|
134
154
|
* <p>IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,
|
|
135
155
|
* actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteThingShadowCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteThingShadowCommandInput extends DeleteThingShadowRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteThingShadowCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteThingShadowCommandOutput extends DeleteThingShadowResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the shadow for the specified thing.</p>
|
|
18
23
|
* <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>
|
|
19
24
|
* <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>
|
|
@@ -27,6 +32,8 @@ export interface DeleteThingShadowCommandOutput extends DeleteThingShadowRespons
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param DeleteThingShadowCommandInput - {@link DeleteThingShadowCommandInput}
|
|
36
|
+
* @returns {@link DeleteThingShadowCommandOutput}
|
|
30
37
|
* @see {@link DeleteThingShadowCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link DeleteThingShadowCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface DeleteThingShadowCommandOutput extends DeleteThingShadowRespons
|
|
|
60
67
|
export declare class DeleteThingShadowCommand extends $Command<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
61
68
|
readonly input: DeleteThingShadowCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: DeleteThingShadowCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetRetainedMessageCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetRetainedMessageCommandInput extends GetRetainedMessageRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetRetainedMessageCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetRetainedMessageCommandOutput extends GetRetainedMessageResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the details of a single retained message for the specified topic.</p>
|
|
18
23
|
* <p>This action returns the message payload of the retained message, which can
|
|
19
24
|
* incur messaging costs. To list only the topic names of the retained messages, call
|
|
@@ -31,6 +36,8 @@ export interface GetRetainedMessageCommandOutput extends GetRetainedMessageRespo
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param GetRetainedMessageCommandInput - {@link GetRetainedMessageCommandInput}
|
|
40
|
+
* @returns {@link GetRetainedMessageCommandOutput}
|
|
34
41
|
* @see {@link GetRetainedMessageCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link GetRetainedMessageCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape.
|
|
@@ -61,11 +68,20 @@ export interface GetRetainedMessageCommandOutput extends GetRetainedMessageRespo
|
|
|
61
68
|
export declare class GetRetainedMessageCommand extends $Command<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
62
69
|
readonly input: GetRetainedMessageCommandInput;
|
|
63
70
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
64
74
|
constructor(input: GetRetainedMessageCommandInput);
|
|
65
75
|
/**
|
|
66
76
|
* @internal
|
|
67
77
|
*/
|
|
68
78
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
69
82
|
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
70
86
|
private deserialize;
|
|
71
87
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetThingShadowCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetThingShadowCommandInput extends GetThingShadowRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetThingShadowCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetThingShadowCommandOutput extends GetThingShadowResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets the shadow for the specified thing.</p>
|
|
18
23
|
* <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>
|
|
19
24
|
* <p>For more information, see <a href="http://docs.aws.amazon.com/iot/latest/developerguide/API_GetThingShadow.html">GetThingShadow</a> in the
|
|
@@ -28,6 +33,8 @@ export interface GetThingShadowCommandOutput extends GetThingShadowResponse, __M
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param GetThingShadowCommandInput - {@link GetThingShadowCommandInput}
|
|
37
|
+
* @returns {@link GetThingShadowCommandOutput}
|
|
31
38
|
* @see {@link GetThingShadowCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link GetThingShadowCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape.
|
|
@@ -61,11 +68,20 @@ export interface GetThingShadowCommandOutput extends GetThingShadowResponse, __M
|
|
|
61
68
|
export declare class GetThingShadowCommand extends $Command<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
62
69
|
readonly input: GetThingShadowCommandInput;
|
|
63
70
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
64
74
|
constructor(input: GetThingShadowCommandInput);
|
|
65
75
|
/**
|
|
66
76
|
* @internal
|
|
67
77
|
*/
|
|
68
78
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetThingShadowCommandInput, GetThingShadowCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
69
82
|
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
70
86
|
private deserialize;
|
|
71
87
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { ListNamedShadowsForThingRequest, ListNamedShadowsForThingResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListNamedShadowsForThingCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListNamedShadowsForThingCommandInput extends ListNamedShadowsForThingRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListNamedShadowsForThingCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsForThingResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the shadows for the specified thing.</p>
|
|
18
23
|
* <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>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsF
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param ListNamedShadowsForThingCommandInput - {@link ListNamedShadowsForThingCommandInput}
|
|
35
|
+
* @returns {@link ListNamedShadowsForThingCommandOutput}
|
|
29
36
|
* @see {@link ListNamedShadowsForThingCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link ListNamedShadowsForThingCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape.
|
|
@@ -56,11 +63,20 @@ export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsF
|
|
|
56
63
|
export declare class ListNamedShadowsForThingCommand extends $Command<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
57
64
|
readonly input: ListNamedShadowsForThingCommandInput;
|
|
58
65
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
59
69
|
constructor(input: ListNamedShadowsForThingCommandInput);
|
|
60
70
|
/**
|
|
61
71
|
* @internal
|
|
62
72
|
*/
|
|
63
73
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
64
77
|
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
65
81
|
private deserialize;
|
|
66
82
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListRetainedMessagesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListRetainedMessagesCommandInput extends ListRetainedMessagesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListRetainedMessagesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists summary information about the retained messages stored for the account.</p>
|
|
18
23
|
* <p>This action returns only the topic names of the retained messages. It doesn't
|
|
19
24
|
* return any message payloads. Although this action doesn't return a message payload,
|
|
@@ -34,6 +39,8 @@ export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesR
|
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
36
41
|
*
|
|
42
|
+
* @param ListRetainedMessagesCommandInput - {@link ListRetainedMessagesCommandInput}
|
|
43
|
+
* @returns {@link ListRetainedMessagesCommandOutput}
|
|
37
44
|
* @see {@link ListRetainedMessagesCommandInput} for command's `input` shape.
|
|
38
45
|
* @see {@link ListRetainedMessagesCommandOutput} for command's `response` shape.
|
|
39
46
|
* @see {@link IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape.
|
|
@@ -61,11 +68,20 @@ export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesR
|
|
|
61
68
|
export declare class ListRetainedMessagesCommand extends $Command<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
62
69
|
readonly input: ListRetainedMessagesCommandInput;
|
|
63
70
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
64
74
|
constructor(input: ListRetainedMessagesCommandInput);
|
|
65
75
|
/**
|
|
66
76
|
* @internal
|
|
67
77
|
*/
|
|
68
78
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
69
82
|
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
70
86
|
private deserialize;
|
|
71
87
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { PublishRequest } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PublishCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PublishCommandInput extends PublishRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PublishCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PublishCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Publishes an MQTT message.</p>
|
|
18
23
|
* <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>
|
|
19
24
|
* <p>For more information about MQTT messages, see
|
|
@@ -31,6 +36,8 @@ export interface PublishCommandOutput extends __MetadataBearer {
|
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
33
38
|
*
|
|
39
|
+
* @param PublishCommandInput - {@link PublishCommandInput}
|
|
40
|
+
* @returns {@link PublishCommandOutput}
|
|
34
41
|
* @see {@link PublishCommandInput} for command's `input` shape.
|
|
35
42
|
* @see {@link PublishCommandOutput} for command's `response` shape.
|
|
36
43
|
* @see {@link IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape.
|
|
@@ -55,11 +62,20 @@ export interface PublishCommandOutput extends __MetadataBearer {
|
|
|
55
62
|
export declare class PublishCommand extends $Command<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
56
63
|
readonly input: PublishCommandInput;
|
|
57
64
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
58
68
|
constructor(input: PublishCommandInput);
|
|
59
69
|
/**
|
|
60
70
|
* @internal
|
|
61
71
|
*/
|
|
62
72
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishCommandInput, PublishCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
63
76
|
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
64
80
|
private deserialize;
|
|
65
81
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
5
5
|
import { UpdateThingShadowRequest, UpdateThingShadowResponse } from "../models/models_0";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateThingShadowCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateThingShadowCommandInput extends UpdateThingShadowRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateThingShadowCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateThingShadowCommandOutput extends UpdateThingShadowResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the shadow for the specified thing.</p>
|
|
18
23
|
* <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>
|
|
19
24
|
* <p>For more information, see <a href="http://docs.aws.amazon.com/iot/latest/developerguide/API_UpdateThingShadow.html">UpdateThingShadow</a> in the
|
|
@@ -28,6 +33,8 @@ export interface UpdateThingShadowCommandOutput extends UpdateThingShadowRespons
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param UpdateThingShadowCommandInput - {@link UpdateThingShadowCommandInput}
|
|
37
|
+
* @returns {@link UpdateThingShadowCommandOutput}
|
|
31
38
|
* @see {@link UpdateThingShadowCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link UpdateThingShadowCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link IoTDataPlaneClientResolvedConfig | config} for IoTDataPlaneClient's `config` shape.
|
|
@@ -64,11 +71,20 @@ export interface UpdateThingShadowCommandOutput extends UpdateThingShadowRespons
|
|
|
64
71
|
export declare class UpdateThingShadowCommand extends $Command<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
65
72
|
readonly input: UpdateThingShadowCommandInput;
|
|
66
73
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
67
77
|
constructor(input: UpdateThingShadowCommandInput);
|
|
68
78
|
/**
|
|
69
79
|
* @internal
|
|
70
80
|
*/
|
|
71
81
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
72
85
|
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
73
89
|
private deserialize;
|
|
74
90
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from IoTDataPlane service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class IoTDataPlaneServiceException extends __ServiceException {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { IoTDataPlaneServiceException as __BaseException } from "./IoTDataPlaneServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>The specified version does not match the version of the document.</p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class ConflictException extends __BaseException {
|
|
@@ -12,6 +13,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
12
13
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
16
|
+
* @public
|
|
15
17
|
* <p>The input for the DeleteThingShadow operation.</p>
|
|
16
18
|
*/
|
|
17
19
|
export interface DeleteThingShadowRequest {
|
|
@@ -25,6 +27,7 @@ export interface DeleteThingShadowRequest {
|
|
|
25
27
|
shadowName?: string;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
30
|
+
* @public
|
|
28
31
|
* <p>The output from the DeleteThingShadow operation.</p>
|
|
29
32
|
*/
|
|
30
33
|
export interface DeleteThingShadowResponse {
|
|
@@ -34,6 +37,7 @@ export interface DeleteThingShadowResponse {
|
|
|
34
37
|
payload: Uint8Array | undefined;
|
|
35
38
|
}
|
|
36
39
|
/**
|
|
40
|
+
* @public
|
|
37
41
|
* <p>An unexpected error has occurred.</p>
|
|
38
42
|
*/
|
|
39
43
|
export declare class InternalFailureException extends __BaseException {
|
|
@@ -45,6 +49,7 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
45
49
|
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
46
50
|
}
|
|
47
51
|
/**
|
|
52
|
+
* @public
|
|
48
53
|
* <p>The request is not valid.</p>
|
|
49
54
|
*/
|
|
50
55
|
export declare class InvalidRequestException extends __BaseException {
|
|
@@ -56,6 +61,7 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
56
61
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
57
62
|
}
|
|
58
63
|
/**
|
|
64
|
+
* @public
|
|
59
65
|
* <p>The specified combination of HTTP verb and URI is not supported.</p>
|
|
60
66
|
*/
|
|
61
67
|
export declare class MethodNotAllowedException extends __BaseException {
|
|
@@ -67,6 +73,7 @@ export declare class MethodNotAllowedException extends __BaseException {
|
|
|
67
73
|
constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
|
|
68
74
|
}
|
|
69
75
|
/**
|
|
76
|
+
* @public
|
|
70
77
|
* <p>The specified resource does not exist.</p>
|
|
71
78
|
*/
|
|
72
79
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -78,6 +85,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
78
85
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
79
86
|
}
|
|
80
87
|
/**
|
|
88
|
+
* @public
|
|
81
89
|
* <p>The service is temporarily unavailable.</p>
|
|
82
90
|
*/
|
|
83
91
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
@@ -89,6 +97,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
89
97
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
90
98
|
}
|
|
91
99
|
/**
|
|
100
|
+
* @public
|
|
92
101
|
* <p>The rate exceeds the limit.</p>
|
|
93
102
|
*/
|
|
94
103
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -100,6 +109,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
100
109
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
101
110
|
}
|
|
102
111
|
/**
|
|
112
|
+
* @public
|
|
103
113
|
* <p>You are not authorized to perform this operation.</p>
|
|
104
114
|
*/
|
|
105
115
|
export declare class UnauthorizedException extends __BaseException {
|
|
@@ -111,6 +121,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
111
121
|
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
112
122
|
}
|
|
113
123
|
/**
|
|
124
|
+
* @public
|
|
114
125
|
* <p>The document encoding is not supported.</p>
|
|
115
126
|
*/
|
|
116
127
|
export declare class UnsupportedDocumentEncodingException extends __BaseException {
|
|
@@ -122,6 +133,7 @@ export declare class UnsupportedDocumentEncodingException extends __BaseExceptio
|
|
|
122
133
|
constructor(opts: __ExceptionOptionType<UnsupportedDocumentEncodingException, __BaseException>);
|
|
123
134
|
}
|
|
124
135
|
/**
|
|
136
|
+
* @public
|
|
125
137
|
* <p>The input for the GetRetainedMessage operation.</p>
|
|
126
138
|
*/
|
|
127
139
|
export interface GetRetainedMessageRequest {
|
|
@@ -131,6 +143,7 @@ export interface GetRetainedMessageRequest {
|
|
|
131
143
|
topic: string | undefined;
|
|
132
144
|
}
|
|
133
145
|
/**
|
|
146
|
+
* @public
|
|
134
147
|
* <p>The output from the GetRetainedMessage operation.</p>
|
|
135
148
|
*/
|
|
136
149
|
export interface GetRetainedMessageResponse {
|
|
@@ -152,6 +165,7 @@ export interface GetRetainedMessageResponse {
|
|
|
152
165
|
lastModifiedTime?: number;
|
|
153
166
|
}
|
|
154
167
|
/**
|
|
168
|
+
* @public
|
|
155
169
|
* <p>The input for the GetThingShadow operation.</p>
|
|
156
170
|
*/
|
|
157
171
|
export interface GetThingShadowRequest {
|
|
@@ -165,6 +179,7 @@ export interface GetThingShadowRequest {
|
|
|
165
179
|
shadowName?: string;
|
|
166
180
|
}
|
|
167
181
|
/**
|
|
182
|
+
* @public
|
|
168
183
|
* <p>The output from the GetThingShadow operation.</p>
|
|
169
184
|
*/
|
|
170
185
|
export interface GetThingShadowResponse {
|
|
@@ -173,6 +188,9 @@ export interface GetThingShadowResponse {
|
|
|
173
188
|
*/
|
|
174
189
|
payload?: Uint8Array;
|
|
175
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
176
194
|
export interface ListNamedShadowsForThingRequest {
|
|
177
195
|
/**
|
|
178
196
|
* <p>The name of the thing.</p>
|
|
@@ -187,6 +205,9 @@ export interface ListNamedShadowsForThingRequest {
|
|
|
187
205
|
*/
|
|
188
206
|
pageSize?: number;
|
|
189
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* @public
|
|
210
|
+
*/
|
|
190
211
|
export interface ListNamedShadowsForThingResponse {
|
|
191
212
|
/**
|
|
192
213
|
* <p>The list of shadows for the specified thing.</p>
|
|
@@ -201,6 +222,9 @@ export interface ListNamedShadowsForThingResponse {
|
|
|
201
222
|
*/
|
|
202
223
|
timestamp?: number;
|
|
203
224
|
}
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
204
228
|
export interface ListRetainedMessagesRequest {
|
|
205
229
|
/**
|
|
206
230
|
* <p>To retrieve the next set of results, the <code>nextToken</code>
|
|
@@ -214,6 +238,7 @@ export interface ListRetainedMessagesRequest {
|
|
|
214
238
|
maxResults?: number;
|
|
215
239
|
}
|
|
216
240
|
/**
|
|
241
|
+
* @public
|
|
217
242
|
* <p>Information about a single retained message.</p>
|
|
218
243
|
*/
|
|
219
244
|
export interface RetainedMessageSummary {
|
|
@@ -234,6 +259,9 @@ export interface RetainedMessageSummary {
|
|
|
234
259
|
*/
|
|
235
260
|
lastModifiedTime?: number;
|
|
236
261
|
}
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
237
265
|
export interface ListRetainedMessagesResponse {
|
|
238
266
|
/**
|
|
239
267
|
* <p>A summary list the account's retained messages. The information returned doesn't include
|
|
@@ -245,11 +273,15 @@ export interface ListRetainedMessagesResponse {
|
|
|
245
273
|
*/
|
|
246
274
|
nextToken?: string;
|
|
247
275
|
}
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
*/
|
|
248
279
|
export declare enum PayloadFormatIndicator {
|
|
249
280
|
UNSPECIFIED_BYTES = "UNSPECIFIED_BYTES",
|
|
250
281
|
UTF8_DATA = "UTF8_DATA"
|
|
251
282
|
}
|
|
252
283
|
/**
|
|
284
|
+
* @public
|
|
253
285
|
* <p>The input for the Publish operation.</p>
|
|
254
286
|
*/
|
|
255
287
|
export interface PublishRequest {
|
|
@@ -283,7 +315,7 @@ export interface PublishRequest {
|
|
|
283
315
|
* <p>The following example <code>userProperties</code> parameter is a JSON string which
|
|
284
316
|
* represents two User Properties. Note that it needs to be base64-encoded:</p>
|
|
285
317
|
* <p>
|
|
286
|
-
* <code>[{"deviceName": "alpha"}, {"deviceCnt": "45"}]</code>
|
|
318
|
+
* <code>[\{"deviceName": "alpha"\}, \{"deviceCnt": "45"\}]</code>
|
|
287
319
|
* </p>
|
|
288
320
|
*/
|
|
289
321
|
userProperties?: __LazyJsonString | string;
|
|
@@ -317,6 +349,7 @@ export interface PublishRequest {
|
|
|
317
349
|
messageExpiry?: number;
|
|
318
350
|
}
|
|
319
351
|
/**
|
|
352
|
+
* @public
|
|
320
353
|
* <p>The payload exceeds the maximum size allowed.</p>
|
|
321
354
|
*/
|
|
322
355
|
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
@@ -328,6 +361,7 @@ export declare class RequestEntityTooLargeException extends __BaseException {
|
|
|
328
361
|
constructor(opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>);
|
|
329
362
|
}
|
|
330
363
|
/**
|
|
364
|
+
* @public
|
|
331
365
|
* <p>The input for the UpdateThingShadow operation.</p>
|
|
332
366
|
*/
|
|
333
367
|
export interface UpdateThingShadowRequest {
|
|
@@ -345,6 +379,7 @@ export interface UpdateThingShadowRequest {
|
|
|
345
379
|
payload: Uint8Array | undefined;
|
|
346
380
|
}
|
|
347
381
|
/**
|
|
382
|
+
* @public
|
|
348
383
|
* <p>The output from the UpdateThingShadow operation.</p>
|
|
349
384
|
*/
|
|
350
385
|
export interface UpdateThingShadowResponse {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput } from "../commands/ListRetainedMessagesCommand";
|
|
3
3
|
import { IoTDataPlanePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListRetainedMessages(config: IoTDataPlanePaginationConfiguration, input: ListRetainedMessagesCommandInput, ...additionalArguments: any): Paginator<ListRetainedMessagesCommandOutput>;
|
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.297.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.295.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.295.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.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
55
|
"tslib": "^2.5.0"
|
|
56
56
|
},
|