@aws-sdk/client-application-signals 3.758.0 → 3.769.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/README.md +16 -0
- package/dist-cjs/ApplicationSignals.js +4 -0
- package/dist-cjs/commands/BatchUpdateExclusionWindowsCommand.js +26 -0
- package/dist-cjs/commands/ListServiceLevelObjectiveExclusionWindowsCommand.js +26 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +97 -4
- package/dist-es/ApplicationSignals.js +4 -0
- package/dist-es/commands/BatchUpdateExclusionWindowsCommand.js +22 -0
- package/dist-es/commands/ListServiceLevelObjectiveExclusionWindowsCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +92 -3
- package/dist-types/ApplicationSignals.d.ts +14 -0
- package/dist-types/ApplicationSignalsClient.d.ts +4 -2
- package/dist-types/commands/BatchUpdateExclusionWindowsCommand.d.ts +117 -0
- package/dist-types/commands/ListServiceLevelObjectiveExclusionWindowsCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +173 -23
- package/dist-types/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/ApplicationSignals.d.ts +40 -0
- package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchUpdateExclusionWindowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListServiceLevelObjectiveExclusionWindowsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -10
- package/dist-types/ts3.4/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -228,6 +228,14 @@ BatchGetServiceLevelObjectiveBudgetReport
|
|
|
228
228
|
|
|
229
229
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-signals/command/BatchGetServiceLevelObjectiveBudgetReportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/BatchGetServiceLevelObjectiveBudgetReportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/BatchGetServiceLevelObjectiveBudgetReportCommandOutput/)
|
|
230
230
|
|
|
231
|
+
</details>
|
|
232
|
+
<details>
|
|
233
|
+
<summary>
|
|
234
|
+
BatchUpdateExclusionWindows
|
|
235
|
+
</summary>
|
|
236
|
+
|
|
237
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-signals/command/BatchUpdateExclusionWindowsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/BatchUpdateExclusionWindowsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/BatchUpdateExclusionWindowsCommandOutput/)
|
|
238
|
+
|
|
231
239
|
</details>
|
|
232
240
|
<details>
|
|
233
241
|
<summary>
|
|
@@ -276,6 +284,14 @@ ListServiceDependents
|
|
|
276
284
|
|
|
277
285
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-signals/command/ListServiceDependentsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/ListServiceDependentsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/ListServiceDependentsCommandOutput/)
|
|
278
286
|
|
|
287
|
+
</details>
|
|
288
|
+
<details>
|
|
289
|
+
<summary>
|
|
290
|
+
ListServiceLevelObjectiveExclusionWindows
|
|
291
|
+
</summary>
|
|
292
|
+
|
|
293
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/application-signals/command/ListServiceLevelObjectiveExclusionWindowsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/ListServiceLevelObjectiveExclusionWindowsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-application-signals/Interface/ListServiceLevelObjectiveExclusionWindowsCommandOutput/)
|
|
294
|
+
|
|
279
295
|
</details>
|
|
280
296
|
<details>
|
|
281
297
|
<summary>
|
|
@@ -4,12 +4,14 @@ exports.ApplicationSignals = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const ApplicationSignalsClient_1 = require("./ApplicationSignalsClient");
|
|
6
6
|
const BatchGetServiceLevelObjectiveBudgetReportCommand_1 = require("./commands/BatchGetServiceLevelObjectiveBudgetReportCommand");
|
|
7
|
+
const BatchUpdateExclusionWindowsCommand_1 = require("./commands/BatchUpdateExclusionWindowsCommand");
|
|
7
8
|
const CreateServiceLevelObjectiveCommand_1 = require("./commands/CreateServiceLevelObjectiveCommand");
|
|
8
9
|
const DeleteServiceLevelObjectiveCommand_1 = require("./commands/DeleteServiceLevelObjectiveCommand");
|
|
9
10
|
const GetServiceCommand_1 = require("./commands/GetServiceCommand");
|
|
10
11
|
const GetServiceLevelObjectiveCommand_1 = require("./commands/GetServiceLevelObjectiveCommand");
|
|
11
12
|
const ListServiceDependenciesCommand_1 = require("./commands/ListServiceDependenciesCommand");
|
|
12
13
|
const ListServiceDependentsCommand_1 = require("./commands/ListServiceDependentsCommand");
|
|
14
|
+
const ListServiceLevelObjectiveExclusionWindowsCommand_1 = require("./commands/ListServiceLevelObjectiveExclusionWindowsCommand");
|
|
13
15
|
const ListServiceLevelObjectivesCommand_1 = require("./commands/ListServiceLevelObjectivesCommand");
|
|
14
16
|
const ListServiceOperationsCommand_1 = require("./commands/ListServiceOperationsCommand");
|
|
15
17
|
const ListServicesCommand_1 = require("./commands/ListServicesCommand");
|
|
@@ -20,12 +22,14 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
|
20
22
|
const UpdateServiceLevelObjectiveCommand_1 = require("./commands/UpdateServiceLevelObjectiveCommand");
|
|
21
23
|
const commands = {
|
|
22
24
|
BatchGetServiceLevelObjectiveBudgetReportCommand: BatchGetServiceLevelObjectiveBudgetReportCommand_1.BatchGetServiceLevelObjectiveBudgetReportCommand,
|
|
25
|
+
BatchUpdateExclusionWindowsCommand: BatchUpdateExclusionWindowsCommand_1.BatchUpdateExclusionWindowsCommand,
|
|
23
26
|
CreateServiceLevelObjectiveCommand: CreateServiceLevelObjectiveCommand_1.CreateServiceLevelObjectiveCommand,
|
|
24
27
|
DeleteServiceLevelObjectiveCommand: DeleteServiceLevelObjectiveCommand_1.DeleteServiceLevelObjectiveCommand,
|
|
25
28
|
GetServiceCommand: GetServiceCommand_1.GetServiceCommand,
|
|
26
29
|
GetServiceLevelObjectiveCommand: GetServiceLevelObjectiveCommand_1.GetServiceLevelObjectiveCommand,
|
|
27
30
|
ListServiceDependenciesCommand: ListServiceDependenciesCommand_1.ListServiceDependenciesCommand,
|
|
28
31
|
ListServiceDependentsCommand: ListServiceDependentsCommand_1.ListServiceDependentsCommand,
|
|
32
|
+
ListServiceLevelObjectiveExclusionWindowsCommand: ListServiceLevelObjectiveExclusionWindowsCommand_1.ListServiceLevelObjectiveExclusionWindowsCommand,
|
|
29
33
|
ListServiceLevelObjectivesCommand: ListServiceLevelObjectivesCommand_1.ListServiceLevelObjectivesCommand,
|
|
30
34
|
ListServiceOperationsCommand: ListServiceOperationsCommand_1.ListServiceOperationsCommand,
|
|
31
35
|
ListServicesCommand: ListServicesCommand_1.ListServicesCommand,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchUpdateExclusionWindowsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class BatchUpdateExclusionWindowsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ApplicationSignals", "BatchUpdateExclusionWindows", {})
|
|
20
|
+
.n("ApplicationSignalsClient", "BatchUpdateExclusionWindowsCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_BatchUpdateExclusionWindowsCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_BatchUpdateExclusionWindowsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.BatchUpdateExclusionWindowsCommand = BatchUpdateExclusionWindowsCommand;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListServiceLevelObjectiveExclusionWindowsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListServiceLevelObjectiveExclusionWindowsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep(EndpointParameters_1.commonParams)
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("ApplicationSignals", "ListServiceLevelObjectiveExclusionWindows", {})
|
|
20
|
+
.n("ApplicationSignalsClient", "ListServiceLevelObjectiveExclusionWindowsCommand")
|
|
21
|
+
.f(void 0, void 0)
|
|
22
|
+
.ser(Aws_restJson1_1.se_ListServiceLevelObjectiveExclusionWindowsCommand)
|
|
23
|
+
.de(Aws_restJson1_1.de_ListServiceLevelObjectiveExclusionWindowsCommand)
|
|
24
|
+
.build() {
|
|
25
|
+
}
|
|
26
|
+
exports.ListServiceLevelObjectiveExclusionWindowsCommand = ListServiceLevelObjectiveExclusionWindowsCommand;
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./BatchGetServiceLevelObjectiveBudgetReportCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./BatchUpdateExclusionWindowsCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateServiceLevelObjectiveCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DeleteServiceLevelObjectiveCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./GetServiceCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./GetServiceLevelObjectiveCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListServiceDependenciesCommand"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListServiceDependentsCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListServiceLevelObjectiveExclusionWindowsCommand"), exports);
|
|
11
13
|
tslib_1.__exportStar(require("./ListServiceLevelObjectivesCommand"), exports);
|
|
12
14
|
tslib_1.__exportStar(require("./ListServiceOperationsCommand"), exports);
|
|
13
15
|
tslib_1.__exportStar(require("./ListServicesCommand"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListServiceLevelObjectiveExclusionWindows = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const ApplicationSignalsClient_1 = require("../ApplicationSignalsClient");
|
|
6
|
+
const ListServiceLevelObjectiveExclusionWindowsCommand_1 = require("../commands/ListServiceLevelObjectiveExclusionWindowsCommand");
|
|
7
|
+
exports.paginateListServiceLevelObjectiveExclusionWindows = (0, core_1.createPaginator)(ApplicationSignalsClient_1.ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand_1.ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,6 +4,7 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./ListServiceDependenciesPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListServiceDependentsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListServiceLevelObjectiveExclusionWindowsPaginator"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./ListServiceLevelObjectivesPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListServiceOperationsPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListServicesPaginator"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdateServiceLevelObjectiveCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartDiscoveryCommand = exports.de_ListTagsForResourceCommand = exports.de_ListServicesCommand = exports.de_ListServiceOperationsCommand = exports.de_ListServiceLevelObjectivesCommand = exports.de_ListServiceDependentsCommand = exports.de_ListServiceDependenciesCommand = exports.de_GetServiceLevelObjectiveCommand = exports.de_GetServiceCommand = exports.de_DeleteServiceLevelObjectiveCommand = exports.de_CreateServiceLevelObjectiveCommand = exports.de_BatchGetServiceLevelObjectiveBudgetReportCommand = exports.se_UpdateServiceLevelObjectiveCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartDiscoveryCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServicesCommand = exports.se_ListServiceOperationsCommand = exports.se_ListServiceLevelObjectivesCommand = exports.se_ListServiceDependentsCommand = exports.se_ListServiceDependenciesCommand = exports.se_GetServiceLevelObjectiveCommand = exports.se_GetServiceCommand = exports.se_DeleteServiceLevelObjectiveCommand = exports.se_CreateServiceLevelObjectiveCommand = exports.se_BatchGetServiceLevelObjectiveBudgetReportCommand = void 0;
|
|
3
|
+
exports.de_UpdateServiceLevelObjectiveCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartDiscoveryCommand = exports.de_ListTagsForResourceCommand = exports.de_ListServicesCommand = exports.de_ListServiceOperationsCommand = exports.de_ListServiceLevelObjectivesCommand = exports.de_ListServiceLevelObjectiveExclusionWindowsCommand = exports.de_ListServiceDependentsCommand = exports.de_ListServiceDependenciesCommand = exports.de_GetServiceLevelObjectiveCommand = exports.de_GetServiceCommand = exports.de_DeleteServiceLevelObjectiveCommand = exports.de_CreateServiceLevelObjectiveCommand = exports.de_BatchUpdateExclusionWindowsCommand = exports.de_BatchGetServiceLevelObjectiveBudgetReportCommand = exports.se_UpdateServiceLevelObjectiveCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartDiscoveryCommand = exports.se_ListTagsForResourceCommand = exports.se_ListServicesCommand = exports.se_ListServiceOperationsCommand = exports.se_ListServiceLevelObjectivesCommand = exports.se_ListServiceLevelObjectiveExclusionWindowsCommand = exports.se_ListServiceDependentsCommand = exports.se_ListServiceDependenciesCommand = exports.se_GetServiceLevelObjectiveCommand = exports.se_GetServiceCommand = exports.se_DeleteServiceLevelObjectiveCommand = exports.se_CreateServiceLevelObjectiveCommand = exports.se_BatchUpdateExclusionWindowsCommand = exports.se_BatchGetServiceLevelObjectiveBudgetReportCommand = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
5
|
const core_2 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -21,6 +21,22 @@ const se_BatchGetServiceLevelObjectiveBudgetReportCommand = async (input, contex
|
|
|
21
21
|
return b.build();
|
|
22
22
|
};
|
|
23
23
|
exports.se_BatchGetServiceLevelObjectiveBudgetReportCommand = se_BatchGetServiceLevelObjectiveBudgetReportCommand;
|
|
24
|
+
const se_BatchUpdateExclusionWindowsCommand = async (input, context) => {
|
|
25
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
26
|
+
const headers = {
|
|
27
|
+
"content-type": "application/json",
|
|
28
|
+
};
|
|
29
|
+
b.bp("/exclusion-windows");
|
|
30
|
+
let body;
|
|
31
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
32
|
+
AddExclusionWindows: (_) => se_ExclusionWindows(_, context),
|
|
33
|
+
RemoveExclusionWindows: (_) => se_ExclusionWindows(_, context),
|
|
34
|
+
SloIds: (_) => (0, smithy_client_1._json)(_),
|
|
35
|
+
}));
|
|
36
|
+
b.m("PATCH").h(headers).b(body);
|
|
37
|
+
return b.build();
|
|
38
|
+
};
|
|
39
|
+
exports.se_BatchUpdateExclusionWindowsCommand = se_BatchUpdateExclusionWindowsCommand;
|
|
24
40
|
const se_CreateServiceLevelObjectiveCommand = async (input, context) => {
|
|
25
41
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
26
42
|
const headers = {
|
|
@@ -119,6 +135,20 @@ const se_ListServiceDependentsCommand = async (input, context) => {
|
|
|
119
135
|
return b.build();
|
|
120
136
|
};
|
|
121
137
|
exports.se_ListServiceDependentsCommand = se_ListServiceDependentsCommand;
|
|
138
|
+
const se_ListServiceLevelObjectiveExclusionWindowsCommand = async (input, context) => {
|
|
139
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
140
|
+
const headers = {};
|
|
141
|
+
b.bp("/slo/{Id}/exclusion-windows");
|
|
142
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
143
|
+
const query = (0, smithy_client_1.map)({
|
|
144
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
145
|
+
[_NT]: [, input[_NT]],
|
|
146
|
+
});
|
|
147
|
+
let body;
|
|
148
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
149
|
+
return b.build();
|
|
150
|
+
};
|
|
151
|
+
exports.se_ListServiceLevelObjectiveExclusionWindowsCommand = se_ListServiceLevelObjectiveExclusionWindowsCommand;
|
|
122
152
|
const se_ListServiceLevelObjectivesCommand = async (input, context) => {
|
|
123
153
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
124
154
|
const headers = {
|
|
@@ -264,6 +294,22 @@ const de_BatchGetServiceLevelObjectiveBudgetReportCommand = async (output, conte
|
|
|
264
294
|
return contents;
|
|
265
295
|
};
|
|
266
296
|
exports.de_BatchGetServiceLevelObjectiveBudgetReportCommand = de_BatchGetServiceLevelObjectiveBudgetReportCommand;
|
|
297
|
+
const de_BatchUpdateExclusionWindowsCommand = async (output, context) => {
|
|
298
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
299
|
+
return de_CommandError(output, context);
|
|
300
|
+
}
|
|
301
|
+
const contents = (0, smithy_client_1.map)({
|
|
302
|
+
$metadata: deserializeMetadata(output),
|
|
303
|
+
});
|
|
304
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
305
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
306
|
+
Errors: smithy_client_1._json,
|
|
307
|
+
SloIds: smithy_client_1._json,
|
|
308
|
+
});
|
|
309
|
+
Object.assign(contents, doc);
|
|
310
|
+
return contents;
|
|
311
|
+
};
|
|
312
|
+
exports.de_BatchUpdateExclusionWindowsCommand = de_BatchUpdateExclusionWindowsCommand;
|
|
267
313
|
const de_CreateServiceLevelObjectiveCommand = async (output, context) => {
|
|
268
314
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
269
315
|
return de_CommandError(output, context);
|
|
@@ -359,6 +405,22 @@ const de_ListServiceDependentsCommand = async (output, context) => {
|
|
|
359
405
|
return contents;
|
|
360
406
|
};
|
|
361
407
|
exports.de_ListServiceDependentsCommand = de_ListServiceDependentsCommand;
|
|
408
|
+
const de_ListServiceLevelObjectiveExclusionWindowsCommand = async (output, context) => {
|
|
409
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
410
|
+
return de_CommandError(output, context);
|
|
411
|
+
}
|
|
412
|
+
const contents = (0, smithy_client_1.map)({
|
|
413
|
+
$metadata: deserializeMetadata(output),
|
|
414
|
+
});
|
|
415
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
416
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
417
|
+
ExclusionWindows: (_) => de_ExclusionWindows(_, context),
|
|
418
|
+
NextToken: smithy_client_1.expectString,
|
|
419
|
+
});
|
|
420
|
+
Object.assign(contents, doc);
|
|
421
|
+
return contents;
|
|
422
|
+
};
|
|
423
|
+
exports.de_ListServiceLevelObjectiveExclusionWindowsCommand = de_ListServiceLevelObjectiveExclusionWindowsCommand;
|
|
362
424
|
const de_ListServiceLevelObjectivesCommand = async (output, context) => {
|
|
363
425
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
364
426
|
return de_CommandError(output, context);
|
|
@@ -487,6 +549,9 @@ const de_CommandError = async (output, context) => {
|
|
|
487
549
|
case "ValidationException":
|
|
488
550
|
case "com.amazonaws.applicationsignals#ValidationException":
|
|
489
551
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
552
|
+
case "ResourceNotFoundException":
|
|
553
|
+
case "com.amazonaws.applicationsignals#ResourceNotFoundException":
|
|
554
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
490
555
|
case "AccessDeniedException":
|
|
491
556
|
case "com.amazonaws.applicationsignals#AccessDeniedException":
|
|
492
557
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
@@ -496,9 +561,6 @@ const de_CommandError = async (output, context) => {
|
|
|
496
561
|
case "ServiceQuotaExceededException":
|
|
497
562
|
case "com.amazonaws.applicationsignals#ServiceQuotaExceededException":
|
|
498
563
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
499
|
-
case "ResourceNotFoundException":
|
|
500
|
-
case "com.amazonaws.applicationsignals#ResourceNotFoundException":
|
|
501
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
502
564
|
default:
|
|
503
565
|
const parsedBody = parsedOutput.body;
|
|
504
566
|
return throwDefaultError({
|
|
@@ -596,6 +658,21 @@ const se_CalendarInterval = (input, context) => {
|
|
|
596
658
|
StartTime: (_) => _.getTime() / 1000,
|
|
597
659
|
});
|
|
598
660
|
};
|
|
661
|
+
const se_ExclusionWindow = (input, context) => {
|
|
662
|
+
return (0, smithy_client_1.take)(input, {
|
|
663
|
+
Reason: [],
|
|
664
|
+
RecurrenceRule: smithy_client_1._json,
|
|
665
|
+
StartTime: (_) => _.getTime() / 1000,
|
|
666
|
+
Window: smithy_client_1._json,
|
|
667
|
+
});
|
|
668
|
+
};
|
|
669
|
+
const se_ExclusionWindows = (input, context) => {
|
|
670
|
+
return input
|
|
671
|
+
.filter((e) => e != null)
|
|
672
|
+
.map((entry) => {
|
|
673
|
+
return se_ExclusionWindow(entry, context);
|
|
674
|
+
});
|
|
675
|
+
};
|
|
599
676
|
const se_Goal = (input, context) => {
|
|
600
677
|
return (0, smithy_client_1.take)(input, {
|
|
601
678
|
AttainmentGoal: smithy_client_1.serializeFloat,
|
|
@@ -631,6 +708,22 @@ const de_CalendarInterval = (output, context) => {
|
|
|
631
708
|
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
632
709
|
});
|
|
633
710
|
};
|
|
711
|
+
const de_ExclusionWindow = (output, context) => {
|
|
712
|
+
return (0, smithy_client_1.take)(output, {
|
|
713
|
+
Reason: smithy_client_1.expectString,
|
|
714
|
+
RecurrenceRule: smithy_client_1._json,
|
|
715
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
716
|
+
Window: smithy_client_1._json,
|
|
717
|
+
});
|
|
718
|
+
};
|
|
719
|
+
const de_ExclusionWindows = (output, context) => {
|
|
720
|
+
const retVal = (output || [])
|
|
721
|
+
.filter((e) => e != null)
|
|
722
|
+
.map((entry) => {
|
|
723
|
+
return de_ExclusionWindow(entry, context);
|
|
724
|
+
});
|
|
725
|
+
return retVal;
|
|
726
|
+
};
|
|
634
727
|
const de_Goal = (output, context) => {
|
|
635
728
|
return (0, smithy_client_1.take)(output, {
|
|
636
729
|
AttainmentGoal: smithy_client_1.limitedParseDouble,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { ApplicationSignalsClient } from "./ApplicationSignalsClient";
|
|
3
3
|
import { BatchGetServiceLevelObjectiveBudgetReportCommand, } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
|
|
4
|
+
import { BatchUpdateExclusionWindowsCommand, } from "./commands/BatchUpdateExclusionWindowsCommand";
|
|
4
5
|
import { CreateServiceLevelObjectiveCommand, } from "./commands/CreateServiceLevelObjectiveCommand";
|
|
5
6
|
import { DeleteServiceLevelObjectiveCommand, } from "./commands/DeleteServiceLevelObjectiveCommand";
|
|
6
7
|
import { GetServiceCommand } from "./commands/GetServiceCommand";
|
|
7
8
|
import { GetServiceLevelObjectiveCommand, } from "./commands/GetServiceLevelObjectiveCommand";
|
|
8
9
|
import { ListServiceDependenciesCommand, } from "./commands/ListServiceDependenciesCommand";
|
|
9
10
|
import { ListServiceDependentsCommand, } from "./commands/ListServiceDependentsCommand";
|
|
11
|
+
import { ListServiceLevelObjectiveExclusionWindowsCommand, } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
|
|
10
12
|
import { ListServiceLevelObjectivesCommand, } from "./commands/ListServiceLevelObjectivesCommand";
|
|
11
13
|
import { ListServiceOperationsCommand, } from "./commands/ListServiceOperationsCommand";
|
|
12
14
|
import { ListServicesCommand, } from "./commands/ListServicesCommand";
|
|
@@ -17,12 +19,14 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
17
19
|
import { UpdateServiceLevelObjectiveCommand, } from "./commands/UpdateServiceLevelObjectiveCommand";
|
|
18
20
|
const commands = {
|
|
19
21
|
BatchGetServiceLevelObjectiveBudgetReportCommand,
|
|
22
|
+
BatchUpdateExclusionWindowsCommand,
|
|
20
23
|
CreateServiceLevelObjectiveCommand,
|
|
21
24
|
DeleteServiceLevelObjectiveCommand,
|
|
22
25
|
GetServiceCommand,
|
|
23
26
|
GetServiceLevelObjectiveCommand,
|
|
24
27
|
ListServiceDependenciesCommand,
|
|
25
28
|
ListServiceDependentsCommand,
|
|
29
|
+
ListServiceLevelObjectiveExclusionWindowsCommand,
|
|
26
30
|
ListServiceLevelObjectivesCommand,
|
|
27
31
|
ListServiceOperationsCommand,
|
|
28
32
|
ListServicesCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
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_BatchUpdateExclusionWindowsCommand, se_BatchUpdateExclusionWindowsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchUpdateExclusionWindowsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ApplicationSignals", "BatchUpdateExclusionWindows", {})
|
|
17
|
+
.n("ApplicationSignalsClient", "BatchUpdateExclusionWindowsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_BatchUpdateExclusionWindowsCommand)
|
|
20
|
+
.de(de_BatchUpdateExclusionWindowsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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_ListServiceLevelObjectiveExclusionWindowsCommand, se_ListServiceLevelObjectiveExclusionWindowsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListServiceLevelObjectiveExclusionWindowsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("ApplicationSignals", "ListServiceLevelObjectiveExclusionWindows", {})
|
|
17
|
+
.n("ApplicationSignalsClient", "ListServiceLevelObjectiveExclusionWindowsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListServiceLevelObjectiveExclusionWindowsCommand)
|
|
20
|
+
.de(de_ListServiceLevelObjectiveExclusionWindowsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export * from "./BatchGetServiceLevelObjectiveBudgetReportCommand";
|
|
2
|
+
export * from "./BatchUpdateExclusionWindowsCommand";
|
|
2
3
|
export * from "./CreateServiceLevelObjectiveCommand";
|
|
3
4
|
export * from "./DeleteServiceLevelObjectiveCommand";
|
|
4
5
|
export * from "./GetServiceCommand";
|
|
5
6
|
export * from "./GetServiceLevelObjectiveCommand";
|
|
6
7
|
export * from "./ListServiceDependenciesCommand";
|
|
7
8
|
export * from "./ListServiceDependentsCommand";
|
|
9
|
+
export * from "./ListServiceLevelObjectiveExclusionWindowsCommand";
|
|
8
10
|
export * from "./ListServiceLevelObjectivesCommand";
|
|
9
11
|
export * from "./ListServiceOperationsCommand";
|
|
10
12
|
export * from "./ListServicesCommand";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
|
|
3
|
+
import { ListServiceLevelObjectiveExclusionWindowsCommand, } from "../commands/ListServiceLevelObjectiveExclusionWindowsCommand";
|
|
4
|
+
export const paginateListServiceLevelObjectiveExclusionWindows = createPaginator(ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListServiceDependenciesPaginator";
|
|
3
3
|
export * from "./ListServiceDependentsPaginator";
|
|
4
|
+
export * from "./ListServiceLevelObjectiveExclusionWindowsPaginator";
|
|
4
5
|
export * from "./ListServiceLevelObjectivesPaginator";
|
|
5
6
|
export * from "./ListServiceOperationsPaginator";
|
|
6
7
|
export * from "./ListServicesPaginator";
|
|
@@ -17,6 +17,21 @@ export const se_BatchGetServiceLevelObjectiveBudgetReportCommand = async (input,
|
|
|
17
17
|
b.m("POST").h(headers).b(body);
|
|
18
18
|
return b.build();
|
|
19
19
|
};
|
|
20
|
+
export const se_BatchUpdateExclusionWindowsCommand = async (input, context) => {
|
|
21
|
+
const b = rb(input, context);
|
|
22
|
+
const headers = {
|
|
23
|
+
"content-type": "application/json",
|
|
24
|
+
};
|
|
25
|
+
b.bp("/exclusion-windows");
|
|
26
|
+
let body;
|
|
27
|
+
body = JSON.stringify(take(input, {
|
|
28
|
+
AddExclusionWindows: (_) => se_ExclusionWindows(_, context),
|
|
29
|
+
RemoveExclusionWindows: (_) => se_ExclusionWindows(_, context),
|
|
30
|
+
SloIds: (_) => _json(_),
|
|
31
|
+
}));
|
|
32
|
+
b.m("PATCH").h(headers).b(body);
|
|
33
|
+
return b.build();
|
|
34
|
+
};
|
|
20
35
|
export const se_CreateServiceLevelObjectiveCommand = async (input, context) => {
|
|
21
36
|
const b = rb(input, context);
|
|
22
37
|
const headers = {
|
|
@@ -109,6 +124,19 @@ export const se_ListServiceDependentsCommand = async (input, context) => {
|
|
|
109
124
|
b.m("POST").h(headers).q(query).b(body);
|
|
110
125
|
return b.build();
|
|
111
126
|
};
|
|
127
|
+
export const se_ListServiceLevelObjectiveExclusionWindowsCommand = async (input, context) => {
|
|
128
|
+
const b = rb(input, context);
|
|
129
|
+
const headers = {};
|
|
130
|
+
b.bp("/slo/{Id}/exclusion-windows");
|
|
131
|
+
b.p("Id", () => input.Id, "{Id}", false);
|
|
132
|
+
const query = map({
|
|
133
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
134
|
+
[_NT]: [, input[_NT]],
|
|
135
|
+
});
|
|
136
|
+
let body;
|
|
137
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
138
|
+
return b.build();
|
|
139
|
+
};
|
|
112
140
|
export const se_ListServiceLevelObjectivesCommand = async (input, context) => {
|
|
113
141
|
const b = rb(input, context);
|
|
114
142
|
const headers = {
|
|
@@ -245,6 +273,21 @@ export const de_BatchGetServiceLevelObjectiveBudgetReportCommand = async (output
|
|
|
245
273
|
Object.assign(contents, doc);
|
|
246
274
|
return contents;
|
|
247
275
|
};
|
|
276
|
+
export const de_BatchUpdateExclusionWindowsCommand = async (output, context) => {
|
|
277
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
278
|
+
return de_CommandError(output, context);
|
|
279
|
+
}
|
|
280
|
+
const contents = map({
|
|
281
|
+
$metadata: deserializeMetadata(output),
|
|
282
|
+
});
|
|
283
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
284
|
+
const doc = take(data, {
|
|
285
|
+
Errors: _json,
|
|
286
|
+
SloIds: _json,
|
|
287
|
+
});
|
|
288
|
+
Object.assign(contents, doc);
|
|
289
|
+
return contents;
|
|
290
|
+
};
|
|
248
291
|
export const de_CreateServiceLevelObjectiveCommand = async (output, context) => {
|
|
249
292
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
250
293
|
return de_CommandError(output, context);
|
|
@@ -334,6 +377,21 @@ export const de_ListServiceDependentsCommand = async (output, context) => {
|
|
|
334
377
|
Object.assign(contents, doc);
|
|
335
378
|
return contents;
|
|
336
379
|
};
|
|
380
|
+
export const de_ListServiceLevelObjectiveExclusionWindowsCommand = async (output, context) => {
|
|
381
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
382
|
+
return de_CommandError(output, context);
|
|
383
|
+
}
|
|
384
|
+
const contents = map({
|
|
385
|
+
$metadata: deserializeMetadata(output),
|
|
386
|
+
});
|
|
387
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
388
|
+
const doc = take(data, {
|
|
389
|
+
ExclusionWindows: (_) => de_ExclusionWindows(_, context),
|
|
390
|
+
NextToken: __expectString,
|
|
391
|
+
});
|
|
392
|
+
Object.assign(contents, doc);
|
|
393
|
+
return contents;
|
|
394
|
+
};
|
|
337
395
|
export const de_ListServiceLevelObjectivesCommand = async (output, context) => {
|
|
338
396
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
339
397
|
return de_CommandError(output, context);
|
|
@@ -454,6 +512,9 @@ const de_CommandError = async (output, context) => {
|
|
|
454
512
|
case "ValidationException":
|
|
455
513
|
case "com.amazonaws.applicationsignals#ValidationException":
|
|
456
514
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
515
|
+
case "ResourceNotFoundException":
|
|
516
|
+
case "com.amazonaws.applicationsignals#ResourceNotFoundException":
|
|
517
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
457
518
|
case "AccessDeniedException":
|
|
458
519
|
case "com.amazonaws.applicationsignals#AccessDeniedException":
|
|
459
520
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
@@ -463,9 +524,6 @@ const de_CommandError = async (output, context) => {
|
|
|
463
524
|
case "ServiceQuotaExceededException":
|
|
464
525
|
case "com.amazonaws.applicationsignals#ServiceQuotaExceededException":
|
|
465
526
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
466
|
-
case "ResourceNotFoundException":
|
|
467
|
-
case "com.amazonaws.applicationsignals#ResourceNotFoundException":
|
|
468
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
469
527
|
default:
|
|
470
528
|
const parsedBody = parsedOutput.body;
|
|
471
529
|
return throwDefaultError({
|
|
@@ -563,6 +621,21 @@ const se_CalendarInterval = (input, context) => {
|
|
|
563
621
|
StartTime: (_) => _.getTime() / 1000,
|
|
564
622
|
});
|
|
565
623
|
};
|
|
624
|
+
const se_ExclusionWindow = (input, context) => {
|
|
625
|
+
return take(input, {
|
|
626
|
+
Reason: [],
|
|
627
|
+
RecurrenceRule: _json,
|
|
628
|
+
StartTime: (_) => _.getTime() / 1000,
|
|
629
|
+
Window: _json,
|
|
630
|
+
});
|
|
631
|
+
};
|
|
632
|
+
const se_ExclusionWindows = (input, context) => {
|
|
633
|
+
return input
|
|
634
|
+
.filter((e) => e != null)
|
|
635
|
+
.map((entry) => {
|
|
636
|
+
return se_ExclusionWindow(entry, context);
|
|
637
|
+
});
|
|
638
|
+
};
|
|
566
639
|
const se_Goal = (input, context) => {
|
|
567
640
|
return take(input, {
|
|
568
641
|
AttainmentGoal: __serializeFloat,
|
|
@@ -598,6 +671,22 @@ const de_CalendarInterval = (output, context) => {
|
|
|
598
671
|
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
599
672
|
});
|
|
600
673
|
};
|
|
674
|
+
const de_ExclusionWindow = (output, context) => {
|
|
675
|
+
return take(output, {
|
|
676
|
+
Reason: __expectString,
|
|
677
|
+
RecurrenceRule: _json,
|
|
678
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
679
|
+
Window: _json,
|
|
680
|
+
});
|
|
681
|
+
};
|
|
682
|
+
const de_ExclusionWindows = (output, context) => {
|
|
683
|
+
const retVal = (output || [])
|
|
684
|
+
.filter((e) => e != null)
|
|
685
|
+
.map((entry) => {
|
|
686
|
+
return de_ExclusionWindow(entry, context);
|
|
687
|
+
});
|
|
688
|
+
return retVal;
|
|
689
|
+
};
|
|
601
690
|
const de_Goal = (output, context) => {
|
|
602
691
|
return take(output, {
|
|
603
692
|
AttainmentGoal: __limitedParseDouble,
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { ApplicationSignalsClient } from "./ApplicationSignalsClient";
|
|
3
3
|
import { BatchGetServiceLevelObjectiveBudgetReportCommandInput, BatchGetServiceLevelObjectiveBudgetReportCommandOutput } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
|
|
4
|
+
import { BatchUpdateExclusionWindowsCommandInput, BatchUpdateExclusionWindowsCommandOutput } from "./commands/BatchUpdateExclusionWindowsCommand";
|
|
4
5
|
import { CreateServiceLevelObjectiveCommandInput, CreateServiceLevelObjectiveCommandOutput } from "./commands/CreateServiceLevelObjectiveCommand";
|
|
5
6
|
import { DeleteServiceLevelObjectiveCommandInput, DeleteServiceLevelObjectiveCommandOutput } from "./commands/DeleteServiceLevelObjectiveCommand";
|
|
6
7
|
import { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
|
|
7
8
|
import { GetServiceLevelObjectiveCommandInput, GetServiceLevelObjectiveCommandOutput } from "./commands/GetServiceLevelObjectiveCommand";
|
|
8
9
|
import { ListServiceDependenciesCommandInput, ListServiceDependenciesCommandOutput } from "./commands/ListServiceDependenciesCommand";
|
|
9
10
|
import { ListServiceDependentsCommandInput, ListServiceDependentsCommandOutput } from "./commands/ListServiceDependentsCommand";
|
|
11
|
+
import { ListServiceLevelObjectiveExclusionWindowsCommandInput, ListServiceLevelObjectiveExclusionWindowsCommandOutput } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
|
|
10
12
|
import { ListServiceLevelObjectivesCommandInput, ListServiceLevelObjectivesCommandOutput } from "./commands/ListServiceLevelObjectivesCommand";
|
|
11
13
|
import { ListServiceOperationsCommandInput, ListServiceOperationsCommandOutput } from "./commands/ListServiceOperationsCommand";
|
|
12
14
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
|
|
@@ -22,6 +24,12 @@ export interface ApplicationSignals {
|
|
|
22
24
|
batchGetServiceLevelObjectiveBudgetReport(args: BatchGetServiceLevelObjectiveBudgetReportCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetServiceLevelObjectiveBudgetReportCommandOutput>;
|
|
23
25
|
batchGetServiceLevelObjectiveBudgetReport(args: BatchGetServiceLevelObjectiveBudgetReportCommandInput, cb: (err: any, data?: BatchGetServiceLevelObjectiveBudgetReportCommandOutput) => void): void;
|
|
24
26
|
batchGetServiceLevelObjectiveBudgetReport(args: BatchGetServiceLevelObjectiveBudgetReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetServiceLevelObjectiveBudgetReportCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link BatchUpdateExclusionWindowsCommand}
|
|
29
|
+
*/
|
|
30
|
+
batchUpdateExclusionWindows(args: BatchUpdateExclusionWindowsCommandInput, options?: __HttpHandlerOptions): Promise<BatchUpdateExclusionWindowsCommandOutput>;
|
|
31
|
+
batchUpdateExclusionWindows(args: BatchUpdateExclusionWindowsCommandInput, cb: (err: any, data?: BatchUpdateExclusionWindowsCommandOutput) => void): void;
|
|
32
|
+
batchUpdateExclusionWindows(args: BatchUpdateExclusionWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateExclusionWindowsCommandOutput) => void): void;
|
|
25
33
|
/**
|
|
26
34
|
* @see {@link CreateServiceLevelObjectiveCommand}
|
|
27
35
|
*/
|
|
@@ -58,6 +66,12 @@ export interface ApplicationSignals {
|
|
|
58
66
|
listServiceDependents(args: ListServiceDependentsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceDependentsCommandOutput>;
|
|
59
67
|
listServiceDependents(args: ListServiceDependentsCommandInput, cb: (err: any, data?: ListServiceDependentsCommandOutput) => void): void;
|
|
60
68
|
listServiceDependents(args: ListServiceDependentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceDependentsCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link ListServiceLevelObjectiveExclusionWindowsCommand}
|
|
71
|
+
*/
|
|
72
|
+
listServiceLevelObjectiveExclusionWindows(args: ListServiceLevelObjectiveExclusionWindowsCommandInput, options?: __HttpHandlerOptions): Promise<ListServiceLevelObjectiveExclusionWindowsCommandOutput>;
|
|
73
|
+
listServiceLevelObjectiveExclusionWindows(args: ListServiceLevelObjectiveExclusionWindowsCommandInput, cb: (err: any, data?: ListServiceLevelObjectiveExclusionWindowsCommandOutput) => void): void;
|
|
74
|
+
listServiceLevelObjectiveExclusionWindows(args: ListServiceLevelObjectiveExclusionWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListServiceLevelObjectiveExclusionWindowsCommandOutput) => void): void;
|
|
61
75
|
/**
|
|
62
76
|
* @see {@link ListServiceLevelObjectivesCommand}
|
|
63
77
|
*/
|