@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.
Files changed (34) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/ApplicationSignals.js +4 -0
  3. package/dist-cjs/commands/BatchUpdateExclusionWindowsCommand.js +26 -0
  4. package/dist-cjs/commands/ListServiceLevelObjectiveExclusionWindowsCommand.js +26 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.js +7 -0
  7. package/dist-cjs/pagination/index.js +1 -0
  8. package/dist-cjs/protocols/Aws_restJson1.js +97 -4
  9. package/dist-es/ApplicationSignals.js +4 -0
  10. package/dist-es/commands/BatchUpdateExclusionWindowsCommand.js +22 -0
  11. package/dist-es/commands/ListServiceLevelObjectiveExclusionWindowsCommand.js +22 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +92 -3
  16. package/dist-types/ApplicationSignals.d.ts +14 -0
  17. package/dist-types/ApplicationSignalsClient.d.ts +4 -2
  18. package/dist-types/commands/BatchUpdateExclusionWindowsCommand.d.ts +117 -0
  19. package/dist-types/commands/ListServiceLevelObjectiveExclusionWindowsCommand.d.ts +95 -0
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_0.d.ts +173 -23
  22. package/dist-types/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.d.ts +7 -0
  23. package/dist-types/pagination/index.d.ts +1 -0
  24. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  25. package/dist-types/ts3.4/ApplicationSignals.d.ts +40 -0
  26. package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +12 -0
  27. package/dist-types/ts3.4/commands/BatchUpdateExclusionWindowsCommand.d.ts +51 -0
  28. package/dist-types/ts3.4/commands/ListServiceLevelObjectiveExclusionWindowsCommand.d.ts +51 -0
  29. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  30. package/dist-types/ts3.4/models/models_0.d.ts +46 -10
  31. package/dist-types/ts3.4/pagination/ListServiceLevelObjectiveExclusionWindowsPaginator.d.ts +11 -0
  32. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  33. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  34. package/package.json +1 -1
@@ -8,12 +8,14 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { BatchGetServiceLevelObjectiveBudgetReportCommandInput, BatchGetServiceLevelObjectiveBudgetReportCommandOutput } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
11
+ import { BatchUpdateExclusionWindowsCommandInput, BatchUpdateExclusionWindowsCommandOutput } from "./commands/BatchUpdateExclusionWindowsCommand";
11
12
  import { CreateServiceLevelObjectiveCommandInput, CreateServiceLevelObjectiveCommandOutput } from "./commands/CreateServiceLevelObjectiveCommand";
12
13
  import { DeleteServiceLevelObjectiveCommandInput, DeleteServiceLevelObjectiveCommandOutput } from "./commands/DeleteServiceLevelObjectiveCommand";
13
14
  import { GetServiceCommandInput, GetServiceCommandOutput } from "./commands/GetServiceCommand";
14
15
  import { GetServiceLevelObjectiveCommandInput, GetServiceLevelObjectiveCommandOutput } from "./commands/GetServiceLevelObjectiveCommand";
15
16
  import { ListServiceDependenciesCommandInput, ListServiceDependenciesCommandOutput } from "./commands/ListServiceDependenciesCommand";
16
17
  import { ListServiceDependentsCommandInput, ListServiceDependentsCommandOutput } from "./commands/ListServiceDependentsCommand";
18
+ import { ListServiceLevelObjectiveExclusionWindowsCommandInput, ListServiceLevelObjectiveExclusionWindowsCommandOutput } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
17
19
  import { ListServiceLevelObjectivesCommandInput, ListServiceLevelObjectivesCommandOutput } from "./commands/ListServiceLevelObjectivesCommand";
18
20
  import { ListServiceOperationsCommandInput, ListServiceOperationsCommandOutput } from "./commands/ListServiceOperationsCommand";
19
21
  import { ListServicesCommandInput, ListServicesCommandOutput } from "./commands/ListServicesCommand";
@@ -28,11 +30,11 @@ export { __Client };
28
30
  /**
29
31
  * @public
30
32
  */
