@aws-sdk/client-lookoutequipment 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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultLookoutEquipmentHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2020-12-15",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_0Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.lookoutequipment",
30
+ errorTypeRegistries,
29
31
  version: "2020-12-15",
30
32
  serviceTarget: "AWSLookoutEquipmentFrontendService",
31
33
  },
@@ -345,31 +345,69 @@ const _c = "client";
345
345
  const _e = "error";
346
346
  const _hE = "httpError";
347
347
  const _mT = "mediaType";
348
- const _s = "server";
349
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.lookoutequipment";
348
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.lookoutequipment";
349
+ const _se = "server";
350
350
  const n0 = "com.amazonaws.lookoutequipment";
351
351
  import { TypeRegistry } from "@smithy/core/schema";
352
352
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
353
353
  import { LookoutEquipmentServiceException } from "../models/LookoutEquipmentServiceException";
354
- var SynthesizedJsonInlineDataSchema = [0, n0, _SJIDS, { [_mT]: _a }, 0];
355
- var SynthesizedJsonModelMetrics = [0, n0, _SJMM, { [_mT]: _a }, 0];
354
+ const _s_registry = TypeRegistry.for(_s);
355
+ export var LookoutEquipmentServiceException$ = [-3, _s, "LookoutEquipmentServiceException", 0, [], []];
356
+ _s_registry.registerError(LookoutEquipmentServiceException$, LookoutEquipmentServiceException);
357
+ const n0_registry = TypeRegistry.for(n0);
356
358
  export var AccessDeniedException$ = [-3, n0, _ADE,
357
359
  { [_e]: _c, [_hE]: 403 },
358
360
  [_M],
359
361
  [0], 1
360
362
  ];
361
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
362
- export var CategoricalValues$ = [3, n0, _CV,
363
- 0,
364
- [_S, _NOC],
365
- [0, 1], 1
366
- ];
363
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
367
364
  export var ConflictException$ = [-3, n0, _CE,
368
365
  { [_e]: _c, [_hE]: 409 },
369
366
  [_M],
370
367
  [0], 1
371
368
  ];
372
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
369
+ n0_registry.registerError(ConflictException$, ConflictException);
370
+ export var InternalServerException$ = [-3, n0, _ISE,
371
+ { [_e]: _se, [_hE]: 500 },
372
+ [_M],
373
+ [0], 1
374
+ ];
375
+ n0_registry.registerError(InternalServerException$, InternalServerException);
376
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
377
+ { [_e]: _c, [_hE]: 404 },
378
+ [_M],
379
+ [0], 1
380
+ ];
381
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
382
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
383
+ { [_e]: _c, [_hE]: 402 },
384
+ [_M],
385
+ [0], 1
386
+ ];
387
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
388
+ export var ThrottlingException$ = [-3, n0, _TE,
389
+ { [_e]: _c, [_hE]: 429 },
390
+ [_M],
391
+ [0], 1
392
+ ];
393
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
394
+ export var ValidationException$ = [-3, n0, _VE,
395
+ { [_e]: _c, [_hE]: 400 },
396
+ [_M],
397
+ [0], 1
398
+ ];
399
+ n0_registry.registerError(ValidationException$, ValidationException);
400
+ export const errorTypeRegistries = [
401
+ _s_registry,
402
+ n0_registry,
403
+ ];
404
+ var SynthesizedJsonInlineDataSchema = [0, n0, _SJIDS, { [_mT]: _a }, 0];
405
+ var SynthesizedJsonModelMetrics = [0, n0, _SJMM, { [_mT]: _a }, 0];
406
+ export var CategoricalValues$ = [3, n0, _CV,
407
+ 0,
408
+ [_S, _NOC],
409
+ [0, 1], 1
410
+ ];
373
411
  export var CountPercent$ = [3, n0, _CP,
374
412
  0,
375
413
  [_C, _P],
@@ -670,12 +708,6 @@ export var InsufficientSensorData$ = [3, n0, _ISD,
670
708
  [_MCSD, _SWSDR],
671
709
  [() => MissingCompleteSensorData$, () => SensorsWithShortDateRange$], 2
672
710
  ];
673
- export var InternalServerException$ = [-3, n0, _ISE,
674
- { [_e]: _s, [_hE]: 500 },
675
- [_M],
676
- [0], 1
677
- ];
678
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
679
711
  export var InvalidSensorData$ = [3, n0, _ISDn,
680
712
  0,
681
713
  [_ASC, _TNOIV],
@@ -876,12 +908,6 @@ export var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
876
908
  [_RAe, _PRI],
877
909
  [0, 0]
878
910
  ];
879
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
880
- { [_e]: _c, [_hE]: 404 },
881
- [_M],
882
- [0], 1
883
- ];
884
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
885
911
  export var RetrainingSchedulerSummary$ = [3, n0, _RSSet,
886
912
  0,
887
913
  [_MN, _MA, _S, _RSD, _RF, _LW],
@@ -902,12 +928,6 @@ export var SensorsWithShortDateRange$ = [3, n0, _SWSDR,
902
928
  [_ASC],
903
929
  [1], 1
904
930
  ];
905
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
906
- { [_e]: _c, [_hE]: 402 },
907
- [_M],
908
- [0], 1
909
- ];
910
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
911
931
  export var StartDataIngestionJobRequest$ = [3, n0, _SDIJR,
912
932
  0,
913
933
  [_DN, _IIC, _RA, _CT],
@@ -973,12 +993,6 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
973
993
  [],
974
994
  []
975
995
  ];
976
- export var ThrottlingException$ = [-3, n0, _TE,
977
- { [_e]: _c, [_hE]: 429 },
978
- [_M],
979
- [0], 1
980
- ];
981
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
982
996
  export var UnsupportedTimestamps$ = [3, n0, _UT,
983
997
  0,
984
998
  [_TNOUT],
@@ -1024,15 +1038,7 @@ export var UpdateRetrainingSchedulerRequest$ = [3, n0, _URSR,
1024
1038
  [_MN, _RSD, _RF, _LW, _PM],
1025
1039
  [0, 4, 0, 0, 0], 1
1026
1040
  ];
1027
- export var ValidationException$ = [-3, n0, _VE,
1028
- { [_e]: _c, [_hE]: 400 },
1029
- [_M],
1030
- [0], 1
1031
- ];
1032
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
1033
1041
  var __Unit = "unit";
1034
- export var LookoutEquipmentServiceException$ = [-3, _sm, "LookoutEquipmentServiceException", 0, [], []];
1035
- TypeRegistry.for(_sm).registerError(LookoutEquipmentServiceException$, LookoutEquipmentServiceException);
1036
1042
  var DataIngestionJobSummaries = [1, n0, _DIJSa,
1037
1043
  0, () => DataIngestionJobSummary$
1038
1044
  ];
@@ -1,7 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var LookoutEquipmentServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
3
- export declare var CategoricalValues$: StaticStructureSchema;
4
5
  export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ThrottlingException$: StaticErrorSchema;
10
+ export declare var ValidationException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
16
+ export declare const errorTypeRegistries: TypeRegistry[];
17
+ export declare var CategoricalValues$: StaticStructureSchema;
5
18
  export declare var CountPercent$: StaticStructureSchema;
6
19
  export declare var CreateDatasetRequest$: StaticStructureSchema;
7
20
  export declare var CreateDatasetResponse$: StaticStructureSchema;
@@ -62,7 +75,6 @@ export declare var IngestedFilesSummary$: StaticStructureSchema;
62
75
  export declare var IngestionInputConfiguration$: StaticStructureSchema;
63
76
  export declare var IngestionS3InputConfiguration$: StaticStructureSchema;
64
77
  export declare var InsufficientSensorData$: StaticStructureSchema;
65
- export declare var InternalServerException$: StaticErrorSchema;
66
78
  export declare var InvalidSensorData$: StaticStructureSchema;
67
79
  export declare var LabelGroupSummary$: StaticStructureSchema;
68
80
  export declare var LabelsInputConfiguration$: StaticStructureSchema;
@@ -103,12 +115,10 @@ export declare var MonotonicValues$: StaticStructureSchema;
103
115
  export declare var MultipleOperatingModes$: StaticStructureSchema;
104
116
  export declare var PutResourcePolicyRequest$: StaticStructureSchema;
105
117
  export declare var PutResourcePolicyResponse$: StaticStructureSchema;
106
- export declare var ResourceNotFoundException$: StaticErrorSchema;
107
118
  export declare var RetrainingSchedulerSummary$: StaticStructureSchema;
108
119
  export declare var S3Object$: StaticStructureSchema;
109
120
  export declare var SensorStatisticsSummary$: StaticStructureSchema;
110
121
  export declare var SensorsWithShortDateRange$: StaticStructureSchema;
111
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
112
122
  export declare var StartDataIngestionJobRequest$: StaticStructureSchema;
113
123
  export declare var StartDataIngestionJobResponse$: StaticStructureSchema;
114
124
  export declare var StartInferenceSchedulerRequest$: StaticStructureSchema;
@@ -122,7 +132,6 @@ export declare var StopRetrainingSchedulerResponse$: StaticStructureSchema;
122
132
  export declare var Tag$: StaticStructureSchema;
123
133
  export declare var TagResourceRequest$: StaticStructureSchema;
124
134
  export declare var TagResourceResponse$: StaticStructureSchema;
125
- export declare var ThrottlingException$: StaticErrorSchema;
126
135
  export declare var UnsupportedTimestamps$: StaticStructureSchema;
127
136
  export declare var UntagResourceRequest$: StaticStructureSchema;
128
137
  export declare var UntagResourceResponse$: StaticStructureSchema;
@@ -132,8 +141,6 @@ export declare var UpdateInferenceSchedulerRequest$: StaticStructureSchema;
132
141
  export declare var UpdateLabelGroupRequest$: StaticStructureSchema;
133
142
  export declare var UpdateModelRequest$: StaticStructureSchema;
134
143
  export declare var UpdateRetrainingSchedulerRequest$: StaticStructureSchema;
135
- export declare var ValidationException$: StaticErrorSchema;
136
- export declare var LookoutEquipmentServiceException$: StaticErrorSchema;
137
144
  export declare var CreateDataset$: StaticOperationSchema;
138
145
  export declare var CreateInferenceScheduler$: StaticOperationSchema;
139
146
  export declare var CreateLabel$: StaticOperationSchema;
@@ -1,11 +1,19 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var LookoutEquipmentServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
7
- export declare var CategoricalValues$: StaticStructureSchema;
8
9
  export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
13
+ export declare var ThrottlingException$: StaticErrorSchema;
14
+ export declare var ValidationException$: StaticErrorSchema;
15
+ export declare const errorTypeRegistries: TypeRegistry[];
16
+ export declare var CategoricalValues$: StaticStructureSchema;
9
17
  export declare var CountPercent$: StaticStructureSchema;
10
18
  export declare var CreateDatasetRequest$: StaticStructureSchema;
11
19
  export declare var CreateDatasetResponse$: StaticStructureSchema;
@@ -66,7 +74,6 @@ export declare var IngestedFilesSummary$: StaticStructureSchema;
66
74
  export declare var IngestionInputConfiguration$: StaticStructureSchema;
67
75
  export declare var IngestionS3InputConfiguration$: StaticStructureSchema;
68
76
  export declare var InsufficientSensorData$: StaticStructureSchema;
69
- export declare var InternalServerException$: StaticErrorSchema;
70
77
  export declare var InvalidSensorData$: StaticStructureSchema;
71
78
  export declare var LabelGroupSummary$: StaticStructureSchema;
72
79
  export declare var LabelsInputConfiguration$: StaticStructureSchema;
@@ -107,12 +114,10 @@ export declare var MonotonicValues$: StaticStructureSchema;
107
114
  export declare var MultipleOperatingModes$: StaticStructureSchema;
108
115
  export declare var PutResourcePolicyRequest$: StaticStructureSchema;
109
116
  export declare var PutResourcePolicyResponse$: StaticStructureSchema;
110
- export declare var ResourceNotFoundException$: StaticErrorSchema;
111
117
  export declare var RetrainingSchedulerSummary$: StaticStructureSchema;
112
118
  export declare var S3Object$: StaticStructureSchema;
113
119
  export declare var SensorStatisticsSummary$: StaticStructureSchema;
114
120
  export declare var SensorsWithShortDateRange$: StaticStructureSchema;
115
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
116
121
  export declare var StartDataIngestionJobRequest$: StaticStructureSchema;
117
122
  export declare var StartDataIngestionJobResponse$: StaticStructureSchema;
118
123
  export declare var StartInferenceSchedulerRequest$: StaticStructureSchema;
@@ -126,7 +131,6 @@ export declare var StopRetrainingSchedulerResponse$: StaticStructureSchema;
126
131
  export declare var Tag$: StaticStructureSchema;
127
132
  export declare var TagResourceRequest$: StaticStructureSchema;
128
133
  export declare var TagResourceResponse$: StaticStructureSchema;
129
- export declare var ThrottlingException$: StaticErrorSchema;
130
134
  export declare var UnsupportedTimestamps$: StaticStructureSchema;
131
135
  export declare var UntagResourceRequest$: StaticStructureSchema;
132
136
  export declare var UntagResourceResponse$: StaticStructureSchema;
@@ -136,8 +140,6 @@ export declare var UpdateInferenceSchedulerRequest$: StaticStructureSchema;
136
140
  export declare var UpdateLabelGroupRequest$: StaticStructureSchema;
137
141
  export declare var UpdateModelRequest$: StaticStructureSchema;
138
142
  export declare var UpdateRetrainingSchedulerRequest$: StaticStructureSchema;
139
- export declare var ValidationException$: StaticErrorSchema;
140
- export declare var LookoutEquipmentServiceException$: StaticErrorSchema;
141
143
  export declare var CreateDataset$: StaticOperationSchema;
142
144
  export declare var CreateInferenceScheduler$: StaticOperationSchema;
143
145
  export declare var CreateLabel$: StaticOperationSchema;
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.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lookoutequipment",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",