@aws-sdk/client-application-signals 3.975.0 → 3.978.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1421,6 +1421,22 @@ class UpdateServiceLevelObjectiveCommand extends smithyClient.Command
1421
1421
  .build() {
1422
1422
  }
1423
1423
 
1424
+ const paginateListEntityEvents = core.createPaginator(ApplicationSignalsClient, ListEntityEventsCommand, "NextToken", "NextToken", "MaxResults");
1425
+
1426
+ const paginateListServiceDependencies = core.createPaginator(ApplicationSignalsClient, ListServiceDependenciesCommand, "NextToken", "NextToken", "MaxResults");
1427
+
1428
+ const paginateListServiceDependents = core.createPaginator(ApplicationSignalsClient, ListServiceDependentsCommand, "NextToken", "NextToken", "MaxResults");
1429
+
1430
+ const paginateListServiceLevelObjectiveExclusionWindows = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
1431
+
1432
+ const paginateListServiceLevelObjectives = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectivesCommand, "NextToken", "NextToken", "MaxResults");
1433
+
1434
+ const paginateListServiceOperations = core.createPaginator(ApplicationSignalsClient, ListServiceOperationsCommand, "NextToken", "NextToken", "MaxResults");
1435
+
1436
+ const paginateListServices = core.createPaginator(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
1437
+
1438
+ const paginateListServiceStates = core.createPaginator(ApplicationSignalsClient, ListServiceStatesCommand, "NextToken", "NextToken", "MaxResults");
1439
+
1424
1440
  const commands = {
1425
1441
  BatchGetServiceLevelObjectiveBudgetReportCommand,
1426
1442
  BatchUpdateExclusionWindowsCommand,
@@ -1446,25 +1462,19 @@ const commands = {
1446
1462
  UntagResourceCommand,
1447
1463
  UpdateServiceLevelObjectiveCommand,
1448
1464
  };
1465
+ const paginators = {
1466
+ paginateListEntityEvents,
1467
+ paginateListServiceDependencies,
1468
+ paginateListServiceDependents,
1469
+ paginateListServiceLevelObjectiveExclusionWindows,
1470
+ paginateListServiceLevelObjectives,
1471
+ paginateListServiceOperations,
1472
+ paginateListServices,
1473
+ paginateListServiceStates,
1474
+ };
1449
1475
  class ApplicationSignals extends ApplicationSignalsClient {
1450
1476
  }
1451
- smithyClient.createAggregatedClient(commands, ApplicationSignals);
1452
-
1453
- const paginateListEntityEvents = core.createPaginator(ApplicationSignalsClient, ListEntityEventsCommand, "NextToken", "NextToken", "MaxResults");
1454
-
1455
- const paginateListServiceDependencies = core.createPaginator(ApplicationSignalsClient, ListServiceDependenciesCommand, "NextToken", "NextToken", "MaxResults");
1456
-
1457
- const paginateListServiceDependents = core.createPaginator(ApplicationSignalsClient, ListServiceDependentsCommand, "NextToken", "NextToken", "MaxResults");
1458
-
1459
- const paginateListServiceLevelObjectiveExclusionWindows = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectiveExclusionWindowsCommand, "NextToken", "NextToken", "MaxResults");
1460
-
1461
- const paginateListServiceLevelObjectives = core.createPaginator(ApplicationSignalsClient, ListServiceLevelObjectivesCommand, "NextToken", "NextToken", "MaxResults");
1462
-
1463
- const paginateListServiceOperations = core.createPaginator(ApplicationSignalsClient, ListServiceOperationsCommand, "NextToken", "NextToken", "MaxResults");
1464
-
1465
- const paginateListServices = core.createPaginator(ApplicationSignalsClient, ListServicesCommand, "NextToken", "NextToken", "MaxResults");
1466
-
1467
- const paginateListServiceStates = core.createPaginator(ApplicationSignalsClient, ListServiceStatesCommand, "NextToken", "NextToken", "MaxResults");
1477
+ smithyClient.createAggregatedClient(commands, ApplicationSignals, { paginators });
1468
1478
 
1469
1479
  const ServiceLevelObjectiveBudgetStatus = {
1470
1480
  BREACHED: "BREACHED",
@@ -23,6 +23,14 @@ import { StartDiscoveryCommand, } from "./commands/StartDiscoveryCommand";
23
23
  import { TagResourceCommand } from "./commands/TagResourceCommand";
24
24
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
25
  import { UpdateServiceLevelObjectiveCommand, } from "./commands/UpdateServiceLevelObjectiveCommand";
26
+ import { paginateListEntityEvents } from "./pagination/ListEntityEventsPaginator";
27
+ import { paginateListServiceDependencies } from "./pagination/ListServiceDependenciesPaginator";
28
+ import { paginateListServiceDependents } from "./pagination/ListServiceDependentsPaginator";
29
+ import { paginateListServiceLevelObjectiveExclusionWindows, } from "./pagination/ListServiceLevelObjectiveExclusionWindowsPaginator";
30
+ import { paginateListServiceLevelObjectives } from "./pagination/ListServiceLevelObjectivesPaginator";
31
+ import { paginateListServiceOperations } from "./pagination/ListServiceOperationsPaginator";
32
+ import { paginateListServices } from "./pagination/ListServicesPaginator";
33
+ import { paginateListServiceStates } from "./pagination/ListServiceStatesPaginator";
26
34
  const commands = {
27
35
  BatchGetServiceLevelObjectiveBudgetReportCommand,
28
36
  BatchUpdateExclusionWindowsCommand,
@@ -48,6 +56,16 @@ const commands = {
48
56
  UntagResourceCommand,
49
57
  UpdateServiceLevelObjectiveCommand,
50
58
  };
59
+ const paginators = {
60
+ paginateListEntityEvents,
61
+ paginateListServiceDependencies,
62
+ paginateListServiceDependents,
63
+ paginateListServiceLevelObjectiveExclusionWindows,
64
+ paginateListServiceLevelObjectives,
65
+ paginateListServiceOperations,
66
+ paginateListServices,
67
+ paginateListServiceStates,
68
+ };
51
69
  export class ApplicationSignals extends ApplicationSignalsClient {
52
70
  }
53
- createAggregatedClient(commands, ApplicationSignals);
71
+ createAggregatedClient(commands, ApplicationSignals, { paginators });
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { ApplicationSignalsClient } from "./ApplicationSignalsClient";
3
3
  import { BatchGetServiceLevelObjectiveBudgetReportCommandInput, BatchGetServiceLevelObjectiveBudgetReportCommandOutput } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
4
4
  import { BatchUpdateExclusionWindowsCommandInput, BatchUpdateExclusionWindowsCommandOutput } from "./commands/BatchUpdateExclusionWindowsCommand";
@@ -166,6 +166,62 @@ export interface ApplicationSignals {
166
166
  updateServiceLevelObjective(args: UpdateServiceLevelObjectiveCommandInput, options?: __HttpHandlerOptions): Promise<UpdateServiceLevelObjectiveCommandOutput>;
167
167
  updateServiceLevelObjective(args: UpdateServiceLevelObjectiveCommandInput, cb: (err: any, data?: UpdateServiceLevelObjectiveCommandOutput) => void): void;
168
168
  updateServiceLevelObjective(args: UpdateServiceLevelObjectiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceLevelObjectiveCommandOutput) => void): void;
169
+ /**
170
+ * @see {@link ListEntityEventsCommand}
171
+ * @param args - command input.
172
+ * @param paginationConfig - optional pagination config.
173
+ * @returns AsyncIterable of {@link ListEntityEventsCommandOutput}.
174
+ */
175
+ paginateListEntityEvents(args: ListEntityEventsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEntityEventsCommandOutput>;
176
+ /**
177
+ * @see {@link ListServiceDependenciesCommand}
178
+ * @param args - command input.
179
+ * @param paginationConfig - optional pagination config.
180
+ * @returns AsyncIterable of {@link ListServiceDependenciesCommandOutput}.
181
+ */
182
+ paginateListServiceDependencies(args: ListServiceDependenciesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceDependenciesCommandOutput>;
183
+ /**
184
+ * @see {@link ListServiceDependentsCommand}
185
+ * @param args - command input.
186
+ * @param paginationConfig - optional pagination config.
187
+ * @returns AsyncIterable of {@link ListServiceDependentsCommandOutput}.
188
+ */
189
+ paginateListServiceDependents(args: ListServiceDependentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceDependentsCommandOutput>;
190
+ /**
191
+ * @see {@link ListServiceLevelObjectiveExclusionWindowsCommand}
192
+ * @param args - command input.
193
+ * @param paginationConfig - optional pagination config.
194
+ * @returns AsyncIterable of {@link ListServiceLevelObjectiveExclusionWindowsCommandOutput}.
195
+ */
196
+ paginateListServiceLevelObjectiveExclusionWindows(args: ListServiceLevelObjectiveExclusionWindowsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceLevelObjectiveExclusionWindowsCommandOutput>;
197
+ /**
198
+ * @see {@link ListServiceLevelObjectivesCommand}
199
+ * @param args - command input.
200
+ * @param paginationConfig - optional pagination config.
201
+ * @returns AsyncIterable of {@link ListServiceLevelObjectivesCommandOutput}.
202
+ */
203
+ paginateListServiceLevelObjectives(args?: ListServiceLevelObjectivesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceLevelObjectivesCommandOutput>;
204
+ /**
205
+ * @see {@link ListServiceOperationsCommand}
206
+ * @param args - command input.
207
+ * @param paginationConfig - optional pagination config.
208
+ * @returns AsyncIterable of {@link ListServiceOperationsCommandOutput}.
209
+ */
210
+ paginateListServiceOperations(args: ListServiceOperationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceOperationsCommandOutput>;
211
+ /**
212
+ * @see {@link ListServicesCommand}
213
+ * @param args - command input.
214
+ * @param paginationConfig - optional pagination config.
215
+ * @returns AsyncIterable of {@link ListServicesCommandOutput}.
216
+ */
217
+ paginateListServices(args: ListServicesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServicesCommandOutput>;
218
+ /**
219
+ * @see {@link ListServiceStatesCommand}
220
+ * @param args - command input.
221
+ * @param paginationConfig - optional pagination config.
222
+ * @returns AsyncIterable of {@link ListServiceStatesCommandOutput}.
223
+ */
224
+ paginateListServiceStates(args: ListServiceStatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListServiceStatesCommandOutput>;
169
225
  }
170
226
  /**
171
227
  * <p>Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications. It enables real-time service health dashboards and helps you track long-term performance trends against your business goals. The application-centric view provides you with unified visibility across your applications, services, and dependencies, so you can proactively monitor and efficiently triage any issues that may arise, ensuring optimal customer experience.</p> <p>Application Signals provides the following benefits:</p> <ul> <li> <p>Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors. </p> </li> <li> <p>Create and monitor service level objectives (SLOs). </p> </li> <li> <p>See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.</p> </li> </ul> <p>Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries, and application names within dashboards and maps.</p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import { ApplicationSignalsClient } from "./ApplicationSignalsClient";
3
7
  import {
4
8
  BatchGetServiceLevelObjectiveBudgetReportCommandInput,
@@ -408,6 +412,62 @@ export interface ApplicationSignals {
408
412
  options: __HttpHandlerOptions,
409
413
  cb: (err: any, data?: UpdateServiceLevelObjectiveCommandOutput) => void
410
414
  ): void;
415
+ paginateListEntityEvents(
416
+ args: ListEntityEventsCommandInput,
417
+ paginationConfig?: Pick<
418
+ PaginationConfiguration,
419
+ Exclude<keyof PaginationConfiguration, "client">
420
+ >
421
+ ): Paginator<ListEntityEventsCommandOutput>;
422
+ paginateListServiceDependencies(
423
+ args: ListServiceDependenciesCommandInput,
424
+ paginationConfig?: Pick<
425
+ PaginationConfiguration,
426
+ Exclude<keyof PaginationConfiguration, "client">
427
+ >
428
+ ): Paginator<ListServiceDependenciesCommandOutput>;
429
+ paginateListServiceDependents(
430
+ args: ListServiceDependentsCommandInput,
431
+ paginationConfig?: Pick<
432
+ PaginationConfiguration,
433
+ Exclude<keyof PaginationConfiguration, "client">
434
+ >
435
+ ): Paginator<ListServiceDependentsCommandOutput>;
436
+ paginateListServiceLevelObjectiveExclusionWindows(
437
+ args: ListServiceLevelObjectiveExclusionWindowsCommandInput,
438
+ paginationConfig?: Pick<
439
+ PaginationConfiguration,
440
+ Exclude<keyof PaginationConfiguration, "client">
441
+ >
442
+ ): Paginator<ListServiceLevelObjectiveExclusionWindowsCommandOutput>;
443
+ paginateListServiceLevelObjectives(
444
+ args?: ListServiceLevelObjectivesCommandInput,
445
+ paginationConfig?: Pick<
446
+ PaginationConfiguration,
447
+ Exclude<keyof PaginationConfiguration, "client">
448
+ >
449
+ ): Paginator<ListServiceLevelObjectivesCommandOutput>;
450
+ paginateListServiceOperations(
451
+ args: ListServiceOperationsCommandInput,
452
+ paginationConfig?: Pick<
453
+ PaginationConfiguration,
454
+ Exclude<keyof PaginationConfiguration, "client">
455
+ >
456
+ ): Paginator<ListServiceOperationsCommandOutput>;
457
+ paginateListServices(
458
+ args: ListServicesCommandInput,
459
+ paginationConfig?: Pick<
460
+ PaginationConfiguration,
461
+ Exclude<keyof PaginationConfiguration, "client">
462
+ >
463
+ ): Paginator<ListServicesCommandOutput>;
464
+ paginateListServiceStates(
465
+ args: ListServiceStatesCommandInput,
466
+ paginationConfig?: Pick<
467
+ PaginationConfiguration,
468
+ Exclude<keyof PaginationConfiguration, "client">
469
+ >
470
+ ): Paginator<ListServiceStatesCommandOutput>;
411
471
  }
412
472
  export declare class ApplicationSignals
413
473
  extends ApplicationSignalsClient
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.975.0",
4
+ "version": "3.978.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-application-signals",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.11",
42
- "@smithy/middleware-retry": "^4.4.27",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.12",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",