@aws-sdk/client-iot-data-plane 3.52.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 +11 -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/index.d.ts +1 -0
- package/dist-types/ts3.4/models/IoTDataPlaneServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -41
- package/package.json +25 -25
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,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
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { IoTDataPlaneServiceException as __BaseException } from "./IoTDataPlaneServiceException";
|
|
2
3
|
|
|
3
|
-
export
|
|
4
|
-
name: "ConflictException";
|
|
5
|
-
$fault: "client";
|
|
4
|
+
export declare class ConflictException extends __BaseException {
|
|
5
|
+
readonly name: "ConflictException";
|
|
6
|
+
readonly $fault: "client";
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
export interface DeleteThingShadowRequest {
|
|
@@ -27,60 +28,60 @@ export declare namespace DeleteThingShadowResponse {
|
|
|
27
28
|
const filterSensitiveLog: (obj: DeleteThingShadowResponse) => any;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
export
|
|
31
|
-
name: "InternalFailureException";
|
|
32
|
-
$fault: "server";
|
|
31
|
+
export declare class InternalFailureException extends __BaseException {
|
|
32
|
+
readonly name: "InternalFailureException";
|
|
33
|
+
readonly $fault: "server";
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
export
|
|
38
|
-
name: "InvalidRequestException";
|
|
39
|
-
$fault: "client";
|
|
38
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
39
|
+
readonly name: "InvalidRequestException";
|
|
40
|
+
readonly $fault: "client";
|
|
40
41
|
|
|
41
|
-
|
|
42
|
+
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
42
43
|
}
|
|
43
44
|
|
|
44
|
-
export
|
|
45
|
-
name: "MethodNotAllowedException";
|
|
46
|
-
$fault: "client";
|
|
45
|
+
export declare class MethodNotAllowedException extends __BaseException {
|
|
46
|
+
readonly name: "MethodNotAllowedException";
|
|
47
|
+
readonly $fault: "client";
|
|
47
48
|
|
|
48
|
-
|
|
49
|
+
constructor(opts: __ExceptionOptionType<MethodNotAllowedException, __BaseException>);
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
export
|
|
52
|
-
name: "ResourceNotFoundException";
|
|
53
|
-
$fault: "client";
|
|
52
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
53
|
+
readonly name: "ResourceNotFoundException";
|
|
54
|
+
readonly $fault: "client";
|
|
54
55
|
|
|
55
|
-
|
|
56
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
export
|
|
59
|
-
name: "ServiceUnavailableException";
|
|
60
|
-
$fault: "server";
|
|
59
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
60
|
+
readonly name: "ServiceUnavailableException";
|
|
61
|
+
readonly $fault: "server";
|
|
61
62
|
|
|
62
|
-
|
|
63
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
export
|
|
66
|
-
name: "ThrottlingException";
|
|
67
|
-
$fault: "client";
|
|
66
|
+
export declare class ThrottlingException extends __BaseException {
|
|
67
|
+
readonly name: "ThrottlingException";
|
|
68
|
+
readonly $fault: "client";
|
|
68
69
|
|
|
69
|
-
|
|
70
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
export
|
|
73
|
-
name: "UnauthorizedException";
|
|
74
|
-
$fault: "client";
|
|
73
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
74
|
+
readonly name: "UnauthorizedException";
|
|
75
|
+
readonly $fault: "client";
|
|
75
76
|
|
|
76
|
-
|
|
77
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
77
78
|
}
|
|
78
79
|
|
|
79
|
-
export
|
|
80
|
-
name: "UnsupportedDocumentEncodingException";
|
|
81
|
-
$fault: "client";
|
|
80
|
+
export declare class UnsupportedDocumentEncodingException extends __BaseException {
|
|
81
|
+
readonly name: "UnsupportedDocumentEncodingException";
|
|
82
|
+
readonly $fault: "client";
|
|
82
83
|
|
|
83
|
-
|
|
84
|
+
constructor(opts: __ExceptionOptionType<UnsupportedDocumentEncodingException, __BaseException>);
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
export interface GetRetainedMessageRequest {
|
|
@@ -201,11 +202,11 @@ export declare namespace PublishRequest {
|
|
|
201
202
|
const filterSensitiveLog: (obj: PublishRequest) => any;
|
|
202
203
|
}
|
|
203
204
|
|
|
204
|
-
export
|
|
205
|
-
name: "RequestEntityTooLargeException";
|
|
206
|
-
$fault: "client";
|
|
205
|
+
export declare class RequestEntityTooLargeException extends __BaseException {
|
|
206
|
+
readonly name: "RequestEntityTooLargeException";
|
|
207
|
+
readonly $fault: "client";
|
|
207
208
|
|
|
208
|
-
|
|
209
|
+
constructor(opts: __ExceptionOptionType<RequestEntityTooLargeException, __BaseException>);
|
|
209
210
|
}
|
|
210
211
|
|
|
211
212
|
export interface UpdateThingShadowRequest {
|
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",
|
|
@@ -18,34 +18,34 @@
|
|
|
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.
|
|
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
41
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
42
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
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.
|
|
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
49
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
50
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|