@aws-sdk/client-lookoutequipment 3.234.0 → 3.236.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/endpoint/ruleset.js +4 -315
- package/dist-cjs/protocols/Aws_json1_0.js +13 -0
- package/dist-es/endpoint/ruleset.js +4 -315
- package/dist-es/protocols/Aws_json1_0.js +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +4 -4
|
@@ -1,318 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
builtIn: "AWS::Region",
|
|
9
|
-
required: false,
|
|
10
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
11
|
-
type: "String",
|
|
12
|
-
},
|
|
13
|
-
UseDualStack: {
|
|
14
|
-
builtIn: "AWS::UseDualStack",
|
|
15
|
-
required: true,
|
|
16
|
-
default: false,
|
|
17
|
-
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
18
|
-
type: "Boolean",
|
|
19
|
-
},
|
|
20
|
-
UseFIPS: {
|
|
21
|
-
builtIn: "AWS::UseFIPS",
|
|
22
|
-
required: true,
|
|
23
|
-
default: false,
|
|
24
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
25
|
-
type: "Boolean",
|
|
26
|
-
},
|
|
27
|
-
Endpoint: {
|
|
28
|
-
builtIn: "SDK::Endpoint",
|
|
29
|
-
required: false,
|
|
30
|
-
documentation: "Override the endpoint used to send this request",
|
|
31
|
-
type: "String",
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
rules: [
|
|
35
|
-
{
|
|
36
|
-
conditions: [
|
|
37
|
-
{
|
|
38
|
-
fn: "aws.partition",
|
|
39
|
-
argv: [
|
|
40
|
-
{
|
|
41
|
-
ref: "Region",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
assign: "PartitionResult",
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
type: "tree",
|
|
48
|
-
rules: [
|
|
49
|
-
{
|
|
50
|
-
conditions: [
|
|
51
|
-
{
|
|
52
|
-
fn: "isSet",
|
|
53
|
-
argv: [
|
|
54
|
-
{
|
|
55
|
-
ref: "Endpoint",
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
fn: "parseURL",
|
|
61
|
-
argv: [
|
|
62
|
-
{
|
|
63
|
-
ref: "Endpoint",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
assign: "url",
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
type: "tree",
|
|
70
|
-
rules: [
|
|
71
|
-
{
|
|
72
|
-
conditions: [
|
|
73
|
-
{
|
|
74
|
-
fn: "booleanEquals",
|
|
75
|
-
argv: [
|
|
76
|
-
{
|
|
77
|
-
ref: "UseFIPS",
|
|
78
|
-
},
|
|
79
|
-
true,
|
|
80
|
-
],
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
84
|
-
type: "error",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
conditions: [],
|
|
88
|
-
type: "tree",
|
|
89
|
-
rules: [
|
|
90
|
-
{
|
|
91
|
-
conditions: [
|
|
92
|
-
{
|
|
93
|
-
fn: "booleanEquals",
|
|
94
|
-
argv: [
|
|
95
|
-
{
|
|
96
|
-
ref: "UseDualStack",
|
|
97
|
-
},
|
|
98
|
-
true,
|
|
99
|
-
],
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
103
|
-
type: "error",
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
conditions: [],
|
|
107
|
-
endpoint: {
|
|
108
|
-
url: {
|
|
109
|
-
ref: "Endpoint",
|
|
110
|
-
},
|
|
111
|
-
properties: {},
|
|
112
|
-
headers: {},
|
|
113
|
-
},
|
|
114
|
-
type: "endpoint",
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
conditions: [
|
|
122
|
-
{
|
|
123
|
-
fn: "booleanEquals",
|
|
124
|
-
argv: [
|
|
125
|
-
{
|
|
126
|
-
ref: "UseFIPS",
|
|
127
|
-
},
|
|
128
|
-
true,
|
|
129
|
-
],
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
fn: "booleanEquals",
|
|
133
|
-
argv: [
|
|
134
|
-
{
|
|
135
|
-
ref: "UseDualStack",
|
|
136
|
-
},
|
|
137
|
-
true,
|
|
138
|
-
],
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
type: "tree",
|
|
142
|
-
rules: [
|
|
143
|
-
{
|
|
144
|
-
conditions: [
|
|
145
|
-
{
|
|
146
|
-
fn: "booleanEquals",
|
|
147
|
-
argv: [
|
|
148
|
-
true,
|
|
149
|
-
{
|
|
150
|
-
fn: "getAttr",
|
|
151
|
-
argv: [
|
|
152
|
-
{
|
|
153
|
-
ref: "PartitionResult",
|
|
154
|
-
},
|
|
155
|
-
"supportsFIPS",
|
|
156
|
-
],
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
fn: "booleanEquals",
|
|
162
|
-
argv: [
|
|
163
|
-
true,
|
|
164
|
-
{
|
|
165
|
-
fn: "getAttr",
|
|
166
|
-
argv: [
|
|
167
|
-
{
|
|
168
|
-
ref: "PartitionResult",
|
|
169
|
-
},
|
|
170
|
-
"supportsDualStack",
|
|
171
|
-
],
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
},
|
|
175
|
-
],
|
|
176
|
-
type: "tree",
|
|
177
|
-
rules: [
|
|
178
|
-
{
|
|
179
|
-
conditions: [],
|
|
180
|
-
endpoint: {
|
|
181
|
-
url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
182
|
-
properties: {},
|
|
183
|
-
headers: {},
|
|
184
|
-
},
|
|
185
|
-
type: "endpoint",
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
conditions: [],
|
|
191
|
-
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
192
|
-
type: "error",
|
|
193
|
-
},
|
|
194
|
-
],
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
conditions: [
|
|
198
|
-
{
|
|
199
|
-
fn: "booleanEquals",
|
|
200
|
-
argv: [
|
|
201
|
-
{
|
|
202
|
-
ref: "UseFIPS",
|
|
203
|
-
},
|
|
204
|
-
true,
|
|
205
|
-
],
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
type: "tree",
|
|
209
|
-
rules: [
|
|
210
|
-
{
|
|
211
|
-
conditions: [
|
|
212
|
-
{
|
|
213
|
-
fn: "booleanEquals",
|
|
214
|
-
argv: [
|
|
215
|
-
true,
|
|
216
|
-
{
|
|
217
|
-
fn: "getAttr",
|
|
218
|
-
argv: [
|
|
219
|
-
{
|
|
220
|
-
ref: "PartitionResult",
|
|
221
|
-
},
|
|
222
|
-
"supportsFIPS",
|
|
223
|
-
],
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
type: "tree",
|
|
229
|
-
rules: [
|
|
230
|
-
{
|
|
231
|
-
conditions: [],
|
|
232
|
-
type: "tree",
|
|
233
|
-
rules: [
|
|
234
|
-
{
|
|
235
|
-
conditions: [],
|
|
236
|
-
endpoint: {
|
|
237
|
-
url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
238
|
-
properties: {},
|
|
239
|
-
headers: {},
|
|
240
|
-
},
|
|
241
|
-
type: "endpoint",
|
|
242
|
-
},
|
|
243
|
-
],
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
conditions: [],
|
|
249
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
250
|
-
type: "error",
|
|
251
|
-
},
|
|
252
|
-
],
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
conditions: [
|
|
256
|
-
{
|
|
257
|
-
fn: "booleanEquals",
|
|
258
|
-
argv: [
|
|
259
|
-
{
|
|
260
|
-
ref: "UseDualStack",
|
|
261
|
-
},
|
|
262
|
-
true,
|
|
263
|
-
],
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
type: "tree",
|
|
267
|
-
rules: [
|
|
268
|
-
{
|
|
269
|
-
conditions: [
|
|
270
|
-
{
|
|
271
|
-
fn: "booleanEquals",
|
|
272
|
-
argv: [
|
|
273
|
-
true,
|
|
274
|
-
{
|
|
275
|
-
fn: "getAttr",
|
|
276
|
-
argv: [
|
|
277
|
-
{
|
|
278
|
-
ref: "PartitionResult",
|
|
279
|
-
},
|
|
280
|
-
"supportsDualStack",
|
|
281
|
-
],
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
},
|
|
285
|
-
],
|
|
286
|
-
type: "tree",
|
|
287
|
-
rules: [
|
|
288
|
-
{
|
|
289
|
-
conditions: [],
|
|
290
|
-
endpoint: {
|
|
291
|
-
url: "https://lookoutequipment.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
292
|
-
properties: {},
|
|
293
|
-
headers: {},
|
|
294
|
-
},
|
|
295
|
-
type: "endpoint",
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
conditions: [],
|
|
301
|
-
error: "DualStack is enabled but this partition does not support DualStack",
|
|
302
|
-
type: "error",
|
|
303
|
-
},
|
|
304
|
-
],
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
conditions: [],
|
|
308
|
-
endpoint: {
|
|
309
|
-
url: "https://lookoutequipment.{Region}.{PartitionResult#dnsSuffix}",
|
|
310
|
-
properties: {},
|
|
311
|
-
headers: {},
|
|
312
|
-
},
|
|
313
|
-
type: "endpoint",
|
|
314
|
-
},
|
|
315
|
-
],
|
|
316
|
-
},
|
|
317
|
-
],
|
|
318
|
-
};
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://lookoutequipment.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://lookoutequipment.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -624,6 +624,9 @@ const deserializeAws_json1_0DeleteDatasetCommandError = async (output, context)
|
|
|
624
624
|
case "ThrottlingException":
|
|
625
625
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
626
626
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
627
|
+
case "ValidationException":
|
|
628
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
629
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
627
630
|
default:
|
|
628
631
|
const parsedBody = parsedOutput.body;
|
|
629
632
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -713,6 +716,9 @@ const deserializeAws_json1_0DeleteLabelCommandError = async (output, context) =>
|
|
|
713
716
|
case "ThrottlingException":
|
|
714
717
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
715
718
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
719
|
+
case "ValidationException":
|
|
720
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
721
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
716
722
|
default:
|
|
717
723
|
const parsedBody = parsedOutput.body;
|
|
718
724
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -756,6 +762,9 @@ const deserializeAws_json1_0DeleteLabelGroupCommandError = async (output, contex
|
|
|
756
762
|
case "ThrottlingException":
|
|
757
763
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
758
764
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
765
|
+
case "ValidationException":
|
|
766
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
767
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
759
768
|
default:
|
|
760
769
|
const parsedBody = parsedOutput.body;
|
|
761
770
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -799,6 +808,9 @@ const deserializeAws_json1_0DeleteModelCommandError = async (output, context) =>
|
|
|
799
808
|
case "ThrottlingException":
|
|
800
809
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
801
810
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
811
|
+
case "ValidationException":
|
|
812
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
813
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
802
814
|
default:
|
|
803
815
|
const parsedBody = parsedOutput.body;
|
|
804
816
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2193,6 +2205,7 @@ const serializeAws_json1_0ListInferenceSchedulersRequest = (input, context) => {
|
|
|
2193
2205
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2194
2206
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2195
2207
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2208
|
+
...(input.Status != null && { Status: input.Status }),
|
|
2196
2209
|
};
|
|
2197
2210
|
};
|
|
2198
2211
|
const serializeAws_json1_0ListLabelGroupsRequest = (input, context) => {
|
|
@@ -1,315 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
builtIn: "AWS::Region",
|
|
6
|
-
required: false,
|
|
7
|
-
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
-
type: "String",
|
|
9
|
-
},
|
|
10
|
-
UseDualStack: {
|
|
11
|
-
builtIn: "AWS::UseDualStack",
|
|
12
|
-
required: true,
|
|
13
|
-
default: false,
|
|
14
|
-
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
-
type: "Boolean",
|
|
16
|
-
},
|
|
17
|
-
UseFIPS: {
|
|
18
|
-
builtIn: "AWS::UseFIPS",
|
|
19
|
-
required: true,
|
|
20
|
-
default: false,
|
|
21
|
-
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
-
type: "Boolean",
|
|
23
|
-
},
|
|
24
|
-
Endpoint: {
|
|
25
|
-
builtIn: "SDK::Endpoint",
|
|
26
|
-
required: false,
|
|
27
|
-
documentation: "Override the endpoint used to send this request",
|
|
28
|
-
type: "String",
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
rules: [
|
|
32
|
-
{
|
|
33
|
-
conditions: [
|
|
34
|
-
{
|
|
35
|
-
fn: "aws.partition",
|
|
36
|
-
argv: [
|
|
37
|
-
{
|
|
38
|
-
ref: "Region",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
assign: "PartitionResult",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
type: "tree",
|
|
45
|
-
rules: [
|
|
46
|
-
{
|
|
47
|
-
conditions: [
|
|
48
|
-
{
|
|
49
|
-
fn: "isSet",
|
|
50
|
-
argv: [
|
|
51
|
-
{
|
|
52
|
-
ref: "Endpoint",
|
|
53
|
-
},
|
|
54
|
-
],
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
fn: "parseURL",
|
|
58
|
-
argv: [
|
|
59
|
-
{
|
|
60
|
-
ref: "Endpoint",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
assign: "url",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
type: "tree",
|
|
67
|
-
rules: [
|
|
68
|
-
{
|
|
69
|
-
conditions: [
|
|
70
|
-
{
|
|
71
|
-
fn: "booleanEquals",
|
|
72
|
-
argv: [
|
|
73
|
-
{
|
|
74
|
-
ref: "UseFIPS",
|
|
75
|
-
},
|
|
76
|
-
true,
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
-
type: "error",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
conditions: [],
|
|
85
|
-
type: "tree",
|
|
86
|
-
rules: [
|
|
87
|
-
{
|
|
88
|
-
conditions: [
|
|
89
|
-
{
|
|
90
|
-
fn: "booleanEquals",
|
|
91
|
-
argv: [
|
|
92
|
-
{
|
|
93
|
-
ref: "UseDualStack",
|
|
94
|
-
},
|
|
95
|
-
true,
|
|
96
|
-
],
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
-
type: "error",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
conditions: [],
|
|
104
|
-
endpoint: {
|
|
105
|
-
url: {
|
|
106
|
-
ref: "Endpoint",
|
|
107
|
-
},
|
|
108
|
-
properties: {},
|
|
109
|
-
headers: {},
|
|
110
|
-
},
|
|
111
|
-
type: "endpoint",
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
conditions: [
|
|
119
|
-
{
|
|
120
|
-
fn: "booleanEquals",
|
|
121
|
-
argv: [
|
|
122
|
-
{
|
|
123
|
-
ref: "UseFIPS",
|
|
124
|
-
},
|
|
125
|
-
true,
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
fn: "booleanEquals",
|
|
130
|
-
argv: [
|
|
131
|
-
{
|
|
132
|
-
ref: "UseDualStack",
|
|
133
|
-
},
|
|
134
|
-
true,
|
|
135
|
-
],
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
type: "tree",
|
|
139
|
-
rules: [
|
|
140
|
-
{
|
|
141
|
-
conditions: [
|
|
142
|
-
{
|
|
143
|
-
fn: "booleanEquals",
|
|
144
|
-
argv: [
|
|
145
|
-
true,
|
|
146
|
-
{
|
|
147
|
-
fn: "getAttr",
|
|
148
|
-
argv: [
|
|
149
|
-
{
|
|
150
|
-
ref: "PartitionResult",
|
|
151
|
-
},
|
|
152
|
-
"supportsFIPS",
|
|
153
|
-
],
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
fn: "booleanEquals",
|
|
159
|
-
argv: [
|
|
160
|
-
true,
|
|
161
|
-
{
|
|
162
|
-
fn: "getAttr",
|
|
163
|
-
argv: [
|
|
164
|
-
{
|
|
165
|
-
ref: "PartitionResult",
|
|
166
|
-
},
|
|
167
|
-
"supportsDualStack",
|
|
168
|
-
],
|
|
169
|
-
},
|
|
170
|
-
],
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
type: "tree",
|
|
174
|
-
rules: [
|
|
175
|
-
{
|
|
176
|
-
conditions: [],
|
|
177
|
-
endpoint: {
|
|
178
|
-
url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
-
properties: {},
|
|
180
|
-
headers: {},
|
|
181
|
-
},
|
|
182
|
-
type: "endpoint",
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
conditions: [],
|
|
188
|
-
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
-
type: "error",
|
|
190
|
-
},
|
|
191
|
-
],
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
conditions: [
|
|
195
|
-
{
|
|
196
|
-
fn: "booleanEquals",
|
|
197
|
-
argv: [
|
|
198
|
-
{
|
|
199
|
-
ref: "UseFIPS",
|
|
200
|
-
},
|
|
201
|
-
true,
|
|
202
|
-
],
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
type: "tree",
|
|
206
|
-
rules: [
|
|
207
|
-
{
|
|
208
|
-
conditions: [
|
|
209
|
-
{
|
|
210
|
-
fn: "booleanEquals",
|
|
211
|
-
argv: [
|
|
212
|
-
true,
|
|
213
|
-
{
|
|
214
|
-
fn: "getAttr",
|
|
215
|
-
argv: [
|
|
216
|
-
{
|
|
217
|
-
ref: "PartitionResult",
|
|
218
|
-
},
|
|
219
|
-
"supportsFIPS",
|
|
220
|
-
],
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
},
|
|
224
|
-
],
|
|
225
|
-
type: "tree",
|
|
226
|
-
rules: [
|
|
227
|
-
{
|
|
228
|
-
conditions: [],
|
|
229
|
-
type: "tree",
|
|
230
|
-
rules: [
|
|
231
|
-
{
|
|
232
|
-
conditions: [],
|
|
233
|
-
endpoint: {
|
|
234
|
-
url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
235
|
-
properties: {},
|
|
236
|
-
headers: {},
|
|
237
|
-
},
|
|
238
|
-
type: "endpoint",
|
|
239
|
-
},
|
|
240
|
-
],
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
conditions: [],
|
|
246
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
247
|
-
type: "error",
|
|
248
|
-
},
|
|
249
|
-
],
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
conditions: [
|
|
253
|
-
{
|
|
254
|
-
fn: "booleanEquals",
|
|
255
|
-
argv: [
|
|
256
|
-
{
|
|
257
|
-
ref: "UseDualStack",
|
|
258
|
-
},
|
|
259
|
-
true,
|
|
260
|
-
],
|
|
261
|
-
},
|
|
262
|
-
],
|
|
263
|
-
type: "tree",
|
|
264
|
-
rules: [
|
|
265
|
-
{
|
|
266
|
-
conditions: [
|
|
267
|
-
{
|
|
268
|
-
fn: "booleanEquals",
|
|
269
|
-
argv: [
|
|
270
|
-
true,
|
|
271
|
-
{
|
|
272
|
-
fn: "getAttr",
|
|
273
|
-
argv: [
|
|
274
|
-
{
|
|
275
|
-
ref: "PartitionResult",
|
|
276
|
-
},
|
|
277
|
-
"supportsDualStack",
|
|
278
|
-
],
|
|
279
|
-
},
|
|
280
|
-
],
|
|
281
|
-
},
|
|
282
|
-
],
|
|
283
|
-
type: "tree",
|
|
284
|
-
rules: [
|
|
285
|
-
{
|
|
286
|
-
conditions: [],
|
|
287
|
-
endpoint: {
|
|
288
|
-
url: "https://lookoutequipment.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
289
|
-
properties: {},
|
|
290
|
-
headers: {},
|
|
291
|
-
},
|
|
292
|
-
type: "endpoint",
|
|
293
|
-
},
|
|
294
|
-
],
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
conditions: [],
|
|
298
|
-
error: "DualStack is enabled but this partition does not support DualStack",
|
|
299
|
-
type: "error",
|
|
300
|
-
},
|
|
301
|
-
],
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
conditions: [],
|
|
305
|
-
endpoint: {
|
|
306
|
-
url: "https://lookoutequipment.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
-
properties: {},
|
|
308
|
-
headers: {},
|
|
309
|
-
},
|
|
310
|
-
type: "endpoint",
|
|
311
|
-
},
|
|
312
|
-
],
|
|
313
|
-
},
|
|
314
|
-
],
|
|
315
|
-
};
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://lookoutequipment-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://lookoutequipment.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://lookoutequipment.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -581,6 +581,9 @@ const deserializeAws_json1_0DeleteDatasetCommandError = async (output, context)
|
|
|
581
581
|
case "ThrottlingException":
|
|
582
582
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
583
583
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
584
|
+
case "ValidationException":
|
|
585
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
586
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
584
587
|
default:
|
|
585
588
|
const parsedBody = parsedOutput.body;
|
|
586
589
|
throwDefaultError({
|
|
@@ -668,6 +671,9 @@ const deserializeAws_json1_0DeleteLabelCommandError = async (output, context) =>
|
|
|
668
671
|
case "ThrottlingException":
|
|
669
672
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
670
673
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
674
|
+
case "ValidationException":
|
|
675
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
676
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
671
677
|
default:
|
|
672
678
|
const parsedBody = parsedOutput.body;
|
|
673
679
|
throwDefaultError({
|
|
@@ -710,6 +716,9 @@ const deserializeAws_json1_0DeleteLabelGroupCommandError = async (output, contex
|
|
|
710
716
|
case "ThrottlingException":
|
|
711
717
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
712
718
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
719
|
+
case "ValidationException":
|
|
720
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
721
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
713
722
|
default:
|
|
714
723
|
const parsedBody = parsedOutput.body;
|
|
715
724
|
throwDefaultError({
|
|
@@ -752,6 +761,9 @@ const deserializeAws_json1_0DeleteModelCommandError = async (output, context) =>
|
|
|
752
761
|
case "ThrottlingException":
|
|
753
762
|
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
754
763
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
764
|
+
case "ValidationException":
|
|
765
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
766
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
755
767
|
default:
|
|
756
768
|
const parsedBody = parsedOutput.body;
|
|
757
769
|
throwDefaultError({
|
|
@@ -2123,6 +2135,7 @@ const serializeAws_json1_0ListInferenceSchedulersRequest = (input, context) => {
|
|
|
2123
2135
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2124
2136
|
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2125
2137
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2138
|
+
...(input.Status != null && { Status: input.Status }),
|
|
2126
2139
|
};
|
|
2127
2140
|
};
|
|
2128
2141
|
const serializeAws_json1_0ListLabelGroupsRequest = (input, context) => {
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -1570,6 +1570,10 @@ export interface ListInferenceSchedulersRequest {
|
|
|
1570
1570
|
* <p>The name of the ML model used by the inference scheduler to be listed. </p>
|
|
1571
1571
|
*/
|
|
1572
1572
|
ModelName?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* <p>Specifies the current status of the inference schedulers to list.</p>
|
|
1575
|
+
*/
|
|
1576
|
+
Status?: InferenceSchedulerStatus | string;
|
|
1573
1577
|
}
|
|
1574
1578
|
/**
|
|
1575
1579
|
* <p>Contains information about the specific inference scheduler, including data delay
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -476,6 +476,7 @@ export interface ListInferenceSchedulersRequest {
|
|
|
476
476
|
MaxResults?: number;
|
|
477
477
|
InferenceSchedulerNameBeginsWith?: string;
|
|
478
478
|
ModelName?: string;
|
|
479
|
+
Status?: InferenceSchedulerStatus | string;
|
|
479
480
|
}
|
|
480
481
|
export interface InferenceSchedulerSummary {
|
|
481
482
|
ModelName?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lookoutequipment",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lookoutequipment Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.236.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.236.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.236.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.226.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.226.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.226.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.235.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.226.0",
|
|
35
35
|
"@aws-sdk/middleware-signing": "3.226.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.226.0",
|