@aws-sdk/client-application-signals 3.929.0 → 3.931.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 CHANGED
@@ -145,16 +145,6 @@ const DurationUnit = {
145
145
  MINUTE: "MINUTE",
146
146
  MONTH: "MONTH",
147
147
  };
148
- exports.Interval = void 0;
149
- (function (Interval) {
150
- Interval.visit = (value, visitor) => {
151
- if (value.RollingInterval !== undefined)
152
- return visitor.RollingInterval(value.RollingInterval);
153
- if (value.CalendarInterval !== undefined)
154
- return visitor.CalendarInterval(value.CalendarInterval);
155
- return visitor._(value.$unknown[0], value.$unknown[1]);
156
- };
157
- })(exports.Interval || (exports.Interval = {}));
158
148
  const ServiceLevelIndicatorComparisonOperator = {
159
149
  GREATER_THAN: "GreaterThan",
160
150
  GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
@@ -194,16 +184,6 @@ const StandardUnit = {
194
184
  TERABYTES: "Terabytes",
195
185
  TERABYTES_SECOND: "Terabytes/Second",
196
186
  };
197
- exports.MonitoredRequestCountMetricDataQueries = void 0;
198
- (function (MonitoredRequestCountMetricDataQueries) {
199
- MonitoredRequestCountMetricDataQueries.visit = (value, visitor) => {
200
- if (value.GoodCountMetric !== undefined)
201
- return visitor.GoodCountMetric(value.GoodCountMetric);
202
- if (value.BadCountMetric !== undefined)
203
- return visitor.BadCountMetric(value.BadCountMetric);
204
- return visitor._(value.$unknown[0], value.$unknown[1]);
205
- };
206
- })(exports.MonitoredRequestCountMetricDataQueries || (exports.MonitoredRequestCountMetricDataQueries = {}));
207
187
  let ThrottlingException$1 = class ThrottlingException extends ApplicationSignalsServiceException$1 {
208
188
  name = "ThrottlingException";
209
189
  $fault = "client";
@@ -248,20 +228,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Applic
248
228
  this.Message = opts.Message;
249
229
  }
250
230
  };
