@aws-sdk/client-application-insights 3.974.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
|
@@ -1424,6 +1424,20 @@ class UpdateWorkloadCommand extends smithyClient.Command
|
|
|
1424
1424
|
.build() {
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
|
+
const paginateListApplications = core.createPaginator(ApplicationInsightsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1428
|
+
|
|
1429
|
+
const paginateListComponents = core.createPaginator(ApplicationInsightsClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1430
|
+
|
|
1431
|
+
const paginateListConfigurationHistory = core.createPaginator(ApplicationInsightsClient, ListConfigurationHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
1432
|
+
|
|
1433
|
+
const paginateListLogPatternSets = core.createPaginator(ApplicationInsightsClient, ListLogPatternSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1434
|
+
|
|
1435
|
+
const paginateListLogPatterns = core.createPaginator(ApplicationInsightsClient, ListLogPatternsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1436
|
+
|
|
1437
|
+
const paginateListProblems = core.createPaginator(ApplicationInsightsClient, ListProblemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1438
|
+
|
|
1439
|
+
const paginateListWorkloads = core.createPaginator(ApplicationInsightsClient, ListWorkloadsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1440
|
+
|
|
1427
1441
|
const commands = {
|
|
1428
1442
|
AddWorkloadCommand,
|
|
1429
1443
|
CreateApplicationCommand,
|
|
@@ -1459,23 +1473,18 @@ const commands = {
|
|
|
1459
1473
|
UpdateProblemCommand,
|
|
1460
1474
|
UpdateWorkloadCommand,
|
|
1461
1475
|
};
|
|
1476
|
+
const paginators = {
|
|
1477
|
+
paginateListApplications,
|
|
1478
|
+
paginateListComponents,
|
|
1479
|
+
paginateListConfigurationHistory,
|
|
1480
|
+
paginateListLogPatterns,
|
|
1481
|
+
paginateListLogPatternSets,
|
|
1482
|
+
paginateListProblems,
|
|
1483
|
+
paginateListWorkloads,
|
|
1484
|
+
};
|
|
1462
1485
|
class ApplicationInsights extends ApplicationInsightsClient {
|
|
1463
1486
|
}
|
|
1464
|
-
smithyClient.createAggregatedClient(commands, ApplicationInsights);
|
|
1465
|
-
|
|
1466
|
-
const paginateListApplications = core.createPaginator(ApplicationInsightsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1467
|
-
|
|
1468
|
-
const paginateListComponents = core.createPaginator(ApplicationInsightsClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1469
|
-
|
|
1470
|
-
const paginateListConfigurationHistory = core.createPaginator(ApplicationInsightsClient, ListConfigurationHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
1471
|
-
|
|
1472
|
-
const paginateListLogPatterns = core.createPaginator(ApplicationInsightsClient, ListLogPatternsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1473
|
-
|
|
1474
|
-
const paginateListLogPatternSets = core.createPaginator(ApplicationInsightsClient, ListLogPatternSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1475
|
-
|
|
1476
|
-
const paginateListProblems = core.createPaginator(ApplicationInsightsClient, ListProblemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1477
|
-
|
|
1478
|
-
const paginateListWorkloads = core.createPaginator(ApplicationInsightsClient, ListWorkloadsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1487
|
+
smithyClient.createAggregatedClient(commands, ApplicationInsights, { paginators });
|
|
1479
1488
|
|
|
1480
1489
|
const Tier = {
|
|
1481
1490
|
ACTIVE_DIRECTORY: "ACTIVE_DIRECTORY",
|
|
@@ -33,6 +33,13 @@ import { UpdateComponentConfigurationCommand, } from "./commands/UpdateComponent
|
|
|
33
33
|
import { UpdateLogPatternCommand, } from "./commands/UpdateLogPatternCommand";
|
|
34
34
|
import { UpdateProblemCommand, } from "./commands/UpdateProblemCommand";
|
|
35
35
|
import { UpdateWorkloadCommand, } from "./commands/UpdateWorkloadCommand";
|
|
36
|
+
import { paginateListApplications } from "./pagination/ListApplicationsPaginator";
|
|
37
|
+
import { paginateListComponents } from "./pagination/ListComponentsPaginator";
|
|
38
|
+
import { paginateListConfigurationHistory } from "./pagination/ListConfigurationHistoryPaginator";
|
|
39
|
+
import { paginateListLogPatternSets } from "./pagination/ListLogPatternSetsPaginator";
|
|
40
|
+
import { paginateListLogPatterns } from "./pagination/ListLogPatternsPaginator";
|
|
41
|
+
import { paginateListProblems } from "./pagination/ListProblemsPaginator";
|
|
42
|
+
import { paginateListWorkloads } from "./pagination/ListWorkloadsPaginator";
|
|
36
43
|
const commands = {
|
|
37
44
|
AddWorkloadCommand,
|
|
38
45
|
CreateApplicationCommand,
|
|
@@ -68,6 +75,15 @@ const commands = {
|
|
|
68
75
|
UpdateProblemCommand,
|
|
69
76
|
UpdateWorkloadCommand,
|
|
70
77
|
};
|
|
78
|
+
const paginators = {
|
|
79
|
+
paginateListApplications,
|
|
80
|
+
paginateListComponents,
|
|
81
|
+
paginateListConfigurationHistory,
|
|
82
|
+
paginateListLogPatterns,
|
|
83
|
+
paginateListLogPatternSets,
|
|
84
|
+
paginateListProblems,
|
|
85
|
+
paginateListWorkloads,
|
|
86
|
+
};
|
|
71
87
|
export class ApplicationInsights extends ApplicationInsightsClient {
|
|
72
88
|
}
|
|
73
|
-
createAggregatedClient(commands, ApplicationInsights);
|
|
89
|
+
createAggregatedClient(commands, ApplicationInsights, { 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 { ApplicationInsightsClient } from "./ApplicationInsightsClient";
|
|
3
3
|
import { AddWorkloadCommandInput, AddWorkloadCommandOutput } from "./commands/AddWorkloadCommand";
|
|
4
4
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
@@ -236,6 +236,55 @@ export interface ApplicationInsights {
|
|
|
236
236
|
updateWorkload(args: UpdateWorkloadCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkloadCommandOutput>;
|
|
237
237
|
updateWorkload(args: UpdateWorkloadCommandInput, cb: (err: any, data?: UpdateWorkloadCommandOutput) => void): void;
|
|
238
238
|
updateWorkload(args: UpdateWorkloadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkloadCommandOutput) => void): void;
|
|
239
|
+
/**
|
|
240
|
+
* @see {@link ListApplicationsCommand}
|
|
241
|
+
* @param args - command input.
|
|
242
|
+
* @param paginationConfig - optional pagination config.
|
|
243
|
+
* @returns AsyncIterable of {@link ListApplicationsCommandOutput}.
|
|
244
|
+
*/
|
|
245
|
+
paginateListApplications(args?: ListApplicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationsCommandOutput>;
|
|
246
|
+
/**
|
|
247
|
+
* @see {@link ListComponentsCommand}
|
|
248
|
+
* @param args - command input.
|
|
249
|
+
* @param paginationConfig - optional pagination config.
|
|
250
|
+
* @returns AsyncIterable of {@link ListComponentsCommandOutput}.
|
|
251
|
+
*/
|
|
252
|
+
paginateListComponents(args: ListComponentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListComponentsCommandOutput>;
|
|
253
|
+
/**
|
|
254
|
+
* @see {@link ListConfigurationHistoryCommand}
|
|
255
|
+
* @param args - command input.
|
|
256
|
+
* @param paginationConfig - optional pagination config.
|
|
257
|
+
* @returns AsyncIterable of {@link ListConfigurationHistoryCommandOutput}.
|
|
258
|
+
*/
|
|
259
|
+
paginateListConfigurationHistory(args?: ListConfigurationHistoryCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConfigurationHistoryCommandOutput>;
|
|
260
|
+
/**
|
|
261
|
+
* @see {@link ListLogPatternsCommand}
|
|
262
|
+
* @param args - command input.
|
|
263
|
+
* @param paginationConfig - optional pagination config.
|
|
264
|
+
* @returns AsyncIterable of {@link ListLogPatternsCommandOutput}.
|
|
265
|
+
*/
|
|
266
|
+
paginateListLogPatterns(args: ListLogPatternsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLogPatternsCommandOutput>;
|
|
267
|
+
/**
|
|
268
|
+
* @see {@link ListLogPatternSetsCommand}
|
|
269
|
+
* @param args - command input.
|
|
270
|
+
* @param paginationConfig - optional pagination config.
|
|
271
|
+
* @returns AsyncIterable of {@link ListLogPatternSetsCommandOutput}.
|
|
272
|
+
*/
|
|
273
|
+
paginateListLogPatternSets(args: ListLogPatternSetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLogPatternSetsCommandOutput>;
|
|
274
|
+
/**
|
|
275
|
+
* @see {@link ListProblemsCommand}
|
|
276
|
+
* @param args - command input.
|
|
277
|
+
* @param paginationConfig - optional pagination config.
|
|
278
|
+
* @returns AsyncIterable of {@link ListProblemsCommandOutput}.
|
|
279
|
+
*/
|
|
280
|
+
paginateListProblems(args?: ListProblemsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProblemsCommandOutput>;
|
|
281
|
+
/**
|
|
282
|
+
* @see {@link ListWorkloadsCommand}
|
|
283
|
+
* @param args - command input.
|
|
284
|
+
* @param paginationConfig - optional pagination config.
|
|
285
|
+
* @returns AsyncIterable of {@link ListWorkloadsCommandOutput}.
|
|
286
|
+
*/
|
|
287
|
+
paginateListWorkloads(args: ListWorkloadsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWorkloadsCommandOutput>;
|
|
239
288
|
}
|
|
240
289
|
/**
|
|
241
290
|
* <fullname>Amazon CloudWatch Application Insights</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { ApplicationInsightsClient } from "./ApplicationInsightsClient";
|
|
3
7
|
import {
|
|
4
8
|
AddWorkloadCommandInput,
|
|
@@ -572,6 +576,55 @@ export interface ApplicationInsights {
|
|
|
572
576
|
options: __HttpHandlerOptions,
|
|
573
577
|
cb: (err: any, data?: UpdateWorkloadCommandOutput) => void
|
|
574
578
|
): void;
|
|
579
|
+
paginateListApplications(
|
|
580
|
+
args?: ListApplicationsCommandInput,
|
|
581
|
+
paginationConfig?: Pick<
|
|
582
|
+
PaginationConfiguration,
|
|
583
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
584
|
+
>
|
|
585
|
+
): Paginator<ListApplicationsCommandOutput>;
|
|
586
|
+
paginateListComponents(
|
|
587
|
+
args: ListComponentsCommandInput,
|
|
588
|
+
paginationConfig?: Pick<
|
|
589
|
+
PaginationConfiguration,
|
|
590
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
591
|
+
>
|
|
592
|
+
): Paginator<ListComponentsCommandOutput>;
|
|
593
|
+
paginateListConfigurationHistory(
|
|
594
|
+
args?: ListConfigurationHistoryCommandInput,
|
|
595
|
+
paginationConfig?: Pick<
|
|
596
|
+
PaginationConfiguration,
|
|
597
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
598
|
+
>
|
|
599
|
+
): Paginator<ListConfigurationHistoryCommandOutput>;
|
|
600
|
+
paginateListLogPatterns(
|
|
601
|
+
args: ListLogPatternsCommandInput,
|
|
602
|
+
paginationConfig?: Pick<
|
|
603
|
+
PaginationConfiguration,
|
|
604
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
605
|
+
>
|
|
606
|
+
): Paginator<ListLogPatternsCommandOutput>;
|
|
607
|
+
paginateListLogPatternSets(
|
|
608
|
+
args: ListLogPatternSetsCommandInput,
|
|
609
|
+
paginationConfig?: Pick<
|
|
610
|
+
PaginationConfiguration,
|
|
611
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
612
|
+
>
|
|
613
|
+
): Paginator<ListLogPatternSetsCommandOutput>;
|
|
614
|
+
paginateListProblems(
|
|
615
|
+
args?: ListProblemsCommandInput,
|
|
616
|
+
paginationConfig?: Pick<
|
|
617
|
+
PaginationConfiguration,
|
|
618
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
619
|
+
>
|
|
620
|
+
): Paginator<ListProblemsCommandOutput>;
|
|
621
|
+
paginateListWorkloads(
|
|
622
|
+
args: ListWorkloadsCommandInput,
|
|
623
|
+
paginationConfig?: Pick<
|
|
624
|
+
PaginationConfiguration,
|
|
625
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
626
|
+
>
|
|
627
|
+
): Paginator<ListWorkloadsCommandOutput>;
|
|
575
628
|
}
|
|
576
629
|
export declare class ApplicationInsights
|
|
577
630
|
extends ApplicationInsightsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-insights",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Insights Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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-insights",
|
|
@@ -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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
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.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
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.
|
|
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.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
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.
|
|
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.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
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",
|