@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
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IoTDataPlaneServiceException as __BaseException } from "./IoTDataPlaneServiceException";
|
|
3
|
+
|
|
4
|
+
export declare class ConflictException extends __BaseException {
|
|
5
|
+
readonly name: "ConflictException";
|
|
6
|
+
readonly $fault: "client";
|
|
7
|
+
|
|
8
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface DeleteThingShadowRequest {
|
|
12
|
+
|
|
13
|
+
thingName: string | undefined;
|
|
14
|
+
|
|
15
|
+
shadowName?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace DeleteThingShadowRequest {
|
|
18
|
+
|
|
19
|
+
const filterSensitiveLog: (obj: DeleteThingShadowRequest) => any;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface DeleteThingShadowResponse {
|
|
23
|
+
|
|
24
|
+
payload: Uint8Array | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace DeleteThingShadowResponse {
|
|
27
|
+
|
|
28
|
+
const filterSensitiveLog: (obj: DeleteThingShadowResponse) => any;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export declare class InternalFailureException extends __BaseException {
|
|
32
|
+
readonly name: "InternalFailureException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
|
|
35
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
39
|
+
readonly name: "InvalidRequestException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
|
|
42
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export declare class MethodNotAllowedException extends __BaseException {
|
|
46
|
+
readonly name: "MethodNotAllowedException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
|
|
49
|
+
constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
53
|
+
readonly name: "ResourceNotFoundException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
|
|
56
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
60
|
+
readonly name: "ServiceUnavailableException";
|
|
61
|
+
readonly $fault: "server";
|
|
62
|
+
|
|
63
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export declare class ThrottlingException extends __BaseException {
|
|
67
|
+
readonly name: "ThrottlingException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
|
|
70
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
74
|
+
readonly name: "UnauthorizedException";
|
|
75
|
+
readonly $fault: "client";
|
|
76
|
+
|
|
77
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export declare class UnsupportedDocumentEncodingException extends __BaseException {
|
|
81
|
+
readonly name: "UnsupportedDocumentEncodingException";
|
|
82
|
+
readonly $fault: "client";
|
|
83
|
+
|
|
84
|
+
constructor(opts: __ExceptionOptionType<UnsupportedDocumentEncodingException, __BaseException>);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface GetRetainedMessageRequest {
|
|
88
|
+
|
|
89
|
+
topic: string | undefined;
|
|
90
|
+
}
|
|
91
|
+
export declare namespace GetRetainedMessageRequest {
|
|
92
|
+
|
|
93
|
+
const filterSensitiveLog: (obj: GetRetainedMessageRequest) => any;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface GetRetainedMessageResponse {
|
|
97
|
+
|
|
98
|
+
topic?: string;
|
|
99
|
+
|
|
100
|
+
payload?: Uint8Array;
|
|
101
|
+
|
|
102
|
+
qos?: number;
|
|
103
|
+
|
|
104
|
+
lastModifiedTime?: number;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace GetRetainedMessageResponse {
|
|
107
|
+
|
|
108
|
+
const filterSensitiveLog: (obj: GetRetainedMessageResponse) => any;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export interface GetThingShadowRequest {
|
|
112
|
+
|
|
113
|
+
thingName: string | undefined;
|
|
114
|
+
|
|
115
|
+
shadowName?: string;
|
|
116
|
+
}
|
|
117
|
+
export declare namespace GetThingShadowRequest {
|
|
118
|
+
|
|
119
|
+
const filterSensitiveLog: (obj: GetThingShadowRequest) => any;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface GetThingShadowResponse {
|
|
123
|
+
|
|
124
|
+
payload?: Uint8Array;
|
|
125
|
+
}
|
|
126
|
+
export declare namespace GetThingShadowResponse {
|
|
127
|
+
|
|
128
|
+
const filterSensitiveLog: (obj: GetThingShadowResponse) => any;
|
|
129
|
+
}
|
|
130
|
+
export interface ListNamedShadowsForThingRequest {
|
|
131
|
+
|
|
132
|
+
thingName: string | undefined;
|
|
133
|
+
|
|
134
|
+
nextToken?: string;
|
|
135
|
+
|
|
136
|
+
pageSize?: number;
|
|
137
|
+
}
|
|
138
|
+
export declare namespace ListNamedShadowsForThingRequest {
|
|
139
|
+
|
|
140
|
+
const filterSensitiveLog: (obj: ListNamedShadowsForThingRequest) => any;
|
|
141
|
+
}
|
|
142
|
+
export interface ListNamedShadowsForThingResponse {
|
|
143
|
+
|
|
144
|
+
results?: string[];
|
|
145
|
+
|
|
146
|
+
nextToken?: string;
|
|
147
|
+
|
|
148
|
+
timestamp?: number;
|
|
149
|
+
}
|
|
150
|
+
export declare namespace ListNamedShadowsForThingResponse {
|
|
151
|
+
|
|
152
|
+
const filterSensitiveLog: (obj: ListNamedShadowsForThingResponse) => any;
|
|
153
|
+
}
|
|
154
|
+
export interface ListRetainedMessagesRequest {
|
|
155
|
+
|
|
156
|
+
nextToken?: string;
|
|
157
|
+
|
|
158
|
+
maxResults?: number;
|
|
159
|
+
}
|
|
160
|
+
export declare namespace ListRetainedMessagesRequest {
|
|
161
|
+
|
|
162
|
+
const filterSensitiveLog: (obj: ListRetainedMessagesRequest) => any;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface RetainedMessageSummary {
|
|
166
|
+
|
|
167
|
+
topic?: string;
|
|
168
|
+
|
|
169
|
+
payloadSize?: number;
|
|
170
|
+
|
|
171
|
+
qos?: number;
|
|
172
|
+
|
|
173
|
+
lastModifiedTime?: number;
|
|
174
|
+
}
|
|
175
|
+
export declare namespace RetainedMessageSummary {
|
|
176
|
+
|
|
177
|
+
const filterSensitiveLog: (obj: RetainedMessageSummary) => any;
|
|
178
|
+
}
|
|
179
|
+
export interface ListRetainedMessagesResponse {
|
|
180
|
+
|
|
181
|
+
retainedTopics?: RetainedMessageSummary[];
|
|
182
|
+
|
|
183
|
+
nextToken?: string;
|
|
184
|
+
}
|
|
185
|
+
export declare namespace ListRetainedMessagesResponse {
|
|
186
|
+
|
|
187
|
+
const filterSensitiveLog: (obj: ListRetainedMessagesResponse) => any;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface PublishRequest {
|
|
191
|
+
|
|
192
|
+
topic: string | undefined;
|
|
193
|
+
|
|
194
|
+
qos?: number;
|
|
195
|
+
|
|
196
|
+
retain?: boolean;
|
|
197
|
+
|
|
198
|
+
payload?: Uint8Array;
|
|
199
|
+
}
|
|
200
|
+
export declare namespace PublishRequest {
|
|
201
|
+
|
|
202
|
+
const filterSensitiveLog: (obj: PublishRequest) => any;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
206
|
+
readonly name: "RequestEntityTooLargeException";
|
|
207
|
+
readonly $fault: "client";
|
|
208
|
+
|
|
209
|
+
constructor(opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface UpdateThingShadowRequest {
|
|
213
|
+
|
|
214
|
+
thingName: string | undefined;
|
|
215
|
+
|
|
216
|
+
shadowName?: string;
|
|
217
|
+
|
|
218
|
+
payload: Uint8Array | undefined;
|
|
219
|
+
}
|
|
220
|
+
export declare namespace UpdateThingShadowRequest {
|
|
221
|
+
|
|
222
|
+
const filterSensitiveLog: (obj: UpdateThingShadowRequest) => any;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export interface UpdateThingShadowResponse {
|
|
226
|
+
|
|
227
|
+
payload?: Uint8Array;
|
|
228
|
+
}
|
|
229
|
+
export declare namespace UpdateThingShadowResponse {
|
|
230
|
+
|
|
231
|
+
const filterSensitiveLog: (obj: UpdateThingShadowResponse) => any;
|
|
232
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { IoTDataPlane } from "../IoTDataPlane";
|
|
3
|
+
import { IoTDataPlaneClient } from "../IoTDataPlaneClient";
|
|
4
|
+
export interface IoTDataPlanePaginationConfiguration extends PaginationConfiguration {
|
|
5
|
+
client: IoTDataPlane | IoTDataPlaneClient;
|
|
6
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput } from "../commands/ListRetainedMessagesCommand";
|
|
3
|
+
import { IoTDataPlanePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListRetainedMessages(config: IoTDataPlanePaginationConfiguration, input: ListRetainedMessagesCommandInput, ...additionalArguments: any): Paginator<ListRetainedMessagesCommandOutput>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { DeleteThingShadowCommandInput, DeleteThingShadowCommandOutput } from "../commands/DeleteThingShadowCommand";
|
|
4
|
+
import { GetRetainedMessageCommandInput, GetRetainedMessageCommandOutput } from "../commands/GetRetainedMessageCommand";
|
|
5
|
+
import { GetThingShadowCommandInput, GetThingShadowCommandOutput } from "../commands/GetThingShadowCommand";
|
|
6
|
+
import { ListNamedShadowsForThingCommandInput, ListNamedShadowsForThingCommandOutput } from "../commands/ListNamedShadowsForThingCommand";
|
|
7
|
+
import { ListRetainedMessagesCommandInput, ListRetainedMessagesCommandOutput } from "../commands/ListRetainedMessagesCommand";
|
|
8
|
+
import { PublishCommandInput, PublishCommandOutput } from "../commands/PublishCommand";
|
|
9
|
+
import { UpdateThingShadowCommandInput, UpdateThingShadowCommandOutput } from "../commands/UpdateThingShadowCommand";
|
|
10
|
+
export declare const serializeAws_restJson1DeleteThingShadowCommand: (input: DeleteThingShadowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
export declare const serializeAws_restJson1GetRetainedMessageCommand: (input: GetRetainedMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_restJson1GetThingShadowCommand: (input: GetThingShadowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
export declare const serializeAws_restJson1ListNamedShadowsForThingCommand: (input: ListNamedShadowsForThingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const serializeAws_restJson1ListRetainedMessagesCommand: (input: ListRetainedMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const serializeAws_restJson1PublishCommand: (input: PublishCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
export declare const serializeAws_restJson1UpdateThingShadowCommand: (input: UpdateThingShadowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
+
export declare const deserializeAws_restJson1DeleteThingShadowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteThingShadowCommandOutput>;
|
|
18
|
+
export declare const deserializeAws_restJson1GetRetainedMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRetainedMessageCommandOutput>;
|
|
19
|
+
export declare const deserializeAws_restJson1GetThingShadowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetThingShadowCommandOutput>;
|
|
20
|
+
export declare const deserializeAws_restJson1ListNamedShadowsForThingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListNamedShadowsForThingCommandOutput>;
|
|
21
|
+
export declare const deserializeAws_restJson1ListRetainedMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRetainedMessagesCommandOutput>;
|
|
22
|
+
export declare const deserializeAws_restJson1PublishCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PublishCommandOutput>;
|
|
23
|
+
export declare const deserializeAws_restJson1UpdateThingShadowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateThingShadowCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: IoTDataPlaneClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|
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.53.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|