@aws-sdk/client-application-signals 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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultApplicationSignalsHttpAuthSchemeProvider } 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: "2024-04-15",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.applicationsignals",
30
+ errorTypeRegistries,
29
31
  version: "2024-04-15",
30
32
  serviceTarget: "ApplicationSignals",
31
33
  },
@@ -34,11 +34,11 @@ const _BUEWEa = "BatchUpdateExclusionWindowsErrors";
34
34
  const _BUEWI = "BatchUpdateExclusionWindowsInput";
35
35
  const _BUEWO = "BatchUpdateExclusionWindowsOutput";
36
36
  const _C = "Canary";
37
- const _CE = "CanaryEntity";
37
+ const _CE = "ConflictException";
38
38
  const _CET = "ChangeEventType";
39
+ const _CEa = "CanaryEntity";
39
40
  const _CEh = "ChangeEvent";
40
41
  const _CEha = "ChangeEvents";
41
- const _CEo = "ConflictException";
42
42
  const _CI = "CalendarInterval";
43
43
  const _CN = "CanaryName";
44
44
  const _CO = "ComparisonOperator";
@@ -275,12 +275,50 @@ const n0 = "com.amazonaws.applicationsignals";
275
275
  import { TypeRegistry } from "@smithy/core/schema";
276
276
  import { ApplicationSignalsServiceException } from "../models/ApplicationSignalsServiceException";
