@aws-sdk/client-kinesis-analytics 3.987.0 → 3.989.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 +39 -1167
- package/dist-cjs/models/KinesisAnalyticsServiceException.js +12 -0
- package/dist-cjs/models/errors.js +164 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +873 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +87 -81
- package/dist-types/schemas/schemas_0.d.ts +20 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -13
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KinesisAnalyticsServiceException = 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 KinesisAnalyticsServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, KinesisAnalyticsServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.KinesisAnalyticsServiceException = KinesisAnalyticsServiceException;
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvalidApplicationConfigurationException = exports.UnableToDetectSchemaException = exports.ServiceUnavailableException = exports.ResourceProvisionedThroughputExceededException = exports.TooManyTagsException = exports.LimitExceededException = exports.CodeValidationException = exports.UnsupportedOperationException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidArgumentException = exports.ConcurrentModificationException = void 0;
|
|
4
|
+
const KinesisAnalyticsServiceException_1 = require("./KinesisAnalyticsServiceException");
|
|
5
|
+
class ConcurrentModificationException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
6
|
+
name = "ConcurrentModificationException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ConcurrentModificationException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
18
|
+
class InvalidArgumentException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
19
|
+
name = "InvalidArgumentException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InvalidArgumentException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
31
|
+
class ResourceInUseException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
32
|
+
name = "ResourceInUseException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ResourceInUseException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
44
|
+
class ResourceNotFoundException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
45
|
+
name = "ResourceNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ResourceNotFoundException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
57
|
+
class UnsupportedOperationException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
58
|
+
name = "UnsupportedOperationException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "UnsupportedOperationException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.UnsupportedOperationException = UnsupportedOperationException;
|
|
70
|
+
class CodeValidationException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
71
|
+
name = "CodeValidationException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "CodeValidationException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, CodeValidationException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.CodeValidationException = CodeValidationException;
|
|
83
|
+
class LimitExceededException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
84
|
+
name = "LimitExceededException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "LimitExceededException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.LimitExceededException = LimitExceededException;
|
|
96
|
+
class TooManyTagsException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
97
|
+
name = "TooManyTagsException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "TooManyTagsException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
109
|
+
class ResourceProvisionedThroughputExceededException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
110
|
+
name = "ResourceProvisionedThroughputExceededException";
|
|
111
|
+
$fault = "client";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ResourceProvisionedThroughputExceededException",
|
|
115
|
+
$fault: "client",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ResourceProvisionedThroughputExceededException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ResourceProvisionedThroughputExceededException = ResourceProvisionedThroughputExceededException;
|
|
122
|
+
class ServiceUnavailableException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
123
|
+
name = "ServiceUnavailableException";
|
|
124
|
+
$fault = "server";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "ServiceUnavailableException",
|
|
128
|
+
$fault: "server",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
135
|
+
class UnableToDetectSchemaException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
136
|
+
name = "UnableToDetectSchemaException";
|
|
137
|
+
$fault = "client";
|
|
138
|
+
RawInputRecords;
|
|
139
|
+
ProcessedInputRecords;
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "UnableToDetectSchemaException",
|
|
143
|
+
$fault: "client",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
Object.setPrototypeOf(this, UnableToDetectSchemaException.prototype);
|
|
147
|
+
this.RawInputRecords = opts.RawInputRecords;
|
|
148
|
+
this.ProcessedInputRecords = opts.ProcessedInputRecords;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.UnableToDetectSchemaException = UnableToDetectSchemaException;
|
|
152
|
+
class InvalidApplicationConfigurationException extends KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException {
|
|
153
|
+
name = "InvalidApplicationConfigurationException";
|
|
154
|
+
$fault = "client";
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "InvalidApplicationConfigurationException",
|
|
158
|
+
$fault: "client",
|
|
159
|
+
...opts,
|
|
160
|
+
});
|
|
161
|
+
Object.setPrototypeOf(this, InvalidApplicationConfigurationException.prototype);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.InvalidApplicationConfigurationException = InvalidApplicationConfigurationException;
|
|
@@ -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: "2015-08-14",
|
|
@@ -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.kinesisanalytics",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://analytics.kinesis.amazonaws.com/doc/2015-08-14",
|
|
33
35
|
version: "2015-08-14",
|
|
34
36
|
serviceTarget: "KinesisAnalytics_20150814",
|