aws-sdk 2.768.0 → 2.772.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -1
- package/README.md +1 -1
- package/apis/accessanalyzer-2019-11-01.min.json +70 -48
- package/apis/amplify-2017-07-25.min.json +58 -46
- package/apis/budgets-2016-10-20.min.json +411 -0
- package/apis/budgets-2016-10-20.paginators.json +18 -0
- package/apis/ce-2017-10-25.min.json +119 -87
- package/apis/dms-2016-01-01.min.json +15 -3
- package/apis/ec2-2016-11-15.min.json +33 -7
- package/apis/elasticache-2015-02-02.min.json +425 -106
- package/apis/elasticache-2015-02-02.paginators.json +12 -0
- package/apis/eventbridge-2015-10-07.min.json +20 -3
- package/apis/events-2015-10-07.min.json +20 -3
- package/apis/groundstation-2019-05-23.min.json +1 -0
- package/apis/iot-2015-05-28.min.json +4 -1
- package/apis/macie2-2020-01-01.min.json +159 -22
- package/apis/medialive-2017-10-14.min.json +366 -194
- package/apis/mediapackage-2017-10-12.min.json +214 -93
- package/apis/rds-2014-10-31.min.json +20 -2
- package/apis/rekognition-2016-06-27.min.json +206 -76
- package/apis/servicecatalog-2015-12-10.min.json +60 -30
- package/apis/servicecatalog-2015-12-10.paginators.json +5 -0
- package/apis/snowball-2016-06-30.min.json +61 -9
- package/apis/ssm-2014-11-06.min.json +147 -126
- package/apis/transfer-2018-11-05.min.json +32 -28
- package/apis/workmail-2017-10-01.min.json +93 -30
- package/apis/xray-2016-04-12.min.json +11 -5
- package/apis/xray-2016-04-12.paginators.json +0 -15
- package/clients/accessanalyzer.d.ts +26 -4
- package/clients/amplify.d.ts +17 -0
- package/clients/budgets.d.ts +358 -0
- package/clients/cloudwatchevents.d.ts +27 -0
- package/clients/computeoptimizer.d.ts +15 -15
- package/clients/costexplorer.d.ts +64 -12
- package/clients/dms.d.ts +26 -2
- package/clients/ec2.d.ts +28 -8
- package/clients/eks.d.ts +2 -2
- package/clients/elasticache.d.ts +416 -4
- package/clients/eventbridge.d.ts +27 -0
- package/clients/glue.d.ts +1 -1
- package/clients/groundstation.d.ts +5 -1
- package/clients/iot.d.ts +10 -6
- package/clients/macie2.d.ts +182 -62
- package/clients/medialive.d.ts +206 -4
- package/clients/mediapackage.d.ts +58 -0
- package/clients/rds.d.ts +26 -14
- package/clients/rekognition.d.ts +155 -14
- package/clients/sagemaker.d.ts +5 -5
- package/clients/servicecatalog.d.ts +66 -21
- package/clients/snowball.d.ts +122 -52
- package/clients/sns.d.ts +1 -1
- package/clients/ssm.d.ts +63 -11
- package/clients/transfer.d.ts +77 -71
- package/clients/workmail.d.ts +91 -1
- package/clients/workspaces.d.ts +12 -12
- package/clients/xray.d.ts +29 -21
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +27 -27
- package/dist/aws-sdk.js +1087 -483
- package/dist/aws-sdk.min.js +78 -78
- package/lib/config-base.d.ts +3 -0
- package/lib/core.d.ts +1 -1
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/budgets.d.ts
CHANGED
|
@@ -19,6 +19,14 @@ declare class Budgets extends Service {
|
|
|
19
19
|
* Creates a budget and, if included, notifications and subscribers. Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.
|
|
20
20
|
*/
|
|
21
21
|
createBudget(callback?: (err: AWSError, data: Budgets.Types.CreateBudgetResponse) => void): Request<Budgets.Types.CreateBudgetResponse, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a budget action.
|
|
24
|
+
*/
|
|
25
|
+
createBudgetAction(params: Budgets.Types.CreateBudgetActionRequest, callback?: (err: AWSError, data: Budgets.Types.CreateBudgetActionResponse) => void): Request<Budgets.Types.CreateBudgetActionResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a budget action.
|
|
28
|
+
*/
|
|
29
|
+
createBudgetAction(callback?: (err: AWSError, data: Budgets.Types.CreateBudgetActionResponse) => void): Request<Budgets.Types.CreateBudgetActionResponse, AWSError>;
|
|
22
30
|
/**
|
|
23
31
|
* Creates a notification. You must create the budget before you create the associated notification.
|
|
24
32
|
*/
|
|
@@ -43,6 +51,14 @@ declare class Budgets extends Service {
|
|
|
43
51
|
* Deletes a budget. You can delete your budget at any time. Deleting a budget also deletes the notifications and subscribers that are associated with that budget.
|
|
44
52
|
*/
|
|
45
53
|
deleteBudget(callback?: (err: AWSError, data: Budgets.Types.DeleteBudgetResponse) => void): Request<Budgets.Types.DeleteBudgetResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Deletes a budget action.
|
|
56
|
+
*/
|
|
57
|
+
deleteBudgetAction(params: Budgets.Types.DeleteBudgetActionRequest, callback?: (err: AWSError, data: Budgets.Types.DeleteBudgetActionResponse) => void): Request<Budgets.Types.DeleteBudgetActionResponse, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Deletes a budget action.
|
|
60
|
+
*/
|
|
61
|
+
deleteBudgetAction(callback?: (err: AWSError, data: Budgets.Types.DeleteBudgetActionResponse) => void): Request<Budgets.Types.DeleteBudgetActionResponse, AWSError>;
|
|
46
62
|
/**
|
|
47
63
|
* Deletes a notification. Deleting a notification also deletes the subscribers that are associated with the notification.
|
|
48
64
|
*/
|
|
@@ -67,6 +83,38 @@ declare class Budgets extends Service {
|
|
|
67
83
|
* Describes a budget. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.
|
|
68
84
|
*/
|
|
69
85
|
describeBudget(callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetResponse) => void): Request<Budgets.Types.DescribeBudgetResponse, AWSError>;
|
|
86
|
+
/**
|
|
87
|
+
* Describes a budget action detail.
|
|
88
|
+
*/
|
|
89
|
+
describeBudgetAction(params: Budgets.Types.DescribeBudgetActionRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionResponse) => void): Request<Budgets.Types.DescribeBudgetActionResponse, AWSError>;
|
|
90
|
+
/**
|
|
91
|
+
* Describes a budget action detail.
|
|
92
|
+
*/
|
|
93
|
+
describeBudgetAction(callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionResponse) => void): Request<Budgets.Types.DescribeBudgetActionResponse, AWSError>;
|
|
94
|
+
/**
|
|
95
|
+
* Describes a budget action history detail.
|
|
96
|
+
*/
|
|
97
|
+
describeBudgetActionHistories(params: Budgets.Types.DescribeBudgetActionHistoriesRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionHistoriesResponse) => void): Request<Budgets.Types.DescribeBudgetActionHistoriesResponse, AWSError>;
|
|
98
|
+
/**
|
|
99
|
+
* Describes a budget action history detail.
|
|
100
|
+
*/
|
|
101
|
+
describeBudgetActionHistories(callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionHistoriesResponse) => void): Request<Budgets.Types.DescribeBudgetActionHistoriesResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Describes all of the budget actions for an account.
|
|
104
|
+
*/
|
|
105
|
+
describeBudgetActionsForAccount(params: Budgets.Types.DescribeBudgetActionsForAccountRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionsForAccountResponse) => void): Request<Budgets.Types.DescribeBudgetActionsForAccountResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Describes all of the budget actions for an account.
|
|
108
|
+
*/
|
|
109
|
+
describeBudgetActionsForAccount(callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionsForAccountResponse) => void): Request<Budgets.Types.DescribeBudgetActionsForAccountResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Describes all of the budget actions for a budget.
|
|
112
|
+
*/
|
|
113
|
+
describeBudgetActionsForBudget(params: Budgets.Types.DescribeBudgetActionsForBudgetRequest, callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionsForBudgetResponse) => void): Request<Budgets.Types.DescribeBudgetActionsForBudgetResponse, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Describes all of the budget actions for a budget.
|
|
116
|
+
*/
|
|
117
|
+
describeBudgetActionsForBudget(callback?: (err: AWSError, data: Budgets.Types.DescribeBudgetActionsForBudgetResponse) => void): Request<Budgets.Types.DescribeBudgetActionsForBudgetResponse, AWSError>;
|
|
70
118
|
/**
|
|
71
119
|
* Describes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.
|
|
72
120
|
*/
|
|
@@ -99,6 +147,14 @@ declare class Budgets extends Service {
|
|
|
99
147
|
* Lists the subscribers that are associated with a notification.
|
|
100
148
|
*/
|
|
101
149
|
describeSubscribersForNotification(callback?: (err: AWSError, data: Budgets.Types.DescribeSubscribersForNotificationResponse) => void): Request<Budgets.Types.DescribeSubscribersForNotificationResponse, AWSError>;
|
|
150
|
+
/**
|
|
151
|
+
* Executes a budget action.
|
|
152
|
+
*/
|
|
153
|
+
executeBudgetAction(params: Budgets.Types.ExecuteBudgetActionRequest, callback?: (err: AWSError, data: Budgets.Types.ExecuteBudgetActionResponse) => void): Request<Budgets.Types.ExecuteBudgetActionResponse, AWSError>;
|
|
154
|
+
/**
|
|
155
|
+
* Executes a budget action.
|
|
156
|
+
*/
|
|
157
|
+
executeBudgetAction(callback?: (err: AWSError, data: Budgets.Types.ExecuteBudgetActionResponse) => void): Request<Budgets.Types.ExecuteBudgetActionResponse, AWSError>;
|
|
102
158
|
/**
|
|
103
159
|
* Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting. Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.
|
|
104
160
|
*/
|
|
@@ -107,6 +163,14 @@ declare class Budgets extends Service {
|
|
|
107
163
|
* Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting. Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.
|
|
108
164
|
*/
|
|
109
165
|
updateBudget(callback?: (err: AWSError, data: Budgets.Types.UpdateBudgetResponse) => void): Request<Budgets.Types.UpdateBudgetResponse, AWSError>;
|
|
166
|
+
/**
|
|
167
|
+
* Updates a budget action.
|
|
168
|
+
*/
|
|
169
|
+
updateBudgetAction(params: Budgets.Types.UpdateBudgetActionRequest, callback?: (err: AWSError, data: Budgets.Types.UpdateBudgetActionResponse) => void): Request<Budgets.Types.UpdateBudgetActionResponse, AWSError>;
|
|
170
|
+
/**
|
|
171
|
+
* Updates a budget action.
|
|
172
|
+
*/
|
|
173
|
+
updateBudgetAction(callback?: (err: AWSError, data: Budgets.Types.UpdateBudgetActionResponse) => void): Request<Budgets.Types.UpdateBudgetActionResponse, AWSError>;
|
|
110
174
|
/**
|
|
111
175
|
* Updates a notification.
|
|
112
176
|
*/
|
|
@@ -126,6 +190,72 @@ declare class Budgets extends Service {
|
|
|
126
190
|
}
|
|
127
191
|
declare namespace Budgets {
|
|
128
192
|
export type AccountId = string;
|
|
193
|
+
export interface Action {
|
|
194
|
+
/**
|
|
195
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
196
|
+
*/
|
|
197
|
+
ActionId: ActionId;
|
|
198
|
+
BudgetName: BudgetName;
|
|
199
|
+
NotificationType: NotificationType;
|
|
200
|
+
/**
|
|
201
|
+
* The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
|
|
202
|
+
*/
|
|
203
|
+
ActionType: ActionType;
|
|
204
|
+
/**
|
|
205
|
+
* The trigger threshold of the action.
|
|
206
|
+
*/
|
|
207
|
+
ActionThreshold: ActionThreshold;
|
|
208
|
+
/**
|
|
209
|
+
* Where you specify all of the type-specific parameters.
|
|
210
|
+
*/
|
|
211
|
+
Definition: Definition;
|
|
212
|
+
/**
|
|
213
|
+
* The role passed for action execution and reversion. Roles and actions must be in the same account.
|
|
214
|
+
*/
|
|
215
|
+
ExecutionRoleArn: RoleArn;
|
|
216
|
+
/**
|
|
217
|
+
* This specifies if the action needs manual or automatic approval.
|
|
218
|
+
*/
|
|
219
|
+
ApprovalModel: ApprovalModel;
|
|
220
|
+
/**
|
|
221
|
+
* The status of action.
|
|
222
|
+
*/
|
|
223
|
+
Status: ActionStatus;
|
|
224
|
+
Subscribers: Subscribers;
|
|
225
|
+
}
|
|
226
|
+
export type ActionHistories = ActionHistory[];
|
|
227
|
+
export interface ActionHistory {
|
|
228
|
+
Timestamp: GenericTimestamp;
|
|
229
|
+
/**
|
|
230
|
+
* The status of action at the time of the event.
|
|
231
|
+
*/
|
|
232
|
+
Status: ActionStatus;
|
|
233
|
+
/**
|
|
234
|
+
* This distinguishes between whether the events are triggered by the user or generated by the system.
|
|
235
|
+
*/
|
|
236
|
+
EventType: EventType;
|
|
237
|
+
/**
|
|
238
|
+
* The description of details of the event.
|
|
239
|
+
*/
|
|
240
|
+
ActionHistoryDetails: ActionHistoryDetails;
|
|
241
|
+
}
|
|
242
|
+
export interface ActionHistoryDetails {
|
|
243
|
+
Message: GenericString;
|
|
244
|
+
/**
|
|
245
|
+
* The budget action resource.
|
|
246
|
+
*/
|
|
247
|
+
Action: Action;
|
|
248
|
+
}
|
|
249
|
+
export type ActionId = string;
|
|
250
|
+
export type ActionStatus = "STANDBY"|"PENDING"|"EXECUTION_IN_PROGRESS"|"EXECUTION_SUCCESS"|"EXECUTION_FAILURE"|"REVERSE_IN_PROGRESS"|"REVERSE_SUCCESS"|"REVERSE_FAILURE"|"RESET_IN_PROGRESS"|"RESET_FAILURE"|string;
|
|
251
|
+
export type ActionSubType = "STOP_EC2_INSTANCES"|"STOP_RDS_INSTANCES"|string;
|
|
252
|
+
export interface ActionThreshold {
|
|
253
|
+
ActionThresholdValue: NotificationThreshold;
|
|
254
|
+
ActionThresholdType: ThresholdType;
|
|
255
|
+
}
|
|
256
|
+
export type ActionType = "APPLY_IAM_POLICY"|"APPLY_SCP_POLICY"|"RUN_SSM_DOCUMENTS"|string;
|
|
257
|
+
export type Actions = Action[];
|
|
258
|
+
export type ApprovalModel = "AUTOMATIC"|"MANUAL"|string;
|
|
129
259
|
export interface Budget {
|
|
130
260
|
/**
|
|
131
261
|
* The name of a budget. The name must be unique within an account. The : and \ characters aren't allowed in BudgetName.
|
|
@@ -261,6 +391,34 @@ declare namespace Budgets {
|
|
|
261
391
|
*/
|
|
262
392
|
UseAmortized?: NullableBoolean;
|
|
263
393
|
}
|
|
394
|
+
export interface CreateBudgetActionRequest {
|
|
395
|
+
AccountId: AccountId;
|
|
396
|
+
BudgetName: BudgetName;
|
|
397
|
+
NotificationType: NotificationType;
|
|
398
|
+
/**
|
|
399
|
+
* The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition.
|
|
400
|
+
*/
|
|
401
|
+
ActionType: ActionType;
|
|
402
|
+
ActionThreshold: ActionThreshold;
|
|
403
|
+
Definition: Definition;
|
|
404
|
+
/**
|
|
405
|
+
* The role passed for action execution and reversion. Roles and actions must be in the same account.
|
|
406
|
+
*/
|
|
407
|
+
ExecutionRoleArn: RoleArn;
|
|
408
|
+
/**
|
|
409
|
+
* This specifies if the action needs manual or automatic approval.
|
|
410
|
+
*/
|
|
411
|
+
ApprovalModel: ApprovalModel;
|
|
412
|
+
Subscribers: Subscribers;
|
|
413
|
+
}
|
|
414
|
+
export interface CreateBudgetActionResponse {
|
|
415
|
+
AccountId: AccountId;
|
|
416
|
+
BudgetName: BudgetName;
|
|
417
|
+
/**
|
|
418
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
419
|
+
*/
|
|
420
|
+
ActionId: ActionId;
|
|
421
|
+
}
|
|
264
422
|
export interface CreateBudgetRequest {
|
|
265
423
|
/**
|
|
266
424
|
* The accountId that is associated with the budget.
|
|
@@ -317,6 +475,33 @@ declare namespace Budgets {
|
|
|
317
475
|
}
|
|
318
476
|
export interface CreateSubscriberResponse {
|
|
319
477
|
}
|
|
478
|
+
export interface Definition {
|
|
479
|
+
/**
|
|
480
|
+
* The AWS Identity and Access Management (IAM) action definition details.
|
|
481
|
+
*/
|
|
482
|
+
IamActionDefinition?: IamActionDefinition;
|
|
483
|
+
/**
|
|
484
|
+
* The service control policies (SCPs) action definition details.
|
|
485
|
+
*/
|
|
486
|
+
ScpActionDefinition?: ScpActionDefinition;
|
|
487
|
+
/**
|
|
488
|
+
* The AWS Systems Manager (SSM) action definition details.
|
|
489
|
+
*/
|
|
490
|
+
SsmActionDefinition?: SsmActionDefinition;
|
|
491
|
+
}
|
|
492
|
+
export interface DeleteBudgetActionRequest {
|
|
493
|
+
AccountId: AccountId;
|
|
494
|
+
BudgetName: BudgetName;
|
|
495
|
+
/**
|
|
496
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
497
|
+
*/
|
|
498
|
+
ActionId: ActionId;
|
|
499
|
+
}
|
|
500
|
+
export interface DeleteBudgetActionResponse {
|
|
501
|
+
AccountId: AccountId;
|
|
502
|
+
BudgetName: BudgetName;
|
|
503
|
+
Action: Action;
|
|
504
|
+
}
|
|
320
505
|
export interface DeleteBudgetRequest {
|
|
321
506
|
/**
|
|
322
507
|
* The accountId that is associated with the budget that you want to delete.
|
|
@@ -365,6 +550,65 @@ declare namespace Budgets {
|
|
|
365
550
|
}
|
|
366
551
|
export interface DeleteSubscriberResponse {
|
|
367
552
|
}
|
|
553
|
+
export interface DescribeBudgetActionHistoriesRequest {
|
|
554
|
+
AccountId: AccountId;
|
|
555
|
+
BudgetName: BudgetName;
|
|
556
|
+
/**
|
|
557
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
558
|
+
*/
|
|
559
|
+
ActionId: ActionId;
|
|
560
|
+
TimePeriod?: TimePeriod;
|
|
561
|
+
MaxResults?: MaxResults;
|
|
562
|
+
NextToken?: GenericString;
|
|
563
|
+
}
|
|
564
|
+
export interface DescribeBudgetActionHistoriesResponse {
|
|
565
|
+
/**
|
|
566
|
+
* The historical record of the budget action resource.
|
|
567
|
+
*/
|
|
568
|
+
ActionHistories: ActionHistories;
|
|
569
|
+
NextToken?: GenericString;
|
|
570
|
+
}
|
|
571
|
+
export interface DescribeBudgetActionRequest {
|
|
572
|
+
AccountId: AccountId;
|
|
573
|
+
BudgetName: BudgetName;
|
|
574
|
+
/**
|
|
575
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
576
|
+
*/
|
|
577
|
+
ActionId: ActionId;
|
|
578
|
+
}
|
|
579
|
+
export interface DescribeBudgetActionResponse {
|
|
580
|
+
AccountId: AccountId;
|
|
581
|
+
BudgetName: BudgetName;
|
|
582
|
+
/**
|
|
583
|
+
* A budget action resource.
|
|
584
|
+
*/
|
|
585
|
+
Action: Action;
|
|
586
|
+
}
|
|
587
|
+
export interface DescribeBudgetActionsForAccountRequest {
|
|
588
|
+
AccountId: AccountId;
|
|
589
|
+
MaxResults?: MaxResults;
|
|
590
|
+
NextToken?: GenericString;
|
|
591
|
+
}
|
|
592
|
+
export interface DescribeBudgetActionsForAccountResponse {
|
|
593
|
+
/**
|
|
594
|
+
* A list of the budget action resources information.
|
|
595
|
+
*/
|
|
596
|
+
Actions: Actions;
|
|
597
|
+
NextToken?: GenericString;
|
|
598
|
+
}
|
|
599
|
+
export interface DescribeBudgetActionsForBudgetRequest {
|
|
600
|
+
AccountId: AccountId;
|
|
601
|
+
BudgetName: BudgetName;
|
|
602
|
+
MaxResults?: MaxResults;
|
|
603
|
+
NextToken?: GenericString;
|
|
604
|
+
}
|
|
605
|
+
export interface DescribeBudgetActionsForBudgetResponse {
|
|
606
|
+
/**
|
|
607
|
+
* A list of the budget action resources information.
|
|
608
|
+
*/
|
|
609
|
+
Actions: Actions;
|
|
610
|
+
NextToken?: GenericString;
|
|
611
|
+
}
|
|
368
612
|
export interface DescribeBudgetPerformanceHistoryRequest {
|
|
369
613
|
AccountId: AccountId;
|
|
370
614
|
BudgetName: BudgetName;
|
|
@@ -483,8 +727,56 @@ declare namespace Budgets {
|
|
|
483
727
|
NextToken?: GenericString;
|
|
484
728
|
}
|
|
485
729
|
export type DimensionValues = GenericString[];
|
|
730
|
+
export type EventType = "SYSTEM"|"CREATE_ACTION"|"DELETE_ACTION"|"UPDATE_ACTION"|"EXECUTE_ACTION"|string;
|
|
731
|
+
export interface ExecuteBudgetActionRequest {
|
|
732
|
+
AccountId: AccountId;
|
|
733
|
+
BudgetName: BudgetName;
|
|
734
|
+
/**
|
|
735
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
736
|
+
*/
|
|
737
|
+
ActionId: ActionId;
|
|
738
|
+
/**
|
|
739
|
+
* The type of execution.
|
|
740
|
+
*/
|
|
741
|
+
ExecutionType: ExecutionType;
|
|
742
|
+
}
|
|
743
|
+
export interface ExecuteBudgetActionResponse {
|
|
744
|
+
AccountId: AccountId;
|
|
745
|
+
BudgetName: BudgetName;
|
|
746
|
+
/**
|
|
747
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
748
|
+
*/
|
|
749
|
+
ActionId: ActionId;
|
|
750
|
+
/**
|
|
751
|
+
* The type of execution.
|
|
752
|
+
*/
|
|
753
|
+
ExecutionType: ExecutionType;
|
|
754
|
+
}
|
|
755
|
+
export type ExecutionType = "APPROVE_BUDGET_ACTION"|"RETRY_BUDGET_ACTION"|"REVERSE_BUDGET_ACTION"|"RESET_BUDGET_ACTION"|string;
|
|
486
756
|
export type GenericString = string;
|
|
487
757
|
export type GenericTimestamp = Date;
|
|
758
|
+
export type Group = string;
|
|
759
|
+
export type Groups = Group[];
|
|
760
|
+
export interface IamActionDefinition {
|
|
761
|
+
/**
|
|
762
|
+
* The Amazon Resource Name (ARN) of the policy to be attached.
|
|
763
|
+
*/
|
|
764
|
+
PolicyArn: PolicyArn;
|
|
765
|
+
/**
|
|
766
|
+
* A list of roles to be attached. There must be at least one role.
|
|
767
|
+
*/
|
|
768
|
+
Roles?: Roles;
|
|
769
|
+
/**
|
|
770
|
+
* A list of groups to be attached. There must be at least one group.
|
|
771
|
+
*/
|
|
772
|
+
Groups?: Groups;
|
|
773
|
+
/**
|
|
774
|
+
* A list of users to be attached. There must be at least one user.
|
|
775
|
+
*/
|
|
776
|
+
Users?: Users;
|
|
777
|
+
}
|
|
778
|
+
export type InstanceId = string;
|
|
779
|
+
export type InstanceIds = InstanceId[];
|
|
488
780
|
export type MaxResults = number;
|
|
489
781
|
export interface Notification {
|
|
490
782
|
/**
|
|
@@ -526,6 +818,22 @@ declare namespace Budgets {
|
|
|
526
818
|
export type NullableBoolean = boolean;
|
|
527
819
|
export type NumericValue = string;
|
|
528
820
|
export type PlannedBudgetLimits = {[key: string]: Spend};
|
|
821
|
+
export type PolicyArn = string;
|
|
822
|
+
export type PolicyId = string;
|
|
823
|
+
export type Region = string;
|
|
824
|
+
export type Role = string;
|
|
825
|
+
export type RoleArn = string;
|
|
826
|
+
export type Roles = Role[];
|
|
827
|
+
export interface ScpActionDefinition {
|
|
828
|
+
/**
|
|
829
|
+
* The policy ID attached.
|
|
830
|
+
*/
|
|
831
|
+
PolicyId: PolicyId;
|
|
832
|
+
/**
|
|
833
|
+
* A list of target IDs.
|
|
834
|
+
*/
|
|
835
|
+
TargetIds: TargetIds;
|
|
836
|
+
}
|
|
529
837
|
export interface Spend {
|
|
530
838
|
/**
|
|
531
839
|
* The cost or usage amount that is associated with a budget forecast, actual spend, or budget threshold.
|
|
@@ -536,6 +844,20 @@ declare namespace Budgets {
|
|
|
536
844
|
*/
|
|
537
845
|
Unit: UnitValue;
|
|
538
846
|
}
|
|
847
|
+
export interface SsmActionDefinition {
|
|
848
|
+
/**
|
|
849
|
+
* The action subType.
|
|
850
|
+
*/
|
|
851
|
+
ActionSubType: ActionSubType;
|
|
852
|
+
/**
|
|
853
|
+
* The Region to run the SSM document.
|
|
854
|
+
*/
|
|
855
|
+
Region: Region;
|
|
856
|
+
/**
|
|
857
|
+
* The EC2 and RDS instance IDs.
|
|
858
|
+
*/
|
|
859
|
+
InstanceIds: InstanceIds;
|
|
860
|
+
}
|
|
539
861
|
export interface Subscriber {
|
|
540
862
|
/**
|
|
541
863
|
* The type of notification that AWS sends to a subscriber.
|
|
@@ -549,6 +871,8 @@ declare namespace Budgets {
|
|
|
549
871
|
export type SubscriberAddress = string;
|
|
550
872
|
export type Subscribers = Subscriber[];
|
|
551
873
|
export type SubscriptionType = "SNS"|"EMAIL"|string;
|
|
874
|
+
export type TargetId = string;
|
|
875
|
+
export type TargetIds = TargetId[];
|
|
552
876
|
export type ThresholdType = "PERCENTAGE"|"ABSOLUTE_VALUE"|string;
|
|
553
877
|
export interface TimePeriod {
|
|
554
878
|
/**
|
|
@@ -562,6 +886,38 @@ declare namespace Budgets {
|
|
|
562
886
|
}
|
|
563
887
|
export type TimeUnit = "DAILY"|"MONTHLY"|"QUARTERLY"|"ANNUALLY"|string;
|
|
564
888
|
export type UnitValue = string;
|
|
889
|
+
export interface UpdateBudgetActionRequest {
|
|
890
|
+
AccountId: AccountId;
|
|
891
|
+
BudgetName: BudgetName;
|
|
892
|
+
/**
|
|
893
|
+
* A system-generated universally unique identifier (UUID) for the action.
|
|
894
|
+
*/
|
|
895
|
+
ActionId: ActionId;
|
|
896
|
+
NotificationType?: NotificationType;
|
|
897
|
+
ActionThreshold?: ActionThreshold;
|
|
898
|
+
Definition?: Definition;
|
|
899
|
+
/**
|
|
900
|
+
* The role passed for action execution and reversion. Roles and actions must be in the same account.
|
|
901
|
+
*/
|
|
902
|
+
ExecutionRoleArn?: RoleArn;
|
|
903
|
+
/**
|
|
904
|
+
* This specifies if the action needs manual or automatic approval.
|
|
905
|
+
*/
|
|
906
|
+
ApprovalModel?: ApprovalModel;
|
|
907
|
+
Subscribers?: Subscribers;
|
|
908
|
+
}
|
|
909
|
+
export interface UpdateBudgetActionResponse {
|
|
910
|
+
AccountId: AccountId;
|
|
911
|
+
BudgetName: BudgetName;
|
|
912
|
+
/**
|
|
913
|
+
* The previous action resource information.
|
|
914
|
+
*/
|
|
915
|
+
OldAction: Action;
|
|
916
|
+
/**
|
|
917
|
+
* The updated action resource information.
|
|
918
|
+
*/
|
|
919
|
+
NewAction: Action;
|
|
920
|
+
}
|
|
565
921
|
export interface UpdateBudgetRequest {
|
|
566
922
|
/**
|
|
567
923
|
* The accountId that is associated with the budget that you want to update.
|
|
@@ -618,6 +974,8 @@ declare namespace Budgets {
|
|
|
618
974
|
}
|
|
619
975
|
export interface UpdateSubscriberResponse {
|
|
620
976
|
}
|
|
977
|
+
export type User = string;
|
|
978
|
+
export type Users = User[];
|
|
621
979
|
/**
|
|
622
980
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
623
981
|
*/
|
|
@@ -374,6 +374,12 @@ declare namespace CloudWatchEvents {
|
|
|
374
374
|
*/
|
|
375
375
|
Name: EventSourceName;
|
|
376
376
|
}
|
|
377
|
+
export interface DeadLetterConfig {
|
|
378
|
+
/**
|
|
379
|
+
* The ARN of the SQS queue specified as the target for the dead-letter queue.
|
|
380
|
+
*/
|
|
381
|
+
Arn?: ResourceArn;
|
|
382
|
+
}
|
|
377
383
|
export interface DeleteEventBusRequest {
|
|
378
384
|
/**
|
|
379
385
|
* The name of the event bus to delete.
|
|
@@ -850,6 +856,8 @@ declare namespace CloudWatchEvents {
|
|
|
850
856
|
NextToken?: NextToken;
|
|
851
857
|
}
|
|
852
858
|
export type ManagedBy = string;
|
|
859
|
+
export type MaximumEventAgeInSeconds = number;
|
|
860
|
+
export type MaximumRetryAttempts = number;
|
|
853
861
|
export type MessageGroupId = string;
|
|
854
862
|
export interface NetworkConfiguration {
|
|
855
863
|
/**
|
|
@@ -1189,6 +1197,17 @@ declare namespace CloudWatchEvents {
|
|
|
1189
1197
|
ErrorMessage?: ErrorMessage;
|
|
1190
1198
|
}
|
|
1191
1199
|
export type RemoveTargetsResultEntryList = RemoveTargetsResultEntry[];
|
|
1200
|
+
export type ResourceArn = string;
|
|
1201
|
+
export interface RetryPolicy {
|
|
1202
|
+
/**
|
|
1203
|
+
* The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the MaximumEventAgeInSeconds is met.
|
|
1204
|
+
*/
|
|
1205
|
+
MaximumRetryAttempts?: MaximumRetryAttempts;
|
|
1206
|
+
/**
|
|
1207
|
+
* The maximum amount of time, in seconds, to continue to make retry attempts.
|
|
1208
|
+
*/
|
|
1209
|
+
MaximumEventAgeInSeconds?: MaximumEventAgeInSeconds;
|
|
1210
|
+
}
|
|
1192
1211
|
export type RoleArn = string;
|
|
1193
1212
|
export interface Rule {
|
|
1194
1213
|
/**
|
|
@@ -1345,6 +1364,14 @@ declare namespace CloudWatchEvents {
|
|
|
1345
1364
|
* Contains the Redshift Data API parameters to use when the target is a Redshift cluster. If you specify a Redshift Cluster as a Target, you can use this to specify parameters to invoke the Redshift Data API ExecuteStatement based on EventBridge events.
|
|
1346
1365
|
*/
|
|
1347
1366
|
RedshiftDataParameters?: RedshiftDataParameters;
|
|
1367
|
+
/**
|
|
1368
|
+
* The DeadLetterConfig that defines the target queue to send dead-letter queue events to.
|
|
1369
|
+
*/
|
|
1370
|
+
DeadLetterConfig?: DeadLetterConfig;
|
|
1371
|
+
/**
|
|
1372
|
+
* The RetryPolicy object that contains the retry policy configuration to use for the dead-letter queue.
|
|
1373
|
+
*/
|
|
1374
|
+
RetryPolicy?: RetryPolicy;
|
|
1348
1375
|
}
|
|
1349
1376
|
export type TargetArn = string;
|
|
1350
1377
|
export type TargetId = string;
|
|
@@ -36,27 +36,27 @@ declare class ComputeOptimizer extends Service {
|
|
|
36
36
|
*/
|
|
37
37
|
exportEC2InstanceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse, AWSError>;
|
|
38
38
|
/**
|
|
39
|
-
* Returns Auto Scaling group recommendations. AWS Compute Optimizer
|
|
39
|
+
* Returns Auto Scaling group recommendations. AWS Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
|
|
40
40
|
*/
|
|
41
41
|
getAutoScalingGroupRecommendations(params: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse, AWSError>;
|
|
42
42
|
/**
|
|
43
|
-
* Returns Auto Scaling group recommendations. AWS Compute Optimizer
|
|
43
|
+
* Returns Auto Scaling group recommendations. AWS Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
|
|
44
44
|
*/
|
|
45
45
|
getAutoScalingGroupRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse, AWSError>;
|
|
46
46
|
/**
|
|
47
|
-
* Returns Amazon EC2 instance recommendations. AWS Compute Optimizer
|
|
47
|
+
* Returns Amazon EC2 instance recommendations. AWS Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
|
|
48
48
|
*/
|
|
49
49
|
getEC2InstanceRecommendations(params: ComputeOptimizer.Types.GetEC2InstanceRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse, AWSError>;
|
|
50
50
|
/**
|
|
51
|
-
* Returns Amazon EC2 instance recommendations. AWS Compute Optimizer
|
|
51
|
+
* Returns Amazon EC2 instance recommendations. AWS Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the AWS Compute Optimizer User Guide.
|
|
52
52
|
*/
|
|
53
53
|
getEC2InstanceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse, AWSError>;
|
|
54
54
|
/**
|
|
55
|
-
* Returns the projected utilization metrics of Amazon EC2 instance recommendations.
|
|
55
|
+
* Returns the projected utilization metrics of Amazon EC2 instance recommendations. The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
|
|
56
56
|
*/
|
|
57
57
|
getEC2RecommendationProjectedMetrics(params: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse, AWSError>;
|
|
58
58
|
/**
|
|
59
|
-
* Returns the projected utilization metrics of Amazon EC2 instance recommendations.
|
|
59
|
+
* Returns the projected utilization metrics of Amazon EC2 instance recommendations. The Cpu and Memory metrics are the only projected utilization metrics returned when you run this action. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
|
|
60
60
|
*/
|
|
61
61
|
getEC2RecommendationProjectedMetrics(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse, AWSError>;
|
|
62
62
|
/**
|
|
@@ -152,7 +152,7 @@ declare namespace ComputeOptimizer {
|
|
|
152
152
|
*/
|
|
153
153
|
configuration?: AutoScalingGroupConfiguration;
|
|
154
154
|
/**
|
|
155
|
-
* An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
|
|
155
|
+
* An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option. The Cpu and Memory metrics are the only projected utilization metrics returned. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
|
|
156
156
|
*/
|
|
157
157
|
projectedUtilizationMetrics?: ProjectedUtilizationMetrics;
|
|
158
158
|
/**
|
|
@@ -211,7 +211,7 @@ declare namespace ComputeOptimizer {
|
|
|
211
211
|
*/
|
|
212
212
|
filters?: Filters;
|
|
213
213
|
/**
|
|
214
|
-
* The recommendations data to include in the export file.
|
|
214
|
+
* The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
|
|
215
215
|
*/
|
|
216
216
|
fieldsToExport?: ExportableAutoScalingGroupFields;
|
|
217
217
|
/**
|
|
@@ -253,7 +253,7 @@ declare namespace ComputeOptimizer {
|
|
|
253
253
|
*/
|
|
254
254
|
filters?: Filters;
|
|
255
255
|
/**
|
|
256
|
-
* The recommendations data to include in the export file.
|
|
256
|
+
* The recommendations data to include in the export file. For more information about the fields that can be exported, see Exported files in the Compute Optimizer User Guide.
|
|
257
257
|
*/
|
|
258
258
|
fieldsToExport?: ExportableInstanceFields;
|
|
259
259
|
/**
|
|
@@ -279,9 +279,9 @@ declare namespace ComputeOptimizer {
|
|
|
279
279
|
*/
|
|
280
280
|
s3Destination?: S3Destination;
|
|
281
281
|
}
|
|
282
|
-
export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|string;
|
|
282
|
+
export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationInstanceType"|"CurrentConfigurationDesiredCapacity"|"CurrentConfigurationMinSize"|"CurrentConfigurationMaxSize"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsConfigurationInstanceType"|"RecommendationOptionsConfigurationDesiredCapacity"|"RecommendationOptionsConfigurationMinSize"|"RecommendationOptionsConfigurationMaxSize"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"LastRefreshTimestamp"|string;
|
|
283
283
|
export type ExportableAutoScalingGroupFields = ExportableAutoScalingGroupField[];
|
|
284
|
-
export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|string;
|
|
284
|
+
export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|string;
|
|
285
285
|
export type ExportableInstanceFields = ExportableInstanceField[];
|
|
286
286
|
export type FailureReason = string;
|
|
287
287
|
export type FileFormat = "Csv"|string;
|
|
@@ -508,7 +508,7 @@ declare namespace ComputeOptimizer {
|
|
|
508
508
|
*/
|
|
509
509
|
instanceType?: InstanceType;
|
|
510
510
|
/**
|
|
511
|
-
* An array of objects that describe the projected utilization metrics of the instance recommendation option.
|
|
511
|
+
* An array of objects that describe the projected utilization metrics of the instance recommendation option. The Cpu and Memory metrics are the only projected utilization metrics returned. Additionally, the Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
|
|
512
512
|
*/
|
|
513
513
|
projectedUtilizationMetrics?: ProjectedUtilizationMetrics;
|
|
514
514
|
/**
|
|
@@ -545,7 +545,7 @@ declare namespace ComputeOptimizer {
|
|
|
545
545
|
export type MemberAccountsEnrolled = boolean;
|
|
546
546
|
export type Message = string;
|
|
547
547
|
export type MetadataKey = string;
|
|
548
|
-
export type MetricName = "Cpu"|"Memory"|string;
|
|
548
|
+
export type MetricName = "Cpu"|"Memory"|"EBS_READ_OPS_PER_SECOND"|"EBS_WRITE_OPS_PER_SECOND"|"EBS_READ_BYTES_PER_SECOND"|"EBS_WRITE_BYTES_PER_SECOND"|string;
|
|
549
549
|
export type MetricStatistic = "Maximum"|"Average"|string;
|
|
550
550
|
export type MetricValue = number;
|
|
551
551
|
export type MetricValues = MetricValue[];
|
|
@@ -555,7 +555,7 @@ declare namespace ComputeOptimizer {
|
|
|
555
555
|
export type Period = number;
|
|
556
556
|
export interface ProjectedMetric {
|
|
557
557
|
/**
|
|
558
|
-
* The name of the projected utilization metric.
|
|
558
|
+
* The name of the projected utilization metric.
|
|
559
559
|
*/
|
|
560
560
|
name?: MetricName;
|
|
561
561
|
/**
|
|
@@ -709,7 +709,7 @@ declare namespace ComputeOptimizer {
|
|
|
709
709
|
}
|
|
710
710
|
export interface UtilizationMetric {
|
|
711
711
|
/**
|
|
712
|
-
* The name of the utilization metric. Memory
|
|
712
|
+
* The name of the utilization metric. The Memory metric is returned only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
|
|
713
713
|
*/
|
|
714
714
|
name?: MetricName;
|
|
715
715
|
/**
|