@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,110 @@
|
|
|
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 { StartAutomationEventRequest, StartAutomationEventResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartAutomationEventCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartAutomationEventCommandInput extends StartAutomationEventRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartAutomationEventCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartAutomationEventCommandOutput extends StartAutomationEventResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartAutomationEventCommand_base: {
|
|
25
|
+
new (input: StartAutomationEventCommandInput): import("@smithy/smithy-client").CommandImpl<StartAutomationEventCommandInput, StartAutomationEventCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartAutomationEventCommandInput): import("@smithy/smithy-client").CommandImpl<StartAutomationEventCommandInput, StartAutomationEventCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Initiates a one-time, on-demand automation for the specified recommended action. </p> <note> <p>Management accounts and delegated administrators can only initiate recommended actions for associated member accounts. You can associate a member account using <code>AssociateAccounts</code>.</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, StartAutomationEventCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, StartAutomationEventCommand } = 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 = { // StartAutomationEventRequest
|
|
40
|
+
* recommendedActionId: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new StartAutomationEventCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // StartAutomationEventResponse
|
|
46
|
+
* // recommendedActionId: "STRING_VALUE",
|
|
47
|
+
* // eventId: "STRING_VALUE",
|
|
48
|
+
* // eventStatus: "Ready" || "InProgress" || "Complete" || "Failed" || "Cancelled" || "RollbackReady" || "RollbackInProgress" || "RollbackComplete" || "RollbackFailed",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param StartAutomationEventCommandInput - {@link StartAutomationEventCommandInput}
|
|
54
|
+
* @returns {@link StartAutomationEventCommandOutput}
|
|
55
|
+
* @see {@link StartAutomationEventCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link StartAutomationEventCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
63
|
+
* <p> You are not authorized to perform this action. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link IdempotencyTokenInUseException} (client fault)
|
|
66
|
+
* <p> The specified client token is already in use. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
69
|
+
* <p>Exception thrown when the same client token is used with different parameters, indicating a mismatch in idempotent request parameters.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
75
|
+
* <p> One or more parameter values are not valid. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
78
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p> The specified resource was not found. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
84
|
+
* <p> The request would exceed service quotas. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
87
|
+
* <p> The service is temporarily unavailable. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p> The request was denied due to request throttling. </p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class StartAutomationEventCommand extends StartAutomationEventCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: StartAutomationEventRequest;
|
|
103
|
+
output: StartAutomationEventResponse;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: StartAutomationEventCommandInput;
|
|
107
|
+
output: StartAutomationEventCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Adds tags to the specified resource. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ComputeOptimizerAutomationClient, TagResourceCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, TagResourceCommand } = 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 = { // TagResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* ruleRevision: Number("long"), // required
|
|
42
|
+
* tags: [ // TagList // required
|
|
43
|
+
* { // Tag
|
|
44
|
+
* key: "STRING_VALUE", // required
|
|
45
|
+
* value: "STRING_VALUE", // required
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* clientToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new TagResourceCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // {};
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
57
|
+
* @returns {@link TagResourceCommandOutput}
|
|
58
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
66
|
+
* <p> You are not authorized to perform this action. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link IdempotencyTokenInUseException} (client fault)
|
|
69
|
+
* <p> The specified client token is already in use. </p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
72
|
+
* <p>Exception thrown when the same client token is used with different parameters, indicating a mismatch in idempotent request parameters.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
78
|
+
* <p> One or more parameter values are not valid. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
81
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p> The specified resource was not found. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
87
|
+
* <p> The service is temporarily unavailable. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p> The request was denied due to request throttling. </p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: TagResourceRequest;
|
|
103
|
+
output: {};
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: TagResourceCommandInput;
|
|
107
|
+
output: TagResourceCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Removes tags from the specified resource. </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ComputeOptimizerAutomationClient, UntagResourceCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, UntagResourceCommand } = 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 = { // UntagResourceRequest
|
|
40
|
+
* resourceArn: "STRING_VALUE", // required
|
|
41
|
+
* ruleRevision: Number("long"), // required
|
|
42
|
+
* tagKeys: [ // TagKeyList // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* clientToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UntagResourceCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
54
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
55
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
63
|
+
* <p> You are not authorized to perform this action. </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link IdempotencyTokenInUseException} (client fault)
|
|
66
|
+
* <p> The specified client token is already in use. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
69
|
+
* <p>Exception thrown when the same client token is used with different parameters, indicating a mismatch in idempotent request parameters.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
75
|
+
* <p> One or more parameter values are not valid. </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
78
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p> The specified resource was not found. </p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
84
|
+
* <p> The service is temporarily unavailable. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p> The request was denied due to request throttling. </p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: UntagResourceRequest;
|
|
100
|
+
output: {};
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: UntagResourceCommandInput;
|
|
104
|
+
output: UntagResourceCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
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 { UpdateAutomationRuleRequest, UpdateAutomationRuleResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateAutomationRuleCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateAutomationRuleCommandInput extends UpdateAutomationRuleRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateAutomationRuleCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateAutomationRuleCommandOutput extends UpdateAutomationRuleResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateAutomationRuleCommand_base: {
|
|
25
|
+
new (input: UpdateAutomationRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomationRuleCommandInput, UpdateAutomationRuleCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateAutomationRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAutomationRuleCommandInput, UpdateAutomationRuleCommandOutput, ComputeOptimizerAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p> Updates an existing 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, UpdateAutomationRuleCommand } from "@aws-sdk/client-compute-optimizer-automation"; // ES Modules import
|
|
35
|
+
* // const { ComputeOptimizerAutomationClient, UpdateAutomationRuleCommand } = 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 = { // UpdateAutomationRuleRequest
|
|
40
|
+
* ruleArn: "STRING_VALUE", // required
|
|
41
|
+
* ruleRevision: Number("long"), // required
|
|
42
|
+
* name: "STRING_VALUE",
|
|
43
|
+
* description: "STRING_VALUE",
|
|
44
|
+
* ruleType: "OrganizationRule" || "AccountRule",
|
|
45
|
+
* organizationConfiguration: { // OrganizationConfiguration
|
|
46
|
+
* ruleApplyOrder: "BeforeAccountRules" || "AfterAccountRules",
|
|
47
|
+
* accountIds: [ // OrganizationConfigurationAccountIds
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* priority: "STRING_VALUE",
|
|
52
|
+
* recommendedActionTypes: [ // RecommendedActionTypeList
|
|
53
|
+
* "SnapshotAndDeleteUnattachedEbsVolume" || "UpgradeEbsVolumeType",
|
|
54
|
+
* ],
|
|
55
|
+
* criteria: { // Criteria
|
|
56
|
+
* region: [ // StringCriteriaConditionList
|
|
57
|
+
* { // StringCriteriaCondition
|
|
58
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
59
|
+
* values: [ // StringCriteriaValues
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* resourceArn: [
|
|
65
|
+
* {
|
|
66
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
67
|
+
* values: [
|
|
68
|
+
* "STRING_VALUE",
|
|
69
|
+
* ],
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* ebsVolumeType: [
|
|
73
|
+
* {
|
|
74
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
75
|
+
* values: [
|
|
76
|
+
* "STRING_VALUE",
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* ],
|
|
80
|
+
* ebsVolumeSizeInGib: [ // IntegerCriteriaConditionList
|
|
81
|
+
* { // IntegerCriteriaCondition
|
|
82
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
83
|
+
* values: [ // IntegerList
|
|
84
|
+
* Number("int"),
|
|
85
|
+
* ],
|
|
86
|
+
* },
|
|
87
|
+
* ],
|
|
88
|
+
* estimatedMonthlySavings: [ // DoubleCriteriaConditionList
|
|
89
|
+
* { // DoubleCriteriaCondition
|
|
90
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
91
|
+
* values: [ // DoubleList
|
|
92
|
+
* Number("double"),
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* resourceTag: [ // ResourceTagsCriteriaConditionList
|
|
97
|
+
* { // ResourceTagsCriteriaCondition
|
|
98
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
99
|
+
* key: "STRING_VALUE",
|
|
100
|
+
* values: [
|
|
101
|
+
* "STRING_VALUE",
|
|
102
|
+
* ],
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* lookBackPeriodInDays: [
|
|
106
|
+
* {
|
|
107
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
108
|
+
* values: [
|
|
109
|
+
* Number("int"),
|
|
110
|
+
* ],
|
|
111
|
+
* },
|
|
112
|
+
* ],
|
|
113
|
+
* restartNeeded: [
|
|
114
|
+
* {
|
|
115
|
+
* comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
116
|
+
* values: [
|
|
117
|
+
* "STRING_VALUE",
|
|
118
|
+
* ],
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* },
|
|
122
|
+
* schedule: { // Schedule
|
|
123
|
+
* scheduleExpression: "STRING_VALUE",
|
|
124
|
+
* scheduleExpressionTimezone: "STRING_VALUE",
|
|
125
|
+
* executionWindowInMinutes: Number("int"),
|
|
126
|
+
* },
|
|
127
|
+
* status: "Active" || "Inactive",
|
|
128
|
+
* clientToken: "STRING_VALUE",
|
|
129
|
+
* };
|
|
130
|
+
* const command = new UpdateAutomationRuleCommand(input);
|
|
131
|
+
* const response = await client.send(command);
|
|
132
|
+
* // { // UpdateAutomationRuleResponse
|
|
133
|
+
* // ruleArn: "STRING_VALUE",
|
|
134
|
+
* // ruleRevision: Number("long"),
|
|
135
|
+
* // name: "STRING_VALUE",
|
|
136
|
+
* // description: "STRING_VALUE",
|
|
137
|
+
* // ruleType: "OrganizationRule" || "AccountRule",
|
|
138
|
+
* // organizationConfiguration: { // OrganizationConfiguration
|
|
139
|
+
* // ruleApplyOrder: "BeforeAccountRules" || "AfterAccountRules",
|
|
140
|
+
* // accountIds: [ // OrganizationConfigurationAccountIds
|
|
141
|
+
* // "STRING_VALUE",
|
|
142
|
+
* // ],
|
|
143
|
+
* // },
|
|
144
|
+
* // priority: "STRING_VALUE",
|
|
145
|
+
* // recommendedActionTypes: [ // RecommendedActionTypeList
|
|
146
|
+
* // "SnapshotAndDeleteUnattachedEbsVolume" || "UpgradeEbsVolumeType",
|
|
147
|
+
* // ],
|
|
148
|
+
* // criteria: { // Criteria
|
|
149
|
+
* // region: [ // StringCriteriaConditionList
|
|
150
|
+
* // { // StringCriteriaCondition
|
|
151
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
152
|
+
* // values: [ // StringCriteriaValues
|
|
153
|
+
* // "STRING_VALUE",
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // resourceArn: [
|
|
158
|
+
* // {
|
|
159
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
160
|
+
* // values: [
|
|
161
|
+
* // "STRING_VALUE",
|
|
162
|
+
* // ],
|
|
163
|
+
* // },
|
|
164
|
+
* // ],
|
|
165
|
+
* // ebsVolumeType: [
|
|
166
|
+
* // {
|
|
167
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
168
|
+
* // values: [
|
|
169
|
+
* // "STRING_VALUE",
|
|
170
|
+
* // ],
|
|
171
|
+
* // },
|
|
172
|
+
* // ],
|
|
173
|
+
* // ebsVolumeSizeInGib: [ // IntegerCriteriaConditionList
|
|
174
|
+
* // { // IntegerCriteriaCondition
|
|
175
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
176
|
+
* // values: [ // IntegerList
|
|
177
|
+
* // Number("int"),
|
|
178
|
+
* // ],
|
|
179
|
+
* // },
|
|
180
|
+
* // ],
|
|
181
|
+
* // estimatedMonthlySavings: [ // DoubleCriteriaConditionList
|
|
182
|
+
* // { // DoubleCriteriaCondition
|
|
183
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
184
|
+
* // values: [ // DoubleList
|
|
185
|
+
* // Number("double"),
|
|
186
|
+
* // ],
|
|
187
|
+
* // },
|
|
188
|
+
* // ],
|
|
189
|
+
* // resourceTag: [ // ResourceTagsCriteriaConditionList
|
|
190
|
+
* // { // ResourceTagsCriteriaCondition
|
|
191
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
192
|
+
* // key: "STRING_VALUE",
|
|
193
|
+
* // values: [
|
|
194
|
+
* // "STRING_VALUE",
|
|
195
|
+
* // ],
|
|
196
|
+
* // },
|
|
197
|
+
* // ],
|
|
198
|
+
* // lookBackPeriodInDays: [
|
|
199
|
+
* // {
|
|
200
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
201
|
+
* // values: [
|
|
202
|
+
* // Number("int"),
|
|
203
|
+
* // ],
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // restartNeeded: [
|
|
207
|
+
* // {
|
|
208
|
+
* // comparison: "StringEquals" || "StringNotEquals" || "StringEqualsIgnoreCase" || "StringNotEqualsIgnoreCase" || "StringLike" || "StringNotLike" || "NumericEquals" || "NumericNotEquals" || "NumericLessThan" || "NumericLessThanEquals" || "NumericGreaterThan" || "NumericGreaterThanEquals",
|
|
209
|
+
* // values: [
|
|
210
|
+
* // "STRING_VALUE",
|
|
211
|
+
* // ],
|
|
212
|
+
* // },
|
|
213
|
+
* // ],
|
|
214
|
+
* // },
|
|
215
|
+
* // schedule: { // Schedule
|
|
216
|
+
* // scheduleExpression: "STRING_VALUE",
|
|
217
|
+
* // scheduleExpressionTimezone: "STRING_VALUE",
|
|
218
|
+
* // executionWindowInMinutes: Number("int"),
|
|
219
|
+
* // },
|
|
220
|
+
* // status: "Active" || "Inactive",
|
|
221
|
+
* // createdTimestamp: new Date("TIMESTAMP"),
|
|
222
|
+
* // lastUpdatedTimestamp: new Date("TIMESTAMP"),
|
|
223
|
+
* // };
|
|
224
|
+
*
|
|
225
|
+
* ```
|
|
226
|
+
*
|
|
227
|
+
* @param UpdateAutomationRuleCommandInput - {@link UpdateAutomationRuleCommandInput}
|
|
228
|
+
* @returns {@link UpdateAutomationRuleCommandOutput}
|
|
229
|
+
* @see {@link UpdateAutomationRuleCommandInput} for command's `input` shape.
|
|
230
|
+
* @see {@link UpdateAutomationRuleCommandOutput} for command's `response` shape.
|
|
231
|
+
* @see {@link ComputeOptimizerAutomationClientResolvedConfig | config} for ComputeOptimizerAutomationClient's `config` shape.
|
|
232
|
+
*
|
|
233
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
234
|
+
* <p> You do not have sufficient permissions to perform this action. </p>
|
|
235
|
+
*
|
|
236
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
237
|
+
* <p> You are not authorized to perform this action. </p>
|
|
238
|
+
*
|
|
239
|
+
* @throws {@link IdempotencyTokenInUseException} (client fault)
|
|
240
|
+
* <p> The specified client token is already in use. </p>
|
|
241
|
+
*
|
|
242
|
+
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
243
|
+
* <p>Exception thrown when the same client token is used with different parameters, indicating a mismatch in idempotent request parameters.</p>
|
|
244
|
+
*
|
|
245
|
+
* @throws {@link InternalServerException} (server fault)
|
|
246
|
+
* <p> An internal error occurred while processing the request. </p>
|
|
247
|
+
*
|
|
248
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
249
|
+
* <p> One or more parameter values are not valid. </p>
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link OptInRequiredException} (client fault)
|
|
252
|
+
* <p> The account must be opted in to Compute Optimizer Automation before performing this action. </p>
|
|
253
|
+
*
|
|
254
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
255
|
+
* <p> The specified resource was not found. </p>
|
|
256
|
+
*
|
|
257
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
258
|
+
* <p> The service is temporarily unavailable. </p>
|
|
259
|
+
*
|
|
260
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
261
|
+
* <p> The request was denied due to request throttling. </p>
|
|
262
|
+
*
|
|
263
|
+
* @throws {@link ComputeOptimizerAutomationServiceException}
|
|
264
|
+
* <p>Base exception class for all service exceptions from ComputeOptimizerAutomation service.</p>
|
|
265
|
+
*
|
|
266
|
+
*
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
export declare class UpdateAutomationRuleCommand extends UpdateAutomationRuleCommand_base {
|
|
270
|
+
/** @internal type navigation helper, not in runtime. */
|
|
271
|
+
protected static __types: {
|
|
272
|
+
api: {
|
|
273
|
+
input: UpdateAutomationRuleRequest;
|
|
274
|
+
output: UpdateAutomationRuleResponse;
|
|
275
|
+
};
|
|
276
|
+
sdk: {
|
|
277
|
+
input: UpdateAutomationRuleCommandInput;
|
|
278
|
+
output: UpdateAutomationRuleCommandOutput;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
}
|