@aws-sdk/client-kinesis-analytics-v2 3.987.0 → 3.988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +52 -2140
- package/dist-cjs/models/KinesisAnalyticsV2ServiceException.js +12 -0
- package/dist-cjs/models/errors.js +201 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1684 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +93 -87
- package/dist-types/schemas/schemas_0.d.ts +21 -14
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -14
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KinesisAnalyticsV2ServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class KinesisAnalyticsV2ServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, KinesisAnalyticsV2ServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.KinesisAnalyticsV2ServiceException = KinesisAnalyticsV2ServiceException;
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnableToDetectSchemaException = exports.ServiceUnavailableException = exports.ResourceProvisionedThroughputExceededException = exports.UnsupportedOperationException = exports.TooManyTagsException = exports.LimitExceededException = exports.CodeValidationException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidRequestException = exports.InvalidArgumentException = exports.InvalidApplicationConfigurationException = exports.ConcurrentModificationException = void 0;
|
|
4
|
+
const KinesisAnalyticsV2ServiceException_1 = require("./KinesisAnalyticsV2ServiceException");
|
|
5
|
+
class ConcurrentModificationException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
6
|
+
name = "ConcurrentModificationException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "ConcurrentModificationException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
20
|
+
class InvalidApplicationConfigurationException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
21
|
+
name = "InvalidApplicationConfigurationException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InvalidApplicationConfigurationException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InvalidApplicationConfigurationException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.InvalidApplicationConfigurationException = InvalidApplicationConfigurationException;
|
|
35
|
+
class InvalidArgumentException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
36
|
+
name = "InvalidArgumentException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InvalidArgumentException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
50
|
+
class InvalidRequestException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
51
|
+
name = "InvalidRequestException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "InvalidRequestException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
65
|
+
class ResourceInUseException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
66
|
+
name = "ResourceInUseException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ResourceInUseException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
80
|
+
class ResourceNotFoundException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
81
|
+
name = "ResourceNotFoundException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ResourceNotFoundException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
95
|
+
class CodeValidationException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
96
|
+
name = "CodeValidationException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "CodeValidationException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, CodeValidationException.prototype);
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.CodeValidationException = CodeValidationException;
|
|
110
|
+
class LimitExceededException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
111
|
+
name = "LimitExceededException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
Message;
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "LimitExceededException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.LimitExceededException = LimitExceededException;
|
|
125
|
+
class TooManyTagsException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
126
|
+
name = "TooManyTagsException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
constructor(opts) {
|
|
129
|
+
super({
|
|
130
|
+
name: "TooManyTagsException",
|
|
131
|
+
$fault: "client",
|
|
132
|
+
...opts,
|
|
133
|
+
});
|
|
134
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
138
|
+
class UnsupportedOperationException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
139
|
+
name = "UnsupportedOperationException";
|
|
140
|
+
$fault = "client";
|
|
141
|
+
Message;
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "UnsupportedOperationException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
149
|
+
this.Message = opts.Message;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
153
|
+
class ResourceProvisionedThroughputExceededException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
154
|
+
name = "ResourceProvisionedThroughputExceededException";
|
|
155
|
+
$fault = "client";
|
|
156
|
+
Message;
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "ResourceProvisionedThroughputExceededException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, ResourceProvisionedThroughputExceededException.prototype);
|
|
164
|
+
this.Message = opts.Message;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
exports.ResourceProvisionedThroughputExceededException = ResourceProvisionedThroughputExceededException;
|
|
168
|
+
class ServiceUnavailableException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
169
|
+
name = "ServiceUnavailableException";
|
|
170
|
+
$fault = "server";
|
|
171
|
+
Message;
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "ServiceUnavailableException",
|
|
175
|
+
$fault: "server",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
179
|
+
this.Message = opts.Message;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
183
|
+
class UnableToDetectSchemaException extends KinesisAnalyticsV2ServiceException_1.KinesisAnalyticsV2ServiceException {
|
|
184
|
+
name = "UnableToDetectSchemaException";
|
|
185
|
+
$fault = "client";
|
|
186
|
+
Message;
|
|
187
|
+
RawInputRecords;
|
|
188
|
+
ProcessedInputRecords;
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "UnableToDetectSchemaException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, UnableToDetectSchemaException.prototype);
|
|
196
|
+
this.Message = opts.Message;
|
|
197
|
+
this.RawInputRecords = opts.RawInputRecords;
|
|
198
|
+
this.ProcessedInputRecords = opts.ProcessedInputRecords;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
exports.UnableToDetectSchemaException = UnableToDetectSchemaException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-05-23",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.kinesisanalyticsv2",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://analytics.kinesis.amazonaws.com/doc/2018-05-23",
|
|
33
35
|
version: "2018-05-23",
|
|
34
36
|
serviceTarget: "KinesisAnalytics_20180523",
|