@aws-sdk/client-devops-guru 3.192.0 → 3.193.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/CHANGELOG.md +11 -0
- package/dist-cjs/DevOpsGuruClient.js +11 -8
- package/dist-cjs/commands/AddNotificationChannelCommand.js +10 -0
- package/dist-cjs/commands/DeleteInsightCommand.js +10 -0
- package/dist-cjs/commands/DescribeAccountHealthCommand.js +10 -0
- package/dist-cjs/commands/DescribeAccountOverviewCommand.js +10 -0
- package/dist-cjs/commands/DescribeAnomalyCommand.js +10 -0
- package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +10 -0
- package/dist-cjs/commands/DescribeFeedbackCommand.js +10 -0
- package/dist-cjs/commands/DescribeInsightCommand.js +10 -0
- package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +10 -0
- package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +10 -0
- package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +10 -0
- package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +10 -0
- package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +10 -0
- package/dist-cjs/commands/GetCostEstimationCommand.js +10 -0
- package/dist-cjs/commands/GetResourceCollectionCommand.js +10 -0
- package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +10 -0
- package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListEventsCommand.js +10 -0
- package/dist-cjs/commands/ListInsightsCommand.js +10 -0
- package/dist-cjs/commands/ListMonitoredResourcesCommand.js +10 -0
- package/dist-cjs/commands/ListNotificationChannelsCommand.js +10 -0
- package/dist-cjs/commands/ListOrganizationInsightsCommand.js +10 -0
- package/dist-cjs/commands/ListRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/PutFeedbackCommand.js +10 -0
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js +10 -0
- package/dist-cjs/commands/SearchInsightsCommand.js +10 -0
- package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +10 -0
- package/dist-cjs/commands/StartCostEstimationCommand.js +10 -0
- package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateResourceCollectionCommand.js +10 -0
- package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +26 -0
- package/dist-cjs/protocols/Aws_restJson1.js +12 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/DevOpsGuruClient.js +12 -9
- package/dist-es/commands/AddNotificationChannelCommand.js +10 -0
- package/dist-es/commands/DeleteInsightCommand.js +10 -0
- package/dist-es/commands/DescribeAccountHealthCommand.js +10 -0
- package/dist-es/commands/DescribeAccountOverviewCommand.js +10 -0
- package/dist-es/commands/DescribeAnomalyCommand.js +10 -0
- package/dist-es/commands/DescribeEventSourcesConfigCommand.js +10 -0
- package/dist-es/commands/DescribeFeedbackCommand.js +10 -0
- package/dist-es/commands/DescribeInsightCommand.js +10 -0
- package/dist-es/commands/DescribeOrganizationHealthCommand.js +10 -0
- package/dist-es/commands/DescribeOrganizationOverviewCommand.js +10 -0
- package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +10 -0
- package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +10 -0
- package/dist-es/commands/DescribeServiceIntegrationCommand.js +10 -0
- package/dist-es/commands/GetCostEstimationCommand.js +10 -0
- package/dist-es/commands/GetResourceCollectionCommand.js +10 -0
- package/dist-es/commands/ListAnomaliesForInsightCommand.js +10 -0
- package/dist-es/commands/ListAnomalousLogGroupsCommand.js +10 -0
- package/dist-es/commands/ListEventsCommand.js +10 -0
- package/dist-es/commands/ListInsightsCommand.js +10 -0
- package/dist-es/commands/ListMonitoredResourcesCommand.js +10 -0
- package/dist-es/commands/ListNotificationChannelsCommand.js +10 -0
- package/dist-es/commands/ListOrganizationInsightsCommand.js +10 -0
- package/dist-es/commands/ListRecommendationsCommand.js +10 -0
- package/dist-es/commands/PutFeedbackCommand.js +10 -0
- package/dist-es/commands/RemoveNotificationChannelCommand.js +10 -0
- package/dist-es/commands/SearchInsightsCommand.js +10 -0
- package/dist-es/commands/SearchOrganizationInsightsCommand.js +10 -0
- package/dist-es/commands/StartCostEstimationCommand.js +10 -0
- package/dist-es/commands/UpdateEventSourcesConfigCommand.js +10 -0
- package/dist-es/commands/UpdateResourceCollectionCommand.js +10 -0
- package/dist-es/commands/UpdateServiceIntegrationCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_restJson1.js +12 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/DevOpsGuru.d.ts +1 -2
- package/dist-types/DevOpsGuruClient.d.ts +6 -9
- package/dist-types/commands/AddNotificationChannelCommand.d.ts +2 -0
- package/dist-types/commands/DeleteInsightCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAccountHealthCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAccountOverviewCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAnomalyCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +2 -0
- package/dist-types/commands/DescribeFeedbackCommand.d.ts +2 -0
- package/dist-types/commands/DescribeInsightCommand.d.ts +2 -0
- package/dist-types/commands/DescribeOrganizationHealthCommand.d.ts +2 -0
- package/dist-types/commands/DescribeOrganizationOverviewCommand.d.ts +2 -0
- package/dist-types/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +2 -0
- package/dist-types/commands/DescribeResourceCollectionHealthCommand.d.ts +2 -0
- package/dist-types/commands/DescribeServiceIntegrationCommand.d.ts +2 -0
- package/dist-types/commands/GetCostEstimationCommand.d.ts +2 -0
- package/dist-types/commands/GetResourceCollectionCommand.d.ts +2 -0
- package/dist-types/commands/ListAnomaliesForInsightCommand.d.ts +2 -0
- package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListEventsCommand.d.ts +2 -0
- package/dist-types/commands/ListInsightsCommand.d.ts +2 -0
- package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListNotificationChannelsCommand.d.ts +2 -0
- package/dist-types/commands/ListOrganizationInsightsCommand.d.ts +2 -0
- package/dist-types/commands/ListRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/PutFeedbackCommand.d.ts +2 -0
- package/dist-types/commands/RemoveNotificationChannelCommand.d.ts +2 -0
- package/dist-types/commands/SearchInsightsCommand.d.ts +3 -2
- package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +2 -0
- package/dist-types/commands/StartCostEstimationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateResourceCollectionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateServiceIntegrationCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +65 -2
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/DevOpsGuruClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddNotificationChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAccountHealthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAccountOverviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAnomalyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeFeedbackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationHealthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationOverviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeResourceCollectionHealthCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeServiceIntegrationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCostEstimationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetResourceCollectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnomaliesForInsightCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListNotificationChannelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListOrganizationInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SearchOrganizationInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartCostEstimationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateResourceCollectionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateServiceIntegrationCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +28 -26
- package/dist-cjs/endpoints.js +0 -160
- package/dist-es/endpoints.js +0 -156
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListRecommendationsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class ListRecommendationsCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRecommendationsCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutFeedbackCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class PutFeedbackCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutFeedbackCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemoveNotificationChannelCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class RemoveNotificationChannelCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveNotificationChannelCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SearchInsightsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class SearchInsightsCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchInsightsCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SearchOrganizationInsightsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class SearchOrganizationInsightsCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SearchOrganizationInsightsCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StartCostEstimationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class StartCostEstimationCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartCostEstimationCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateEventSourcesConfigCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateEventSourcesConfigCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateEventSourcesConfigCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateResourceCollectionCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateResourceCollectionCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateResourceCollectionCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateServiceIntegrationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
4
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -10,8 +11,17 @@ class UpdateServiceIntegrationCommand extends smithy_client_1.Command {
|
|
|
10
11
|
super();
|
|
11
12
|
this.input = input;
|
|
12
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
13
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
23
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateServiceIntegrationCommand.getEndpointParameterInstructions()));
|
|
15
25
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
26
|
const { logger } = configuration;
|
|
17
27
|
const clientName = "DevOpsGuruClient";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return {
|
|
7
|
+
...options,
|
|
8
|
+
useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
|
|
9
|
+
useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
|
|
10
|
+
defaultSigningName: "devops-guru",
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
exports.ruleSet = {
|
|
5
|
+
version: "1.0",
|
|
6
|
+
parameters: {
|
|
7
|
+
Region: {
|
|
8
|
+
builtIn: "AWS::Region",
|
|
9
|
+
required: false,
|
|
10
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
11
|
+
type: "String",
|
|
12
|
+
},
|
|
13
|
+
UseDualStack: {
|
|
14
|
+
builtIn: "AWS::UseDualStack",
|
|
15
|
+
required: true,
|
|
16
|
+
default: false,
|
|
17
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
18
|
+
type: "Boolean",
|
|
19
|
+
},
|
|
20
|
+
UseFIPS: {
|
|
21
|
+
builtIn: "AWS::UseFIPS",
|
|
22
|
+
required: true,
|
|
23
|
+
default: false,
|
|
24
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
25
|
+
type: "Boolean",
|
|
26
|
+
},
|
|
27
|
+
Endpoint: {
|
|
28
|
+
builtIn: "SDK::Endpoint",
|
|
29
|
+
required: false,
|
|
30
|
+
documentation: "Override the endpoint used to send this request",
|
|
31
|
+
type: "String",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
rules: [
|
|
35
|
+
{
|
|
36
|
+
conditions: [
|
|
37
|
+
{
|
|
38
|
+
fn: "aws.partition",
|
|
39
|
+
argv: [
|
|
40
|
+
{
|
|
41
|
+
ref: "Region",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
assign: "PartitionResult",
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
type: "tree",
|
|
48
|
+
rules: [
|
|
49
|
+
{
|
|
50
|
+
conditions: [
|
|
51
|
+
{
|
|
52
|
+
fn: "isSet",
|
|
53
|
+
argv: [
|
|
54
|
+
{
|
|
55
|
+
ref: "Endpoint",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
fn: "parseURL",
|
|
61
|
+
argv: [
|
|
62
|
+
{
|
|
63
|
+
ref: "Endpoint",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
assign: "url",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
type: "tree",
|
|
70
|
+
rules: [
|
|
71
|
+
{
|
|
72
|
+
conditions: [
|
|
73
|
+
{
|
|
74
|
+
fn: "booleanEquals",
|
|
75
|
+
argv: [
|
|
76
|
+
{
|
|
77
|
+
ref: "UseFIPS",
|
|
78
|
+
},
|
|
79
|
+
true,
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
conditions: [],
|
|
88
|
+
type: "tree",
|
|
89
|
+
rules: [
|
|
90
|
+
{
|
|
91
|
+
conditions: [
|
|
92
|
+
{
|
|
93
|
+
fn: "booleanEquals",
|
|
94
|
+
argv: [
|
|
95
|
+
{
|
|
96
|
+
ref: "UseDualStack",
|
|
97
|
+
},
|
|
98
|
+
true,
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
103
|
+
type: "error",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
conditions: [],
|
|
107
|
+
endpoint: {
|
|
108
|
+
url: {
|
|
109
|
+
ref: "Endpoint",
|
|
110
|
+
},
|
|
111
|
+
properties: {},
|
|
112
|
+
headers: {},
|
|
113
|
+
},
|
|
114
|
+
type: "endpoint",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
conditions: [
|
|
122
|
+
{
|
|
123
|
+
fn: "booleanEquals",
|
|
124
|
+
argv: [
|
|
125
|
+
{
|
|
126
|
+
ref: "UseFIPS",
|
|
127
|
+
},
|
|
128
|
+
true,
|
|
129
|
+
],
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
fn: "booleanEquals",
|
|
133
|
+
argv: [
|
|
134
|
+
{
|
|
135
|
+
ref: "UseDualStack",
|
|
136
|
+
},
|
|
137
|
+
true,
|
|
138
|
+
],
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
type: "tree",
|
|
142
|
+
rules: [
|
|
143
|
+
{
|
|
144
|
+
conditions: [
|
|
145
|
+
{
|
|
146
|
+
fn: "booleanEquals",
|
|
147
|
+
argv: [
|
|
148
|
+
true,
|
|
149
|
+
{
|
|
150
|
+
fn: "getAttr",
|
|
151
|
+
argv: [
|
|
152
|
+
{
|
|
153
|
+
ref: "PartitionResult",
|
|
154
|
+
},
|
|
155
|
+
"supportsFIPS",
|
|
156
|
+
],
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
fn: "booleanEquals",
|
|
162
|
+
argv: [
|
|
163
|
+
true,
|
|
164
|
+
{
|
|
165
|
+
fn: "getAttr",
|
|
166
|
+
argv: [
|
|
167
|
+
{
|
|
168
|
+
ref: "PartitionResult",
|
|
169
|
+
},
|
|
170
|
+
"supportsDualStack",
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
type: "tree",
|
|
177
|
+
rules: [
|
|
178
|
+
{
|
|
179
|
+
conditions: [],
|
|
180
|
+
endpoint: {
|
|
181
|
+
url: "https://devops-guru-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
182
|
+
properties: {},
|
|
183
|
+
headers: {},
|
|
184
|
+
},
|
|
185
|
+
type: "endpoint",
|
|
186
|
+
},
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
conditions: [],
|
|
191
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
192
|
+
type: "error",
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
conditions: [
|
|
198
|
+
{
|
|
199
|
+
fn: "booleanEquals",
|
|
200
|
+
argv: [
|
|
201
|
+
{
|
|
202
|
+
ref: "UseFIPS",
|
|
203
|
+
},
|
|
204
|
+
true,
|
|
205
|
+
],
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
type: "tree",
|
|
209
|
+
rules: [
|
|
210
|
+
{
|
|
211
|
+
conditions: [
|
|
212
|
+
{
|
|
213
|
+
fn: "booleanEquals",
|
|
214
|
+
argv: [
|
|
215
|
+
true,
|
|
216
|
+
{
|
|
217
|
+
fn: "getAttr",
|
|
218
|
+
argv: [
|
|
219
|
+
{
|
|
220
|
+
ref: "PartitionResult",
|
|
221
|
+
},
|
|
222
|
+
"supportsFIPS",
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
type: "tree",
|
|
229
|
+
rules: [
|
|
230
|
+
{
|
|
231
|
+
conditions: [],
|
|
232
|
+
type: "tree",
|
|
233
|
+
rules: [
|
|
234
|
+
{
|
|
235
|
+
conditions: [],
|
|
236
|
+
endpoint: {
|
|
237
|
+
url: "https://devops-guru-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
238
|
+
properties: {},
|
|
239
|
+
headers: {},
|
|
240
|
+
},
|
|
241
|
+
type: "endpoint",
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
conditions: [],
|
|
249
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
250
|
+
type: "error",
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
conditions: [
|
|
256
|
+
{
|
|
257
|
+
fn: "booleanEquals",
|
|
258
|
+
argv: [
|
|
259
|
+
{
|
|
260
|
+
ref: "UseDualStack",
|
|
261
|
+
},
|
|
262
|
+
true,
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
type: "tree",
|
|
267
|
+
rules: [
|
|
268
|
+
{
|
|
269
|
+
conditions: [
|
|
270
|
+
{
|
|
271
|
+
fn: "booleanEquals",
|
|
272
|
+
argv: [
|
|
273
|
+
true,
|
|
274
|
+
{
|
|
275
|
+
fn: "getAttr",
|
|
276
|
+
argv: [
|
|
277
|
+
{
|
|
278
|
+
ref: "PartitionResult",
|
|
279
|
+
},
|
|
280
|
+
"supportsDualStack",
|
|
281
|
+
],
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
],
|
|
286
|
+
type: "tree",
|
|
287
|
+
rules: [
|
|
288
|
+
{
|
|
289
|
+
conditions: [],
|
|
290
|
+
endpoint: {
|
|
291
|
+
url: "https://devops-guru.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
292
|
+
properties: {},
|
|
293
|
+
headers: {},
|
|
294
|
+
},
|
|
295
|
+
type: "endpoint",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
conditions: [],
|
|
301
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
302
|
+
type: "error",
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
conditions: [],
|
|
308
|
+
endpoint: {
|
|
309
|
+
url: "https://devops-guru.{Region}.{PartitionResult#dnsSuffix}",
|
|
310
|
+
properties: {},
|
|
311
|
+
headers: {},
|
|
312
|
+
},
|
|
313
|
+
type: "endpoint",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
},
|
|
317
|
+
],
|
|
318
|
+
};
|
|
@@ -279,7 +279,33 @@ var ResourcePermission;
|
|
|
279
279
|
})(ResourcePermission = exports.ResourcePermission || (exports.ResourcePermission = {}));
|
|
280
280
|
var ResourceTypeFilter;
|
|
281
281
|
(function (ResourceTypeFilter) {
|
|
282
|
+
ResourceTypeFilter["CLOUDFRONT_DISTRIBUTION"] = "CLOUDFRONT_DISTRIBUTION";
|
|
283
|
+
ResourceTypeFilter["DYNAMODB_TABLE"] = "DYNAMODB_TABLE";
|
|
284
|
+
ResourceTypeFilter["EC2_NAT_GATEWAY"] = "EC2_NAT_GATEWAY";
|
|
285
|
+
ResourceTypeFilter["ECS_CLUSTER"] = "ECS_CLUSTER";
|
|
286
|
+
ResourceTypeFilter["ECS_SERVICE"] = "ECS_SERVICE";
|
|
287
|
+
ResourceTypeFilter["EKS_CLUSTER"] = "EKS_CLUSTER";
|
|
288
|
+
ResourceTypeFilter["ELASTICACHE_CACHE_CLUSTER"] = "ELASTICACHE_CACHE_CLUSTER";
|
|
289
|
+
ResourceTypeFilter["ELASTICSEARCH_DOMAIN"] = "ELASTICSEARCH_DOMAIN";
|
|
290
|
+
ResourceTypeFilter["ELASTIC_BEANSTALK_ENVIRONMENT"] = "ELASTIC_BEANSTALK_ENVIRONMENT";
|
|
291
|
+
ResourceTypeFilter["ELASTIC_LOAD_BALANCER_LOAD_BALANCER"] = "ELASTIC_LOAD_BALANCER_LOAD_BALANCER";
|
|
292
|
+
ResourceTypeFilter["ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER"] = "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER";
|
|
293
|
+
ResourceTypeFilter["ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP"] = "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP";
|
|
294
|
+
ResourceTypeFilter["KINESIS_STREAM"] = "KINESIS_STREAM";
|
|
295
|
+
ResourceTypeFilter["LAMBDA_FUNCTION"] = "LAMBDA_FUNCTION";
|
|
282
296
|
ResourceTypeFilter["LOG_GROUPS"] = "LOG_GROUPS";
|
|
297
|
+
ResourceTypeFilter["OPEN_SEARCH_SERVICE_DOMAIN"] = "OPEN_SEARCH_SERVICE_DOMAIN";
|
|
298
|
+
ResourceTypeFilter["RDS_DB_CLUSTER"] = "RDS_DB_CLUSTER";
|
|
299
|
+
ResourceTypeFilter["RDS_DB_INSTANCE"] = "RDS_DB_INSTANCE";
|
|
300
|
+
ResourceTypeFilter["REDSHIFT_CLUSTER"] = "REDSHIFT_CLUSTER";
|
|
301
|
+
ResourceTypeFilter["ROUTE53_HEALTH_CHECK"] = "ROUTE53_HEALTH_CHECK";
|
|
302
|
+
ResourceTypeFilter["ROUTE53_HOSTED_ZONE"] = "ROUTE53_HOSTED_ZONE";
|
|
303
|
+
ResourceTypeFilter["S3_BUCKET"] = "S3_BUCKET";
|
|
304
|
+
ResourceTypeFilter["SAGEMAKER_ENDPOINT"] = "SAGEMAKER_ENDPOINT";
|
|
305
|
+
ResourceTypeFilter["SNS_TOPIC"] = "SNS_TOPIC";
|
|
306
|
+
ResourceTypeFilter["SQS_QUEUE"] = "SQS_QUEUE";
|
|
307
|
+
ResourceTypeFilter["STEP_FUNCTIONS_ACTIVITY"] = "STEP_FUNCTIONS_ACTIVITY";
|
|
308
|
+
ResourceTypeFilter["STEP_FUNCTIONS_STATE_MACHINE"] = "STEP_FUNCTIONS_STATE_MACHINE";
|
|
283
309
|
})(ResourceTypeFilter = exports.ResourceTypeFilter || (exports.ResourceTypeFilter = {}));
|
|
284
310
|
var Locale;
|
|
285
311
|
(function (Locale) {
|
|
@@ -830,6 +830,9 @@ const deserializeAws_restJson1DescribeAccountHealthCommand = async (output, cont
|
|
|
830
830
|
$metadata: deserializeMetadata(output),
|
|
831
831
|
});
|
|
832
832
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
833
|
+
if (data.AnalyzedResourceCount != null) {
|
|
834
|
+
contents.AnalyzedResourceCount = (0, smithy_client_1.expectLong)(data.AnalyzedResourceCount);
|
|
835
|
+
}
|
|
833
836
|
if (data.MetricsAnalyzed != null) {
|
|
834
837
|
contents.MetricsAnalyzed = (0, smithy_client_1.expectInt32)(data.MetricsAnalyzed);
|
|
835
838
|
}
|
|
@@ -2841,6 +2844,7 @@ const deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilt
|
|
|
2841
2844
|
};
|
|
2842
2845
|
const deserializeAws_restJson1CloudFormationHealth = (output, context) => {
|
|
2843
2846
|
return {
|
|
2847
|
+
AnalyzedResourceCount: (0, smithy_client_1.expectLong)(output.AnalyzedResourceCount),
|
|
2844
2848
|
Insight: output.Insight != null ? deserializeAws_restJson1InsightHealth(output.Insight, context) : undefined,
|
|
2845
2849
|
StackName: (0, smithy_client_1.expectString)(output.StackName),
|
|
2846
2850
|
};
|
|
@@ -3074,7 +3078,13 @@ const deserializeAws_restJson1LogsAnomalyDetectionIntegration = (output, context
|
|
|
3074
3078
|
};
|
|
3075
3079
|
const deserializeAws_restJson1MonitoredResourceIdentifier = (output, context) => {
|
|
3076
3080
|
return {
|
|
3081
|
+
LastUpdated: output.LastUpdated != null
|
|
3082
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdated)))
|
|
3083
|
+
: undefined,
|
|
3077
3084
|
MonitoredResourceName: (0, smithy_client_1.expectString)(output.MonitoredResourceName),
|
|
3085
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3086
|
+
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3087
|
+
: undefined,
|
|
3078
3088
|
ResourcePermission: (0, smithy_client_1.expectString)(output.ResourcePermission),
|
|
3079
3089
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3080
3090
|
};
|
|
@@ -3721,6 +3731,7 @@ const deserializeAws_restJson1ServiceCollection = (output, context) => {
|
|
|
3721
3731
|
};
|
|
3722
3732
|
const deserializeAws_restJson1ServiceHealth = (output, context) => {
|
|
3723
3733
|
return {
|
|
3734
|
+
AnalyzedResourceCount: (0, smithy_client_1.expectLong)(output.AnalyzedResourceCount),
|
|
3724
3735
|
Insight: output.Insight != null ? deserializeAws_restJson1ServiceInsightHealth(output.Insight, context) : undefined,
|
|
3725
3736
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
3726
3737
|
};
|
|
@@ -3850,6 +3861,7 @@ const deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = (outp
|
|
|
3850
3861
|
};
|
|
3851
3862
|
const deserializeAws_restJson1TagHealth = (output, context) => {
|
|
3852
3863
|
return {
|
|
3864
|
+
AnalyzedResourceCount: (0, smithy_client_1.expectLong)(output.AnalyzedResourceCount),
|
|
3853
3865
|
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3854
3866
|
Insight: output.Insight != null ? deserializeAws_restJson1InsightHealth(output.Insight, context) : undefined,
|
|
3855
3867
|
TagValue: (0, smithy_client_1.expectString)(output.TagValue),
|