@aws-sdk/client-devops-guru 3.477.0 → 3.481.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/commands/AddNotificationChannelCommand.js +18 -41
- package/dist-cjs/commands/DeleteInsightCommand.js +18 -41
- package/dist-cjs/commands/DescribeAccountHealthCommand.js +18 -41
- package/dist-cjs/commands/DescribeAccountOverviewCommand.js +18 -41
- package/dist-cjs/commands/DescribeAnomalyCommand.js +18 -41
- package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +18 -41
- package/dist-cjs/commands/DescribeFeedbackCommand.js +18 -41
- package/dist-cjs/commands/DescribeInsightCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +18 -41
- package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +18 -41
- package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +18 -41
- package/dist-cjs/commands/GetCostEstimationCommand.js +18 -41
- package/dist-cjs/commands/GetResourceCollectionCommand.js +18 -41
- package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +18 -41
- package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +18 -41
- package/dist-cjs/commands/ListEventsCommand.js +18 -41
- package/dist-cjs/commands/ListInsightsCommand.js +18 -41
- package/dist-cjs/commands/ListMonitoredResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListNotificationChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListOrganizationInsightsCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/PutFeedbackCommand.js +18 -41
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js +18 -41
- package/dist-cjs/commands/SearchInsightsCommand.js +18 -41
- package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +18 -41
- package/dist-cjs/commands/StartCostEstimationCommand.js +18 -41
- package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +18 -41
- package/dist-cjs/commands/UpdateResourceCollectionCommand.js +18 -41
- package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +2 -23
- package/dist-cjs/pagination/DescribeResourceCollectionHealthPaginator.js +2 -23
- package/dist-cjs/pagination/GetCostEstimationPaginator.js +2 -23
- package/dist-cjs/pagination/GetResourceCollectionPaginator.js +2 -23
- package/dist-cjs/pagination/ListAnomaliesForInsightPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnomalousLogGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInsightsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMonitoredResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListNotificationChannelsPaginator.js +2 -23
- package/dist-cjs/pagination/ListOrganizationInsightsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +2 -23
- package/dist-cjs/pagination/SearchInsightsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchOrganizationInsightsPaginator.js +2 -24
- package/dist-es/commands/AddNotificationChannelCommand.js +18 -41
- package/dist-es/commands/DeleteInsightCommand.js +18 -41
- package/dist-es/commands/DescribeAccountHealthCommand.js +18 -41
- package/dist-es/commands/DescribeAccountOverviewCommand.js +18 -41
- package/dist-es/commands/DescribeAnomalyCommand.js +18 -41
- package/dist-es/commands/DescribeEventSourcesConfigCommand.js +18 -41
- package/dist-es/commands/DescribeFeedbackCommand.js +18 -41
- package/dist-es/commands/DescribeInsightCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationHealthCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationOverviewCommand.js +18 -41
- package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +18 -41
- package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +18 -41
- package/dist-es/commands/DescribeServiceIntegrationCommand.js +18 -41
- package/dist-es/commands/GetCostEstimationCommand.js +18 -41
- package/dist-es/commands/GetResourceCollectionCommand.js +18 -41
- package/dist-es/commands/ListAnomaliesForInsightCommand.js +18 -41
- package/dist-es/commands/ListAnomalousLogGroupsCommand.js +18 -41
- package/dist-es/commands/ListEventsCommand.js +18 -41
- package/dist-es/commands/ListInsightsCommand.js +18 -41
- package/dist-es/commands/ListMonitoredResourcesCommand.js +18 -41
- package/dist-es/commands/ListNotificationChannelsCommand.js +18 -41
- package/dist-es/commands/ListOrganizationInsightsCommand.js +18 -41
- package/dist-es/commands/ListRecommendationsCommand.js +18 -41
- package/dist-es/commands/PutFeedbackCommand.js +18 -41
- package/dist-es/commands/RemoveNotificationChannelCommand.js +18 -41
- package/dist-es/commands/SearchInsightsCommand.js +18 -41
- package/dist-es/commands/SearchOrganizationInsightsCommand.js +18 -41
- package/dist-es/commands/StartCostEstimationCommand.js +18 -41
- package/dist-es/commands/UpdateEventSourcesConfigCommand.js +18 -41
- package/dist-es/commands/UpdateResourceCollectionCommand.js +18 -41
- package/dist-es/commands/UpdateServiceIntegrationCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +2 -22
- package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js +2 -22
- package/dist-es/pagination/GetCostEstimationPaginator.js +2 -22
- package/dist-es/pagination/GetResourceCollectionPaginator.js +2 -22
- package/dist-es/pagination/ListAnomaliesForInsightPaginator.js +2 -23
- package/dist-es/pagination/ListAnomalousLogGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListEventsPaginator.js +2 -23
- package/dist-es/pagination/ListInsightsPaginator.js +2 -23
- package/dist-es/pagination/ListMonitoredResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListNotificationChannelsPaginator.js +2 -22
- package/dist-es/pagination/ListOrganizationInsightsPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendationsPaginator.js +2 -22
- package/dist-es/pagination/SearchInsightsPaginator.js +2 -23
- package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +2 -23
- package/dist-types/commands/AddNotificationChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInsightCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAccountHealthCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAccountOverviewCommand.d.ts +6 -21
- package/dist-types/commands/DescribeAnomalyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFeedbackCommand.d.ts +6 -21
- package/dist-types/commands/DescribeInsightCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationHealthCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationOverviewCommand.d.ts +6 -21
- package/dist-types/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourceCollectionHealthCommand.d.ts +6 -21
- package/dist-types/commands/DescribeServiceIntegrationCommand.d.ts +6 -21
- package/dist-types/commands/GetCostEstimationCommand.d.ts +6 -21
- package/dist-types/commands/GetResourceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/ListAnomaliesForInsightCommand.d.ts +6 -21
- package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +6 -21
- package/dist-types/commands/ListEventsCommand.d.ts +6 -21
- package/dist-types/commands/ListInsightsCommand.d.ts +6 -21
- package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListNotificationChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListOrganizationInsightsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/PutFeedbackCommand.d.ts +6 -21
- package/dist-types/commands/RemoveNotificationChannelCommand.d.ts +6 -21
- package/dist-types/commands/SearchInsightsCommand.d.ts +6 -21
- package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +6 -21
- package/dist-types/commands/StartCostEstimationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +6 -21
- package/dist-types/commands/UpdateResourceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateServiceIntegrationCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/DescribeOrganizationResourceCollectionHealthPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeResourceCollectionHealthPaginator.d.ts +1 -1
- package/dist-types/pagination/GetCostEstimationPaginator.d.ts +1 -1
- package/dist-types/pagination/GetResourceCollectionPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnomaliesForInsightPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnomalousLogGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMonitoredResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNotificationChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchInsightsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchOrganizationInsightsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddNotificationChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeAccountHealthCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAccountOverviewCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeAnomalyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeFeedbackCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeOrganizationHealthCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeOrganizationOverviewCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeResourceCollectionHealthCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeServiceIntegrationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCostEstimationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAnomaliesForInsightCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListNotificationChannelsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListOrganizationInsightsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchInsightsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchOrganizationInsightsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartCostEstimationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateResourceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateServiceIntegrationCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/DescribeOrganizationResourceCollectionHealthPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeResourceCollectionHealthPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetCostEstimationPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetResourceCollectionPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnomaliesForInsightPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnomalousLogGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInsightsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMonitoredResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNotificationChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationInsightsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchInsightsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchOrganizationInsightsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SearchOrganizationInsightsCommand, se_SearchOrganizationInsightsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SearchOrganizationInsightsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DevOpsGuruClient";
|
|
26
|
-
const commandName = "SearchOrganizationInsightsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CapstoneControlPlaneService",
|
|
35
|
-
operation: "SearchOrganizationInsights",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SearchOrganizationInsightsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SearchOrganizationInsightsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SearchOrganizationInsightsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CapstoneControlPlaneService", "SearchOrganizationInsights", {})
|
|
19
|
+
.n("DevOpsGuruClient", "SearchOrganizationInsightsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SearchOrganizationInsightsCommand)
|
|
22
|
+
.de(de_SearchOrganizationInsightsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartCostEstimationCommand, se_StartCostEstimationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartCostEstimationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DevOpsGuruClient";
|
|
26
|
-
const commandName = "StartCostEstimationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CapstoneControlPlaneService",
|
|
35
|
-
operation: "StartCostEstimation",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartCostEstimationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartCostEstimationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartCostEstimationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CapstoneControlPlaneService", "StartCostEstimation", {})
|
|
19
|
+
.n("DevOpsGuruClient", "StartCostEstimationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartCostEstimationCommand)
|
|
22
|
+
.de(de_StartCostEstimationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateEventSourcesConfigCommand, se_UpdateEventSourcesConfigCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateEventSourcesConfigCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DevOpsGuruClient";
|
|
26
|
-
const commandName = "UpdateEventSourcesConfigCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CapstoneControlPlaneService",
|
|
35
|
-
operation: "UpdateEventSourcesConfig",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateEventSourcesConfigCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateEventSourcesConfigCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateEventSourcesConfigCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CapstoneControlPlaneService", "UpdateEventSourcesConfig", {})
|
|
19
|
+
.n("DevOpsGuruClient", "UpdateEventSourcesConfigCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEventSourcesConfigCommand)
|
|
22
|
+
.de(de_UpdateEventSourcesConfigCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateResourceCollectionCommand, se_UpdateResourceCollectionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateResourceCollectionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DevOpsGuruClient";
|
|
26
|
-
const commandName = "UpdateResourceCollectionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CapstoneControlPlaneService",
|
|
35
|
-
operation: "UpdateResourceCollection",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateResourceCollectionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateResourceCollectionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateResourceCollectionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CapstoneControlPlaneService", "UpdateResourceCollection", {})
|
|
19
|
+
.n("DevOpsGuruClient", "UpdateResourceCollectionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateResourceCollectionCommand)
|
|
22
|
+
.de(de_UpdateResourceCollectionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateServiceIntegrationCommand, se_UpdateServiceIntegrationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateServiceIntegrationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DevOpsGuruClient";
|
|
26
|
-
const commandName = "UpdateServiceIntegrationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CapstoneControlPlaneService",
|
|
35
|
-
operation: "UpdateServiceIntegration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateServiceIntegrationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateServiceIntegrationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateServiceIntegrationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CapstoneControlPlaneService", "UpdateServiceIntegration", {})
|
|
19
|
+
.n("DevOpsGuruClient", "UpdateServiceIntegrationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateServiceIntegrationCommand)
|
|
22
|
+
.de(de_UpdateServiceIntegrationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "devops-guru",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeOrganizationResourceCollectionHealthCommand, } from "../commands/DescribeOrganizationResourceCollectionHealthCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeOrganizationResourceCollectionHealthCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeOrganizationResourceCollectionHealth(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateDescribeOrganizationResourceCollectionHealth = createPaginator(DevOpsGuruClient, DescribeOrganizationResourceCollectionHealthCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { DescribeResourceCollectionHealthCommand, } from "../commands/DescribeResourceCollectionHealthCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new DescribeResourceCollectionHealthCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateDescribeResourceCollectionHealth(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateDescribeResourceCollectionHealth = createPaginator(DevOpsGuruClient, DescribeResourceCollectionHealthCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetCostEstimationCommand, } from "../commands/GetCostEstimationCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetCostEstimationCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetCostEstimation(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateGetCostEstimation = createPaginator(DevOpsGuruClient, GetCostEstimationCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetResourceCollectionCommand, } from "../commands/GetResourceCollectionCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetResourceCollectionCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetResourceCollection(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateGetResourceCollection = createPaginator(DevOpsGuruClient, GetResourceCollectionCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAnomaliesForInsightCommand, } from "../commands/ListAnomaliesForInsightCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnomaliesForInsightCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnomaliesForInsight(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnomaliesForInsight = createPaginator(DevOpsGuruClient, ListAnomaliesForInsightCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAnomalousLogGroupsCommand, } from "../commands/ListAnomalousLogGroupsCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAnomalousLogGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAnomalousLogGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAnomalousLogGroups = createPaginator(DevOpsGuruClient, ListAnomalousLogGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEventsCommand } from "../commands/ListEventsCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEvents = createPaginator(DevOpsGuruClient, ListEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListInsightsCommand, } from "../commands/ListInsightsCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListInsightsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListInsights(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListInsights = createPaginator(DevOpsGuruClient, ListInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListMonitoredResourcesCommand, } from "../commands/ListMonitoredResourcesCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListMonitoredResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListMonitoredResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListMonitoredResources = createPaginator(DevOpsGuruClient, ListMonitoredResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListNotificationChannelsCommand, } from "../commands/ListNotificationChannelsCommand";
|
|
2
3
|
import { DevOpsGuruClient } from "../DevOpsGuruClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListNotificationChannelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListNotificationChannels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof DevOpsGuruClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected DevOpsGuru | DevOpsGuruClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListNotificationChannels = createPaginator(DevOpsGuruClient, ListNotificationChannelsCommand, "NextToken", "NextToken", "");
|