@aws-sdk/client-compute-optimizer-automation 3.938.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/LICENSE +201 -0
- package/README.md +392 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +1668 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +41 -0
- package/dist-es/ComputeOptimizerAutomation.js +53 -0
- package/dist-es/ComputeOptimizerAutomationClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AssociateAccountsCommand.js +16 -0
- package/dist-es/commands/CreateAutomationRuleCommand.js +16 -0
- package/dist-es/commands/DeleteAutomationRuleCommand.js +16 -0
- package/dist-es/commands/DisassociateAccountsCommand.js +16 -0
- package/dist-es/commands/GetAutomationEventCommand.js +16 -0
- package/dist-es/commands/GetAutomationRuleCommand.js +16 -0
- package/dist-es/commands/GetEnrollmentConfigurationCommand.js +16 -0
- package/dist-es/commands/ListAccountsCommand.js +16 -0
- package/dist-es/commands/ListAutomationEventStepsCommand.js +16 -0
- package/dist-es/commands/ListAutomationEventSummariesCommand.js +16 -0
- package/dist-es/commands/ListAutomationEventsCommand.js +16 -0
- package/dist-es/commands/ListAutomationRulePreviewCommand.js +16 -0
- package/dist-es/commands/ListAutomationRulePreviewSummariesCommand.js +16 -0
- package/dist-es/commands/ListAutomationRulesCommand.js +16 -0
- package/dist-es/commands/ListRecommendedActionSummariesCommand.js +16 -0
- package/dist-es/commands/ListRecommendedActionsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
- package/dist-es/commands/RollbackAutomationEventCommand.js +16 -0
- package/dist-es/commands/StartAutomationEventCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAutomationRuleCommand.js +16 -0
- package/dist-es/commands/UpdateEnrollmentConfigurationCommand.js +16 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/ComputeOptimizerAutomationServiceException.js +8 -0
- package/dist-es/models/enums.js +74 -0
- package/dist-es/models/errors.js +145 -0
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountsPaginator.js +4 -0
- package/dist-es/pagination/ListAutomationEventStepsPaginator.js +4 -0
- package/dist-es/pagination/ListAutomationEventSummariesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomationEventsPaginator.js +4 -0
- package/dist-es/pagination/ListAutomationRulePreviewPaginator.js +4 -0
- package/dist-es/pagination/ListAutomationRulePreviewSummariesPaginator.js +4 -0
- package/dist-es/pagination/ListAutomationRulesPaginator.js +4 -0
- package/dist-es/pagination/ListRecommendedActionSummariesPaginator.js +4 -0
- package/dist-es/pagination/ListRecommendedActionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +37 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +950 -0
- package/dist-types/ComputeOptimizerAutomation.d.ts +178 -0
- package/dist-types/ComputeOptimizerAutomationClient.d.ts +219 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AssociateAccountsCommand.d.ts +112 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +294 -0
- package/dist-types/commands/DeleteAutomationRuleCommand.d.ts +104 -0
- package/dist-types/commands/DisassociateAccountsCommand.d.ts +112 -0
- package/dist-types/commands/GetAutomationEventCommand.d.ts +117 -0
- package/dist-types/commands/GetAutomationRuleCommand.d.ts +195 -0
- package/dist-types/commands/GetEnrollmentConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/ListAccountsCommand.d.ts +108 -0
- package/dist-types/commands/ListAutomationEventStepsCommand.d.ts +117 -0
- package/dist-types/commands/ListAutomationEventSummariesCommand.d.ts +130 -0
- package/dist-types/commands/ListAutomationEventsCommand.d.ts +130 -0
- package/dist-types/commands/ListAutomationRulePreviewCommand.d.ts +219 -0
- package/dist-types/commands/ListAutomationRulePreviewSummariesCommand.d.ts +186 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +133 -0
- package/dist-types/commands/ListRecommendedActionSummariesCommand.d.ts +118 -0
- package/dist-types/commands/ListRecommendedActionsCommand.d.ts +151 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +103 -0
- package/dist-types/commands/RollbackAutomationEventCommand.d.ts +106 -0
- package/dist-types/commands/StartAutomationEventCommand.d.ts +110 -0
- package/dist-types/commands/TagResourceCommand.d.ts +110 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UpdateAutomationRuleCommand.d.ts +281 -0
- package/dist-types/commands/UpdateEnrollmentConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +16 -0
- package/dist-types/models/ComputeOptimizerAutomationServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +178 -0
- package/dist-types/models/errors.d.ts +146 -0
- package/dist-types/models/models_0.d.ts +2028 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomationEventStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomationEventSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomationEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomationRulePreviewPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomationRulePreviewSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAutomationRulesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendedActionSummariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRecommendedActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/runtimeConfig.browser.d.ts +51 -0
- package/dist-types/runtimeConfig.d.ts +51 -0
- package/dist-types/runtimeConfig.native.d.ts +50 -0
- package/dist-types/runtimeConfig.shared.d.ts +22 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +141 -0
- package/dist-types/ts3.4/ComputeOptimizerAutomation.d.ts +411 -0
- package/dist-types/ts3.4/ComputeOptimizerAutomationClient.d.ts +264 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomationRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAutomationRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEnrollmentConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAutomationEventStepsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomationEventSummariesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomationEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomationRulePreviewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomationRulePreviewSummariesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRecommendedActionSummariesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRecommendedActionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RollbackAutomationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartAutomationEventCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAutomationRuleCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEnrollmentConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -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/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/models/ComputeOptimizerAutomationServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +93 -0
- package/dist-types/ts3.4/models/errors.d.ts +87 -0
- package/dist-types/ts3.4/models/models_0.d.ts +520 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomationEventStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomationEventSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomationEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomationRulePreviewPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomationRulePreviewSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAutomationRulesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendedActionSummariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRecommendedActionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +102 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +146 -0
- package/package.json +99 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import { GetAutomationRuleRequest, GetAutomationRuleResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetAutomationRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetAutomationRuleCommandInput extends GetAutomationRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetAutomationRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetAutomationRuleCommandOutput extends GetAutomationRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetAutomationRuleCommand_base: {
|
|
25
|
+
new (input: GetAutomationRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetAutomationRuleCommandInput, GetAutomationRuleCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetAutomationRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetAutomationRuleCommandInput, GetAutomationRuleCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Retrieves details about a specific automation rule. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ComputeOptimizerAutomationClient, GetAutomationRuleCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, GetAutomationRuleCommand } = require("@aws-sdk/client-compute-optimizer-automation"); // CommonJS import
|
|
36
|
+
* // import type { ComputeOptimizerAutomationClientConfig } from "@aws-sdk/client-compute-optimizer-automation";
|
|
37
|
+
* const config = {}; // type is ComputeOptimizerAutomationClientConfig
|
|
38
|
+
* const client = new ComputeOptimizerAutomationClient(config);
|
|
39
|
+
* const input = { // GetAutomationRuleRequest
|
|
40
|
+
* ruleArn: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetAutomationRuleCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetAutomationRuleResponse
|
|
45
|
+
* // ruleArn: "STRING_VALUE",
|
|
46
|
+
* // ruleId: "STRING_VALUE",
|
|
47
|
+
* // name: "STRING_VALUE",
|
|
48
|
+
* // description: "STRING_VALUE",
|
|
49
|
+
* // ruleType: "OrganizationRule" || "AccountRule",
|
|
50
|
+
* // ruleRevision: Number("long"),
|
|
51
|
+
* // accountId: "STRING_VALUE",
|
|
52
|
+
* // organizationConfiguration: { // OrganizationConfiguration
|
|
53
|
+
* // ruleApplyOrder: "BeforeAccountRules" || "AfterAccountRules",
|
|
54
|
+
* // accountIds: [ // OrganizationConfigurationAccountIds
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // priority: "STRING_VALUE",
|
|
59
|
+
* // recommendedActionTypes: [ // RecommendedActionTypeList
|
|
60
|
+
* // "SnapshotAndDeleteUnattachedEbsVolume" || "UpgradeEbsVolumeType",
|
|
61
|
+
* // ],
|
|
62
|
+
* // criteria: { // Criteria
|
|
63
|
+
* // region: [ // StringCriteriaConditionList
|
|
64
|
+
* // { // StringCriteriaCondition
|
|
65
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
66
|
+
* // values: [ // StringCriteriaValues
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // resourceArn: [
|
|
72
|
+
* // {
|
|
73
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
74
|
+
* // values: [
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // ebsVolumeType: [
|
|
80
|
+
* // {
|
|
81
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
82
|
+
* // values: [
|
|
83
|
+
* // "STRING_VALUE",
|
|
84
|
+
* // ],
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // ebsVolumeSizeInGib: [ // IntegerCriteriaConditionList
|
|
88
|
+
* // { // IntegerCriteriaCondition
|
|
89
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
90
|
+
* // values: [ // IntegerList
|
|
91
|
+
* // Number("int"),
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // estimatedMonthlySavings: [ // DoubleCriteriaConditionList
|
|
96
|
+
* // { // DoubleCriteriaCondition
|
|
97
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
98
|
+
* // values: [ // DoubleList
|
|
99
|
+
* // Number("double"),
|
|
100
|
+
* // ],
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // resourceTag: [ // ResourceTagsCriteriaConditionList
|
|
104
|
+
* // { // ResourceTagsCriteriaCondition
|
|
105
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
106
|
+
* // key: "STRING_VALUE",
|
|
107
|
+
* // values: [
|
|
108
|
+
* // "STRING_VALUE",
|
|
109
|
+
* // ],
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // lookBackPeriodInDays: [
|
|
113
|
+
* // {
|
|
114
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
115
|
+
* // values: [
|
|
116
|
+
* // Number("int"),
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // restartNeeded: [
|
|
121
|
+
* // {
|
|
122
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
123
|
+
* // values: [
|
|
124
|
+
* // "STRING_VALUE",
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // schedule: { // Schedule
|
|
130
|
+
* // scheduleExpression: "STRING_VALUE",
|
|
131
|
+
* // scheduleExpressionTimezone: "STRING_VALUE",
|
|
132
|
+
* // executionWindowInMinutes: Number("int"),
|
|
133
|
+
* // },
|
|
134
|
+
* // status: "Active" || "Inactive",
|
|
135
|
+
* // tags: [ // TagList
|
|
136
|
+
* // { // Tag
|
|
137
|
+
* // key: "STRING_VALUE", // required
|
|
138
|
+
* // value: "STRING_VALUE", // required
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // createdTimestamp: new Date("TIMESTAMP"),
|
|
142
|
+
* // lastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
143
|
+
* // };
|
|
144
|
+
*
|
|
145
|
+
* ```
|
|
146
|
+
*
|
|
147
|
+
* @param GetAutomationRuleCommandInput - {@link GetAutomationRuleCommandInput}
|
|
148
|
+
* @returns {@link GetAutomationRuleCommandOutput}
|
|
149
|
+
* @see {@link GetAutomationRuleCommandInput} for command's `input` shape.
|
|
150
|
+
* @see {@link GetAutomationRuleCommandOutput} for command's `response` shape.
|
|
151
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
154
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
157
|
+
* <p> You are not authorized to perform this action. </p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link InternalServerException} (server fault)
|
|
160
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
163
|
+
* <p> One or more parameter values are not valid. </p>
|
|
164
|
+
*
|
|
165
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
166
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
167
|
+
*
|
|
168
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
169
|
+
* <p> The specified resource was not found. </p>
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
172
|
+
* <p> The service is temporarily unavailable. </p>
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
175
|
+
* <p> The request was denied due to request throttling. </p>
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
178
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
179
|
+
*
|
|
180
|
+
*
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export declare class GetAutomationRuleCommand extends GetAutomationRuleCommand_base {
|
|
184
|
+
/** @internal type navigation helper, not in runtime. */
|
|
185
|
+
protected static __types: {
|
|
186
|
+
api: {
|
|
187
|
+
input: GetAutomationRuleRequest;
|
|
188
|
+
output: GetAutomationRuleResponse;
|
|
189
|
+
};
|
|
190
|
+
sdk: {
|
|
191
|
+
input: GetAutomationRuleCommandInput;
|
|
192
|
+
output: GetAutomationRuleCommandOutput;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import { GetEnrollmentConfigurationRequest, GetEnrollmentConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetEnrollmentConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetEnrollmentConfigurationCommandInput extends GetEnrollmentConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetEnrollmentConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEnrollmentConfigurationCommandOutput extends GetEnrollmentConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetEnrollmentConfigurationCommand_base: {
|
|
25
|
+
new (input: GetEnrollmentConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnrollmentConfigurationCommandInput, GetEnrollmentConfigurationCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetEnrollmentConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetEnrollmentConfigurationCommandInput, GetEnrollmentConfigurationCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Retrieves the current enrollment configuration for Compute Optimizer Automation. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ComputeOptimizerAutomationClient, GetEnrollmentConfigurationCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, GetEnrollmentConfigurationCommand } = require("@aws-sdk/client-compute-optimizer-automation"); // CommonJS import
|
|
36
|
+
* // import type { ComputeOptimizerAutomationClientConfig } from "@aws-sdk/client-compute-optimizer-automation";
|
|
37
|
+
* const config = {}; // type is ComputeOptimizerAutomationClientConfig
|
|
38
|
+
* const client = new ComputeOptimizerAutomationClient(config);
|
|
39
|
+
* const input = {};
|
|
40
|
+
* const command = new GetEnrollmentConfigurationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetEnrollmentConfigurationResponse
|
|
43
|
+
* // status: "Active" || "Inactive" || "Pending" || "Failed", // required
|
|
44
|
+
* // statusReason: "STRING_VALUE",
|
|
45
|
+
* // organizationRuleMode: "AnyAllowed" || "NoneAllowed",
|
|
46
|
+
* // lastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param GetEnrollmentConfigurationCommandInput - {@link GetEnrollmentConfigurationCommandInput}
|
|
52
|
+
* @returns {@link GetEnrollmentConfigurationCommandOutput}
|
|
53
|
+
* @see {@link GetEnrollmentConfigurationCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link GetEnrollmentConfigurationCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
61
|
+
* <p> You are not authorized to perform this action. </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
67
|
+
* <p> One or more parameter values are not valid. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
70
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p> The specified resource was not found. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
76
|
+
* <p> The service is temporarily unavailable. </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p> The request was denied due to request throttling. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class GetEnrollmentConfigurationCommand extends GetEnrollmentConfigurationCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: {};
|
|
92
|
+
output: GetEnrollmentConfigurationResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: GetEnrollmentConfigurationCommandInput;
|
|
96
|
+
output: GetEnrollmentConfigurationCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import { ListAccountsRequest, ListAccountsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAccountsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAccountsCommandInput extends ListAccountsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAccountsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAccountsCommandOutput extends ListAccountsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAccountsCommand_base: {
|
|
25
|
+
new (input: ListAccountsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAccountsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAccountsCommandInput, ListAccountsCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Lists the accounts in your organization that are enrolled in Compute Optimizer and whether they have enabled Automation. </p> <note> <p>Only the management account or a delegated administrator can perform this action.</p> </note>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ComputeOptimizerAutomationClient, ListAccountsCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, ListAccountsCommand } = require("@aws-sdk/client-compute-optimizer-automation"); // CommonJS import
|
|
36
|
+
* // import type { ComputeOptimizerAutomationClientConfig } from "@aws-sdk/client-compute-optimizer-automation";
|
|
37
|
+
* const config = {}; // type is ComputeOptimizerAutomationClientConfig
|
|
38
|
+
* const client = new ComputeOptimizerAutomationClient(config);
|
|
39
|
+
* const input = { // ListAccountsRequest
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListAccountsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListAccountsResponse
|
|
46
|
+
* // accounts: [ // AccountInfoList // required
|
|
47
|
+
* // { // AccountInfo
|
|
48
|
+
* // accountId: "STRING_VALUE", // required
|
|
49
|
+
* // status: "Active" || "Inactive" || "Pending" || "Failed", // required
|
|
50
|
+
* // organizationRuleMode: "AnyAllowed" || "NoneAllowed", // required
|
|
51
|
+
* // statusReason: "STRING_VALUE",
|
|
52
|
+
* // lastUpdatedTimestamp: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // nextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListAccountsCommandInput - {@link ListAccountsCommandInput}
|
|
61
|
+
* @returns {@link ListAccountsCommandOutput}
|
|
62
|
+
* @see {@link ListAccountsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListAccountsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
70
|
+
* <p> You are not authorized to perform this action. </p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
76
|
+
* <p> One or more parameter values are not valid. </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NotManagementAccountException} (client fault)
|
|
79
|
+
* <p> The operation can only be performed by a management account. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
82
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
85
|
+
* <p> The service is temporarily unavailable. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p> The request was denied due to request throttling. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class ListAccountsCommand extends ListAccountsCommand_base {
|
|
97
|
+
/** @internal type navigation helper, not in runtime. */
|
|
98
|
+
protected static __types: {
|
|
99
|
+
api: {
|
|
100
|
+
input: ListAccountsRequest;
|
|
101
|
+
output: ListAccountsResponse;
|
|
102
|
+
};
|
|
103
|
+
sdk: {
|
|
104
|
+
input: ListAccountsCommandInput;
|
|
105
|
+
output: ListAccountsCommandOutput;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import { ListAutomationEventStepsRequest, ListAutomationEventStepsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAutomationEventStepsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAutomationEventStepsCommandInput extends ListAutomationEventStepsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAutomationEventStepsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAutomationEventStepsCommandOutput extends ListAutomationEventStepsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAutomationEventStepsCommand_base: {
|
|
25
|
+
new (input: ListAutomationEventStepsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomationEventStepsCommandInput, ListAutomationEventStepsCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListAutomationEventStepsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomationEventStepsCommandInput, ListAutomationEventStepsCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the steps for a specific automation event. You can only list steps for events created within the past year. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ComputeOptimizerAutomationClient, ListAutomationEventStepsCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, ListAutomationEventStepsCommand } = require("@aws-sdk/client-compute-optimizer-automation"); // CommonJS import
|
|
36
|
+
* // import type { ComputeOptimizerAutomationClientConfig } from "@aws-sdk/client-compute-optimizer-automation";
|
|
37
|
+
* const config = {}; // type is ComputeOptimizerAutomationClientConfig
|
|
38
|
+
* const client = new ComputeOptimizerAutomationClient(config);
|
|
39
|
+
* const input = { // ListAutomationEventStepsRequest
|
|
40
|
+
* eventId: "STRING_VALUE", // required
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListAutomationEventStepsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListAutomationEventStepsResponse
|
|
47
|
+
* // automationEventSteps: [ // AutomationEventSteps
|
|
48
|
+
* // { // AutomationEventStep
|
|
49
|
+
* // eventId: "STRING_VALUE",
|
|
50
|
+
* // stepId: "STRING_VALUE",
|
|
51
|
+
* // stepType: "CreateEbsSnapshot" || "DeleteEbsVolume" || "ModifyEbsVolume" || "CreateEbsVolume",
|
|
52
|
+
* // stepStatus: "Ready" || "InProgress" || "Complete" || "Failed",
|
|
53
|
+
* // resourceId: "STRING_VALUE",
|
|
54
|
+
* // startTimestamp: new Date("TIMESTAMP"),
|
|
55
|
+
* // completedTimestamp: new Date("TIMESTAMP"),
|
|
56
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
57
|
+
* // currency: "STRING_VALUE", // required
|
|
58
|
+
* // beforeDiscountSavings: Number("double"), // required
|
|
59
|
+
* // afterDiscountSavings: Number("double"), // required
|
|
60
|
+
* // savingsEstimationMode: "BeforeDiscount" || "AfterDiscount", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // nextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListAutomationEventStepsCommandInput - {@link ListAutomationEventStepsCommandInput}
|
|
70
|
+
* @returns {@link ListAutomationEventStepsCommandOutput}
|
|
71
|
+
* @see {@link ListAutomationEventStepsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListAutomationEventStepsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
79
|
+
* <p> You are not authorized to perform this action. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
85
|
+
* <p> One or more parameter values are not valid. </p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
88
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
91
|
+
* <p> The specified resource was not found. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
94
|
+
* <p> The service is temporarily unavailable. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p> The request was denied due to request throttling. </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
101
|
+
*
|
|
102
|
+
*
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export declare class ListAutomationEventStepsCommand extends ListAutomationEventStepsCommand_base {
|
|
106
|
+
/** @internal type navigation helper, not in runtime. */
|
|
107
|
+
protected static __types: {
|
|
108
|
+
api: {
|
|
109
|
+
input: ListAutomationEventStepsRequest;
|
|
110
|
+
output: ListAutomationEventStepsResponse;
|
|
111
|
+
};
|
|
112
|
+
sdk: {
|
|
113
|
+
input: ListAutomationEventStepsCommandInput;
|
|
114
|
+
output: ListAutomationEventStepsCommandOutput;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerAutomationClient";
|
|
4
|
+
import { ListAutomationEventSummariesRequest, ListAutomationEventSummariesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListAutomationEventSummariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListAutomationEventSummariesCommandInput extends ListAutomationEventSummariesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListAutomationEventSummariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListAutomationEventSummariesCommandOutput extends ListAutomationEventSummariesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListAutomationEventSummariesCommand_base: {
|
|
25
|
+
new (input: ListAutomationEventSummariesCommandInput): import("@smithy/smithy-client").CommandImpl<ListAutomationEventSummariesCommandInput, ListAutomationEventSummariesCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListAutomationEventSummariesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAutomationEventSummariesCommandInput, ListAutomationEventSummariesCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Provides a summary of automation events based on specified filters. Only events created within the past year will be included in the summary. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ComputeOptimizerAutomationClient, ListAutomationEventSummariesCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, ListAutomationEventSummariesCommand } = require("@aws-sdk/client-compute-optimizer-automation"); // CommonJS import
|
|
36
|
+
* // import type { ComputeOptimizerAutomationClientConfig } from "@aws-sdk/client-compute-optimizer-automation";
|
|
37
|
+
* const config = {}; // type is ComputeOptimizerAutomationClientConfig
|
|
38
|
+
* const client = new ComputeOptimizerAutomationClient(config);
|
|
39
|
+
* const input = { // ListAutomationEventSummariesRequest
|
|
40
|
+
* filters: [ // AutomationEventFilterList
|
|
41
|
+
* { // AutomationEventFilter
|
|
42
|
+
* name: "STRING_VALUE", // required
|
|
43
|
+
* values: [ // FilterValues // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* startDateInclusive: "STRING_VALUE",
|
|
49
|
+
* endDateExclusive: "STRING_VALUE",
|
|
50
|
+
* maxResults: Number("int"),
|
|
51
|
+
* nextToken: "STRING_VALUE",
|
|
52
|
+
* };
|
|
53
|
+
* const command = new ListAutomationEventSummariesCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // ListAutomationEventSummariesResponse
|
|
56
|
+
* // automationEventSummaries: [ // AutomationEventSummaryList
|
|
57
|
+
* // { // AutomationEventSummary
|
|
58
|
+
* // key: "STRING_VALUE",
|
|
59
|
+
* // dimensions: [ // SummaryDimensions
|
|
60
|
+
* // { // SummaryDimension
|
|
61
|
+
* // key: "STRING_VALUE", // required
|
|
62
|
+
* // value: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // timePeriod: { // TimePeriod
|
|
66
|
+
* // startTimeInclusive: new Date("TIMESTAMP"),
|
|
67
|
+
* // endTimeExclusive: new Date("TIMESTAMP"),
|
|
68
|
+
* // },
|
|
69
|
+
* // total: { // SummaryTotals
|
|
70
|
+
* // automationEventCount: Number("int"),
|
|
71
|
+
* // estimatedMonthlySavings: { // EstimatedMonthlySavings
|
|
72
|
+
* // currency: "STRING_VALUE", // required
|
|
73
|
+
* // beforeDiscountSavings: Number("double"), // required
|
|
74
|
+
* // afterDiscountSavings: Number("double"), // required
|
|
75
|
+
* // savingsEstimationMode: "BeforeDiscount" || "AfterDiscount", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // nextToken: "STRING_VALUE",
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @param ListAutomationEventSummariesCommandInput - {@link ListAutomationEventSummariesCommandInput}
|
|
86
|
+
* @returns {@link ListAutomationEventSummariesCommandOutput}
|
|
87
|
+
* @see {@link ListAutomationEventSummariesCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link ListAutomationEventSummariesCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
92
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
95
|
+
* <p> You are not authorized to perform this action. </p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link InternalServerException} (server fault)
|
|
98
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
101
|
+
* <p> One or more parameter values are not valid. </p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
104
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
107
|
+
* <p> The service is temporarily unavailable. </p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
110
|
+
* <p> The request was denied due to request throttling. </p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
114
|
+
*
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class ListAutomationEventSummariesCommand extends ListAutomationEventSummariesCommand_base {
|
|
119
|
+
/** @internal type navigation helper, not in runtime. */
|
|
120
|
+
protected static __types: {
|
|
121
|
+
api: {
|
|
122
|
+
input: ListAutomationEventSummariesRequest;
|
|
123
|
+
output: ListAutomationEventSummariesResponse;
|
|
124
|
+
};
|
|
125
|
+
sdk: {
|
|
126
|
+
input: ListAutomationEventSummariesCommandInput;
|
|
127
|
+
output: ListAutomationEventSummariesCommandOutput;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}
|