277
277
  import { AccessDeniedException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
278
+ const _s_registry = TypeRegistry.for(_s);
279
+ export var ApplicationSignalsServiceException$ = [-3, _s, "ApplicationSignalsServiceException", 0, [], []];
280
+ _s_registry.registerError(ApplicationSignalsServiceException$, ApplicationSignalsServiceException);
281
+ const n0_registry = TypeRegistry.for(n0);
278
282
  export var AccessDeniedException$ = [-3, n0, _ADE,
279
283
  { [_aQE]: [`AccessDenied`, 403], [_e]: _c, [_hE]: 403 },
280
284
  [_M],
281
285
  [0]
282
286
  ];
283
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
287
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
288
+ export var ConflictException$ = [-3, n0, _CE,
289
+ { [_e]: _c, [_hE]: 409 },
290
+ [_M],
291
+ [0], 1
292
+ ];
293
+ n0_registry.registerError(ConflictException$, ConflictException);
294
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
295
+ { [_e]: _c, [_hE]: 404 },
296
+ [_RT, _RI, _M],
297
+ [0, 0, 0], 3
298
+ ];
299
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
300
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
301
+ { [_e]: _c, [_hE]: 402 },
302
+ [_M],
303
+ [0], 1
304
+ ];
305
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
306
+ export var ThrottlingException$ = [-3, n0, _TE,
307
+ { [_e]: _c, [_hE]: 429 },
308
+ [_M],
309
+ [0], 1
310
+ ];
311
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
312
+ export var ValidationException$ = [-3, n0, _VE,
313
+ { [_aQE]: [`ValidationError`, 400], [_e]: _c, [_hE]: 400 },
314
+ [_m],
315
+ [0]
316
+ ];
317
+ n0_registry.registerError(ValidationException$, ValidationException);
318
+ export const errorTypeRegistries = [
319
+ _s_registry,
320
+ n0_registry,
321
+ ];
284
322
  export var AttributeFilter$ = [3, n0, _AF,
285
323
  0,
286
324
  [_AFN, _AFV],
@@ -336,7 +374,7 @@ export var CalendarInterval$ = [3, n0, _CI,
336
374
  [_ST, _DU, _Du],
337
375
  [4, 0, 1], 3
338
376
  ];
339
- export var CanaryEntity$ = [3, n0, _CE,
377
+ export var CanaryEntity$ = [3, n0, _CEa,
340
378
  0,
341
379
  [_CN],
342
380
  [0], 1
@@ -346,12 +384,6 @@ export var ChangeEvent$ = [3, n0, _CEh,
346
384
  [_Ti, _AI, _Re, _En, _CET, _EI, _UN, _EN],
347
385
  [4, 0, 0, 128 | 0, 0, 0, 0, 0], 6
348
386
  ];
349
- export var ConflictException$ = [-3, n0, _CEo,
350
- { [_e]: _c, [_hE]: 409 },
351
- [_M],
352
- [0], 1
353
- ];
354
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
355
387
  export var CreateServiceLevelObjectiveInput$ = [3, n0, _CSLOI,
356
388
  0,
357
389
  [_N, _D, _SC, _RBSC, _G, _Ta, _BRCu],
@@ -612,12 +644,6 @@ export var RequestBasedServiceLevelIndicatorMetricConfig$ = [3, n0, _RBSLIMC,
612
644
  [_KA, _ON, _MT, _TRCM, _MRCM, _DC],
613
645
  [128 | 0, 0, 0, () => MetricDataQueries, () => MonitoredRequestCountMetricDataQueries$, () => DependencyConfig$]
614
646
  ];
615
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
616
- { [_e]: _c, [_hE]: 404 },
617
- [_RT, _RI, _M],
618
- [0, 0, 0], 3
619
- ];
620
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
621
647
  export var RollingInterval$ = [3, n0, _RIo,
622
648
  0,
623
649
  [_DU, _Du],
@@ -703,12 +729,6 @@ export var ServiceOperationEntity$ = [3, n0, _SOE,
703
729
  [_Se, _O, _MT],
704
730
  [() => ServiceEntity$, 0, 0]
705
731
  ];
706
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
707
- { [_e]: _c, [_hE]: 402 },
708
- [_M],
709
- [0], 1
710
- ];
711
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
712
732
  export var ServiceState$ = [3, n0, _SServ,
713
733
  0,
714
734
  [_Se, _LCE, _AFt],
@@ -744,12 +764,6 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
744
764
  [],
745
765
  []
746
766
  ];
747
- export var ThrottlingException$ = [-3, n0, _TE,
748
- { [_e]: _c, [_hE]: 429 },
749
- [_M],
750
- [0], 1
751
- ];
752
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
753
767
  export var UntagResourceRequest$ = [3, n0, _URR,
754
768
  0,
755
769
  [_RA, _TK],
@@ -770,20 +784,12 @@ export var UpdateServiceLevelObjectiveOutput$ = [3, n0, _USLOO,
770
784
  [_Sl],
771
785
  [() => ServiceLevelObjective$], 1
772
786
  ];
773
- export var ValidationException$ = [-3, n0, _VE,
774
- { [_aQE]: [`ValidationError`, 400], [_e]: _c, [_hE]: 400 },
775
- [_m],
776
- [0]
777
- ];
778
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
779
787
  export var Window$ = [3, n0, _W,
780
788
  0,
781
789
  [_DU, _Du],
782
790
  [0, 1], 2
783
791
  ];
784
792
  var __Unit = "unit";
785
- export var ApplicationSignalsServiceException$ = [-3, _s, "ApplicationSignalsServiceException", 0, [], []];
786
- TypeRegistry.for(_s).registerError(ApplicationSignalsServiceException$, ApplicationSignalsServiceException);
787
793
  var AttributeFilters = [1, n0, _AFt,
788
794
  0, () => AttributeFilter$
789
795
  ];
@@ -1,5 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var ApplicationSignalsServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
8
+ export declare var ThrottlingException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
3
16
  export declare var AttributeFilter$: StaticStructureSchema;
4
17
  export declare var AuditFinding$: StaticStructureSchema;
5
18
  export declare var AuditorResult$: StaticStructureSchema;
@@ -13,7 +26,6 @@ export declare var BurnRateConfiguration$: StaticStructureSchema;
13
26
  export declare var CalendarInterval$: StaticStructureSchema;
14
27
  export declare var CanaryEntity$: StaticStructureSchema;
15
28
  export declare var ChangeEvent$: StaticStructureSchema;
16
- export declare var ConflictException$: StaticErrorSchema;
17
29
  export declare var CreateServiceLevelObjectiveInput$: StaticStructureSchema;
18
30
  export declare var CreateServiceLevelObjectiveOutput$: StaticStructureSchema;
19
31
  export declare var DeleteGroupingConfigurationOutput$: StaticStructureSchema;
@@ -66,7 +78,6 @@ export declare var RequestBasedServiceLevelIndicator$: StaticStructureSchema;
66
78
  export declare var RequestBasedServiceLevelIndicatorConfig$: StaticStructureSchema;
67
79
  export declare var RequestBasedServiceLevelIndicatorMetric$: StaticStructureSchema;
68
80
  export declare var RequestBasedServiceLevelIndicatorMetricConfig$: StaticStructureSchema;
69
- export declare var ResourceNotFoundException$: StaticErrorSchema;
70
81
  export declare var RollingInterval$: StaticStructureSchema;
71
82
  export declare var Service$: StaticStructureSchema;
72
83
  export declare var ServiceDependency$: StaticStructureSchema;
@@ -84,7 +95,6 @@ export declare var ServiceLevelObjectiveEntity$: StaticStructureSchema;
84
95
  export declare var ServiceLevelObjectiveSummary$: StaticStructureSchema;
85
96
  export declare var ServiceOperation$: StaticStructureSchema;
86
97
  export declare var ServiceOperationEntity$: StaticStructureSchema;
87
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
88
98
  export declare var ServiceState$: StaticStructureSchema;
89
99
  export declare var ServiceSummary$: StaticStructureSchema;
90
100
  export declare var StartDiscoveryInput$: StaticStructureSchema;
@@ -92,14 +102,11 @@ export declare var StartDiscoveryOutput$: StaticStructureSchema;
92
102
  export declare var Tag$: StaticStructureSchema;
93
103
  export declare var TagResourceRequest$: StaticStructureSchema;
94
104
  export declare var TagResourceResponse$: StaticStructureSchema;
95
- export declare var ThrottlingException$: StaticErrorSchema;
96
105
  export declare var UntagResourceRequest$: StaticStructureSchema;
97
106
  export declare var UntagResourceResponse$: StaticStructureSchema;
98
107
  export declare var UpdateServiceLevelObjectiveInput$: StaticStructureSchema;
99
108
  export declare var UpdateServiceLevelObjectiveOutput$: StaticStructureSchema;
100
- export declare var ValidationException$: StaticErrorSchema;
101
109
  export declare var Window$: StaticStructureSchema;
102
- export declare var ApplicationSignalsServiceException$: StaticErrorSchema;
103
110
  export declare var AuditTargetEntity$: StaticUnionSchema;
104
111
  export declare var Interval$: StaticUnionSchema;
105
112
  export declare var MonitoredRequestCountMetricDataQueries$: StaticUnionSchema;
@@ -1,10 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var ApplicationSignalsServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: 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[];
8
16
  export declare var AttributeFilter$: StaticStructureSchema;
9
17
  export declare var AuditFinding$: StaticStructureSchema;
10
18
  export declare var AuditorResult$: StaticStructureSchema;
@@ -18,7 +26,6 @@ export declare var BurnRateConfiguration$: StaticStructureSchema;
18
26
  export declare var CalendarInterval$: StaticStructureSchema;
19
27
  export declare var CanaryEntity$: StaticStructureSchema;
20
28
  export declare var ChangeEvent$: StaticStructureSchema;
21
- export declare var ConflictException$: StaticErrorSchema;
22
29
  export declare var CreateServiceLevelObjectiveInput$: StaticStructureSchema;
23
30
  export declare var CreateServiceLevelObjectiveOutput$: StaticStructureSchema;
24
31
  export declare var DeleteGroupingConfigurationOutput$: StaticStructureSchema;
@@ -71,7 +78,6 @@ export declare var RequestBasedServiceLevelIndicator$: StaticStructureSchema;
71
78
  export declare var RequestBasedServiceLevelIndicatorConfig$: StaticStructureSchema;
72
79
  export declare var RequestBasedServiceLevelIndicatorMetric$: StaticStructureSchema;
73
80
  export declare var RequestBasedServiceLevelIndicatorMetricConfig$: StaticStructureSchema;
74
- export declare var ResourceNotFoundException$: StaticErrorSchema;
75
81
  export declare var RollingInterval$: StaticStructureSchema;
76
82
  export declare var Service$: StaticStructureSchema;
77
83
  export declare var ServiceDependency$: StaticStructureSchema;
@@ -89,7 +95,6 @@ export declare var ServiceLevelObjectiveEntity$: StaticStructureSchema;
89
95
  export declare var ServiceLevelObjectiveSummary$: StaticStructureSchema;
90
96
  export declare var ServiceOperation$: StaticStructureSchema;
91
97
  export declare var ServiceOperationEntity$: StaticStructureSchema;
92
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
93
98
  export declare var ServiceState$: StaticStructureSchema;
94
99
  export declare var ServiceSummary$: StaticStructureSchema;
95
100
  export declare var StartDiscoveryInput$: StaticStructureSchema;
@@ -97,14 +102,11 @@ export declare var StartDiscoveryOutput$: StaticStructureSchema;
97
102
  export declare var Tag$: StaticStructureSchema;
98
103
  export declare var TagResourceRequest$: StaticStructureSchema;
99
104
  export declare var TagResourceResponse$: StaticStructureSchema;
100
- export declare var ThrottlingException$: StaticErrorSchema;
101
105
  export declare var UntagResourceRequest$: StaticStructureSchema;
102
106
  export declare var UntagResourceResponse$: StaticStructureSchema;
103
107
  export declare var UpdateServiceLevelObjectiveInput$: StaticStructureSchema;
104
108
  export declare var UpdateServiceLevelObjectiveOutput$: StaticStructureSchema;
105
- export declare var ValidationException$: StaticErrorSchema;
106
109
  export declare var Window$: StaticStructureSchema;
107
- export declare var ApplicationSignalsServiceException$: StaticErrorSchema;
108
110
  export declare var AuditTargetEntity$: StaticUnionSchema;
109
111
  export declare var Interval$: StaticUnionSchema;
110
112
  export declare var MonitoredRequestCountMetricDataQueries$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-signals",
3
3
  "description": "AWS SDK for JavaScript Application Signals 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-application-signals",
@@ -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",