@aws-sdk/client-iot-data-plane 3.50.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/IoTDataPlaneServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +132 -1
- package/dist-cjs/protocols/Aws_restJson1.js +143 -436
- package/dist-es/index.js +1 -0
- package/dist-es/models/IoTDataPlaneServiceException.js +12 -0
- package/dist-es/models/models_0.js +122 -1
- package/dist-es/protocols/Aws_restJson1.js +229 -475
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/IoTDataPlaneServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +52 -51
- package/dist-types/ts3.4/IoTDataPlane.d.ts +40 -0
- package/dist-types/ts3.4/IoTDataPlaneClient.d.ts +80 -0
- package/dist-types/ts3.4/commands/DeleteThingShadowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRetainedMessageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetThingShadowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListNamedShadowsForThingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRetainedMessagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PublishCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateThingShadowCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +232 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRetainedMessagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +23 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from IoTDataPlane service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class IoTDataPlaneServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IoTDataPlaneServiceException as __BaseException } from "./IoTDataPlaneServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>The specified version does not match the version of the document.</p>
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
name: "ConflictException";
|
|
7
|
-
$fault: "client";
|
|
6
|
+
export declare class ConflictException extends __BaseException {
|
|
7
|
+
readonly name: "ConflictException";
|
|
8
|
+
readonly $fault: "client";
|
|
8
9
|
/**
|
|
9
|
-
*
|
|
10
|
+
* @internal
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
12
13
|
}
|
|
13
14
|
/**
|
|
14
15
|
* <p>The input for the DeleteThingShadow operation.</p>
|
|
@@ -47,90 +48,90 @@ export declare namespace DeleteThingShadowResponse {
|
|
|
47
48
|
/**
|
|
48
49
|
* <p>An unexpected error has occurred.</p>
|
|
49
50
|
*/
|
|
50
|
-
export
|
|
51
|
-
name: "InternalFailureException";
|
|
52
|
-
$fault: "server";
|
|
51
|
+
export declare class InternalFailureException extends __BaseException {
|
|
52
|
+
readonly name: "InternalFailureException";
|
|
53
|
+
readonly $fault: "server";
|
|
53
54
|
/**
|
|
54
|
-
*
|
|
55
|
+
* @internal
|
|
55
56
|
*/
|
|
56
|
-
|
|
57
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* <p>The request is not valid.</p>
|
|
60
61
|
*/
|
|
61
|
-
export
|
|
62
|
-
name: "InvalidRequestException";
|
|
63
|
-
$fault: "client";
|
|
62
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
63
|
+
readonly name: "InvalidRequestException";
|
|
64
|
+
readonly $fault: "client";
|
|
64
65
|
/**
|
|
65
|
-
*
|
|
66
|
+
* @internal
|
|
66
67
|
*/
|
|
67
|
-
|
|
68
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
68
69
|
}
|
|
69
70
|
/**
|
|
70
71
|
* <p>The specified combination of HTTP verb and URI is not supported.</p>
|
|
71
72
|
*/
|
|
72
|
-
export
|
|
73
|
-
name: "MethodNotAllowedException";
|
|
74
|
-
$fault: "client";
|
|
73
|
+
export declare class MethodNotAllowedException extends __BaseException {
|
|
74
|
+
readonly name: "MethodNotAllowedException";
|
|
75
|
+
readonly $fault: "client";
|
|
75
76
|
/**
|
|
76
|
-
*
|
|
77
|
+
* @internal
|
|
77
78
|
*/
|
|
78
|
-
|
|
79
|
+
constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
|
|
79
80
|
}
|
|
80
81
|
/**
|
|
81
82
|
* <p>The specified resource does not exist.</p>
|
|
82
83
|
*/
|
|
83
|
-
export
|
|
84
|
-
name: "ResourceNotFoundException";
|
|
85
|
-
$fault: "client";
|
|
84
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
85
|
+
readonly name: "ResourceNotFoundException";
|
|
86
|
+
readonly $fault: "client";
|
|
86
87
|
/**
|
|
87
|
-
*
|
|
88
|
+
* @internal
|
|
88
89
|
*/
|
|
89
|
-
|
|
90
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
90
91
|
}
|
|
91
92
|
/**
|
|
92
93
|
* <p>The service is temporarily unavailable.</p>
|
|
93
94
|
*/
|
|
94
|
-
export
|
|
95
|
-
name: "ServiceUnavailableException";
|
|
96
|
-
$fault: "server";
|
|
95
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
96
|
+
readonly name: "ServiceUnavailableException";
|
|
97
|
+
readonly $fault: "server";
|
|
97
98
|
/**
|
|
98
|
-
*
|
|
99
|
+
* @internal
|
|
99
100
|
*/
|
|
100
|
-
|
|
101
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
101
102
|
}
|
|
102
103
|
/**
|
|
103
104
|
* <p>The rate exceeds the limit.</p>
|
|
104
105
|
*/
|
|
105
|
-
export
|
|
106
|
-
name: "ThrottlingException";
|
|
107
|
-
$fault: "client";
|
|
106
|
+
export declare class ThrottlingException extends __BaseException {
|
|
107
|
+
readonly name: "ThrottlingException";
|
|
108
|
+
readonly $fault: "client";
|
|
108
109
|
/**
|
|
109
|
-
*
|
|
110
|
+
* @internal
|
|
110
111
|
*/
|
|
111
|
-
|
|
112
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
112
113
|
}
|
|
113
114
|
/**
|
|
114
115
|
* <p>You are not authorized to perform this operation.</p>
|
|
115
116
|
*/
|
|
116
|
-
export
|
|
117
|
-
name: "UnauthorizedException";
|
|
118
|
-
$fault: "client";
|
|
117
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
118
|
+
readonly name: "UnauthorizedException";
|
|
119
|
+
readonly $fault: "client";
|
|
119
120
|
/**
|
|
120
|
-
*
|
|
121
|
+
* @internal
|
|
121
122
|
*/
|
|
122
|
-
|
|
123
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* <p>The document encoding is not supported.</p>
|
|
126
127
|
*/
|
|
127
|
-
export
|
|
128
|
-
name: "UnsupportedDocumentEncodingException";
|
|
129
|
-
$fault: "client";
|
|
128
|
+
export declare class UnsupportedDocumentEncodingException extends __BaseException {
|
|
129
|
+
readonly name: "UnsupportedDocumentEncodingException";
|
|
130
|
+
readonly $fault: "client";
|
|
130
131
|
/**
|
|
131
|
-
*
|
|
132
|
+
* @internal
|
|
132
133
|
*/
|
|
133
|
-
|
|
134
|
+
constructor(opts: __ExceptionOptionType<UnsupportedDocumentEncodingException, __BaseException>);
|
|
134
135
|
}
|
|
135
136
|
/**
|
|
136
137
|
* <p>The input for the GetRetainedMessage operation.</p>
|
|
@@ -347,13 +348,13 @@ export declare namespace PublishRequest {
|
|
|
347
348
|
/**
|
|
348
349
|
* <p>The payload exceeds the maximum size allowed.</p>
|
|
349
350
|
*/
|
|
350
|
-
export
|
|
351
|
-
name: "RequestEntityTooLargeException";
|
|
352
|
-
$fault: "client";
|
|
351
|
+
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
352
|
+
readonly name: "RequestEntityTooLargeException";
|
|
353
|
+
readonly $fault: "client";
|
|
353
354
|
/**
|
|
354
|
-
*
|
|
355
|
+
* @internal
|
|
355
356
|
*/
|
|
356
|
-
|
|
357
|
+
constructor(opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>);
|
|
357
358
|
}
|
|
358
359
|
/**
|
|
359
360
|
* <p>The input for the UpdateThingShadow operation.</p>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput } from "./commands/DeleteThingShadowCommand";
|
|
3
|
+
import { GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput } from "./commands/GetRetainedMessageCommand";
|
|
4
|
+
import { GetThingShadowCommandInput, GetThingShadowCommandOutput } from "./commands/GetThingShadowCommand";
|
|
5
|
+
import { ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput } from "./commands/ListNamedShadowsForThingCommand";
|
|
6
|
+
import { ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput } from "./commands/ListRetainedMessagesCommand";
|
|
7
|
+
import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
|
|
8
|
+
import { UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput } from "./commands/UpdateThingShadowCommand";
|
|
9
|
+
import { IoTDataPlaneClient } from "./IoTDataPlaneClient";
|
|
10
|
+
|
|
11
|
+
export declare class IoTDataPlane extends IoTDataPlaneClient {
|
|
12
|
+
|
|
13
|
+
deleteThingShadow(args: DeleteThingShadowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteThingShadowCommandOutput>;
|
|
14
|
+
deleteThingShadow(args: DeleteThingShadowCommandInput, cb: (err: any, data?: DeleteThingShadowCommandOutput) => void): void;
|
|
15
|
+
deleteThingShadow(args: DeleteThingShadowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteThingShadowCommandOutput) => void): void;
|
|
16
|
+
|
|
17
|
+
getRetainedMessage(args: GetRetainedMessageCommandInput, options?: __HttpHandlerOptions): Promise<GetRetainedMessageCommandOutput>;
|
|
18
|
+
getRetainedMessage(args: GetRetainedMessageCommandInput, cb: (err: any, data?: GetRetainedMessageCommandOutput) => void): void;
|
|
19
|
+
getRetainedMessage(args: GetRetainedMessageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRetainedMessageCommandOutput) => void): void;
|
|
20
|
+
|
|
21
|
+
getThingShadow(args: GetThingShadowCommandInput, options?: __HttpHandlerOptions): Promise<GetThingShadowCommandOutput>;
|
|
22
|
+
getThingShadow(args: GetThingShadowCommandInput, cb: (err: any, data?: GetThingShadowCommandOutput) => void): void;
|
|
23
|
+
getThingShadow(args: GetThingShadowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetThingShadowCommandOutput) => void): void;
|
|
24
|
+
|
|
25
|
+
listNamedShadowsForThing(args: ListNamedShadowsForThingCommandInput, options?: __HttpHandlerOptions): Promise<ListNamedShadowsForThingCommandOutput>;
|
|
26
|
+
listNamedShadowsForThing(args: ListNamedShadowsForThingCommandInput, cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void): void;
|
|
27
|
+
listNamedShadowsForThing(args: ListNamedShadowsForThingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNamedShadowsForThingCommandOutput) => void): void;
|
|
28
|
+
|
|
29
|
+
listRetainedMessages(args: ListRetainedMessagesCommandInput, options?: __HttpHandlerOptions): Promise<ListRetainedMessagesCommandOutput>;
|
|
30
|
+
listRetainedMessages(args: ListRetainedMessagesCommandInput, cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void): void;
|
|
31
|
+
listRetainedMessages(args: ListRetainedMessagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRetainedMessagesCommandOutput) => void): void;
|
|
32
|
+
|
|
33
|
+
publish(args: PublishCommandInput, options?: __HttpHandlerOptions): Promise<PublishCommandOutput>;
|
|
34
|
+
publish(args: PublishCommandInput, cb: (err: any, data?: PublishCommandOutput) => void): void;
|
|
35
|
+
publish(args: PublishCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishCommandOutput) => void): void;
|
|
36
|
+
|
|
37
|
+
updateThingShadow(args: UpdateThingShadowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateThingShadowCommandOutput>;
|
|
38
|
+
updateThingShadow(args: UpdateThingShadowCommandInput, cb: (err: any, data?: UpdateThingShadowCommandOutput) => void): void;
|
|
39
|
+
updateThingShadow(args: UpdateThingShadowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateThingShadowCommandOutput) => void): void;
|
|
40
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput } from "./commands/DeleteThingShadowCommand";
|
|
10
|
+
import { GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput } from "./commands/GetRetainedMessageCommand";
|
|
11
|
+
import { GetThingShadowCommandInput, GetThingShadowCommandOutput } from "./commands/GetThingShadowCommand";
|
|
12
|
+
import { ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput } from "./commands/ListNamedShadowsForThingCommand";
|
|
13
|
+
import { ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput } from "./commands/ListRetainedMessagesCommand";
|
|
14
|
+
import { PublishCommandInput, PublishCommandOutput } from "./commands/PublishCommand";
|
|
15
|
+
import { UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput } from "./commands/UpdateThingShadowCommand";
|
|
16
|
+
export declare type ServiceInputTypes = DeleteThingShadowCommandInput | GetRetainedMessageCommandInput | GetThingShadowCommandInput | ListNamedShadowsForThingCommandInput | ListRetainedMessagesCommandInput | PublishCommandInput | UpdateThingShadowCommandInput;
|
|
17
|
+
export declare type ServiceOutputTypes = DeleteThingShadowCommandOutput | GetRetainedMessageCommandOutput | GetThingShadowCommandOutput | ListNamedShadowsForThingCommandOutput | ListRetainedMessagesCommandOutput | PublishCommandOutput | UpdateThingShadowCommandOutput;
|
|
18
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
19
|
+
|
|
20
|
+
requestHandler?: __HttpHandler;
|
|
21
|
+
|
|
22
|
+
sha256?: __HashConstructor;
|
|
23
|
+
|
|
24
|
+
urlParser?: __UrlParser;
|
|
25
|
+
|
|
26
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
27
|
+
|
|
28
|
+
streamCollector?: __StreamCollector;
|
|
29
|
+
|
|
30
|
+
base64Decoder?: __Decoder;
|
|
31
|
+
|
|
32
|
+
base64Encoder?: __Encoder;
|
|
33
|
+
|
|
34
|
+
utf8Decoder?: __Decoder;
|
|
35
|
+
|
|
36
|
+
utf8Encoder?: __Encoder;
|
|
37
|
+
|
|
38
|
+
runtime?: string;
|
|
39
|
+
|
|
40
|
+
disableHostPrefix?: boolean;
|
|
41
|
+
|
|
42
|
+
maxAttempts?: number | __Provider<number>;
|
|
43
|
+
|
|
44
|
+
retryMode?: string | __Provider<string>;
|
|
45
|
+
|
|
46
|
+
logger?: __Logger;
|
|
47
|
+
|
|
48
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
49
|
+
|
|
50
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
51
|
+
|
|
52
|
+
serviceId?: string;
|
|
53
|
+
|
|
54
|
+
region?: string | __Provider<string>;
|
|
55
|
+
|
|
56
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
57
|
+
|
|
58
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
59
|
+
|
|
60
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
61
|
+
|
|
62
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
63
|
+
}
|
|
64
|
+
declare type IoTDataPlaneClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
65
|
+
|
|
66
|
+
export interface IoTDataPlaneClientConfig extends IoTDataPlaneClientConfigType {
|
|
67
|
+
}
|
|
68
|
+
declare type IoTDataPlaneClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
69
|
+
|
|
70
|
+
export interface IoTDataPlaneClientResolvedConfig extends IoTDataPlaneClientResolvedConfigType {
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export declare class IoTDataPlaneClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, IoTDataPlaneClientResolvedConfig> {
|
|
74
|
+
|
|
75
|
+
readonly config: IoTDataPlaneClientResolvedConfig;
|
|
76
|
+
constructor(configuration: IoTDataPlaneClientConfig);
|
|
77
|
+
|
|
78
|
+
destroy(): void;
|
|
79
|
+
}
|
|
80
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
4
|
+
import { DeleteThingShadowRequest, DeleteThingShadowResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteThingShadowCommandInput extends DeleteThingShadowRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteThingShadowCommandOutput extends DeleteThingShadowResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DeleteThingShadowCommand extends $Command<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: DeleteThingShadowCommandInput;
|
|
12
|
+
constructor(input: DeleteThingShadowCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
4
|
+
import { GetRetainedMessageRequest, GetRetainedMessageResponse } from "../models/models_0";
|
|
5
|
+
export interface GetRetainedMessageCommandInput extends GetRetainedMessageRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetRetainedMessageCommandOutput extends GetRetainedMessageResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetRetainedMessageCommand extends $Command<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: GetRetainedMessageCommandInput;
|
|
12
|
+
constructor(input: GetRetainedMessageCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
4
|
+
import { GetThingShadowRequest, GetThingShadowResponse } from "../models/models_0";
|
|
5
|
+
export interface GetThingShadowCommandInput extends GetThingShadowRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetThingShadowCommandOutput extends GetThingShadowResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetThingShadowCommand extends $Command<GetThingShadowCommandInput, GetThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: GetThingShadowCommandInput;
|
|
12
|
+
constructor(input: GetThingShadowCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetThingShadowCommandInput, GetThingShadowCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
4
|
+
import { ListNamedShadowsForThingRequest, ListNamedShadowsForThingResponse } from "../models/models_0";
|
|
5
|
+
export interface ListNamedShadowsForThingCommandInput extends ListNamedShadowsForThingRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListNamedShadowsForThingCommandOutput extends ListNamedShadowsForThingResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListNamedShadowsForThingCommand extends $Command<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: ListNamedShadowsForThingCommandInput;
|
|
12
|
+
constructor(input: ListNamedShadowsForThingCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
4
|
+
import { ListRetainedMessagesRequest, ListRetainedMessagesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListRetainedMessagesCommandInput extends ListRetainedMessagesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListRetainedMessagesCommandOutput extends ListRetainedMessagesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListRetainedMessagesCommand extends $Command<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: ListRetainedMessagesCommandInput;
|
|
12
|
+
constructor(input: ListRetainedMessagesCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
4
|
+
import { PublishRequest } from "../models/models_0";
|
|
5
|
+
export interface PublishCommandInput extends PublishRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface PublishCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class PublishCommand extends $Command<PublishCommandInput, PublishCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: PublishCommandInput;
|
|
12
|
+
constructor(input: PublishCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PublishCommandInput, PublishCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { IoTDataPlaneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTDataPlaneClient";
|
|
4
|
+
import { UpdateThingShadowRequest, UpdateThingShadowResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateThingShadowCommandInput extends UpdateThingShadowRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateThingShadowCommandOutput extends UpdateThingShadowResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class UpdateThingShadowCommand extends $Command<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput, IoTDataPlaneClientResolvedConfig> {
|
|
11
|
+
readonly input: UpdateThingShadowCommandInput;
|
|
12
|
+
constructor(input: UpdateThingShadowCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: IoTDataPlaneClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./DeleteThingShadowCommand";
|
|
2
|
+
export * from "./GetRetainedMessageCommand";
|
|
3
|
+
export * from "./GetThingShadowCommand";
|
|
4
|
+
export * from "./ListNamedShadowsForThingCommand";
|
|
5
|
+
export * from "./ListRetainedMessagesCommand";
|
|
6
|
+
export * from "./PublishCommand";
|
|
7
|
+
export * from "./UpdateThingShadowCommand";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class IoTDataPlaneServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|