@aws-sdk/client-compute-optimizer-automation 3.938.0 → 3.940.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +32 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/models/models_0.js +1 -28
- package/dist-types/models/enums.d.ts +60 -0
- package/dist-types/models/models_0.d.ts +1 -61
- package/dist-types/ts3.4/models/enums.d.ts +36 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -36
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1555,6 +1555,12 @@ const EventType = {
|
|
|
1555
1555
|
const ResourceType = {
|
|
1556
1556
|
EBS_VOLUME: "EbsVolume",
|
|
1557
1557
|
};
|
|
1558
|
+
const AutomationEventFilterName = {
|
|
1559
|
+
ACCOUNT_ID: "AccountId",
|
|
1560
|
+
EVENT_STATUS: "EventStatus",
|
|
1561
|
+
EVENT_TYPE: "EventType",
|
|
1562
|
+
RESOURCE_TYPE: "ResourceType",
|
|
1563
|
+
};
|
|
1558
1564
|
const StepStatus = {
|
|
1559
1565
|
COMPLETE: "Complete",
|
|
1560
1566
|
FAILED: "Failed",
|
|
@@ -1567,6 +1573,9 @@ const StepType = {
|
|
|
1567
1573
|
DELETE_EBS_VOLUME: "DeleteEbsVolume",
|
|
1568
1574
|
MODIFY_EBS_VOLUME: "ModifyEbsVolume",
|
|
1569
1575
|
};
|
|
1576
|
+
const SummaryDimensionKey = {
|
|
1577
|
+
EVENT_STATUS: "EventStatus",
|
|
1578
|
+
};
|
|
1570
1579
|
const RuleApplyOrder = {
|
|
1571
1580
|
AFTER_ACCOUNT_RULES: "AfterAccountRules",
|
|
1572
1581
|
BEFORE_ACCOUNT_RULES: "BeforeAccountRules",
|
|
@@ -1583,6 +1592,14 @@ const RuleStatus = {
|
|
|
1583
1592
|
ACTIVE: "Active",
|
|
1584
1593
|
INACTIVE: "Inactive",
|
|
1585
1594
|
};
|
|
1595
|
+
const AutomationRuleFilterName = {
|
|
1596
|
+
ACCOUNT_ID: "AccountId",
|
|
1597
|
+
NAME: "Name",
|
|
1598
|
+
ORGANIZATION_CONFIGURATION_RULE_APPLY_ORDER: "OrganizationConfigurationRuleApplyOrder",
|
|
1599
|
+
RECOMMENDED_ACTION_TYPE: "RecommendedActionType",
|
|
1600
|
+
RULE_TYPE: "RuleType",
|
|
1601
|
+
STATUS: "Status",
|
|
1602
|
+
};
|
|
1586
1603
|
const ComparisonOperator = {
|
|
1587
1604
|
NUMERIC_EQUALS: "NumericEquals",
|
|
1588
1605
|
NUMERIC_GREATER_THAN: "NumericGreaterThan",
|
|
@@ -1597,6 +1614,17 @@ const ComparisonOperator = {
|
|
|
1597
1614
|
STRING_NOT_EQUALS_IGNORE_CASE: "StringNotEqualsIgnoreCase",
|
|
1598
1615
|
STRING_NOT_LIKE: "StringNotLike",
|
|
1599
1616
|
};
|
|
1617
|
+
const RecommendedActionFilterName = {
|
|
1618
|
+
ACCOUNT_ID: "AccountId",
|
|
1619
|
+
CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType",
|
|
1620
|
+
LOOK_BACK_PERIOD_IN_DAYS: "LookBackPeriodInDays",
|
|
1621
|
+
RECOMMENDED_ACTION_TYPE: "RecommendedActionType",
|
|
1622
|
+
RESOURCE_ID: "ResourceId",
|
|
1623
|
+
RESOURCE_TAGS_KEY: "ResourceTagsKey",
|
|
1624
|
+
RESOURCE_TAGS_VALUE: "ResourceTagsValue",
|
|
1625
|
+
RESOURCE_TYPE: "ResourceType",
|
|
1626
|
+
RESTART_NEEDED: "RestartNeeded",
|
|
1627
|
+
};
|
|
1600
1628
|
|
|
1601
1629
|
Object.defineProperty(exports, "$Command", {
|
|
1602
1630
|
enumerable: true,
|
|
@@ -1608,6 +1636,8 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1608
1636
|
});
|
|
1609
1637
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1610
1638
|
exports.AssociateAccountsCommand = AssociateAccountsCommand;
|
|
1639
|
+
exports.AutomationEventFilterName = AutomationEventFilterName;
|
|
1640
|
+
exports.AutomationRuleFilterName = AutomationRuleFilterName;
|
|
1611
1641
|
exports.ComparisonOperator = ComparisonOperator;
|
|
1612
1642
|
exports.ComputeOptimizerAutomation = ComputeOptimizerAutomation;
|
|
1613
1643
|
exports.ComputeOptimizerAutomationClient = ComputeOptimizerAutomationClient;
|
|
@@ -1639,6 +1669,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
|
1639
1669
|
exports.NotManagementAccountException = NotManagementAccountException$1;
|
|
1640
1670
|
exports.OptInRequiredException = OptInRequiredException$1;
|
|
1641
1671
|
exports.OrganizationRuleMode = OrganizationRuleMode;
|
|
1672
|
+
exports.RecommendedActionFilterName = RecommendedActionFilterName;
|
|
1642
1673
|
exports.RecommendedActionType = RecommendedActionType;
|
|
1643
1674
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1644
1675
|
exports.ResourceType = ResourceType;
|
|
@@ -1652,6 +1683,7 @@ exports.ServiceUnavailableException = ServiceUnavailableException$1;
|
|
|
1652
1683
|
exports.StartAutomationEventCommand = StartAutomationEventCommand;
|
|
1653
1684
|
exports.StepStatus = StepStatus;
|
|
1654
1685
|
exports.StepType = StepType;
|
|
1686
|
+
exports.SummaryDimensionKey = SummaryDimensionKey;
|
|
1655
1687
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1656
1688
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1657
1689
|
exports.UntagResourceCommand = UntagResourceCommand;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -30,6 +30,12 @@ export const EventType = {
|
|
|
30
30
|
export const ResourceType = {
|
|
31
31
|
EBS_VOLUME: "EbsVolume",
|
|
32
32
|
};
|
|
33
|
+
export const AutomationEventFilterName = {
|
|
34
|
+
ACCOUNT_ID: "AccountId",
|
|
35
|
+
EVENT_STATUS: "EventStatus",
|
|
36
|
+
EVENT_TYPE: "EventType",
|
|
37
|
+
RESOURCE_TYPE: "ResourceType",
|
|
38
|
+
};
|
|
33
39
|
export const StepStatus = {
|
|
34
40
|
COMPLETE: "Complete",
|
|
35
41
|
FAILED: "Failed",
|
|
@@ -42,6 +48,9 @@ export const StepType = {
|
|
|
42
48
|
DELETE_EBS_VOLUME: "DeleteEbsVolume",
|
|
43
49
|
MODIFY_EBS_VOLUME: "ModifyEbsVolume",
|
|
44
50
|
};
|
|
51
|
+
export const SummaryDimensionKey = {
|
|
52
|
+
EVENT_STATUS: "EventStatus",
|
|
53
|
+
};
|
|
45
54
|
export const RuleApplyOrder = {
|
|
46
55
|
AFTER_ACCOUNT_RULES: "AfterAccountRules",
|
|
47
56
|
BEFORE_ACCOUNT_RULES: "BeforeAccountRules",
|
|
@@ -58,6 +67,14 @@ export const RuleStatus = {
|
|
|
58
67
|
ACTIVE: "Active",
|
|
59
68
|
INACTIVE: "Inactive",
|
|
60
69
|
};
|
|
70
|
+
export const AutomationRuleFilterName = {
|
|
71
|
+
ACCOUNT_ID: "AccountId",
|
|
72
|
+
NAME: "Name",
|
|
73
|
+
ORGANIZATION_CONFIGURATION_RULE_APPLY_ORDER: "OrganizationConfigurationRuleApplyOrder",
|
|
74
|
+
RECOMMENDED_ACTION_TYPE: "RecommendedActionType",
|
|
75
|
+
RULE_TYPE: "RuleType",
|
|
76
|
+
STATUS: "Status",
|
|
77
|
+
};
|
|
61
78
|
export const ComparisonOperator = {
|
|
62
79
|
NUMERIC_EQUALS: "NumericEquals",
|
|
63
80
|
NUMERIC_GREATER_THAN: "NumericGreaterThan",
|
|
@@ -72,3 +89,14 @@ export const ComparisonOperator = {
|
|
|
72
89
|
STRING_NOT_EQUALS_IGNORE_CASE: "StringNotEqualsIgnoreCase",
|
|
73
90
|
STRING_NOT_LIKE: "StringNotLike",
|
|
74
91
|
};
|
|
92
|
+
export const RecommendedActionFilterName = {
|
|
93
|
+
ACCOUNT_ID: "AccountId",
|
|
94
|
+
CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType",
|
|
95
|
+
LOOK_BACK_PERIOD_IN_DAYS: "LookBackPeriodInDays",
|
|
96
|
+
RECOMMENDED_ACTION_TYPE: "RecommendedActionType",
|
|
97
|
+
RESOURCE_ID: "ResourceId",
|
|
98
|
+
RESOURCE_TAGS_KEY: "ResourceTagsKey",
|
|
99
|
+
RESOURCE_TAGS_VALUE: "ResourceTagsValue",
|
|
100
|
+
RESOURCE_TYPE: "ResourceType",
|
|
101
|
+
RESTART_NEEDED: "RestartNeeded",
|
|
102
|
+
};
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
ACCOUNT_ID: "AccountId",
|
|
3
|
-
EVENT_STATUS: "EventStatus",
|
|
4
|
-
EVENT_TYPE: "EventType",
|
|
5
|
-
RESOURCE_TYPE: "ResourceType",
|
|
6
|
-
};
|
|
7
|
-
export const SummaryDimensionKey = {
|
|
8
|
-
EVENT_STATUS: "EventStatus",
|
|
9
|
-
};
|
|
10
|
-
export const AutomationRuleFilterName = {
|
|
11
|
-
ACCOUNT_ID: "AccountId",
|
|
12
|
-
NAME: "Name",
|
|
13
|
-
ORGANIZATION_CONFIGURATION_RULE_APPLY_ORDER: "OrganizationConfigurationRuleApplyOrder",
|
|
14
|
-
RECOMMENDED_ACTION_TYPE: "RecommendedActionType",
|
|
15
|
-
RULE_TYPE: "RuleType",
|
|
16
|
-
STATUS: "Status",
|
|
17
|
-
};
|
|
18
|
-
export const RecommendedActionFilterName = {
|
|
19
|
-
ACCOUNT_ID: "AccountId",
|
|
20
|
-
CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType",
|
|
21
|
-
LOOK_BACK_PERIOD_IN_DAYS: "LookBackPeriodInDays",
|
|
22
|
-
RECOMMENDED_ACTION_TYPE: "RecommendedActionType",
|
|
23
|
-
RESOURCE_ID: "ResourceId",
|
|
24
|
-
RESOURCE_TAGS_KEY: "ResourceTagsKey",
|
|
25
|
-
RESOURCE_TAGS_VALUE: "ResourceTagsValue",
|
|
26
|
-
RESOURCE_TYPE: "ResourceType",
|
|
27
|
-
RESTART_NEEDED: "RestartNeeded",
|
|
28
|
-
};
|
|
1
|
+
export {};
|
|
@@ -78,6 +78,20 @@ export declare const ResourceType: {
|
|
|
78
78
|
* @public
|
|
79
79
|
*/
|
|
80
80
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
* @enum
|
|
84
|
+
*/
|
|
85
|
+
export declare const AutomationEventFilterName: {
|
|
86
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
87
|
+
readonly EVENT_STATUS: "EventStatus";
|
|
88
|
+
readonly EVENT_TYPE: "EventType";
|
|
89
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export type AutomationEventFilterName = (typeof AutomationEventFilterName)[keyof typeof AutomationEventFilterName];
|
|
81
95
|
/**
|
|
82
96
|
* @public
|
|
83
97
|
* @enum
|
|
@@ -106,6 +120,17 @@ export declare const StepType: {
|
|
|
106
120
|
* @public
|
|
107
121
|
*/
|
|
108
122
|
export type StepType = (typeof StepType)[keyof typeof StepType];
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @enum
|
|
126
|
+
*/
|
|
127
|
+
export declare const SummaryDimensionKey: {
|
|
128
|
+
readonly EVENT_STATUS: "EventStatus";
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export type SummaryDimensionKey = (typeof SummaryDimensionKey)[keyof typeof SummaryDimensionKey];
|
|
109
134
|
/**
|
|
110
135
|
* @public
|
|
111
136
|
* @enum
|
|
@@ -154,6 +179,22 @@ export declare const RuleStatus: {
|
|
|
154
179
|
* @public
|
|
155
180
|
*/
|
|
156
181
|
export type RuleStatus = (typeof RuleStatus)[keyof typeof RuleStatus];
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
* @enum
|
|
185
|
+
*/
|
|
186
|
+
export declare const AutomationRuleFilterName: {
|
|
187
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
188
|
+
readonly NAME: "Name";
|
|
189
|
+
readonly ORGANIZATION_CONFIGURATION_RULE_APPLY_ORDER: "OrganizationConfigurationRuleApplyOrder";
|
|
190
|
+
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
191
|
+
readonly RULE_TYPE: "RuleType";
|
|
192
|
+
readonly STATUS: "Status";
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
*/
|
|
197
|
+
export type AutomationRuleFilterName = (typeof AutomationRuleFilterName)[keyof typeof AutomationRuleFilterName];
|
|
157
198
|
/**
|
|
158
199
|
* @public
|
|
159
200
|
* @enum
|
|
@@ -176,3 +217,22 @@ export declare const ComparisonOperator: {
|
|
|
176
217
|
* @public
|
|
177
218
|
*/
|
|
178
219
|
export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* @enum
|
|
223
|
+
*/
|
|
224
|
+
export declare const RecommendedActionFilterName: {
|
|
225
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
226
|
+
readonly CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType";
|
|
227
|
+
readonly LOOK_BACK_PERIOD_IN_DAYS: "LookBackPeriodInDays";
|
|
228
|
+
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
229
|
+
readonly RESOURCE_ID: "ResourceId";
|
|
230
|
+
readonly RESOURCE_TAGS_KEY: "ResourceTagsKey";
|
|
231
|
+
readonly RESOURCE_TAGS_VALUE: "ResourceTagsValue";
|
|
232
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
233
|
+
readonly RESTART_NEEDED: "RestartNeeded";
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export type RecommendedActionFilterName = (typeof RecommendedActionFilterName)[keyof typeof RecommendedActionFilterName];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComparisonOperator, EnrollmentStatus, EventStatus, EventType, OrganizationRuleMode, RecommendedActionType, ResourceType, RuleApplyOrder, RuleStatus, RuleType, SavingsEstimationMode, StepStatus, StepType } from "./enums";
|
|
1
|
+
import { AutomationEventFilterName, AutomationRuleFilterName, ComparisonOperator, EnrollmentStatus, EventStatus, EventType, OrganizationRuleMode, RecommendedActionFilterName, RecommendedActionType, ResourceType, RuleApplyOrder, RuleStatus, RuleType, SavingsEstimationMode, StepStatus, StepType, SummaryDimensionKey } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p> Contains information about an Amazon Web Services account's enrollment and association status with Compute Optimizer Automation. </p>
|
|
4
4
|
* @public
|
|
@@ -167,20 +167,6 @@ export interface AutomationEvent {
|
|
|
167
167
|
*/
|
|
168
168
|
estimatedMonthlySavings?: EstimatedMonthlySavings | undefined;
|
|
169
169
|
}
|
|
170
|
-
/**
|
|
171
|
-
* @public
|
|
172
|
-
* @enum
|
|
173
|
-
*/
|
|
174
|
-
export declare const AutomationEventFilterName: {
|
|
175
|
-
readonly ACCOUNT_ID: "AccountId";
|
|
176
|
-
readonly EVENT_STATUS: "EventStatus";
|
|
177
|
-
readonly EVENT_TYPE: "EventType";
|
|
178
|
-
readonly RESOURCE_TYPE: "ResourceType";
|
|
179
|
-
};
|
|
180
|
-
/**
|
|
181
|
-
* @public
|
|
182
|
-
*/
|
|
183
|
-
export type AutomationEventFilterName = (typeof AutomationEventFilterName)[keyof typeof AutomationEventFilterName];
|
|
184
170
|
/**
|
|
185
171
|
* <p> A filter to apply when listing automation events. </p>
|
|
186
172
|
* @public
|
|
@@ -243,17 +229,6 @@ export interface AutomationEventStep {
|
|
|
243
229
|
*/
|
|
244
230
|
estimatedMonthlySavings?: EstimatedMonthlySavings | undefined;
|
|
245
231
|
}
|
|
246
|
-
/**
|
|
247
|
-
* @public
|
|
248
|
-
* @enum
|
|
249
|
-
*/
|
|
250
|
-
export declare const SummaryDimensionKey: {
|
|
251
|
-
readonly EVENT_STATUS: "EventStatus";
|
|
252
|
-
};
|
|
253
|
-
/**
|
|
254
|
-
* @public
|
|
255
|
-
*/
|
|
256
|
-
export type SummaryDimensionKey = (typeof SummaryDimensionKey)[keyof typeof SummaryDimensionKey];
|
|
257
232
|
/**
|
|
258
233
|
* <p>A key-value pair used to categorize and group summary data for analysis and reporting.</p>
|
|
259
234
|
* @public
|
|
@@ -441,22 +416,6 @@ export interface AutomationRule {
|
|
|
441
416
|
*/
|
|
442
417
|
lastUpdatedTimestamp?: Date | undefined;
|
|
443
418
|
}
|
|
444
|
-
/**
|
|
445
|
-
* @public
|
|
446
|
-
* @enum
|
|
447
|
-
*/
|
|
448
|
-
export declare const AutomationRuleFilterName: {
|
|
449
|
-
readonly ACCOUNT_ID: "AccountId";
|
|
450
|
-
readonly NAME: "Name";
|
|
451
|
-
readonly ORGANIZATION_CONFIGURATION_RULE_APPLY_ORDER: "OrganizationConfigurationRuleApplyOrder";
|
|
452
|
-
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
453
|
-
readonly RULE_TYPE: "RuleType";
|
|
454
|
-
readonly STATUS: "Status";
|
|
455
|
-
};
|
|
456
|
-
/**
|
|
457
|
-
* @public
|
|
458
|
-
*/
|
|
459
|
-
export type AutomationRuleFilterName = (typeof AutomationRuleFilterName)[keyof typeof AutomationRuleFilterName];
|
|
460
419
|
/**
|
|
461
420
|
* <p>Defines a condition for filtering based on integer values with comparison operators.</p>
|
|
462
421
|
* @public
|
|
@@ -1493,25 +1452,6 @@ export interface ListAutomationRulesResponse {
|
|
|
1493
1452
|
*/
|
|
1494
1453
|
nextToken?: string | undefined;
|
|
1495
1454
|
}
|
|
1496
|
-
/**
|
|
1497
|
-
* @public
|
|
1498
|
-
* @enum
|
|
1499
|
-
*/
|
|
1500
|
-
export declare const RecommendedActionFilterName: {
|
|
1501
|
-
readonly ACCOUNT_ID: "AccountId";
|
|
1502
|
-
readonly CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType";
|
|
1503
|
-
readonly LOOK_BACK_PERIOD_IN_DAYS: "LookBackPeriodInDays";
|
|
1504
|
-
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
1505
|
-
readonly RESOURCE_ID: "ResourceId";
|
|
1506
|
-
readonly RESOURCE_TAGS_KEY: "ResourceTagsKey";
|
|
1507
|
-
readonly RESOURCE_TAGS_VALUE: "ResourceTagsValue";
|
|
1508
|
-
readonly RESOURCE_TYPE: "ResourceType";
|
|
1509
|
-
readonly RESTART_NEEDED: "RestartNeeded";
|
|
1510
|
-
};
|
|
1511
|
-
/**
|
|
1512
|
-
* @public
|
|
1513
|
-
*/
|
|
1514
|
-
export type RecommendedActionFilterName = (typeof RecommendedActionFilterName)[keyof typeof RecommendedActionFilterName];
|
|
1515
1455
|
/**
|
|
1516
1456
|
* <p>A filter used to narrow down recommended action results based on specific criteria.</p>
|
|
1517
1457
|
* @public
|
|
@@ -39,6 +39,14 @@ export declare const ResourceType: {
|
|
|
39
39
|
readonly EBS_VOLUME: "EbsVolume";
|
|
40
40
|
};
|
|
41
41
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
42
|
+
export declare const AutomationEventFilterName: {
|
|
43
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
44
|
+
readonly EVENT_STATUS: "EventStatus";
|
|
45
|
+
readonly EVENT_TYPE: "EventType";
|
|
46
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
47
|
+
};
|
|
48
|
+
export type AutomationEventFilterName =
|
|
49
|
+
(typeof AutomationEventFilterName)[keyof typeof AutomationEventFilterName];
|
|
42
50
|
export declare const StepStatus: {
|
|
43
51
|
readonly COMPLETE: "Complete";
|
|
44
52
|
readonly FAILED: "Failed";
|
|
@@ -53,6 +61,11 @@ export declare const StepType: {
|
|
|
53
61
|
readonly MODIFY_EBS_VOLUME: "ModifyEbsVolume";
|
|
54
62
|
};
|
|
55
63
|
export type StepType = (typeof StepType)[keyof typeof StepType];
|
|
64
|
+
export declare const SummaryDimensionKey: {
|
|
65
|
+
readonly EVENT_STATUS: "EventStatus";
|
|
66
|
+
};
|
|
67
|
+
export type SummaryDimensionKey =
|
|
68
|
+
(typeof SummaryDimensionKey)[keyof typeof SummaryDimensionKey];
|
|
56
69
|
export declare const RuleApplyOrder: {
|
|
57
70
|
readonly AFTER_ACCOUNT_RULES: "AfterAccountRules";
|
|
58
71
|
readonly BEFORE_ACCOUNT_RULES: "BeforeAccountRules";
|
|
@@ -75,6 +88,16 @@ export declare const RuleStatus: {
|
|
|
75
88
|
readonly INACTIVE: "Inactive";
|
|
76
89
|
};
|
|
77
90
|
export type RuleStatus = (typeof RuleStatus)[keyof typeof RuleStatus];
|
|
91
|
+
export declare const AutomationRuleFilterName: {
|
|
92
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
93
|
+
readonly NAME: "Name";
|
|
94
|
+
readonly ORGANIZATION_CONFIGURATION_RULE_APPLY_ORDER: "OrganizationConfigurationRuleApplyOrder";
|
|
95
|
+
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
96
|
+
readonly RULE_TYPE: "RuleType";
|
|
97
|
+
readonly STATUS: "Status";
|
|
98
|
+
};
|
|
99
|
+
export type AutomationRuleFilterName =
|
|
100
|
+
(typeof AutomationRuleFilterName)[keyof typeof AutomationRuleFilterName];
|
|
78
101
|
export declare const ComparisonOperator: {
|
|
79
102
|
readonly NUMERIC_EQUALS: "NumericEquals";
|
|
80
103
|
readonly NUMERIC_GREATER_THAN: "NumericGreaterThan";
|
|
@@ -91,3 +114,16 @@ export declare const ComparisonOperator: {
|
|
|
91
114
|
};
|
|
92
115
|
export type ComparisonOperator =
|
|
93
116
|
(typeof ComparisonOperator)[keyof typeof ComparisonOperator];
|
|
117
|
+
export declare const RecommendedActionFilterName: {
|
|
118
|
+
readonly ACCOUNT_ID: "AccountId";
|
|
119
|
+
readonly CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType";
|
|
120
|
+
readonly LOOK_BACK_PERIOD_IN_DAYS: "LookBackPeriodInDays";
|
|
121
|
+
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
122
|
+
readonly RESOURCE_ID: "ResourceId";
|
|
123
|
+
readonly RESOURCE_TAGS_KEY: "ResourceTagsKey";
|
|
124
|
+
readonly RESOURCE_TAGS_VALUE: "ResourceTagsValue";
|
|
125
|
+
readonly RESOURCE_TYPE: "ResourceType";
|
|
126
|
+
readonly RESTART_NEEDED: "RestartNeeded";
|
|
127
|
+
};
|
|
128
|
+
export type RecommendedActionFilterName =
|
|
129
|
+
(typeof RecommendedActionFilterName)[keyof typeof RecommendedActionFilterName];
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AutomationEventFilterName,
|
|
3
|
+
AutomationRuleFilterName,
|
|
2
4
|
ComparisonOperator,
|
|
3
5
|
EnrollmentStatus,
|
|
4
6
|
EventStatus,
|
|
5
7
|
EventType,
|
|
6
8
|
OrganizationRuleMode,
|
|
9
|
+
RecommendedActionFilterName,
|
|
7
10
|
RecommendedActionType,
|
|
8
11
|
ResourceType,
|
|
9
12
|
RuleApplyOrder,
|
|
@@ -12,6 +15,7 @@ import {
|
|
|
12
15
|
SavingsEstimationMode,
|
|
13
16
|
StepStatus,
|
|
14
17
|
StepType,
|
|
18
|
+
SummaryDimensionKey,
|
|
15
19
|
} from "./enums";
|
|
16
20
|
export interface AccountInfo {
|
|
17
21
|
accountId: string | undefined;
|
|
@@ -51,14 +55,6 @@ export interface AutomationEvent {
|
|
|
51
55
|
completedTimestamp?: Date | undefined;
|
|
52
56
|
estimatedMonthlySavings?: EstimatedMonthlySavings | undefined;
|
|
53
57
|
}
|
|
54
|
-
export declare const AutomationEventFilterName: {
|
|
55
|
-
readonly ACCOUNT_ID: "AccountId";
|
|
56
|
-
readonly EVENT_STATUS: "EventStatus";
|
|
57
|
-
readonly EVENT_TYPE: "EventType";
|
|
58
|
-
readonly RESOURCE_TYPE: "ResourceType";
|
|
59
|
-
};
|
|
60
|
-
export type AutomationEventFilterName =
|
|
61
|
-
(typeof AutomationEventFilterName)[keyof typeof AutomationEventFilterName];
|
|
62
58
|
export interface AutomationEventFilter {
|
|
63
59
|
name: AutomationEventFilterName | undefined;
|
|
64
60
|
values: string[] | undefined;
|
|
@@ -73,11 +69,6 @@ export interface AutomationEventStep {
|
|
|
73
69
|
completedTimestamp?: Date | undefined;
|
|
74
70
|
estimatedMonthlySavings?: EstimatedMonthlySavings | undefined;
|
|
75
71
|
}
|
|
76
|
-
export declare const SummaryDimensionKey: {
|
|
77
|
-
readonly EVENT_STATUS: "EventStatus";
|
|
78
|
-
};
|
|
79
|
-
export type SummaryDimensionKey =
|
|
80
|
-
(typeof SummaryDimensionKey)[keyof typeof SummaryDimensionKey];
|
|
81
72
|
export interface SummaryDimension {
|
|
82
73
|
key: SummaryDimensionKey | undefined;
|
|
83
74
|
value: string | undefined;
|
|
@@ -121,16 +112,6 @@ export interface AutomationRule {
|
|
|
121
112
|
createdTimestamp?: Date | undefined;
|
|
122
113
|
lastUpdatedTimestamp?: Date | undefined;
|
|
123
114
|
}
|
|
124
|
-
export declare const AutomationRuleFilterName: {
|
|
125
|
-
readonly ACCOUNT_ID: "AccountId";
|
|
126
|
-
readonly NAME: "Name";
|
|
127
|
-
readonly ORGANIZATION_CONFIGURATION_RULE_APPLY_ORDER: "OrganizationConfigurationRuleApplyOrder";
|
|
128
|
-
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
129
|
-
readonly RULE_TYPE: "RuleType";
|
|
130
|
-
readonly STATUS: "Status";
|
|
131
|
-
};
|
|
132
|
-
export type AutomationRuleFilterName =
|
|
133
|
-
(typeof AutomationRuleFilterName)[keyof typeof AutomationRuleFilterName];
|
|
134
115
|
export interface IntegerCriteriaCondition {
|
|
135
116
|
comparison?: ComparisonOperator | undefined;
|
|
136
117
|
values?: number[] | undefined;
|
|
@@ -383,19 +364,6 @@ export interface ListAutomationRulesResponse {
|
|
|
383
364
|
automationRules?: AutomationRule[] | undefined;
|
|
384
365
|
nextToken?: string | undefined;
|
|
385
366
|
}
|
|
386
|
-
export declare const RecommendedActionFilterName: {
|
|
387
|
-
readonly ACCOUNT_ID: "AccountId";
|
|
388
|
-
readonly CURRENT_RESOURCE_DETAILS_EBS_VOLUME_TYPE: "CurrentResourceDetailsEbsVolumeType";
|
|
389
|
-
readonly LOOK_BACK_PERIOD_IN_DAYS: "LookBackPeriodInDays";
|
|
390
|
-
readonly RECOMMENDED_ACTION_TYPE: "RecommendedActionType";
|
|
391
|
-
readonly RESOURCE_ID: "ResourceId";
|
|
392
|
-
readonly RESOURCE_TAGS_KEY: "ResourceTagsKey";
|
|
393
|
-
readonly RESOURCE_TAGS_VALUE: "ResourceTagsValue";
|
|
394
|
-
readonly RESOURCE_TYPE: "ResourceType";
|
|
395
|
-
readonly RESTART_NEEDED: "RestartNeeded";
|
|
396
|
-
};
|
|
397
|
-
export type RecommendedActionFilterName =
|
|
398
|
-
(typeof RecommendedActionFilterName)[keyof typeof RecommendedActionFilterName];
|
|
399
367
|
export interface RecommendedActionFilter {
|
|
400
368
|
name: RecommendedActionFilterName | undefined;
|
|
401
369
|
values: string[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer-automation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Automation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.940.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-compute-optimizer-automation",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.940.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.940.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.940.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.940.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|