@aws-sdk/client-application-signals 3.928.0 → 3.930.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 +1416 -1246
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/ApplicationSignalsClient.js +2 -0
- package/dist-es/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.js +3 -9
- package/dist-es/commands/BatchUpdateExclusionWindowsCommand.js +3 -9
- package/dist-es/commands/CreateServiceLevelObjectiveCommand.js +3 -9
- package/dist-es/commands/DeleteGroupingConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteServiceLevelObjectiveCommand.js +3 -9
- package/dist-es/commands/GetServiceCommand.js +3 -9
- package/dist-es/commands/GetServiceLevelObjectiveCommand.js +3 -9
- package/dist-es/commands/ListAuditFindingsCommand.js +3 -9
- package/dist-es/commands/ListGroupingAttributeDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListServiceDependenciesCommand.js +3 -9
- package/dist-es/commands/ListServiceDependentsCommand.js +3 -9
- package/dist-es/commands/ListServiceLevelObjectiveExclusionWindowsCommand.js +3 -9
- package/dist-es/commands/ListServiceLevelObjectivesCommand.js +3 -9
- package/dist-es/commands/ListServiceOperationsCommand.js +3 -9
- package/dist-es/commands/ListServiceStatesCommand.js +3 -9
- package/dist-es/commands/ListServicesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutGroupingConfigurationCommand.js +3 -9
- package/dist-es/commands/StartDiscoveryCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateServiceLevelObjectiveCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -34
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1371 -0
- package/dist-types/ApplicationSignalsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +12 -3
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +160 -0
- package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +165 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -1050
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -269
|
@@ -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",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.applicationsignals" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Application Signals",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|