31
- export type ServiceInputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandInput | CreateServiceLevelObjectiveCommandInput | DeleteServiceLevelObjectiveCommandInput | GetServiceCommandInput | GetServiceLevelObjectiveCommandInput | ListServiceDependenciesCommandInput | ListServiceDependentsCommandInput | ListServiceLevelObjectivesCommandInput | ListServiceOperationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | StartDiscoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceLevelObjectiveCommandInput;
33
+ export type ServiceInputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandInput | BatchUpdateExclusionWindowsCommandInput | CreateServiceLevelObjectiveCommandInput | DeleteServiceLevelObjectiveCommandInput | GetServiceCommandInput | GetServiceLevelObjectiveCommandInput | ListServiceDependenciesCommandInput | ListServiceDependentsCommandInput | ListServiceLevelObjectiveExclusionWindowsCommandInput | ListServiceLevelObjectivesCommandInput | ListServiceOperationsCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | StartDiscoveryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceLevelObjectiveCommandInput;
32
34
  /**
33
35
  * @public
34
36
  */
35
- export type ServiceOutputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandOutput | CreateServiceLevelObjectiveCommandOutput | DeleteServiceLevelObjectiveCommandOutput | GetServiceCommandOutput | GetServiceLevelObjectiveCommandOutput | ListServiceDependenciesCommandOutput | ListServiceDependentsCommandOutput | ListServiceLevelObjectivesCommandOutput | ListServiceOperationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | StartDiscoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceLevelObjectiveCommandOutput;
37
+ export type ServiceOutputTypes = BatchGetServiceLevelObjectiveBudgetReportCommandOutput | BatchUpdateExclusionWindowsCommandOutput | CreateServiceLevelObjectiveCommandOutput | DeleteServiceLevelObjectiveCommandOutput | GetServiceCommandOutput | GetServiceLevelObjectiveCommandOutput | ListServiceDependenciesCommandOutput | ListServiceDependentsCommandOutput | ListServiceLevelObjectiveExclusionWindowsCommandOutput | ListServiceLevelObjectivesCommandOutput | ListServiceOperationsCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | StartDiscoveryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceLevelObjectiveCommandOutput;
36
38
  /**
37
39
  * @public
38
40
  */
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
4
+ import { BatchUpdateExclusionWindowsInput, BatchUpdateExclusionWindowsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link BatchUpdateExclusionWindowsCommand}.
14
+ */
15
+ export interface BatchUpdateExclusionWindowsCommandInput extends BatchUpdateExclusionWindowsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link BatchUpdateExclusionWindowsCommand}.
21
+ */
22
+ export interface BatchUpdateExclusionWindowsCommandOutput extends BatchUpdateExclusionWindowsOutput, __MetadataBearer {
23
+ }
24
+ declare const BatchUpdateExclusionWindowsCommand_base: {
25
+ new (input: BatchUpdateExclusionWindowsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateExclusionWindowsCommandInput, BatchUpdateExclusionWindowsCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: BatchUpdateExclusionWindowsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchUpdateExclusionWindowsCommandInput, BatchUpdateExclusionWindowsCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Add or remove time window exclusions for one or more Service Level Objectives (SLOs).</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ApplicationSignalsClient, BatchUpdateExclusionWindowsCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
35
+ * // const { ApplicationSignalsClient, BatchUpdateExclusionWindowsCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
36
+ * const client = new ApplicationSignalsClient(config);
37
+ * const input = { // BatchUpdateExclusionWindowsInput
38
+ * SloIds: [ // ServiceLevelObjectiveIds // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * AddExclusionWindows: [ // ExclusionWindows
42
+ * { // ExclusionWindow
43
+ * Window: { // Window
44
+ * DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
45
+ * Duration: Number("int"), // required
46
+ * },
47
+ * StartTime: new Date("TIMESTAMP"),
48
+ * RecurrenceRule: { // RecurrenceRule
49
+ * Expression: "STRING_VALUE", // required
50
+ * },
51
+ * Reason: "STRING_VALUE",
52
+ * },
53
+ * ],
54
+ * RemoveExclusionWindows: [
55
+ * {
56
+ * Window: {
57
+ * DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
58
+ * Duration: Number("int"), // required
59
+ * },
60
+ * StartTime: new Date("TIMESTAMP"),
61
+ * RecurrenceRule: {
62
+ * Expression: "STRING_VALUE", // required
63
+ * },
64
+ * Reason: "STRING_VALUE",
65
+ * },
66
+ * ],
67
+ * };
68
+ * const command = new BatchUpdateExclusionWindowsCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // BatchUpdateExclusionWindowsOutput
71
+ * // SloIds: [ // ServiceLevelObjectiveIds // required
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // Errors: [ // BatchUpdateExclusionWindowsErrors // required
75
+ * // { // BatchUpdateExclusionWindowsError
76
+ * // SloId: "STRING_VALUE", // required
77
+ * // ErrorCode: "STRING_VALUE", // required
78
+ * // ErrorMessage: "STRING_VALUE", // required
79
+ * // },
80
+ * // ],
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param BatchUpdateExclusionWindowsCommandInput - {@link BatchUpdateExclusionWindowsCommandInput}
86
+ * @returns {@link BatchUpdateExclusionWindowsCommandOutput}
87
+ * @see {@link BatchUpdateExclusionWindowsCommandInput} for command's `input` shape.
88
+ * @see {@link BatchUpdateExclusionWindowsCommandOutput} for command's `response` shape.
89
+ * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
90
+ *
91
+ * @throws {@link ResourceNotFoundException} (client fault)
92
+ * <p>Resource not found.</p>
93
+ *
94
+ * @throws {@link ThrottlingException} (client fault)
95
+ * <p>The request was throttled because of quota limits.</p>
96
+ *
97
+ * @throws {@link ValidationException} (client fault)
98
+ * <p>The resource is not valid.</p>
99
+ *
100
+ * @throws {@link ApplicationSignalsServiceException}
101
+ * <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
102
+ *
103
+ * @public
104
+ */
105
+ export declare class BatchUpdateExclusionWindowsCommand extends BatchUpdateExclusionWindowsCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: BatchUpdateExclusionWindowsInput;
110
+ output: BatchUpdateExclusionWindowsOutput;
111
+ };
112
+ sdk: {
113
+ input: BatchUpdateExclusionWindowsCommandInput;
114
+ output: BatchUpdateExclusionWindowsCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -0,0 +1,95 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
4
+ import { ListServiceLevelObjectiveExclusionWindowsInput, ListServiceLevelObjectiveExclusionWindowsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListServiceLevelObjectiveExclusionWindowsCommand}.
14
+ */
15
+ export interface ListServiceLevelObjectiveExclusionWindowsCommandInput extends ListServiceLevelObjectiveExclusionWindowsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListServiceLevelObjectiveExclusionWindowsCommand}.
21
+ */
22
+ export interface ListServiceLevelObjectiveExclusionWindowsCommandOutput extends ListServiceLevelObjectiveExclusionWindowsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListServiceLevelObjectiveExclusionWindowsCommand_base: {
25
+ new (input: ListServiceLevelObjectiveExclusionWindowsCommandInput): import("@smithy/smithy-client").CommandImpl<ListServiceLevelObjectiveExclusionWindowsCommandInput, ListServiceLevelObjectiveExclusionWindowsCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListServiceLevelObjectiveExclusionWindowsCommandInput): import("@smithy/smithy-client").CommandImpl<ListServiceLevelObjectiveExclusionWindowsCommandInput, ListServiceLevelObjectiveExclusionWindowsCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves all exclusion windows configured for a specific SLO.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
35
+ * // const { ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
36
+ * const client = new ApplicationSignalsClient(config);
37
+ * const input = { // ListServiceLevelObjectiveExclusionWindowsInput
38
+ * Id: "STRING_VALUE", // required
39
+ * MaxResults: Number("int"),
40
+ * NextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListServiceLevelObjectiveExclusionWindowsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListServiceLevelObjectiveExclusionWindowsOutput
45
+ * // ExclusionWindows: [ // ExclusionWindows // required
46
+ * // { // ExclusionWindow
47
+ * // Window: { // Window
48
+ * // DurationUnit: "MINUTE" || "HOUR" || "DAY" || "MONTH", // required
49
+ * // Duration: Number("int"), // required
50
+ * // },
51
+ * // StartTime: new Date("TIMESTAMP"),
52
+ * // RecurrenceRule: { // RecurrenceRule
53
+ * // Expression: "STRING_VALUE", // required
54
+ * // },
55
+ * // Reason: "STRING_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // NextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListServiceLevelObjectiveExclusionWindowsCommandInput - {@link ListServiceLevelObjectiveExclusionWindowsCommandInput}
64
+ * @returns {@link ListServiceLevelObjectiveExclusionWindowsCommandOutput}
65
+ * @see {@link ListServiceLevelObjectiveExclusionWindowsCommandInput} for command's `input` shape.
66
+ * @see {@link ListServiceLevelObjectiveExclusionWindowsCommandOutput} for command's `response` shape.
67
+ * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>Resource not found.</p>
71
+ *
72
+ * @throws {@link ThrottlingException} (client fault)
73
+ * <p>The request was throttled because of quota limits.</p>
74
+ *
75
+ * @throws {@link ValidationException} (client fault)
76
+ * <p>The resource is not valid.</p>
77
+ *
78
+ * @throws {@link ApplicationSignalsServiceException}
79
+ * <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
80
+ *
81
+ * @public
82
+ */
83
+ export declare class ListServiceLevelObjectiveExclusionWindowsCommand extends ListServiceLevelObjectiveExclusionWindowsCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: ListServiceLevelObjectiveExclusionWindowsInput;
88
+ output: ListServiceLevelObjectiveExclusionWindowsOutput;
89
+ };
90
+ sdk: {
91
+ input: ListServiceLevelObjectiveExclusionWindowsCommandInput;
92
+ output: ListServiceLevelObjectiveExclusionWindowsCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -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";
@@ -818,6 +818,138 @@ export declare class ValidationException extends __BaseException {
818
818
  */
819
819
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
820
820
  }
821
+ /**
822
+ * <p>The recurrence rule for the SLO time window exclusion .</p>
823
+ * @public
824
+ */
825
+ export interface RecurrenceRule {
826
+ /**
827
+ * <p>A cron or rate expression that specifies the schedule for the exclusion window.</p>
828
+ * @public
829
+ */
830
+ Expression: string | undefined;
831
+ }
832
+ /**
833
+ * <p>The object that defines the time length of an exclusion window.</p>
834
+ * @public
835
+ */
836
+ export interface Window {
837
+ /**
838
+ * <p>The unit of time for the exclusion window duration. Valid values: MINUTE, HOUR, DAY, MONTH.</p>
839
+ * @public
840
+ */
841
+ DurationUnit: DurationUnit | undefined;
842
+ /**
843
+ * <p>The number of time units for the exclusion window length.</p>
844
+ * @public
845
+ */
846
+ Duration: number | undefined;
847
+ }
848
+ /**
849
+ * <p>The core SLO time window exclusion object that includes Window, StartTime, RecurrenceRule, and Reason.</p>
850
+ * @public
851
+ */
852
+ export interface ExclusionWindow {
853
+ /**
854
+ * <p>The SLO time window exclusion .</p>
855
+ * @public
856
+ */
857
+ Window: Window | undefined;
858
+ /**
859
+ * <p>The start of the SLO time window exclusion. Defaults to current time if not specified.</p>
860
+ * @public
861
+ */
862
+ StartTime?: Date | undefined;
863
+ /**
864
+ * <p>The recurrence rule for the SLO time window exclusion. Supports both cron and rate expressions.</p>
865
+ * @public
866
+ */
867
+ RecurrenceRule?: RecurrenceRule | undefined;
868
+ /**
869
+ * <p>A description explaining why this time period should be excluded from SLO calculations.</p>
870
+ * @public
871
+ */
872
+ Reason?: string | undefined;
873
+ }
874
+ /**
875
+ * @public
876
+ */
877
+ export interface BatchUpdateExclusionWindowsInput {
878
+ /**
879
+ * <p>The list of SLO IDs to add or remove exclusion windows from.</p>
880
+ * @public
881
+ */
882
+ SloIds: string[] | undefined;
883
+ /**
884
+ * <p>A list of exclusion windows to add to the specified SLOs. You can add up to 10 exclusion windows per SLO.</p>
885
+ * @public
886
+ */
887
+ AddExclusionWindows?: ExclusionWindow[] | undefined;
888
+ /**
889
+ * <p>A list of exclusion windows to remove from the specified SLOs. The window configuration must match an existing exclusion window.</p>
890
+ * @public
891
+ */
892
+ RemoveExclusionWindows?: ExclusionWindow[] | undefined;
893
+ }
894
+ /**
895
+ * <p>An array of structures, where each structure includes an error indicating that one of the requests in the array was not valid.</p>
896
+ * @public
897
+ */
898
+ export interface BatchUpdateExclusionWindowsError {
899
+ /**
900
+ * <p>The SLO ID in the error.</p>
901
+ * @public
902
+ */
903
+ SloId: string | undefined;
904
+ /**
905
+ * <p>The error code.</p>
906
+ * @public
907
+ */
908
+ ErrorCode: string | undefined;
909
+ /**
910
+ * <p>The error message.</p>
911
+ * @public
912
+ */
913
+ ErrorMessage: string | undefined;
914
+ }
915
+ /**
916
+ * @public
917
+ */
918
+ export interface BatchUpdateExclusionWindowsOutput {
919
+ /**
920
+ * <p>The list of SLO IDs that were successfully processed.</p>
921
+ * @public
922
+ */
923
+ SloIds: string[] | undefined;
924
+ /**
925
+ * <p>A list of errors that occurred while processing the request.</p>
926
+ * @public
927
+ */
928
+ Errors: BatchUpdateExclusionWindowsError[] | undefined;
929
+ }
930
+ /**
931
+ * <p>Resource not found.</p>
932
+ * @public
933
+ */
934
+ export declare class ResourceNotFoundException extends __BaseException {
935
+ readonly name: "ResourceNotFoundException";
936
+ readonly $fault: "client";
937
+ /**
938
+ * <p>The resource type is not valid.</p>
939
+ * @public
940
+ */
941
+ ResourceType: string | undefined;
942
+ /**
943
+ * <p>Can't find the resource id.</p>
944
+ * @public
945
+ */
946
+ ResourceId: string | undefined;
947
+ Message: string | undefined;
948
+ /**
949
+ * @internal
950
+ */
951
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
952
+ }
821
953
  /**
822
954
  * @public
823
955
  */
@@ -1412,6 +1544,47 @@ export interface ListServiceDependentsOutput {
1412
1544
  */
1413
1545
  NextToken?: string | undefined;
1414
1546
  }
1547
+ /**
1548
+ * @public
1549
+ */
1550
+ export interface ListServiceLevelObjectiveExclusionWindowsInput {
1551
+ /**
1552
+ * <p>The ID of the SLO to list exclusion windows for.</p>
1553
+ * @public
1554
+ */
1555
+ Id: string | undefined;
1556
+ /**
1557
+ * <p>The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.
1558
+ *
1559
+ * </p>
1560
+ * @public
1561
+ */
1562
+ MaxResults?: number | undefined;
1563
+ /**
1564
+ * <p>Include this value, if it was returned by the previous operation, to get the next set of service level objectives.
1565
+ *
1566
+ * </p>
1567
+ * @public
1568
+ */
1569
+ NextToken?: string | undefined;
1570
+ }
1571
+ /**
1572
+ * @public
1573
+ */
1574
+ export interface ListServiceLevelObjectiveExclusionWindowsOutput {
1575
+ /**
1576
+ * <p>A list of exclusion windows configured for the SLO.</p>
1577
+ * @public
1578
+ */
1579
+ ExclusionWindows: ExclusionWindow[] | undefined;
1580
+ /**
1581
+ * <p>Include this value, if it was returned by the previous operation, to get the next set of service level objectives.
1582
+ *
1583
+ * </p>
1584
+ * @public
1585
+ */
1586
+ NextToken?: string | undefined;
1587
+ }
1415
1588
  /**
1416
1589
  * @public
1417
1590
  */
@@ -1781,29 +1954,6 @@ export interface ListTagsForResourceResponse {
1781
1954
  */
1782
1955
  Tags?: Tag[] | undefined;
1783
1956
  }
1784
- /**
1785
- * <p>Resource not found.</p>
1786
- * @public
1787
- */
1788
- export declare class ResourceNotFoundException extends __BaseException {
1789
- readonly name: "ResourceNotFoundException";
1790
- readonly $fault: "client";
1791
- /**
1792
- * <p>The resource type is not valid.</p>
1793
- * @public
1794
- */
1795
- ResourceType: string | undefined;
1796
- /**
1797
- * <p>Can't find the resource id.</p>
1798
- * @public
1799
- */
1800
- ResourceId: string | undefined;
1801
- Message: string | undefined;
1802
- /**
1803
- * @internal
1804
- */
1805
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1806
- }
1807
1957
  /**
1808
1958
  * <p>This operation attempted to create a resource that already exists.</p>
1809
1959
  * @public
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListServiceLevelObjectiveExclusionWindowsCommandInput, ListServiceLevelObjectiveExclusionWindowsCommandOutput } from "../commands/ListServiceLevelObjectiveExclusionWindowsCommand";
3
+ import { ApplicationSignalsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListServiceLevelObjectiveExclusionWindows: (config: ApplicationSignalsPaginationConfiguration, input: ListServiceLevelObjectiveExclusionWindowsCommandInput, ...rest: any[]) => Paginator<ListServiceLevelObjectiveExclusionWindowsCommandOutput>;
@@ -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";
@@ -1,12 +1,14 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
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";
@@ -19,6 +21,10 @@ import { UpdateServiceLevelObjectiveCommandInput, UpdateServiceLevelObjectiveCom
19
21
  * serializeAws_restJson1BatchGetServiceLevelObjectiveBudgetReportCommand
20
22
  */
21
23
  export declare const se_BatchGetServiceLevelObjectiveBudgetReportCommand: (input: BatchGetServiceLevelObjectiveBudgetReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
+ /**
25
+ * serializeAws_restJson1BatchUpdateExclusionWindowsCommand
26
+ */
27
+ export declare const se_BatchUpdateExclusionWindowsCommand: (input: BatchUpdateExclusionWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
28
  /**
23
29
  * serializeAws_restJson1CreateServiceLevelObjectiveCommand
24
30
  */
@@ -43,6 +49,10 @@ export declare const se_ListServiceDependenciesCommand: (input: ListServiceDepen
43
49
  * serializeAws_restJson1ListServiceDependentsCommand
44
50
  */
45
51
  export declare const se_ListServiceDependentsCommand: (input: ListServiceDependentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ /**
53
+ * serializeAws_restJson1ListServiceLevelObjectiveExclusionWindowsCommand
54
+ */
55
+ export declare const se_ListServiceLevelObjectiveExclusionWindowsCommand: (input: ListServiceLevelObjectiveExclusionWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
46
56
  /**
47
57
  * serializeAws_restJson1ListServiceLevelObjectivesCommand
48
58
  */
@@ -79,6 +89,10 @@ export declare const se_UpdateServiceLevelObjectiveCommand: (input: UpdateServic
79
89
  * deserializeAws_restJson1BatchGetServiceLevelObjectiveBudgetReportCommand
80
90
  */
81
91
  export declare const de_BatchGetServiceLevelObjectiveBudgetReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetServiceLevelObjectiveBudgetReportCommandOutput>;
92
+ /**
93
+ * deserializeAws_restJson1BatchUpdateExclusionWindowsCommand
94
+ */
95
+ export declare const de_BatchUpdateExclusionWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateExclusionWindowsCommandOutput>;
82
96
  /**
83
97
  * deserializeAws_restJson1CreateServiceLevelObjectiveCommand
84
98
  */
@@ -103,6 +117,10 @@ export declare const de_ListServiceDependenciesCommand: (output: __HttpResponse,
103
117
  * deserializeAws_restJson1ListServiceDependentsCommand
104
118
  */
105
119
  export declare const de_ListServiceDependentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServiceDependentsCommandOutput>;
120
+ /**
121
+ * deserializeAws_restJson1ListServiceLevelObjectiveExclusionWindowsCommand
122
+ */
123
+ export declare const de_ListServiceLevelObjectiveExclusionWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListServiceLevelObjectiveExclusionWindowsCommandOutput>;
106
124
  /**
107
125
  * deserializeAws_restJson1ListServiceLevelObjectivesCommand
108
126
  */
@@ -4,6 +4,10 @@ import {
4
4
  BatchGetServiceLevelObjectiveBudgetReportCommandInput,
5
5
  BatchGetServiceLevelObjectiveBudgetReportCommandOutput,
6
6
  } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
7
+ import {
8
+ BatchUpdateExclusionWindowsCommandInput,
9
+ BatchUpdateExclusionWindowsCommandOutput,
10
+ } from "./commands/BatchUpdateExclusionWindowsCommand";
7
11
  import {
8
12
  CreateServiceLevelObjectiveCommandInput,
9
13
  CreateServiceLevelObjectiveCommandOutput,
@@ -28,6 +32,10 @@ import {
28
32
  ListServiceDependentsCommandInput,
29
33
  ListServiceDependentsCommandOutput,
30
34
  } from "./commands/ListServiceDependentsCommand";
35
+ import {
36
+ ListServiceLevelObjectiveExclusionWindowsCommandInput,
37
+ ListServiceLevelObjectiveExclusionWindowsCommandOutput,
38
+ } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
31
39
  import {
32
40
  ListServiceLevelObjectivesCommandInput,
33
41
  ListServiceLevelObjectivesCommandOutput,
@@ -80,6 +88,19 @@ export interface ApplicationSignals {
80
88
  data?: BatchGetServiceLevelObjectiveBudgetReportCommandOutput
81
89
  ) => void
82
90
  ): void;
91
+ batchUpdateExclusionWindows(
92
+ args: BatchUpdateExclusionWindowsCommandInput,
93
+ options?: __HttpHandlerOptions
94
+ ): Promise<BatchUpdateExclusionWindowsCommandOutput>;
95
+ batchUpdateExclusionWindows(
96
+ args: BatchUpdateExclusionWindowsCommandInput,
97
+ cb: (err: any, data?: BatchUpdateExclusionWindowsCommandOutput) => void
98
+ ): void;
99
+ batchUpdateExclusionWindows(
100
+ args: BatchUpdateExclusionWindowsCommandInput,
101
+ options: __HttpHandlerOptions,
102
+ cb: (err: any, data?: BatchUpdateExclusionWindowsCommandOutput) => void
103
+ ): void;
83
104
  createServiceLevelObjective(
84
105
  args: CreateServiceLevelObjectiveCommandInput,
85
106
  options?: __HttpHandlerOptions
@@ -158,6 +179,25 @@ export interface ApplicationSignals {
158
179
  options: __HttpHandlerOptions,
159
180
  cb: (err: any, data?: ListServiceDependentsCommandOutput) => void
160
181
  ): void;
182
+ listServiceLevelObjectiveExclusionWindows(
183
+ args: ListServiceLevelObjectiveExclusionWindowsCommandInput,
184
+ options?: __HttpHandlerOptions
185
+ ): Promise<ListServiceLevelObjectiveExclusionWindowsCommandOutput>;
186
+ listServiceLevelObjectiveExclusionWindows(
187
+ args: ListServiceLevelObjectiveExclusionWindowsCommandInput,
188
+ cb: (
189
+ err: any,
190
+ data?: ListServiceLevelObjectiveExclusionWindowsCommandOutput
191
+ ) => void
192
+ ): void;
193
+ listServiceLevelObjectiveExclusionWindows(
194
+ args: ListServiceLevelObjectiveExclusionWindowsCommandInput,
195
+ options: __HttpHandlerOptions,
196
+ cb: (
197
+ err: any,
198
+ data?: ListServiceLevelObjectiveExclusionWindowsCommandOutput
199
+ ) => void
200
+ ): void;
161
201
  listServiceLevelObjectives(): Promise<ListServiceLevelObjectivesCommandOutput>;
162
202
  listServiceLevelObjectives(
163
203
  args: ListServiceLevelObjectivesCommandInput,
@@ -49,6 +49,10 @@ import {
49
49
  BatchGetServiceLevelObjectiveBudgetReportCommandInput,
50
50
  BatchGetServiceLevelObjectiveBudgetReportCommandOutput,
51
51
  } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
52
+ import {
53
+ BatchUpdateExclusionWindowsCommandInput,
54
+ BatchUpdateExclusionWindowsCommandOutput,
55
+ } from "./commands/BatchUpdateExclusionWindowsCommand";
52
56
  import {
53
57
  CreateServiceLevelObjectiveCommandInput,
54
58
  CreateServiceLevelObjectiveCommandOutput,
@@ -73,6 +77,10 @@ import {
73
77
  ListServiceDependentsCommandInput,
74
78
  ListServiceDependentsCommandOutput,
75
79
  } from "./commands/ListServiceDependentsCommand";
80
+ import {
81
+ ListServiceLevelObjectiveExclusionWindowsCommandInput,
82
+ ListServiceLevelObjectiveExclusionWindowsCommandOutput,
83
+ } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
76
84
  import {
77
85
  ListServiceLevelObjectivesCommandInput,
78
86
  ListServiceLevelObjectivesCommandOutput,
@@ -114,12 +122,14 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
114
122
  export { __Client };
115
123
  export type ServiceInputTypes =
116
124
  | BatchGetServiceLevelObjectiveBudgetReportCommandInput
125
+ | BatchUpdateExclusionWindowsCommandInput
117
126
  | CreateServiceLevelObjectiveCommandInput
118
127
  | DeleteServiceLevelObjectiveCommandInput
119
128
  | GetServiceCommandInput
120
129
  | GetServiceLevelObjectiveCommandInput
121
130
  | ListServiceDependenciesCommandInput
122
131
  | ListServiceDependentsCommandInput
132
+ | ListServiceLevelObjectiveExclusionWindowsCommandInput
123
133
  | ListServiceLevelObjectivesCommandInput
124
134
  | ListServiceOperationsCommandInput
125
135
  | ListServicesCommandInput
@@ -130,12 +140,14 @@ export type ServiceInputTypes =
130
140
  | UpdateServiceLevelObjectiveCommandInput;
131
141
  export type ServiceOutputTypes =
132
142
  | BatchGetServiceLevelObjectiveBudgetReportCommandOutput
143
+ | BatchUpdateExclusionWindowsCommandOutput
133
144
  | CreateServiceLevelObjectiveCommandOutput
134
145
  | DeleteServiceLevelObjectiveCommandOutput
135
146
  | GetServiceCommandOutput
136
147
  | GetServiceLevelObjectiveCommandOutput
137
148
  | ListServiceDependenciesCommandOutput
138
149
  | ListServiceDependentsCommandOutput
150
+ | ListServiceLevelObjectiveExclusionWindowsCommandOutput
139
151
  | ListServiceLevelObjectivesCommandOutput
140
152
  | ListServiceOperationsCommandOutput
141
153
  | ListServicesCommandOutput