251
- exports.AuditTargetEntity = void 0;
252
- (function (AuditTargetEntity) {
253
- AuditTargetEntity.visit = (value, visitor) => {
254
- if (value.Service !== undefined)
255
- return visitor.Service(value.Service);
256
- if (value.Slo !== undefined)
257
- return visitor.Slo(value.Slo);
258
- if (value.ServiceOperation !== undefined)
259
- return visitor.ServiceOperation(value.ServiceOperation);
260
- if (value.Canary !== undefined)
261
- return visitor.Canary(value.Canary);
262
- return visitor._(value.$unknown[0], value.$unknown[1]);
263
- };
264
- })(exports.AuditTargetEntity || (exports.AuditTargetEntity = {}));
265
231
  const Severity = {
266
232
  CRITICAL: "CRITICAL",
267
233
  HIGH: "HIGH",
@@ -29,16 +29,6 @@ export const DurationUnit = {
29
29
  MINUTE: "MINUTE",
30
30
  MONTH: "MONTH",
31
31
  };
32
- export var Interval;
33
- (function (Interval) {
34
- Interval.visit = (value, visitor) => {
35
- if (value.RollingInterval !== undefined)
36
- return visitor.RollingInterval(value.RollingInterval);
37
- if (value.CalendarInterval !== undefined)
38
- return visitor.CalendarInterval(value.CalendarInterval);
39
- return visitor._(value.$unknown[0], value.$unknown[1]);
40
- };
41
- })(Interval || (Interval = {}));
42
32
  export const ServiceLevelIndicatorComparisonOperator = {
43
33
  GREATER_THAN: "GreaterThan",
44
34
  GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
@@ -78,16 +68,6 @@ export const StandardUnit = {
78
68
  TERABYTES: "Terabytes",
79
69
  TERABYTES_SECOND: "Terabytes/Second",
80
70
  };
81
- export var MonitoredRequestCountMetricDataQueries;
82
- (function (MonitoredRequestCountMetricDataQueries) {
83
- MonitoredRequestCountMetricDataQueries.visit = (value, visitor) => {
84
- if (value.GoodCountMetric !== undefined)
85
- return visitor.GoodCountMetric(value.GoodCountMetric);
86
- if (value.BadCountMetric !== undefined)
87
- return visitor.BadCountMetric(value.BadCountMetric);
88
- return visitor._(value.$unknown[0], value.$unknown[1]);
89
- };
90
- })(MonitoredRequestCountMetricDataQueries || (MonitoredRequestCountMetricDataQueries = {}));
91
71
  export class ThrottlingException extends __BaseException {
92
72
  name = "ThrottlingException";
93
73
  $fault = "client";
@@ -132,20 +112,6 @@ export class ResourceNotFoundException extends __BaseException {
132
112
  this.Message = opts.Message;
133
113
  }
134
114
  }
135
- export var AuditTargetEntity;
136
- (function (AuditTargetEntity) {
137
- AuditTargetEntity.visit = (value, visitor) => {
138
- if (value.Service !== undefined)
139
- return visitor.Service(value.Service);
140
- if (value.Slo !== undefined)
141
- return visitor.Slo(value.Slo);
142
- if (value.ServiceOperation !== undefined)
143
- return visitor.ServiceOperation(value.ServiceOperation);
144
- if (value.Canary !== undefined)
145
- return visitor.Canary(value.Canary);
146
- return visitor._(value.$unknown[0], value.$unknown[1]);
147
- };
148
- })(AuditTargetEntity || (AuditTargetEntity = {}));
149
115
  export const Severity = {
150
116
  CRITICAL: "CRITICAL",
151
117
  HIGH: "HIGH",
@@ -166,12 +166,15 @@ export declare namespace Interval {
166
166
  CalendarInterval?: never;
167
167
  $unknown: [string, any];
168
168
  }
169
+ /**
170
+ * @deprecated unused in schema-serde mode.
171
+ *
172
+ */
169
173
  interface Visitor<T> {
170
174
  RollingInterval: (value: RollingInterval) => T;
171
175
  CalendarInterval: (value: CalendarInterval) => T;
172
176
  _: (name: string, value: any) => T;
173
177
  }
174
- const visit: <T>(value: Interval, visitor: Visitor<T>) => T;
175
178
  }
176
179
  /**
177
180
  * <p>This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.</p>
@@ -412,12 +415,15 @@ export declare namespace MonitoredRequestCountMetricDataQueries {
412
415
  BadCountMetric?: never;
413
416
  $unknown: [string, any];
414
417
  }
418
+ /**
419
+ * @deprecated unused in schema-serde mode.
420
+ *
421
+ */
415
422
  interface Visitor<T> {
416
423
  GoodCountMetric: (value: MetricDataQuery[]) => T;
417
424
  BadCountMetric: (value: MetricDataQuery[]) => T;
418
425
  _: (name: string, value: any) => T;
419
426
  }
420
- const visit: <T>(value: MonitoredRequestCountMetricDataQueries, visitor: Visitor<T>) => T;
421
427
  }
422
428
  /**
423
429
  * <p>This structure contains the information about the metric that is used for a request-based SLO.</p>
@@ -1046,6 +1052,10 @@ export declare namespace AuditTargetEntity {
1046
1052
  Canary?: never;
1047
1053
  $unknown: [string, any];
1048
1054
  }
1055
+ /**
1056
+ * @deprecated unused in schema-serde mode.
1057
+ *
1058
+ */
1049
1059
  interface Visitor<T> {
1050
1060
  Service: (value: ServiceEntity) => T;
1051
1061
  Slo: (value: ServiceLevelObjectiveEntity) => T;
@@ -1053,7 +1063,6 @@ export declare namespace AuditTargetEntity {
1053
1063
  Canary: (value: CanaryEntity) => T;
1054
1064
  _: (name: string, value: any) => T;
1055
1065
  }
1056
- const visit: <T>(value: AuditTargetEntity, visitor: Visitor<T>) => T;
1057
1066
  }
1058
1067
  /**
1059
1068
  * <p>Specifies a target resource for auditing, such as a service, SLO, or operation.</p>
@@ -73,7 +73,6 @@ export declare namespace Interval {
73
73
  CalendarInterval: (value: CalendarInterval) => T;
74
74
  _: (name: string, value: any) => T;
75
75
  }
76
- const visit: <T>(value: Interval, visitor: Visitor<T>) => T;
77
76
  }
78
77
  export interface Goal {
79
78
  Interval?: Interval | undefined;
@@ -177,10 +176,6 @@ export declare namespace MonitoredRequestCountMetricDataQueries {
177
176
  BadCountMetric: (value: MetricDataQuery[]) => T;
178
177
  _: (name: string, value: any) => T;
179
178
  }
180
- const visit: <T>(
181
- value: MonitoredRequestCountMetricDataQueries,
182
- visitor: Visitor<T>
183
- ) => T;
184
179
  }
185
180
  export interface RequestBasedServiceLevelIndicatorMetric {
186
181
  KeyAttributes?: Record<string, string> | undefined;
@@ -379,7 +374,6 @@ export declare namespace AuditTargetEntity {
379
374
  Canary: (value: CanaryEntity) => T;
380
375
  _: (name: string, value: any) => T;
381
376
  }
382
- const visit: <T>(value: AuditTargetEntity, visitor: Visitor<T>) => T;
383
377
  }
384
378
  export interface AuditTarget {
385
379
  Type: string | undefined;
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.929.0",
4
+ "version": "3.931.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-application-signals",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },