@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
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ApplicationSignalsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ApplicationSignalsClient";
8
+ import {
9
+ BatchUpdateExclusionWindowsInput,
10
+ BatchUpdateExclusionWindowsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface BatchUpdateExclusionWindowsCommandInput
15
+ extends BatchUpdateExclusionWindowsInput {}
16
+ export interface BatchUpdateExclusionWindowsCommandOutput
17
+ extends BatchUpdateExclusionWindowsOutput,
18
+ __MetadataBearer {}
19
+ declare const BatchUpdateExclusionWindowsCommand_base: {
20
+ new (
21
+ input: BatchUpdateExclusionWindowsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ BatchUpdateExclusionWindowsCommandInput,
24
+ BatchUpdateExclusionWindowsCommandOutput,
25
+ ApplicationSignalsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: BatchUpdateExclusionWindowsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ BatchUpdateExclusionWindowsCommandInput,
33
+ BatchUpdateExclusionWindowsCommandOutput,
34
+ ApplicationSignalsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class BatchUpdateExclusionWindowsCommand extends BatchUpdateExclusionWindowsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: BatchUpdateExclusionWindowsInput;
44
+ output: BatchUpdateExclusionWindowsOutput;
45
+ };
46
+ sdk: {
47
+ input: BatchUpdateExclusionWindowsCommandInput;
48
+ output: BatchUpdateExclusionWindowsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ApplicationSignalsClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../ApplicationSignalsClient";
8
+ import {
9
+ ListServiceLevelObjectiveExclusionWindowsInput,
10
+ ListServiceLevelObjectiveExclusionWindowsOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListServiceLevelObjectiveExclusionWindowsCommandInput
15
+ extends ListServiceLevelObjectiveExclusionWindowsInput {}
16
+ export interface ListServiceLevelObjectiveExclusionWindowsCommandOutput
17
+ extends ListServiceLevelObjectiveExclusionWindowsOutput,
18
+ __MetadataBearer {}
19
+ declare const ListServiceLevelObjectiveExclusionWindowsCommand_base: {
20
+ new (
21
+ input: ListServiceLevelObjectiveExclusionWindowsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListServiceLevelObjectiveExclusionWindowsCommandInput,
24
+ ListServiceLevelObjectiveExclusionWindowsCommandOutput,
25
+ ApplicationSignalsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: ListServiceLevelObjectiveExclusionWindowsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListServiceLevelObjectiveExclusionWindowsCommandInput,
33
+ ListServiceLevelObjectiveExclusionWindowsCommandOutput,
34
+ ApplicationSignalsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListServiceLevelObjectiveExclusionWindowsCommand extends ListServiceLevelObjectiveExclusionWindowsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListServiceLevelObjectiveExclusionWindowsInput;
44
+ output: ListServiceLevelObjectiveExclusionWindowsOutput;
45
+ };
46
+ sdk: {
47
+ input: ListServiceLevelObjectiveExclusionWindowsCommandInput;
48
+ output: ListServiceLevelObjectiveExclusionWindowsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -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";
@@ -237,6 +237,43 @@ export declare class ValidationException extends __BaseException {
237
237
  opts: __ExceptionOptionType<ValidationException, __BaseException>
238
238
  );
239
239
  }
240
+ export interface RecurrenceRule {
241
+ Expression: string | undefined;
242
+ }
243
+ export interface Window {
244
+ DurationUnit: DurationUnit | undefined;
245
+ Duration: number | undefined;
246
+ }
247
+ export interface ExclusionWindow {
248
+ Window: Window | undefined;
249
+ StartTime?: Date | undefined;
250
+ RecurrenceRule?: RecurrenceRule | undefined;
251
+ Reason?: string | undefined;
252
+ }
253
+ export interface BatchUpdateExclusionWindowsInput {
254
+ SloIds: string[] | undefined;
255
+ AddExclusionWindows?: ExclusionWindow[] | undefined;
256
+ RemoveExclusionWindows?: ExclusionWindow[] | undefined;
257
+ }
258
+ export interface BatchUpdateExclusionWindowsError {
259
+ SloId: string | undefined;
260
+ ErrorCode: string | undefined;
261
+ ErrorMessage: string | undefined;
262
+ }
263
+ export interface BatchUpdateExclusionWindowsOutput {
264
+ SloIds: string[] | undefined;
265
+ Errors: BatchUpdateExclusionWindowsError[] | undefined;
266
+ }
267
+ export declare class ResourceNotFoundException extends __BaseException {
268
+ readonly name: "ResourceNotFoundException";
269
+ readonly $fault: "client";
270
+ ResourceType: string | undefined;
271
+ ResourceId: string | undefined;
272
+ Message: string | undefined;
273
+ constructor(
274
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
275
+ );
276
+ }
240
277
  export interface GetServiceInput {
241
278
  StartTime: Date | undefined;
242
279
  EndTime: Date | undefined;
@@ -299,6 +336,15 @@ export interface ListServiceDependentsOutput {
299
336
  ServiceDependents: ServiceDependent[] | undefined;
300
337
  NextToken?: string | undefined;
301
338
  }
339
+ export interface ListServiceLevelObjectiveExclusionWindowsInput {
340
+ Id: string | undefined;
341
+ MaxResults?: number | undefined;
342
+ NextToken?: string | undefined;
343
+ }
344
+ export interface ListServiceLevelObjectiveExclusionWindowsOutput {
345
+ ExclusionWindows: ExclusionWindow[] | undefined;
346
+ NextToken?: string | undefined;
347
+ }
302
348
  export interface ListServiceOperationsInput {
303
349
  StartTime: Date | undefined;
304
350
  EndTime: Date | undefined;
@@ -345,16 +391,6 @@ export interface Tag {
345
391
  export interface ListTagsForResourceResponse {
346
392
  Tags?: Tag[] | undefined;
347
393
  }
348
- export declare class ResourceNotFoundException extends __BaseException {
349
- readonly name: "ResourceNotFoundException";
350
- readonly $fault: "client";
351
- ResourceType: string | undefined;
352
- ResourceId: string | undefined;
353
- Message: string | undefined;
354
- constructor(
355
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
356
- );
357
- }
358
394
  export declare class ConflictException extends __BaseException {
359
395
  readonly name: "ConflictException";
360
396
  readonly $fault: "client";
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListServiceLevelObjectiveExclusionWindowsCommandInput,
4
+ ListServiceLevelObjectiveExclusionWindowsCommandOutput,
5
+ } from "../commands/ListServiceLevelObjectiveExclusionWindowsCommand";
6
+ import { ApplicationSignalsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListServiceLevelObjectiveExclusionWindows: (
8
+ config: ApplicationSignalsPaginationConfiguration,
9
+ input: ListServiceLevelObjectiveExclusionWindowsCommandInput,
10
+ ...rest: any[]
11
+ ) => 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";
@@ -7,6 +7,10 @@ import {
7
7
  BatchGetServiceLevelObjectiveBudgetReportCommandInput,
8
8
  BatchGetServiceLevelObjectiveBudgetReportCommandOutput,
9
9
  } from "../commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
10
+ import {
11
+ BatchUpdateExclusionWindowsCommandInput,
12
+ BatchUpdateExclusionWindowsCommandOutput,
13
+ } from "../commands/BatchUpdateExclusionWindowsCommand";
10
14
  import {
11
15
  CreateServiceLevelObjectiveCommandInput,
12
16
  CreateServiceLevelObjectiveCommandOutput,
@@ -31,6 +35,10 @@ import {
31
35
  ListServiceDependentsCommandInput,
32
36
  ListServiceDependentsCommandOutput,
33
37
  } from "../commands/ListServiceDependentsCommand";
38
+ import {
39
+ ListServiceLevelObjectiveExclusionWindowsCommandInput,
40
+ ListServiceLevelObjectiveExclusionWindowsCommandOutput,
41
+ } from "../commands/ListServiceLevelObjectiveExclusionWindowsCommand";
34
42
  import {
35
43
  ListServiceLevelObjectivesCommandInput,
36
44
  ListServiceLevelObjectivesCommandOutput,
@@ -67,6 +75,10 @@ export declare const se_BatchGetServiceLevelObjectiveBudgetReportCommand: (
67
75
  input: BatchGetServiceLevelObjectiveBudgetReportCommandInput,
68
76
  context: __SerdeContext
69
77
  ) => Promise<__HttpRequest>;
78
+ export declare const se_BatchUpdateExclusionWindowsCommand: (
79
+ input: BatchUpdateExclusionWindowsCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
70
82
  export declare const se_CreateServiceLevelObjectiveCommand: (
71
83
  input: CreateServiceLevelObjectiveCommandInput,
72
84
  context: __SerdeContext
@@ -91,6 +103,10 @@ export declare const se_ListServiceDependentsCommand: (
91
103
  input: ListServiceDependentsCommandInput,
92
104
  context: __SerdeContext
93
105
  ) => Promise<__HttpRequest>;
106
+ export declare const se_ListServiceLevelObjectiveExclusionWindowsCommand: (
107
+ input: ListServiceLevelObjectiveExclusionWindowsCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
94
110
  export declare const se_ListServiceLevelObjectivesCommand: (
95
111
  input: ListServiceLevelObjectivesCommandInput,
96
112
  context: __SerdeContext
@@ -127,6 +143,10 @@ export declare const de_BatchGetServiceLevelObjectiveBudgetReportCommand: (
127
143
  output: __HttpResponse,
128
144
  context: __SerdeContext
129
145
  ) => Promise<BatchGetServiceLevelObjectiveBudgetReportCommandOutput>;
146
+ export declare const de_BatchUpdateExclusionWindowsCommand: (
147
+ output: __HttpResponse,
148
+ context: __SerdeContext
149
+ ) => Promise<BatchUpdateExclusionWindowsCommandOutput>;
130
150
  export declare const de_CreateServiceLevelObjectiveCommand: (
131
151
  output: __HttpResponse,
132
152
  context: __SerdeContext
@@ -151,6 +171,10 @@ export declare const de_ListServiceDependentsCommand: (
151
171
  output: __HttpResponse,
152
172
  context: __SerdeContext
153
173
  ) => Promise<ListServiceDependentsCommandOutput>;
174
+ export declare const de_ListServiceLevelObjectiveExclusionWindowsCommand: (
175
+ output: __HttpResponse,
176
+ context: __SerdeContext
177
+ ) => Promise<ListServiceLevelObjectiveExclusionWindowsCommandOutput>;
154
178
  export declare const de_ListServiceLevelObjectivesCommand: (
155
179
  output: __HttpResponse,
156
180
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-signals",
3
3
  "description": "AWS SDK for JavaScript Application Signals Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.769.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",