@aws-sdk/client-application-signals 3.594.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/LICENSE +201 -0
- package/README.md +345 -0
- package/dist-cjs/ApplicationSignals.js +41 -0
- package/dist-cjs/ApplicationSignalsClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.js +28 -0
- package/dist-cjs/commands/CreateServiceLevelObjectiveCommand.js +28 -0
- package/dist-cjs/commands/DeleteServiceLevelObjectiveCommand.js +28 -0
- package/dist-cjs/commands/GetServiceCommand.js +28 -0
- package/dist-cjs/commands/GetServiceLevelObjectiveCommand.js +28 -0
- package/dist-cjs/commands/ListServiceDependenciesCommand.js +28 -0
- package/dist-cjs/commands/ListServiceDependentsCommand.js +28 -0
- package/dist-cjs/commands/ListServiceLevelObjectivesCommand.js +28 -0
- package/dist-cjs/commands/ListServiceOperationsCommand.js +28 -0
- package/dist-cjs/commands/ListServicesCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/StartDiscoveryCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateServiceLevelObjectiveCommand.js +28 -0
- package/dist-cjs/commands/index.js +18 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/ApplicationSignalsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +148 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListServiceDependenciesPaginator.js +7 -0
- package/dist-cjs/pagination/ListServiceDependentsPaginator.js +7 -0
- package/dist-cjs/pagination/ListServiceLevelObjectivesPaginator.js +7 -0
- package/dist-cjs/pagination/ListServiceOperationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListServicesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +713 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/ApplicationSignals.js +37 -0
- package/dist-es/ApplicationSignalsClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.js +24 -0
- package/dist-es/commands/CreateServiceLevelObjectiveCommand.js +24 -0
- package/dist-es/commands/DeleteServiceLevelObjectiveCommand.js +24 -0
- package/dist-es/commands/GetServiceCommand.js +24 -0
- package/dist-es/commands/GetServiceLevelObjectiveCommand.js +24 -0
- package/dist-es/commands/ListServiceDependenciesCommand.js +24 -0
- package/dist-es/commands/ListServiceDependentsCommand.js +24 -0
- package/dist-es/commands/ListServiceLevelObjectivesCommand.js +24 -0
- package/dist-es/commands/ListServiceOperationsCommand.js +24 -0
- package/dist-es/commands/ListServicesCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/StartDiscoveryCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateServiceLevelObjectiveCommand.js +24 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/ApplicationSignalsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +139 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListServiceDependenciesPaginator.js +4 -0
- package/dist-es/pagination/ListServiceDependentsPaginator.js +4 -0
- package/dist-es/pagination/ListServiceLevelObjectivesPaginator.js +4 -0
- package/dist-es/pagination/ListServiceOperationsPaginator.js +4 -0
- package/dist-es/pagination/ListServicesPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +680 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/ApplicationSignals.d.ts +137 -0
- package/dist-types/ApplicationSignalsClient.d.ts +206 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +148 -0
- package/dist-types/commands/CreateServiceLevelObjectiveCommand.d.ts +252 -0
- package/dist-types/commands/DeleteServiceLevelObjectiveCommand.d.ts +67 -0
- package/dist-types/commands/GetServiceCommand.d.ts +94 -0
- package/dist-types/commands/GetServiceLevelObjectiveCommand.d.ts +126 -0
- package/dist-types/commands/ListServiceDependenciesCommand.d.ts +99 -0
- package/dist-types/commands/ListServiceDependentsCommand.d.ts +97 -0
- package/dist-types/commands/ListServiceLevelObjectivesCommand.d.ts +82 -0
- package/dist-types/commands/ListServiceOperationsCommand.d.ts +93 -0
- package/dist-types/commands/ListServicesCommand.d.ts +98 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +71 -0
- package/dist-types/commands/StartDiscoveryCommand.d.ts +108 -0
- package/dist-types/commands/TagResourceCommand.d.ts +82 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +67 -0
- package/dist-types/commands/UpdateServiceLevelObjectiveCommand.d.ts +181 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +34 -0
- package/dist-types/models/ApplicationSignalsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2004 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListServiceDependenciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceDependentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceLevelObjectivesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServiceOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +137 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/ApplicationSignals.d.ts +270 -0
- package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +213 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateServiceLevelObjectiveCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteServiceLevelObjectiveCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetServiceLevelObjectiveCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListServiceDependenciesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListServiceDependentsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListServiceLevelObjectivesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListServiceOperationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/StartDiscoveryCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateServiceLevelObjectiveCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/ApplicationSignalsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +390 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListServiceDependenciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceDependentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceLevelObjectivesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServiceOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +185 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ApplicationSignals", "TagResource", {})
|
|
19
|
+
.n("ApplicationSignalsClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ApplicationSignals", "UntagResource", {})
|
|
19
|
+
.n("ApplicationSignalsClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateServiceLevelObjectiveCommand, se_UpdateServiceLevelObjectiveCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateServiceLevelObjectiveCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("ApplicationSignals", "UpdateServiceLevelObjective", {})
|
|
19
|
+
.n("ApplicationSignalsClient", "UpdateServiceLevelObjectiveCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateServiceLevelObjectiveCommand)
|
|
22
|
+
.de(de_UpdateServiceLevelObjectiveCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from "./BatchGetServiceLevelObjectiveBudgetReportCommand";
|
|
2
|
+
export * from "./CreateServiceLevelObjectiveCommand";
|
|
3
|
+
export * from "./DeleteServiceLevelObjectiveCommand";
|
|
4
|
+
export * from "./GetServiceCommand";
|
|
5
|
+
export * from "./GetServiceLevelObjectiveCommand";
|
|
6
|
+
export * from "./ListServiceDependenciesCommand";
|
|
7
|
+
export * from "./ListServiceDependentsCommand";
|
|
8
|
+
export * from "./ListServiceLevelObjectivesCommand";
|
|
9
|
+
export * from "./ListServiceOperationsCommand";
|
|
10
|
+
export * from "./ListServicesCommand";
|
|
11
|
+
export * from "./ListTagsForResourceCommand";
|
|
12
|
+
export * from "./StartDiscoveryCommand";
|
|
13
|
+
export * from "./TagResourceCommand";
|
|
14
|
+
export * from "./UntagResourceCommand";
|
|
15
|
+
export * from "./UpdateServiceLevelObjectiveCommand";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return {
|
|
3
|
+
...options,
|
|
4
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
5
|
+
defaultSigningName: "application-signals",
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export const commonParams = {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
+
return resolveEndpoint(ruleSet, {
|
|
6
|
+
endpointParams: endpointParams,
|
|
7
|
+
logger: context.logger,
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const l = "ref";
|
|
2
|
+
const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://application-signals-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://application-signals.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./ApplicationSignalsClient";
|
|
2
|
+
export * from "./ApplicationSignals";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
|
+
export { ApplicationSignalsServiceException } from "./models/ApplicationSignalsServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class ApplicationSignalsServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, ApplicationSignalsServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { ApplicationSignalsServiceException as __BaseException } from "./ApplicationSignalsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "AccessDeniedException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "AccessDeniedException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
this.Message = opts.Message;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export const ServiceLevelObjectiveBudgetStatus = {
|
|
16
|
+
BREACHED: "BREACHED",
|
|
17
|
+
INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
|
|
18
|
+
OK: "OK",
|
|
19
|
+
WARNING: "WARNING",
|
|
20
|
+
};
|
|
21
|
+
export const DurationUnit = {
|
|
22
|
+
DAY: "DAY",
|
|
23
|
+
MONTH: "MONTH",
|
|
24
|
+
};
|
|
25
|
+
export var Interval;
|
|
26
|
+
(function (Interval) {
|
|
27
|
+
Interval.visit = (value, visitor) => {
|
|
28
|
+
if (value.RollingInterval !== undefined)
|
|
29
|
+
return visitor.RollingInterval(value.RollingInterval);
|
|
30
|
+
if (value.CalendarInterval !== undefined)
|
|
31
|
+
return visitor.CalendarInterval(value.CalendarInterval);
|
|
32
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
33
|
+
};
|
|
34
|
+
})(Interval || (Interval = {}));
|
|
35
|
+
export const ServiceLevelIndicatorComparisonOperator = {
|
|
36
|
+
GREATER_THAN: "GreaterThan",
|
|
37
|
+
GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
|
|
38
|
+
LESS_THAN: "LessThan",
|
|
39
|
+
LESS_THAN_OR_EQUAL_TO: "LessThanOrEqualTo",
|
|
40
|
+
};
|
|
41
|
+
export const StandardUnit = {
|
|
42
|
+
BITS: "Bits",
|
|
43
|
+
BITS_SECOND: "Bits/Second",
|
|
44
|
+
BYTES: "Bytes",
|
|
45
|
+
BYTES_SECOND: "Bytes/Second",
|
|
46
|
+
COUNT: "Count",
|
|
47
|
+
COUNT_SECOND: "Count/Second",
|
|
48
|
+
GIGABITS: "Gigabits",
|
|
49
|
+
GIGABITS_SECOND: "Gigabits/Second",
|
|
50
|
+
GIGABYTES: "Gigabytes",
|
|
51
|
+
GIGABYTES_SECOND: "Gigabytes/Second",
|
|
52
|
+
KILOBITS: "Kilobits",
|
|
53
|
+
KILOBITS_SECOND: "Kilobits/Second",
|
|
54
|
+
KILOBYTES: "Kilobytes",
|
|
55
|
+
KILOBYTES_SECOND: "Kilobytes/Second",
|
|
56
|
+
MEGABITS: "Megabits",
|
|
57
|
+
MEGABITS_SECOND: "Megabits/Second",
|
|
58
|
+
MEGABYTES: "Megabytes",
|
|
59
|
+
MEGABYTES_SECOND: "Megabytes/Second",
|
|
60
|
+
MICROSECONDS: "Microseconds",
|
|
61
|
+
MILLISECONDS: "Milliseconds",
|
|
62
|
+
NONE: "None",
|
|
63
|
+
PERCENT: "Percent",
|
|
64
|
+
SECONDS: "Seconds",
|
|
65
|
+
TERABITS: "Terabits",
|
|
66
|
+
TERABITS_SECOND: "Terabits/Second",
|
|
67
|
+
TERABYTES: "Terabytes",
|
|
68
|
+
TERABYTES_SECOND: "Terabytes/Second",
|
|
69
|
+
};
|
|
70
|
+
export const ServiceLevelIndicatorMetricType = {
|
|
71
|
+
AVAILABILITY: "AVAILABILITY",
|
|
72
|
+
LATENCY: "LATENCY",
|
|
73
|
+
};
|
|
74
|
+
export class ThrottlingException extends __BaseException {
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "ThrottlingException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
this.name = "ThrottlingException";
|
|
82
|
+
this.$fault = "client";
|
|
83
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
84
|
+
this.Message = opts.Message;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
export class ValidationException extends __BaseException {
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "ValidationException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
this.name = "ValidationException";
|
|
95
|
+
this.$fault = "client";
|
|
96
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
100
|
+
constructor(opts) {
|
|
101
|
+
super({
|
|
102
|
+
name: "ResourceNotFoundException",
|
|
103
|
+
$fault: "client",
|
|
104
|
+
...opts,
|
|
105
|
+
});
|
|
106
|
+
this.name = "ResourceNotFoundException";
|
|
107
|
+
this.$fault = "client";
|
|
108
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
109
|
+
this.ResourceType = opts.ResourceType;
|
|
110
|
+
this.ResourceId = opts.ResourceId;
|
|
111
|
+
this.Message = opts.Message;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class ConflictException extends __BaseException {
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "ConflictException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
this.name = "ConflictException";
|
|
122
|
+
this.$fault = "client";
|
|
123
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
124
|
+
this.Message = opts.Message;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
128
|
+
constructor(opts) {
|
|
129
|
+
super({
|
|
130
|
+
name: "ServiceQuotaExceededException",
|
|
131
|
+
$fault: "client",
|
|
132
|
+
...opts,
|
|
133
|
+
});
|
|
134
|
+
this.name = "ServiceQuotaExceededException";
|
|
135
|
+
this.$fault = "client";
|
|
136
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
137
|
+
this.Message = opts.Message;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
|
|
3
|
+
import { ListServiceDependenciesCommand, } from "../commands/ListServiceDependenciesCommand";
|
|
4
|
+
export const paginateListServiceDependencies = createPaginator(ApplicationSignalsClient, ListServiceDependenciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
|
|
3
|
+
import { ListServiceDependentsCommand, } from "../commands/ListServiceDependentsCommand";
|
|
4
|
+
export const paginateListServiceDependents = createPaginator(ApplicationSignalsClient, ListServiceDependentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
|
|
3
|
+
import { ListServiceLevelObjectivesCommand, } from "../commands/ListServiceLevelObjectivesCommand";
|
|
4
|
+
export const paginateListServiceLevelObjectives = createPaginator(ApplicationSignalsClient, ListServiceLevelObjectivesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
|
|
3
|
+
import { ListServiceOperationsCommand, } from "../commands/ListServiceOperationsCommand";
|
|
4
|
+
export const paginateListServiceOperations = createPaginator(ApplicationSignalsClient, ListServiceOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
|
|
3
|
+
import { ListServicesCommand, } from "../commands/ListServicesCommand";
|
|
4
|
+
export const paginateListServices = createPaginator(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListServiceDependenciesPaginator";
|
|
3
|
+
export * from "./ListServiceDependentsPaginator";
|
|
4
|
+
export * from "./ListServiceLevelObjectivesPaginator";
|
|
5
|
+
export * from "./ListServiceOperationsPaginator";
|
|
6
|
+
export * from "./ListServicesPaginator";
|