@aws-sdk/client-application-signals 3.934.0 → 3.936.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 +75 -74
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +74 -0
- package/dist-es/models/errors.js +87 -0
- package/dist-es/models/models_0.js +1 -161
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +154 -0
- package/dist-types/models/errors.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +1 -243
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +91 -0
- package/dist-types/ts3.4/models/errors.d.ts +49 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -140
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -129,61 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends ApplicationSig
|
|
|
129
129
|
this.Message = opts.Message;
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const ServiceLevelObjectiveBudgetStatus = {
|
|
133
|
-
BREACHED: "BREACHED",
|
|
134
|
-
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
135
|
-
OK: "OK",
|
|
136
|
-
WARNING: "WARNING",
|
|
137
|
-
};
|
|
138
|
-
const EvaluationType = {
|
|
139
|
-
PERIOD_BASED: "PeriodBased",
|
|
140
|
-
REQUEST_BASED: "RequestBased",
|
|
141
|
-
};
|
|
142
|
-
const DurationUnit = {
|
|
143
|
-
DAY: "DAY",
|
|
144
|
-
HOUR: "HOUR",
|
|
145
|
-
MINUTE: "MINUTE",
|
|
146
|
-
MONTH: "MONTH",
|
|
147
|
-
};
|
|
148
|
-
const ServiceLevelIndicatorComparisonOperator = {
|
|
149
|
-
GREATER_THAN: "GreaterThan",
|
|
150
|
-
GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
|
|
151
|
-
LESS_THAN: "LessThan",
|
|
152
|
-
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
153
|
-
};
|
|
154
|
-
const ServiceLevelIndicatorMetricType = {
|
|
155
|
-
AVAILABILITY: "AVAILABILITY",
|
|
156
|
-
LATENCY: "LATENCY",
|
|
157
|
-
};
|
|
158
|
-
const StandardUnit = {
|
|
159
|
-
BITS: "Bits",
|
|
160
|
-
BITS_SECOND: "Bits/Second",
|
|
161
|
-
BYTES: "Bytes",
|
|
162
|
-
BYTES_SECOND: "Bytes/Second",
|
|
163
|
-
COUNT: "Count",
|
|
164
|
-
COUNT_SECOND: "Count/Second",
|
|
165
|
-
GIGABITS: "Gigabits",
|
|
166
|
-
GIGABITS_SECOND: "Gigabits/Second",
|
|
167
|
-
GIGABYTES: "Gigabytes",
|
|
168
|
-
GIGABYTES_SECOND: "Gigabytes/Second",
|
|
169
|
-
KILOBITS: "Kilobits",
|
|
170
|
-
KILOBITS_SECOND: "Kilobits/Second",
|
|
171
|
-
KILOBYTES: "Kilobytes",
|
|
172
|
-
KILOBYTES_SECOND: "Kilobytes/Second",
|
|
173
|
-
MEGABITS: "Megabits",
|
|
174
|
-
MEGABITS_SECOND: "Megabits/Second",
|
|
175
|
-
MEGABYTES: "Megabytes",
|
|
176
|
-
MEGABYTES_SECOND: "Megabytes/Second",
|
|
177
|
-
MICROSECONDS: "Microseconds",
|
|
178
|
-
MILLISECONDS: "Milliseconds",
|
|
179
|
-
NONE: "None",
|
|
180
|
-
PERCENT: "Percent",
|
|
181
|
-
SECONDS: "Seconds",
|
|
182
|
-
TERABITS: "Terabits",
|
|
183
|
-
TERABITS_SECOND: "Terabits/Second",
|
|
184
|
-
TERABYTES: "Terabytes",
|
|
185
|
-
TERABYTES_SECOND: "Terabytes/Second",
|
|
186
|
-
};
|
|
187
132
|
let ThrottlingException$1 = class ThrottlingException extends ApplicationSignalsServiceException$1 {
|
|
188
133
|
name = "ThrottlingException";
|
|
189
134
|
$fault = "client";
|
|
@@ -228,20 +173,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Applic
|
|
|
228
173
|
this.Message = opts.Message;
|
|
229
174
|
}
|
|
230
175
|
};
|
|
231
|
-
const Severity = {
|
|
232
|
-
CRITICAL: "CRITICAL",
|
|
233
|
-
HIGH: "HIGH",
|
|
234
|
-
LOW: "LOW",
|
|
235
|
-
MEDIUM: "MEDIUM",
|
|
236
|
-
NONE: "NONE",
|
|
237
|
-
};
|
|
238
|
-
const ConnectionType = {
|
|
239
|
-
DIRECT: "DIRECT",
|
|
240
|
-
INDIRECT: "INDIRECT",
|
|
241
|
-
};
|
|
242
|
-
const ChangeEventType = {
|
|
243
|
-
DEPLOYMENT: "DEPLOYMENT",
|
|
244
|
-
};
|
|
245
176
|
let ConflictException$1 = class ConflictException extends ApplicationSignalsServiceException$1 {
|
|
246
177
|
name = "ConflictException";
|
|
247
178
|
$fault = "client";
|
|
@@ -256,11 +187,6 @@ let ConflictException$1 = class ConflictException extends ApplicationSignalsServ
|
|
|
256
187
|
this.Message = opts.Message;
|
|
257
188
|
}
|
|
258
189
|
};
|
|
259
|
-
const MetricSourceType = {
|
|
260
|
-
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
261
|
-
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
262
|
-
SERVICE_OPERATION: "ServiceOperation",
|
|
263
|
-
};
|
|
264
190
|
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends ApplicationSignalsServiceException$1 {
|
|
265
191
|
name = "ServiceQuotaExceededException";
|
|
266
192
|
$fault = "client";
|
|
@@ -1941,6 +1867,81 @@ const paginateListServiceStates = core.createPaginator(ApplicationSignalsClient,
|
|
|
1941
1867
|
|
|
1942
1868
|
const paginateListServices = core.createPaginator(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1943
1869
|
|
|
1870
|
+
const ServiceLevelObjectiveBudgetStatus = {
|
|
1871
|
+
BREACHED: "BREACHED",
|
|
1872
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
1873
|
+
OK: "OK",
|
|
1874
|
+
WARNING: "WARNING",
|
|
1875
|
+
};
|
|
1876
|
+
const EvaluationType = {
|
|
1877
|
+
PERIOD_BASED: "PeriodBased",
|
|
1878
|
+
REQUEST_BASED: "RequestBased",
|
|
1879
|
+
};
|
|
1880
|
+
const DurationUnit = {
|
|
1881
|
+
DAY: "DAY",
|
|
1882
|
+
HOUR: "HOUR",
|
|
1883
|
+
MINUTE: "MINUTE",
|
|
1884
|
+
MONTH: "MONTH",
|
|
1885
|
+
};
|
|
1886
|
+
const ServiceLevelIndicatorComparisonOperator = {
|
|
1887
|
+
GREATER_THAN: "GreaterThan",
|
|
1888
|
+
GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
|
|
1889
|
+
LESS_THAN: "LessThan",
|
|
1890
|
+
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
1891
|
+
};
|
|
1892
|
+
const ServiceLevelIndicatorMetricType = {
|
|
1893
|
+
AVAILABILITY: "AVAILABILITY",
|
|
1894
|
+
LATENCY: "LATENCY",
|
|
1895
|
+
};
|
|
1896
|
+
const StandardUnit = {
|
|
1897
|
+
BITS: "Bits",
|
|
1898
|
+
BITS_SECOND: "Bits/Second",
|
|
1899
|
+
BYTES: "Bytes",
|
|
1900
|
+
BYTES_SECOND: "Bytes/Second",
|
|
1901
|
+
COUNT: "Count",
|
|
1902
|
+
COUNT_SECOND: "Count/Second",
|
|
1903
|
+
GIGABITS: "Gigabits",
|
|
1904
|
+
GIGABITS_SECOND: "Gigabits/Second",
|
|
1905
|
+
GIGABYTES: "Gigabytes",
|
|
1906
|
+
GIGABYTES_SECOND: "Gigabytes/Second",
|
|
1907
|
+
KILOBITS: "Kilobits",
|
|
1908
|
+
KILOBITS_SECOND: "Kilobits/Second",
|
|
1909
|
+
KILOBYTES: "Kilobytes",
|
|
1910
|
+
KILOBYTES_SECOND: "Kilobytes/Second",
|
|
1911
|
+
MEGABITS: "Megabits",
|
|
1912
|
+
MEGABITS_SECOND: "Megabits/Second",
|
|
1913
|
+
MEGABYTES: "Megabytes",
|
|
1914
|
+
MEGABYTES_SECOND: "Megabytes/Second",
|
|
1915
|
+
MICROSECONDS: "Microseconds",
|
|
1916
|
+
MILLISECONDS: "Milliseconds",
|
|
1917
|
+
NONE: "None",
|
|
1918
|
+
PERCENT: "Percent",
|
|
1919
|
+
SECONDS: "Seconds",
|
|
1920
|
+
TERABITS: "Terabits",
|
|
1921
|
+
TERABITS_SECOND: "Terabits/Second",
|
|
1922
|
+
TERABYTES: "Terabytes",
|
|
1923
|
+
TERABYTES_SECOND: "Terabytes/Second",
|
|
1924
|
+
};
|
|
1925
|
+
const Severity = {
|
|
1926
|
+
CRITICAL: "CRITICAL",
|
|
1927
|
+
HIGH: "HIGH",
|
|
1928
|
+
LOW: "LOW",
|
|
1929
|
+
MEDIUM: "MEDIUM",
|
|
1930
|
+
NONE: "NONE",
|
|
1931
|
+
};
|
|
1932
|
+
const ConnectionType = {
|
|
1933
|
+
DIRECT: "DIRECT",
|
|
1934
|
+
INDIRECT: "INDIRECT",
|
|
1935
|
+
};
|
|
1936
|
+
const ChangeEventType = {
|
|
1937
|
+
DEPLOYMENT: "DEPLOYMENT",
|
|
1938
|
+
};
|
|
1939
|
+
const MetricSourceType = {
|
|
1940
|
+
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
1941
|
+
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
1942
|
+
SERVICE_OPERATION: "ServiceOperation",
|
|
1943
|
+
};
|
|
1944
|
+
|
|
1944
1945
|
Object.defineProperty(exports, "$Command", {
|
|
1945
1946
|
enumerable: true,
|
|
1946
1947
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ApplicationSignalsClient";
|
|
|
2
2
|
export * from "./ApplicationSignals";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ApplicationSignalsServiceException } from "./models/ApplicationSignalsServiceException";
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export const ServiceLevelObjectiveBudgetStatus = {
|
|
2
|
+
BREACHED: "BREACHED",
|
|
3
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
4
|
+
OK: "OK",
|
|
5
|
+
WARNING: "WARNING",
|
|
6
|
+
};
|
|
7
|
+
export const EvaluationType = {
|
|
8
|
+
PERIOD_BASED: "PeriodBased",
|
|
9
|
+
REQUEST_BASED: "RequestBased",
|
|
10
|
+
};
|
|
11
|
+
export const DurationUnit = {
|
|
12
|
+
DAY: "DAY",
|
|
13
|
+
HOUR: "HOUR",
|
|
14
|
+
MINUTE: "MINUTE",
|
|
15
|
+
MONTH: "MONTH",
|
|
16
|
+
};
|
|
17
|
+
export const ServiceLevelIndicatorComparisonOperator = {
|
|
18
|
+
GREATER_THAN: "GreaterThan",
|
|
19
|
+
GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
|
|
20
|
+
LESS_THAN: "LessThan",
|
|
21
|
+
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
22
|
+
};
|
|
23
|
+
export const ServiceLevelIndicatorMetricType = {
|
|
24
|
+
AVAILABILITY: "AVAILABILITY",
|
|
25
|
+
LATENCY: "LATENCY",
|
|
26
|
+
};
|
|
27
|
+
export const StandardUnit = {
|
|
28
|
+
BITS: "Bits",
|
|
29
|
+
BITS_SECOND: "Bits/Second",
|
|
30
|
+
BYTES: "Bytes",
|
|
31
|
+
BYTES_SECOND: "Bytes/Second",
|
|
32
|
+
COUNT: "Count",
|
|
33
|
+
COUNT_SECOND: "Count/Second",
|
|
34
|
+
GIGABITS: "Gigabits",
|
|
35
|
+
GIGABITS_SECOND: "Gigabits/Second",
|
|
36
|
+
GIGABYTES: "Gigabytes",
|
|
37
|
+
GIGABYTES_SECOND: "Gigabytes/Second",
|
|
38
|
+
KILOBITS: "Kilobits",
|
|
39
|
+
KILOBITS_SECOND: "Kilobits/Second",
|
|
40
|
+
KILOBYTES: "Kilobytes",
|
|
41
|
+
KILOBYTES_SECOND: "Kilobytes/Second",
|
|
42
|
+
MEGABITS: "Megabits",
|
|
43
|
+
MEGABITS_SECOND: "Megabits/Second",
|
|
44
|
+
MEGABYTES: "Megabytes",
|
|
45
|
+
MEGABYTES_SECOND: "Megabytes/Second",
|
|
46
|
+
MICROSECONDS: "Microseconds",
|
|
47
|
+
MILLISECONDS: "Milliseconds",
|
|
48
|
+
NONE: "None",
|
|
49
|
+
PERCENT: "Percent",
|
|
50
|
+
SECONDS: "Seconds",
|
|
51
|
+
TERABITS: "Terabits",
|
|
52
|
+
TERABITS_SECOND: "Terabits/Second",
|
|
53
|
+
TERABYTES: "Terabytes",
|
|
54
|
+
TERABYTES_SECOND: "Terabytes/Second",
|
|
55
|
+
};
|
|
56
|
+
export const Severity = {
|
|
57
|
+
CRITICAL: "CRITICAL",
|
|
58
|
+
HIGH: "HIGH",
|
|
59
|
+
LOW: "LOW",
|
|
60
|
+
MEDIUM: "MEDIUM",
|
|
61
|
+
NONE: "NONE",
|
|
62
|
+
};
|
|
63
|
+
export const ConnectionType = {
|
|
64
|
+
DIRECT: "DIRECT",
|
|
65
|
+
INDIRECT: "INDIRECT",
|
|
66
|
+
};
|
|
67
|
+
export const ChangeEventType = {
|
|
68
|
+
DEPLOYMENT: "DEPLOYMENT",
|
|
69
|
+
};
|
|
70
|
+
export const MetricSourceType = {
|
|
71
|
+
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
72
|
+
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
73
|
+
SERVICE_OPERATION: "ServiceOperation",
|
|
74
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ApplicationSignalsServiceException as __BaseException } from "./ApplicationSignalsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class ThrottlingException extends __BaseException {
|
|
17
|
+
name = "ThrottlingException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "ThrottlingException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ValidationException extends __BaseException {
|
|
31
|
+
name = "ValidationException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "ValidationException",
|
|
36
|
+
$fault: "client",
|
|
37
|
+
...opts,
|
|
38
|
+
});
|
|
39
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
43
|
+
name = "ResourceNotFoundException";
|
|
44
|
+
$fault = "client";
|
|
45
|
+
ResourceType;
|
|
46
|
+
ResourceId;
|
|
47
|
+
Message;
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "ResourceNotFoundException",
|
|
51
|
+
$fault: "client",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
55
|
+
this.ResourceType = opts.ResourceType;
|
|
56
|
+
this.ResourceId = opts.ResourceId;
|
|
57
|
+
this.Message = opts.Message;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export class ConflictException extends __BaseException {
|
|
61
|
+
name = "ConflictException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
Message;
|
|
64
|
+
constructor(opts) {
|
|
65
|
+
super({
|
|
66
|
+
name: "ConflictException",
|
|
67
|
+
$fault: "client",
|
|
68
|
+
...opts,
|
|
69
|
+
});
|
|
70
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
71
|
+
this.Message = opts.Message;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
75
|
+
name = "ServiceQuotaExceededException";
|
|
76
|
+
$fault = "client";
|
|
77
|
+
Message;
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "ServiceQuotaExceededException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
85
|
+
this.Message = opts.Message;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -1,161 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "AccessDeniedException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export const ServiceLevelObjectiveBudgetStatus = {
|
|
17
|
-
BREACHED: "BREACHED",
|
|
18
|
-
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
19
|
-
OK: "OK",
|
|
20
|
-
WARNING: "WARNING",
|
|
21
|
-
};
|
|
22
|
-
export const EvaluationType = {
|
|
23
|
-
PERIOD_BASED: "PeriodBased",
|
|
24
|
-
REQUEST_BASED: "RequestBased",
|
|
25
|
-
};
|
|
26
|
-
export const DurationUnit = {
|
|
27
|
-
DAY: "DAY",
|
|
28
|
-
HOUR: "HOUR",
|
|
29
|
-
MINUTE: "MINUTE",
|
|
30
|
-
MONTH: "MONTH",
|
|
31
|
-
};
|
|
32
|
-
export const ServiceLevelIndicatorComparisonOperator = {
|
|
33
|
-
GREATER_THAN: "GreaterThan",
|
|
34
|
-
GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
|
|
35
|
-
LESS_THAN: "LessThan",
|
|
36
|
-
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
37
|
-
};
|
|
38
|
-
export const ServiceLevelIndicatorMetricType = {
|
|
39
|
-
AVAILABILITY: "AVAILABILITY",
|
|
40
|
-
LATENCY: "LATENCY",
|
|
41
|
-
};
|
|
42
|
-
export const StandardUnit = {
|
|
43
|
-
BITS: "Bits",
|
|
44
|
-
BITS_SECOND: "Bits/Second",
|
|
45
|
-
BYTES: "Bytes",
|
|
46
|
-
BYTES_SECOND: "Bytes/Second",
|
|
47
|
-
COUNT: "Count",
|
|
48
|
-
COUNT_SECOND: "Count/Second",
|
|
49
|
-
GIGABITS: "Gigabits",
|
|
50
|
-
GIGABITS_SECOND: "Gigabits/Second",
|
|
51
|
-
GIGABYTES: "Gigabytes",
|
|
52
|
-
GIGABYTES_SECOND: "Gigabytes/Second",
|
|
53
|
-
KILOBITS: "Kilobits",
|
|
54
|
-
KILOBITS_SECOND: "Kilobits/Second",
|
|
55
|
-
KILOBYTES: "Kilobytes",
|
|
56
|
-
KILOBYTES_SECOND: "Kilobytes/Second",
|
|
57
|
-
MEGABITS: "Megabits",
|
|
58
|
-
MEGABITS_SECOND: "Megabits/Second",
|
|
59
|
-
MEGABYTES: "Megabytes",
|
|
60
|
-
MEGABYTES_SECOND: "Megabytes/Second",
|
|
61
|
-
MICROSECONDS: "Microseconds",
|
|
62
|
-
MILLISECONDS: "Milliseconds",
|
|
63
|
-
NONE: "None",
|
|
64
|
-
PERCENT: "Percent",
|
|
65
|
-
SECONDS: "Seconds",
|
|
66
|
-
TERABITS: "Terabits",
|
|
67
|
-
TERABITS_SECOND: "Terabits/Second",
|
|
68
|
-
TERABYTES: "Terabytes",
|
|
69
|
-
TERABYTES_SECOND: "Terabytes/Second",
|
|
70
|
-
};
|
|
71
|
-
export class ThrottlingException extends __BaseException {
|
|
72
|
-
name = "ThrottlingException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
Message;
|
|
75
|
-
constructor(opts) {
|
|
76
|
-
super({
|
|
77
|
-
name: "ThrottlingException",
|
|
78
|
-
$fault: "client",
|
|
79
|
-
...opts,
|
|
80
|
-
});
|
|
81
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
82
|
-
this.Message = opts.Message;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
export class ValidationException extends __BaseException {
|
|
86
|
-
name = "ValidationException";
|
|
87
|
-
$fault = "client";
|
|
88
|
-
constructor(opts) {
|
|
89
|
-
super({
|
|
90
|
-
name: "ValidationException",
|
|
91
|
-
$fault: "client",
|
|
92
|
-
...opts,
|
|
93
|
-
});
|
|
94
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
98
|
-
name = "ResourceNotFoundException";
|
|
99
|
-
$fault = "client";
|
|
100
|
-
ResourceType;
|
|
101
|
-
ResourceId;
|
|
102
|
-
Message;
|
|
103
|
-
constructor(opts) {
|
|
104
|
-
super({
|
|
105
|
-
name: "ResourceNotFoundException",
|
|
106
|
-
$fault: "client",
|
|
107
|
-
...opts,
|
|
108
|
-
});
|
|
109
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
110
|
-
this.ResourceType = opts.ResourceType;
|
|
111
|
-
this.ResourceId = opts.ResourceId;
|
|
112
|
-
this.Message = opts.Message;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
export const Severity = {
|
|
116
|
-
CRITICAL: "CRITICAL",
|
|
117
|
-
HIGH: "HIGH",
|
|
118
|
-
LOW: "LOW",
|
|
119
|
-
MEDIUM: "MEDIUM",
|
|
120
|
-
NONE: "NONE",
|
|
121
|
-
};
|
|
122
|
-
export const ConnectionType = {
|
|
123
|
-
DIRECT: "DIRECT",
|
|
124
|
-
INDIRECT: "INDIRECT",
|
|
125
|
-
};
|
|
126
|
-
export const ChangeEventType = {
|
|
127
|
-
DEPLOYMENT: "DEPLOYMENT",
|
|
128
|
-
};
|
|
129
|
-
export class ConflictException extends __BaseException {
|
|
130
|
-
name = "ConflictException";
|
|
131
|
-
$fault = "client";
|
|
132
|
-
Message;
|
|
133
|
-
constructor(opts) {
|
|
134
|
-
super({
|
|
135
|
-
name: "ConflictException",
|
|
136
|
-
$fault: "client",
|
|
137
|
-
...opts,
|
|
138
|
-
});
|
|
139
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
140
|
-
this.Message = opts.Message;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
export const MetricSourceType = {
|
|
144
|
-
CLOUDWATCH_METRIC: "CloudWatchMetric",
|
|
145
|
-
SERVICE_DEPENDENCY: "ServiceDependency",
|
|
146
|
-
SERVICE_OPERATION: "ServiceOperation",
|
|
147
|
-
};
|
|
148
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
149
|
-
name = "ServiceQuotaExceededException";
|
|
150
|
-
$fault = "client";
|
|
151
|
-
Message;
|
|
152
|
-
constructor(opts) {
|
|
153
|
-
super({
|
|
154
|
-
name: "ServiceQuotaExceededException",
|
|
155
|
-
$fault: "client",
|
|
156
|
-
...opts,
|
|
157
|
-
});
|
|
158
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
159
|
-
this.Message = opts.Message;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
1
|
+
export {};
|
|
@@ -269,7 +269,7 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.applicationsignals";
|
|
|
269
269
|
const n0 = "com.amazonaws.applicationsignals";
|
|
270
270
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
271
271
|
import { ApplicationSignalsServiceException as __ApplicationSignalsServiceException } from "../models/ApplicationSignalsServiceException";
|
|
272
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
272
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
273
273
|
export var AccessDeniedException = [
|
|
274
274
|
-3,
|
|
275
275
|
n0,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { ApplicationSignalsExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { ApplicationSignalsServiceException } from "./models/ApplicationSignalsServiceException";
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ServiceLevelObjectiveBudgetStatus: {
|
|
6
|
+
readonly BREACHED: "BREACHED";
|
|
7
|
+
readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
|
|
8
|
+
readonly OK: "OK";
|
|
9
|
+
readonly WARNING: "WARNING";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ServiceLevelObjectiveBudgetStatus = (typeof ServiceLevelObjectiveBudgetStatus)[keyof typeof ServiceLevelObjectiveBudgetStatus];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const EvaluationType: {
|
|
20
|
+
readonly PERIOD_BASED: "PeriodBased";
|
|
21
|
+
readonly REQUEST_BASED: "RequestBased";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type EvaluationType = (typeof EvaluationType)[keyof typeof EvaluationType];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const DurationUnit: {
|
|
32
|
+
readonly DAY: "DAY";
|
|
33
|
+
readonly HOUR: "HOUR";
|
|
34
|
+
readonly MINUTE: "MINUTE";
|
|
35
|
+
readonly MONTH: "MONTH";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const ServiceLevelIndicatorComparisonOperator: {
|
|
46
|
+
readonly GREATER_THAN: "GreaterThan";
|
|
47
|
+
readonly GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo";
|
|
48
|
+
readonly LESS_THAN: "LessThan";
|
|
49
|
+
readonly LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo";
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
export type ServiceLevelIndicatorComparisonOperator = (typeof ServiceLevelIndicatorComparisonOperator)[keyof typeof ServiceLevelIndicatorComparisonOperator];
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
* @enum
|
|
58
|
+
*/
|
|
59
|
+
export declare const ServiceLevelIndicatorMetricType: {
|
|
60
|
+
readonly AVAILABILITY: "AVAILABILITY";
|
|
61
|
+
readonly LATENCY: "LATENCY";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type ServiceLevelIndicatorMetricType = (typeof ServiceLevelIndicatorMetricType)[keyof typeof ServiceLevelIndicatorMetricType];
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* @enum
|
|
70
|
+
*/
|
|
71
|
+
export declare const StandardUnit: {
|
|
72
|
+
readonly BITS: "Bits";
|
|
73
|
+
readonly BITS_SECOND: "Bits/Second";
|
|
74
|
+
readonly BYTES: "Bytes";
|
|
75
|
+
readonly BYTES_SECOND: "Bytes/Second";
|
|
76
|
+
readonly COUNT: "Count";
|
|
77
|
+
readonly COUNT_SECOND: "Count/Second";
|
|
78
|
+
readonly GIGABITS: "Gigabits";
|
|
79
|
+
readonly GIGABITS_SECOND: "Gigabits/Second";
|
|
80
|
+
readonly GIGABYTES: "Gigabytes";
|
|
81
|
+
readonly GIGABYTES_SECOND: "Gigabytes/Second";
|
|
82
|
+
readonly KILOBITS: "Kilobits";
|
|
83
|
+
readonly KILOBITS_SECOND: "Kilobits/Second";
|
|
84
|
+
readonly KILOBYTES: "Kilobytes";
|
|
85
|
+
readonly KILOBYTES_SECOND: "Kilobytes/Second";
|
|
86
|
+
readonly MEGABITS: "Megabits";
|
|
87
|
+
readonly MEGABITS_SECOND: "Megabits/Second";
|
|
88
|
+
readonly MEGABYTES: "Megabytes";
|
|
89
|
+
readonly MEGABYTES_SECOND: "Megabytes/Second";
|
|
90
|
+
readonly MICROSECONDS: "Microseconds";
|
|
91
|
+
readonly MILLISECONDS: "Milliseconds";
|
|
92
|
+
readonly NONE: "None";
|
|
93
|
+
readonly PERCENT: "Percent";
|
|
94
|
+
readonly SECONDS: "Seconds";
|
|
95
|
+
readonly TERABITS: "Terabits";
|
|
96
|
+
readonly TERABITS_SECOND: "Terabits/Second";
|
|
97
|
+
readonly TERABYTES: "Terabytes";
|
|
98
|
+
readonly TERABYTES_SECOND: "Terabytes/Second";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type StandardUnit = (typeof StandardUnit)[keyof typeof StandardUnit];
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @enum
|
|
107
|
+
*/
|
|
108
|
+
export declare const Severity: {
|
|
109
|
+
readonly CRITICAL: "CRITICAL";
|
|
110
|
+
readonly HIGH: "HIGH";
|
|
111
|
+
readonly LOW: "LOW";
|
|
112
|
+
readonly MEDIUM: "MEDIUM";
|
|
113
|
+
readonly NONE: "NONE";
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* @enum
|
|
122
|
+
*/
|
|
123
|
+
export declare const ConnectionType: {
|
|
124
|
+
readonly DIRECT: "DIRECT";
|
|
125
|
+
readonly INDIRECT: "INDIRECT";
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* @enum
|
|
134
|
+
*/
|
|
135
|
+
export declare const ChangeEventType: {
|
|
136
|
+
readonly DEPLOYMENT: "DEPLOYMENT";
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
export type ChangeEventType = (typeof ChangeEventType)[keyof typeof ChangeEventType];
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
* @enum
|
|
145
|
+
*/
|
|
146
|
+
export declare const MetricSourceType: {
|
|
147
|
+
readonly CLOUDWATCH_METRIC: "CloudWatchMetric";
|
|
148
|
+
readonly SERVICE_DEPENDENCY: "ServiceDependency";
|
|
149
|
+
readonly SERVICE_OPERATION: "ServiceOperation";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export type MetricSourceType = (typeof MetricSourceType)[keyof typeof MetricSourceType];
|