@aws-sdk/client-oam 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.
@@ -89,20 +89,70 @@ const _hE = "httpError";
89
89
  const _hH = "httpHeader";
90
90
  const _hQ = "httpQuery";
91
91
  const _m = "message";
92
- const _s = "server";
93
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.oam";
92
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.oam";
93
+ const _se = "server";
94
94
  const _tK = "tagKeys";
95
95
  const _xaE = "x-amzn-ErrorType";
96
96
  const n0 = "com.amazonaws.oam";
97
97
  import { TypeRegistry } from "@smithy/core/schema";
98
98
  import { ConflictException, InternalServiceFault, InvalidParameterException, MissingRequiredParameterException, ResourceNotFoundException, ServiceQuotaExceededException, TooManyTagsException, ValidationException, } from "../models/errors";
99
99
  import { OAMServiceException } from "../models/OAMServiceException";
100
+ const _s_registry = TypeRegistry.for(_s);
101
+ export var OAMServiceException$ = [-3, _s, "OAMServiceException", 0, [], []];
102
+ _s_registry.registerError(OAMServiceException$, OAMServiceException);
103
+ const n0_registry = TypeRegistry.for(n0);
100
104
  export var ConflictException$ = [-3, n0, _CE,
101
105
  { [_e]: _c, [_hE]: 409 },
102
106
  [_M, _aET],
103
107
  [0, [0, { [_hH]: _xaE }]]
104
108
  ];
105
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
109
+ n0_registry.registerError(ConflictException$, ConflictException);
110
+ export var InternalServiceFault$ = [-3, n0, _ISF,
111
+ { [_e]: _se, [_hE]: 500 },
112
+ [_M, _aET],
113
+ [0, [0, { [_hH]: _xaE }]]
114
+ ];
115
+ n0_registry.registerError(InternalServiceFault$, InternalServiceFault);
116
+ export var InvalidParameterException$ = [-3, n0, _IPE,
117
+ { [_e]: _c, [_hE]: 400 },
118
+ [_m, _aET],
119
+ [0, [0, { [_hH]: _xaE }]]
120
+ ];
121
+ n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
122
+ export var MissingRequiredParameterException$ = [-3, n0, _MRPE,
123
+ { [_e]: _c, [_hE]: 400 },
124
+ [_m, _aET],
125
+ [0, [0, { [_hH]: _xaE }]]
126
+ ];
127
+ n0_registry.registerError(MissingRequiredParameterException$, MissingRequiredParameterException);
128
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
129
+ { [_e]: _c, [_hE]: 404 },
130
+ [_M, _aET],
131
+ [0, [0, { [_hH]: _xaE }]]
132
+ ];
133
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
134
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
135
+ { [_e]: _c, [_hE]: 429 },
136
+ [_M, _aET],
137
+ [0, [0, { [_hH]: _xaE }]]
138
+ ];
139
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
140
+ export var TooManyTagsException$ = [-3, n0, _TMTE,
141
+ { [_e]: _c, [_hE]: 400 },
142
+ [_M],
143
+ [0]
144
+ ];
145
+ n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
146
+ export var ValidationException$ = [-3, n0, _VE,
147
+ { [_e]: _c, [_hE]: 400 },
148
+ [_M],
149
+ [0]
150
+ ];
151
+ n0_registry.registerError(ValidationException$, ValidationException);
152
+ export const errorTypeRegistries = [
153
+ _s_registry,
154
+ n0_registry,
155
+ ];
106
156
  export var CreateLinkInput$ = [3, n0, _CLI,
107
157
  0,
108
158
  [_LT, _RT, _SI, _T, _LC],
@@ -173,18 +223,6 @@ export var GetSinkPolicyOutput$ = [3, n0, _GSPO,
173
223
  [_SA, _SIi, _P],
174
224
  [0, 0, 0]
175
225
  ];
176
- export var InternalServiceFault$ = [-3, n0, _ISF,
177
- { [_e]: _s, [_hE]: 500 },
178
- [_M, _aET],
179
- [0, [0, { [_hH]: _xaE }]]
180
- ];
181
- TypeRegistry.for(n0).registerError(InternalServiceFault$, InternalServiceFault);
182
- export var InvalidParameterException$ = [-3, n0, _IPE,
183
- { [_e]: _c, [_hE]: 400 },
184
- [_m, _aET],
185
- [0, [0, { [_hH]: _xaE }]]
186
- ];
187
- TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
188
226
  export var LinkConfiguration$ = [3, n0, _LC,
189
227
  0,
190
228
  [_LGC, _MC],
@@ -255,12 +293,6 @@ export var MetricConfiguration$ = [3, n0, _MC,
255
293
  [_F],
256
294
  [0], 1
257
295
  ];
258
- export var MissingRequiredParameterException$ = [-3, n0, _MRPE,
259
- { [_e]: _c, [_hE]: 400 },
260
- [_m, _aET],
261
- [0, [0, { [_hH]: _xaE }]]
262
- ];
263
- TypeRegistry.for(n0).registerError(MissingRequiredParameterException$, MissingRequiredParameterException);
264
296
  export var PutSinkPolicyInput$ = [3, n0, _PSPI,
265
297
  0,
266
298
  [_SI, _P],
@@ -271,18 +303,6 @@ export var PutSinkPolicyOutput$ = [3, n0, _PSPO,
271
303
  [_SA, _SIi, _P],
272
304
  [0, 0, 0]
273
305
  ];
274
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
275
- { [_e]: _c, [_hE]: 404 },
276
- [_M, _aET],
277
- [0, [0, { [_hH]: _xaE }]]
278
- ];
279
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
280
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
281
- { [_e]: _c, [_hE]: 429 },
282
- [_M, _aET],
283
- [0, [0, { [_hH]: _xaE }]]
284
- ];
285
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
286
306
  export var TagResourceInput$ = [3, n0, _TRI,
287
307
  0,
288
308
  [_RA, _T],
@@ -293,12 +313,6 @@ export var TagResourceOutput$ = [3, n0, _TRO,
293
313
  [],
294
314
  []
295
315
  ];
296
- export var TooManyTagsException$ = [-3, n0, _TMTE,
297
- { [_e]: _c, [_hE]: 400 },
298
- [_M],
299
- [0]
300
- ];
301
- TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
302
316
  export var UntagResourceInput$ = [3, n0, _URI,
303
317
  0,
304
318
  [_RA, _TK],
@@ -319,14 +333,6 @@ export var UpdateLinkOutput$ = [3, n0, _ULO,
319
333
  [_A, _I, _L, _LT, _RT, _SA, _T, _LC],
320
334
  [0, 0, 0, 0, 64 | 0, 0, 128 | 0, () => LinkConfiguration$]
321
335
  ];
322
- export var ValidationException$ = [-3, n0, _VE,
323
- { [_e]: _c, [_hE]: 400 },
324
- [_M],
325
- [0]
326
- ];
327
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
328
- export var OAMServiceException$ = [-3, _sm, "OAMServiceException", 0, [], []];
329
- TypeRegistry.for(_sm).registerError(OAMServiceException$, OAMServiceException);
330
336
  var ListAttachedLinksItems = [1, n0, _LALIis,
331
337
  0, () => ListAttachedLinksItem$
332
338
  ];
@@ -1,5 +1,20 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var OAMServiceException$: StaticErrorSchema;
2
4
  export declare var ConflictException$: StaticErrorSchema;
5
+ export declare var InternalServiceFault$: StaticErrorSchema;
6
+ export declare var InvalidParameterException$: StaticErrorSchema;
7
+ export declare var MissingRequiredParameterException$: StaticErrorSchema;
8
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
9
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
10
+ export declare var TooManyTagsException$: StaticErrorSchema;
11
+ export declare var ValidationException$: StaticErrorSchema;
12
+ /**
13
+ * TypeRegistry instances containing modeled errors.
14
+ * @internal
15
+ *
16
+ */
17
+ export declare const errorTypeRegistries: TypeRegistry[];
3
18
  export declare var CreateLinkInput$: StaticStructureSchema;
4
19
  export declare var CreateLinkOutput$: StaticStructureSchema;
5
20
  export declare var CreateSinkInput$: StaticStructureSchema;
@@ -14,8 +29,6 @@ export declare var GetSinkInput$: StaticStructureSchema;
14
29
  export declare var GetSinkOutput$: StaticStructureSchema;
15
30
  export declare var GetSinkPolicyInput$: StaticStructureSchema;
16
31
  export declare var GetSinkPolicyOutput$: StaticStructureSchema;
17
- export declare var InternalServiceFault$: StaticErrorSchema;
18
- export declare var InvalidParameterException$: StaticErrorSchema;
19
32
  export declare var LinkConfiguration$: StaticStructureSchema;
20
33
  export declare var ListAttachedLinksInput$: StaticStructureSchema;
21
34
  export declare var ListAttachedLinksItem$: StaticStructureSchema;
@@ -30,20 +43,14 @@ export declare var ListTagsForResourceInput$: StaticStructureSchema;
30
43
  export declare var ListTagsForResourceOutput$: StaticStructureSchema;
31
44
  export declare var LogGroupConfiguration$: StaticStructureSchema;
32
45
  export declare var MetricConfiguration$: StaticStructureSchema;
33
- export declare var MissingRequiredParameterException$: StaticErrorSchema;
34
46
  export declare var PutSinkPolicyInput$: StaticStructureSchema;
35
47
  export declare var PutSinkPolicyOutput$: StaticStructureSchema;
36
- export declare var ResourceNotFoundException$: StaticErrorSchema;
37
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
38
48
  export declare var TagResourceInput$: StaticStructureSchema;
39
49
  export declare var TagResourceOutput$: StaticStructureSchema;
40
- export declare var TooManyTagsException$: StaticErrorSchema;
41
50
  export declare var UntagResourceInput$: StaticStructureSchema;
42
51
  export declare var UntagResourceOutput$: StaticStructureSchema;
43
52
  export declare var UpdateLinkInput$: StaticStructureSchema;
44
53
  export declare var UpdateLinkOutput$: StaticStructureSchema;
45
- export declare var ValidationException$: StaticErrorSchema;
46
- export declare var OAMServiceException$: StaticErrorSchema;
47
54
  export declare var CreateLink$: StaticOperationSchema;
48
55
  export declare var CreateSink$: StaticOperationSchema;
49
56
  export declare var DeleteLink$: StaticOperationSchema;
@@ -1,9 +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 OAMServiceException$: StaticErrorSchema;
6
8
  export declare var ConflictException$: StaticErrorSchema;
9
+ export declare var InternalServiceFault$: StaticErrorSchema;
10
+ export declare var InvalidParameterException$: StaticErrorSchema;
11
+ export declare var MissingRequiredParameterException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var TooManyTagsException$: StaticErrorSchema;
15
+ export declare var ValidationException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
7
17
  export declare var CreateLinkInput$: StaticStructureSchema;
8
18
  export declare var CreateLinkOutput$: StaticStructureSchema;
9
19
  export declare var CreateSinkInput$: StaticStructureSchema;
@@ -18,8 +28,6 @@ export declare var GetSinkInput$: StaticStructureSchema;
18
28
  export declare var GetSinkOutput$: StaticStructureSchema;
19
29
  export declare var GetSinkPolicyInput$: StaticStructureSchema;
20
30
  export declare var GetSinkPolicyOutput$: StaticStructureSchema;
21
- export declare var InternalServiceFault$: StaticErrorSchema;
22
- export declare var InvalidParameterException$: StaticErrorSchema;
23
31
  export declare var LinkConfiguration$: StaticStructureSchema;
24
32
  export declare var ListAttachedLinksInput$: StaticStructureSchema;
25
33
  export declare var ListAttachedLinksItem$: StaticStructureSchema;
@@ -34,20 +42,14 @@ export declare var ListTagsForResourceInput$: StaticStructureSchema;
34
42
  export declare var ListTagsForResourceOutput$: StaticStructureSchema;
35
43
  export declare var LogGroupConfiguration$: StaticStructureSchema;
36
44
  export declare var MetricConfiguration$: StaticStructureSchema;
37
- export declare var MissingRequiredParameterException$: StaticErrorSchema;
38
45
  export declare var PutSinkPolicyInput$: StaticStructureSchema;
39
46
  export declare var PutSinkPolicyOutput$: StaticStructureSchema;
40
- export declare var ResourceNotFoundException$: StaticErrorSchema;
41
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
42
47
  export declare var TagResourceInput$: StaticStructureSchema;
43
48
  export declare var TagResourceOutput$: StaticStructureSchema;
44
- export declare var TooManyTagsException$: StaticErrorSchema;
45
49
  export declare var UntagResourceInput$: StaticStructureSchema;
46
50
  export declare var UntagResourceOutput$: StaticStructureSchema;
47
51
  export declare var UpdateLinkInput$: StaticStructureSchema;
48
52
  export declare var UpdateLinkOutput$: StaticStructureSchema;
49
- export declare var ValidationException$: StaticErrorSchema;
50
- export declare var OAMServiceException$: StaticErrorSchema;
51
53
  export declare var CreateLink$: StaticOperationSchema;
52
54
  export declare var CreateSink$: StaticOperationSchema;
53
55
  export declare var DeleteLink$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-oam",
3
3
  "description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.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-oam",
@@ -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.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
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.9",
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.989.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.7",
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",