@cdklabs/cdk-ecs-codedeploy 0.0.6 → 0.0.8
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/.jsii +3 -3
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +19 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/backup-gateway-2021-01-01.min.json +211 -9
- package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +21 -3
- package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +5 -2
- package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +3 -0
- package/node_modules/aws-sdk/apis/kinesis-2013-12-02.min.json +304 -51
- package/node_modules/aws-sdk/apis/kinesis-2013-12-02.paginators.json +6 -3
- package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +4 -0
- package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +33 -27
- package/node_modules/aws-sdk/apis/networkmanager-2019-07-05.min.json +3 -0
- package/node_modules/aws-sdk/apis/redshift-data-2019-12-20.min.json +13 -7
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +541 -524
- package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +796 -160
- package/node_modules/aws-sdk/clients/backupgateway.d.ts +258 -0
- package/node_modules/aws-sdk/clients/cloudwatch.d.ts +12 -3
- package/node_modules/aws-sdk/clients/connect.d.ts +7 -7
- package/node_modules/aws-sdk/clients/costexplorer.d.ts +33 -13
- package/node_modules/aws-sdk/clients/ecs.d.ts +15 -3
- package/node_modules/aws-sdk/clients/eks.d.ts +21 -21
- package/node_modules/aws-sdk/clients/glue.d.ts +4 -0
- package/node_modules/aws-sdk/clients/kinesis.d.ts +180 -60
- package/node_modules/aws-sdk/clients/location.d.ts +2 -2
- package/node_modules/aws-sdk/clients/m2.d.ts +81 -65
- package/node_modules/aws-sdk/clients/networkmanager.d.ts +6 -2
- package/node_modules/aws-sdk/clients/redshiftdata.d.ts +31 -22
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +60 -42
- package/node_modules/aws-sdk/clients/sagemakermetrics.d.ts +7 -7
- package/node_modules/aws-sdk/clients/securityhub.d.ts +971 -0
- package/node_modules/aws-sdk/clients/translate.d.ts +10 -9
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +13 -13
- package/node_modules/aws-sdk/dist/aws-sdk.js +372 -89
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +95 -95
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +6 -6
|
@@ -51,6 +51,14 @@ declare class BackupGateway extends Service {
|
|
|
51
51
|
* Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.
|
|
52
52
|
*/
|
|
53
53
|
disassociateGatewayFromServer(callback?: (err: AWSError, data: BackupGateway.Types.DisassociateGatewayFromServerOutput) => void): Request<BackupGateway.Types.DisassociateGatewayFromServerOutput, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to get a gateway's bandwidth rate limit schedule.
|
|
56
|
+
*/
|
|
57
|
+
getBandwidthRateLimitSchedule(params: BackupGateway.Types.GetBandwidthRateLimitScheduleInput, callback?: (err: AWSError, data: BackupGateway.Types.GetBandwidthRateLimitScheduleOutput) => void): Request<BackupGateway.Types.GetBandwidthRateLimitScheduleOutput, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Retrieves the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to get a gateway's bandwidth rate limit schedule.
|
|
60
|
+
*/
|
|
61
|
+
getBandwidthRateLimitSchedule(callback?: (err: AWSError, data: BackupGateway.Types.GetBandwidthRateLimitScheduleOutput) => void): Request<BackupGateway.Types.GetBandwidthRateLimitScheduleOutput, AWSError>;
|
|
54
62
|
/**
|
|
55
63
|
* By providing the ARN (Amazon Resource Name), this API returns the gateway.
|
|
56
64
|
*/
|
|
@@ -59,6 +67,22 @@ declare class BackupGateway extends Service {
|
|
|
59
67
|
* By providing the ARN (Amazon Resource Name), this API returns the gateway.
|
|
60
68
|
*/
|
|
61
69
|
getGateway(callback?: (err: AWSError, data: BackupGateway.Types.GetGatewayOutput) => void): Request<BackupGateway.Types.GetGatewayOutput, AWSError>;
|
|
70
|
+
/**
|
|
71
|
+
* This action requests information about the specified hypervisor to which the gateway will connect. A hypervisor is hardware, software, or firmware that creates and manages virtual machines, and allocates resources to them.
|
|
72
|
+
*/
|
|
73
|
+
getHypervisor(params: BackupGateway.Types.GetHypervisorInput, callback?: (err: AWSError, data: BackupGateway.Types.GetHypervisorOutput) => void): Request<BackupGateway.Types.GetHypervisorOutput, AWSError>;
|
|
74
|
+
/**
|
|
75
|
+
* This action requests information about the specified hypervisor to which the gateway will connect. A hypervisor is hardware, software, or firmware that creates and manages virtual machines, and allocates resources to them.
|
|
76
|
+
*/
|
|
77
|
+
getHypervisor(callback?: (err: AWSError, data: BackupGateway.Types.GetHypervisorOutput) => void): Request<BackupGateway.Types.GetHypervisorOutput, AWSError>;
|
|
78
|
+
/**
|
|
79
|
+
* This action retrieves the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
|
|
80
|
+
*/
|
|
81
|
+
getHypervisorPropertyMappings(params: BackupGateway.Types.GetHypervisorPropertyMappingsInput, callback?: (err: AWSError, data: BackupGateway.Types.GetHypervisorPropertyMappingsOutput) => void): Request<BackupGateway.Types.GetHypervisorPropertyMappingsOutput, AWSError>;
|
|
82
|
+
/**
|
|
83
|
+
* This action retrieves the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
|
|
84
|
+
*/
|
|
85
|
+
getHypervisorPropertyMappings(callback?: (err: AWSError, data: BackupGateway.Types.GetHypervisorPropertyMappingsOutput) => void): Request<BackupGateway.Types.GetHypervisorPropertyMappingsOutput, AWSError>;
|
|
62
86
|
/**
|
|
63
87
|
* By providing the ARN (Amazon Resource Name), this API returns the virtual machine.
|
|
64
88
|
*/
|
|
@@ -107,6 +131,22 @@ declare class BackupGateway extends Service {
|
|
|
107
131
|
* Lists your virtual machines.
|
|
108
132
|
*/
|
|
109
133
|
listVirtualMachines(callback?: (err: AWSError, data: BackupGateway.Types.ListVirtualMachinesOutput) => void): Request<BackupGateway.Types.ListVirtualMachinesOutput, AWSError>;
|
|
134
|
+
/**
|
|
135
|
+
* This action sets the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have a bandwidth rate limit schedule, which means no bandwidth rate limiting is in effect. Use this to initiate a gateway's bandwidth rate limit schedule.
|
|
136
|
+
*/
|
|
137
|
+
putBandwidthRateLimitSchedule(params: BackupGateway.Types.PutBandwidthRateLimitScheduleInput, callback?: (err: AWSError, data: BackupGateway.Types.PutBandwidthRateLimitScheduleOutput) => void): Request<BackupGateway.Types.PutBandwidthRateLimitScheduleOutput, AWSError>;
|
|
138
|
+
/**
|
|
139
|
+
* This action sets the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have a bandwidth rate limit schedule, which means no bandwidth rate limiting is in effect. Use this to initiate a gateway's bandwidth rate limit schedule.
|
|
140
|
+
*/
|
|
141
|
+
putBandwidthRateLimitSchedule(callback?: (err: AWSError, data: BackupGateway.Types.PutBandwidthRateLimitScheduleOutput) => void): Request<BackupGateway.Types.PutBandwidthRateLimitScheduleOutput, AWSError>;
|
|
142
|
+
/**
|
|
143
|
+
* This action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
|
|
144
|
+
*/
|
|
145
|
+
putHypervisorPropertyMappings(params: BackupGateway.Types.PutHypervisorPropertyMappingsInput, callback?: (err: AWSError, data: BackupGateway.Types.PutHypervisorPropertyMappingsOutput) => void): Request<BackupGateway.Types.PutHypervisorPropertyMappingsOutput, AWSError>;
|
|
146
|
+
/**
|
|
147
|
+
* This action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
|
|
148
|
+
*/
|
|
149
|
+
putHypervisorPropertyMappings(callback?: (err: AWSError, data: BackupGateway.Types.PutHypervisorPropertyMappingsOutput) => void): Request<BackupGateway.Types.PutHypervisorPropertyMappingsOutput, AWSError>;
|
|
110
150
|
/**
|
|
111
151
|
* Set the maintenance start time for a gateway.
|
|
112
152
|
*/
|
|
@@ -115,6 +155,14 @@ declare class BackupGateway extends Service {
|
|
|
115
155
|
* Set the maintenance start time for a gateway.
|
|
116
156
|
*/
|
|
117
157
|
putMaintenanceStartTime(callback?: (err: AWSError, data: BackupGateway.Types.PutMaintenanceStartTimeOutput) => void): Request<BackupGateway.Types.PutMaintenanceStartTimeOutput, AWSError>;
|
|
158
|
+
/**
|
|
159
|
+
* This action sends a request to sync metadata across the specified virtual machines.
|
|
160
|
+
*/
|
|
161
|
+
startVirtualMachinesMetadataSync(params: BackupGateway.Types.StartVirtualMachinesMetadataSyncInput, callback?: (err: AWSError, data: BackupGateway.Types.StartVirtualMachinesMetadataSyncOutput) => void): Request<BackupGateway.Types.StartVirtualMachinesMetadataSyncOutput, AWSError>;
|
|
162
|
+
/**
|
|
163
|
+
* This action sends a request to sync metadata across the specified virtual machines.
|
|
164
|
+
*/
|
|
165
|
+
startVirtualMachinesMetadataSync(callback?: (err: AWSError, data: BackupGateway.Types.StartVirtualMachinesMetadataSyncOutput) => void): Request<BackupGateway.Types.StartVirtualMachinesMetadataSyncOutput, AWSError>;
|
|
118
166
|
/**
|
|
119
167
|
* Tag the resource.
|
|
120
168
|
*/
|
|
@@ -182,6 +230,34 @@ declare namespace BackupGateway {
|
|
|
182
230
|
*/
|
|
183
231
|
GatewayArn?: GatewayArn;
|
|
184
232
|
}
|
|
233
|
+
export type AverageUploadRateLimit = number;
|
|
234
|
+
export interface BandwidthRateLimitInterval {
|
|
235
|
+
/**
|
|
236
|
+
* The average upload rate limit component of the bandwidth rate limit interval, in bits per second. This field does not appear in the response if the upload rate limit is not set. For Backup Gateway, the minimum value is (Value).
|
|
237
|
+
*/
|
|
238
|
+
AverageUploadRateLimitInBitsPerSec?: AverageUploadRateLimit;
|
|
239
|
+
/**
|
|
240
|
+
* The days of the week component of the bandwidth rate limit interval, represented as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 represents Saturday.
|
|
241
|
+
*/
|
|
242
|
+
DaysOfWeek: DaysOfWeek;
|
|
243
|
+
/**
|
|
244
|
+
* The hour of the day to end the bandwidth rate limit interval.
|
|
245
|
+
*/
|
|
246
|
+
EndHourOfDay: HourOfDay;
|
|
247
|
+
/**
|
|
248
|
+
* The minute of the hour to end the bandwidth rate limit interval. The bandwidth rate limit interval ends at the end of the minute. To end an interval at the end of an hour, use the value 59.
|
|
249
|
+
*/
|
|
250
|
+
EndMinuteOfHour: MinuteOfHour;
|
|
251
|
+
/**
|
|
252
|
+
* The hour of the day to start the bandwidth rate limit interval.
|
|
253
|
+
*/
|
|
254
|
+
StartHourOfDay: HourOfDay;
|
|
255
|
+
/**
|
|
256
|
+
* The minute of the hour to start the bandwidth rate limit interval. The interval begins at the start of that minute. To begin an interval exactly at the start of the hour, use the value 0.
|
|
257
|
+
*/
|
|
258
|
+
StartMinuteOfHour: MinuteOfHour;
|
|
259
|
+
}
|
|
260
|
+
export type BandwidthRateLimitIntervals = BandwidthRateLimitInterval[];
|
|
185
261
|
export interface CreateGatewayInput {
|
|
186
262
|
/**
|
|
187
263
|
* The activation key of the created gateway.
|
|
@@ -208,6 +284,7 @@ declare namespace BackupGateway {
|
|
|
208
284
|
}
|
|
209
285
|
export type DayOfMonth = number;
|
|
210
286
|
export type DayOfWeek = number;
|
|
287
|
+
export type DaysOfWeek = DayOfWeek[];
|
|
211
288
|
export interface DeleteGatewayInput {
|
|
212
289
|
/**
|
|
213
290
|
* The Amazon Resource Name (ARN) of the gateway to delete.
|
|
@@ -303,6 +380,22 @@ declare namespace BackupGateway {
|
|
|
303
380
|
}
|
|
304
381
|
export type GatewayType = "BACKUP_VM"|string;
|
|
305
382
|
export type Gateways = Gateway[];
|
|
383
|
+
export interface GetBandwidthRateLimitScheduleInput {
|
|
384
|
+
/**
|
|
385
|
+
* The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
|
|
386
|
+
*/
|
|
387
|
+
GatewayArn: GatewayArn;
|
|
388
|
+
}
|
|
389
|
+
export interface GetBandwidthRateLimitScheduleOutput {
|
|
390
|
+
/**
|
|
391
|
+
* An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
|
|
392
|
+
*/
|
|
393
|
+
BandwidthRateLimitIntervals?: BandwidthRateLimitIntervals;
|
|
394
|
+
/**
|
|
395
|
+
* The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
|
|
396
|
+
*/
|
|
397
|
+
GatewayArn?: GatewayArn;
|
|
398
|
+
}
|
|
306
399
|
export interface GetGatewayInput {
|
|
307
400
|
/**
|
|
308
401
|
* The Amazon Resource Name (ARN) of the gateway.
|
|
@@ -315,6 +408,38 @@ declare namespace BackupGateway {
|
|
|
315
408
|
*/
|
|
316
409
|
Gateway?: GatewayDetails;
|
|
317
410
|
}
|
|
411
|
+
export interface GetHypervisorInput {
|
|
412
|
+
/**
|
|
413
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
414
|
+
*/
|
|
415
|
+
HypervisorArn: ServerArn;
|
|
416
|
+
}
|
|
417
|
+
export interface GetHypervisorOutput {
|
|
418
|
+
/**
|
|
419
|
+
* Details about the requested hypervisor.
|
|
420
|
+
*/
|
|
421
|
+
Hypervisor?: HypervisorDetails;
|
|
422
|
+
}
|
|
423
|
+
export interface GetHypervisorPropertyMappingsInput {
|
|
424
|
+
/**
|
|
425
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
426
|
+
*/
|
|
427
|
+
HypervisorArn: ServerArn;
|
|
428
|
+
}
|
|
429
|
+
export interface GetHypervisorPropertyMappingsOutput {
|
|
430
|
+
/**
|
|
431
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
432
|
+
*/
|
|
433
|
+
HypervisorArn?: ServerArn;
|
|
434
|
+
/**
|
|
435
|
+
* The Amazon Resource Name (ARN) of the IAM role.
|
|
436
|
+
*/
|
|
437
|
+
IamRoleArn?: IamRoleArn;
|
|
438
|
+
/**
|
|
439
|
+
* This is a display of the mappings of on-premises VMware tags to the Amazon Web Services tags.
|
|
440
|
+
*/
|
|
441
|
+
VmwareToAwsTagMappings?: VmwareToAwsTagMappings;
|
|
442
|
+
}
|
|
318
443
|
export interface GetVirtualMachineInput {
|
|
319
444
|
/**
|
|
320
445
|
* The Amazon Resource Name (ARN) of the virtual machine.
|
|
@@ -351,9 +476,48 @@ declare namespace BackupGateway {
|
|
|
351
476
|
*/
|
|
352
477
|
State?: HypervisorState;
|
|
353
478
|
}
|
|
479
|
+
export interface HypervisorDetails {
|
|
480
|
+
/**
|
|
481
|
+
* The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
|
|
482
|
+
*/
|
|
483
|
+
Host?: Host;
|
|
484
|
+
/**
|
|
485
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
486
|
+
*/
|
|
487
|
+
HypervisorArn?: ServerArn;
|
|
488
|
+
/**
|
|
489
|
+
* The Amazon Resource Name (ARN) of the KMS used to encrypt the hypervisor.
|
|
490
|
+
*/
|
|
491
|
+
KmsKeyArn?: KmsKeyArn;
|
|
492
|
+
/**
|
|
493
|
+
* This is the time when the most recent successful sync of metadata occurred.
|
|
494
|
+
*/
|
|
495
|
+
LastSuccessfulMetadataSyncTime?: Time;
|
|
496
|
+
/**
|
|
497
|
+
* This is the most recent status for the indicated metadata sync.
|
|
498
|
+
*/
|
|
499
|
+
LatestMetadataSyncStatus?: SyncMetadataStatus;
|
|
500
|
+
/**
|
|
501
|
+
* This is the most recent status for the indicated metadata sync.
|
|
502
|
+
*/
|
|
503
|
+
LatestMetadataSyncStatusMessage?: string;
|
|
504
|
+
/**
|
|
505
|
+
* The Amazon Resource Name (ARN) of the group of gateways within the requested log.
|
|
506
|
+
*/
|
|
507
|
+
LogGroupArn?: LogGroupArn;
|
|
508
|
+
/**
|
|
509
|
+
* This is the name of the specified hypervisor.
|
|
510
|
+
*/
|
|
511
|
+
Name?: Name;
|
|
512
|
+
/**
|
|
513
|
+
* This is the current state of the specified hypervisor. The possible states are PENDING, ONLINE, OFFLINE, or ERROR.
|
|
514
|
+
*/
|
|
515
|
+
State?: HypervisorState;
|
|
516
|
+
}
|
|
354
517
|
export type HypervisorId = string;
|
|
355
518
|
export type HypervisorState = "PENDING"|"ONLINE"|"OFFLINE"|"ERROR"|string;
|
|
356
519
|
export type Hypervisors = Hypervisor[];
|
|
520
|
+
export type IamRoleArn = string;
|
|
357
521
|
export interface ImportHypervisorConfigurationInput {
|
|
358
522
|
/**
|
|
359
523
|
* The server host of the hypervisor. This can be either an IP address or a fully-qualified domain name (FQDN).
|
|
@@ -467,6 +631,7 @@ declare namespace BackupGateway {
|
|
|
467
631
|
*/
|
|
468
632
|
VirtualMachines?: VirtualMachines;
|
|
469
633
|
}
|
|
634
|
+
export type LogGroupArn = string;
|
|
470
635
|
export interface MaintenanceStartTime {
|
|
471
636
|
/**
|
|
472
637
|
* The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
|
|
@@ -491,6 +656,42 @@ declare namespace BackupGateway {
|
|
|
491
656
|
export type NextToken = string;
|
|
492
657
|
export type Password = string;
|
|
493
658
|
export type Path = string;
|
|
659
|
+
export interface PutBandwidthRateLimitScheduleInput {
|
|
660
|
+
/**
|
|
661
|
+
* An array containing bandwidth rate limit schedule intervals for a gateway. When no bandwidth rate limit intervals have been scheduled, the array is empty.
|
|
662
|
+
*/
|
|
663
|
+
BandwidthRateLimitIntervals: BandwidthRateLimitIntervals;
|
|
664
|
+
/**
|
|
665
|
+
* The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
|
|
666
|
+
*/
|
|
667
|
+
GatewayArn: GatewayArn;
|
|
668
|
+
}
|
|
669
|
+
export interface PutBandwidthRateLimitScheduleOutput {
|
|
670
|
+
/**
|
|
671
|
+
* The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
|
|
672
|
+
*/
|
|
673
|
+
GatewayArn?: GatewayArn;
|
|
674
|
+
}
|
|
675
|
+
export interface PutHypervisorPropertyMappingsInput {
|
|
676
|
+
/**
|
|
677
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
678
|
+
*/
|
|
679
|
+
HypervisorArn: ServerArn;
|
|
680
|
+
/**
|
|
681
|
+
* The Amazon Resource Name (ARN) of the IAM role.
|
|
682
|
+
*/
|
|
683
|
+
IamRoleArn: IamRoleArn;
|
|
684
|
+
/**
|
|
685
|
+
* This action requests the mappings of on-premises VMware tags to the Amazon Web Services tags.
|
|
686
|
+
*/
|
|
687
|
+
VmwareToAwsTagMappings: VmwareToAwsTagMappings;
|
|
688
|
+
}
|
|
689
|
+
export interface PutHypervisorPropertyMappingsOutput {
|
|
690
|
+
/**
|
|
691
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
692
|
+
*/
|
|
693
|
+
HypervisorArn?: ServerArn;
|
|
694
|
+
}
|
|
494
695
|
export interface PutMaintenanceStartTimeInput {
|
|
495
696
|
/**
|
|
496
697
|
* The day of the month start maintenance on a gateway. Valid values range from Sunday to Saturday.
|
|
@@ -521,6 +722,19 @@ declare namespace BackupGateway {
|
|
|
521
722
|
}
|
|
522
723
|
export type ResourceArn = string;
|
|
523
724
|
export type ServerArn = string;
|
|
725
|
+
export interface StartVirtualMachinesMetadataSyncInput {
|
|
726
|
+
/**
|
|
727
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
728
|
+
*/
|
|
729
|
+
HypervisorArn: ServerArn;
|
|
730
|
+
}
|
|
731
|
+
export interface StartVirtualMachinesMetadataSyncOutput {
|
|
732
|
+
/**
|
|
733
|
+
* The Amazon Resource Name (ARN) of the hypervisor.
|
|
734
|
+
*/
|
|
735
|
+
HypervisorArn?: ServerArn;
|
|
736
|
+
}
|
|
737
|
+
export type SyncMetadataStatus = "CREATED"|"RUNNING"|"FAILED"|"PARTIALLY_FAILED"|"SUCCEEDED"|string;
|
|
524
738
|
export interface Tag {
|
|
525
739
|
/**
|
|
526
740
|
* The key part of a tag's key-value pair. The key can't start with aws:.
|
|
@@ -625,6 +839,10 @@ declare namespace BackupGateway {
|
|
|
625
839
|
* The Amazon Resource Name (ARN) of the hypervisor to update.
|
|
626
840
|
*/
|
|
627
841
|
HypervisorArn: ServerArn;
|
|
842
|
+
/**
|
|
843
|
+
* The Amazon Resource Name (ARN) of the group of gateways within the requested log.
|
|
844
|
+
*/
|
|
845
|
+
LogGroupArn?: LogGroupArn;
|
|
628
846
|
/**
|
|
629
847
|
* The updated name for the hypervisor
|
|
630
848
|
*/
|
|
@@ -696,8 +914,48 @@ declare namespace BackupGateway {
|
|
|
696
914
|
* The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL.
|
|
697
915
|
*/
|
|
698
916
|
ResourceArn?: ResourceArn;
|
|
917
|
+
/**
|
|
918
|
+
* These are the details of the VMware tags associated with the specified virtual machine.
|
|
919
|
+
*/
|
|
920
|
+
VmwareTags?: VmwareTags;
|
|
699
921
|
}
|
|
700
922
|
export type VirtualMachines = VirtualMachine[];
|
|
923
|
+
export type VmwareCategory = string;
|
|
924
|
+
export interface VmwareTag {
|
|
925
|
+
/**
|
|
926
|
+
* The is the category of VMware.
|
|
927
|
+
*/
|
|
928
|
+
VmwareCategory?: VmwareCategory;
|
|
929
|
+
/**
|
|
930
|
+
* This is a user-defined description of a VMware tag.
|
|
931
|
+
*/
|
|
932
|
+
VmwareTagDescription?: string;
|
|
933
|
+
/**
|
|
934
|
+
* This is the user-defined name of a VMware tag.
|
|
935
|
+
*/
|
|
936
|
+
VmwareTagName?: VmwareTagName;
|
|
937
|
+
}
|
|
938
|
+
export type VmwareTagName = string;
|
|
939
|
+
export type VmwareTags = VmwareTag[];
|
|
940
|
+
export interface VmwareToAwsTagMapping {
|
|
941
|
+
/**
|
|
942
|
+
* The key part of the Amazon Web Services tag's key-value pair.
|
|
943
|
+
*/
|
|
944
|
+
AwsTagKey: TagKey;
|
|
945
|
+
/**
|
|
946
|
+
* The value part of the Amazon Web Services tag's key-value pair.
|
|
947
|
+
*/
|
|
948
|
+
AwsTagValue: TagValue;
|
|
949
|
+
/**
|
|
950
|
+
* The is the category of VMware.
|
|
951
|
+
*/
|
|
952
|
+
VmwareCategory: VmwareCategory;
|
|
953
|
+
/**
|
|
954
|
+
* This is the user-defined name of a VMware tag.
|
|
955
|
+
*/
|
|
956
|
+
VmwareTagName: VmwareTagName;
|
|
957
|
+
}
|
|
958
|
+
export type VmwareToAwsTagMappings = VmwareToAwsTagMapping[];
|
|
701
959
|
export type VpcEndpoint = string;
|
|
702
960
|
/**
|
|
703
961
|
* 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.
|
|
@@ -253,11 +253,11 @@ declare class CloudWatch extends Service {
|
|
|
253
253
|
*/
|
|
254
254
|
putManagedInsightRules(callback?: (err: AWSError, data: CloudWatch.Types.PutManagedInsightRulesOutput) => void): Request<CloudWatch.Types.PutManagedInsightRulesOutput, AWSError>;
|
|
255
255
|
/**
|
|
256
|
-
* Creates or updates an alarm and associates it with the specified metric, metric math expression,
|
|
256
|
+
* Creates or updates an alarm and associates it with the specified metric, metric math expression, anomaly detection model, or Metrics Insights query. For more information about using a Metrics Insights query for an alarm, see Create alarms on Metrics Insights queries. Alarms based on anomaly detection models cannot have Auto Scaling actions. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. If you are an IAM user, you must have Amazon EC2 permissions for some alarm operations: The iam:CreateServiceLinkedRole for all alarms with EC2 actions The iam:CreateServiceLinkedRole to create an alarm with Systems Manager OpsItem actions. The first time you create an alarm in the Amazon Web Services Management Console, the CLI, or by using the PutMetricAlarm API, CloudWatch creates the necessary service-linked role for you. The service-linked roles are called AWSServiceRoleForCloudWatchEvents and AWSServiceRoleForCloudWatchAlarms_ActionSSM. For more information, see Amazon Web Services service-linked role. Cross-account alarms You can set an alarm on metrics in the current account, or in another account. To create a cross-account alarm that watches a metric in a different account, you must have completed the following pre-requisites: The account where the metrics are located (the sharing account) must already have a sharing role named CloudWatch-CrossAccountSharingRole. If it does not already have this role, you must create it using the instructions in Set up a sharing account in Cross-account cross-Region CloudWatch console. The policy for that role must grant access to the ID of the account where you are creating the alarm. The account where you are creating the alarm (the monitoring account) must already have a service-linked role named AWSServiceRoleForCloudWatchCrossAccount to allow CloudWatch to assume the sharing role in the sharing account. If it does not, you must create it following the directions in Set up a monitoring account in Cross-account cross-Region CloudWatch console.
|
|
257
257
|
*/
|
|
258
258
|
putMetricAlarm(params: CloudWatch.Types.PutMetricAlarmInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
259
259
|
/**
|
|
260
|
-
* Creates or updates an alarm and associates it with the specified metric, metric math expression,
|
|
260
|
+
* Creates or updates an alarm and associates it with the specified metric, metric math expression, anomaly detection model, or Metrics Insights query. For more information about using a Metrics Insights query for an alarm, see Create alarms on Metrics Insights queries. Alarms based on anomaly detection models cannot have Auto Scaling actions. When this operation creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed. When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. If you are an IAM user, you must have Amazon EC2 permissions for some alarm operations: The iam:CreateServiceLinkedRole for all alarms with EC2 actions The iam:CreateServiceLinkedRole to create an alarm with Systems Manager OpsItem actions. The first time you create an alarm in the Amazon Web Services Management Console, the CLI, or by using the PutMetricAlarm API, CloudWatch creates the necessary service-linked role for you. The service-linked roles are called AWSServiceRoleForCloudWatchEvents and AWSServiceRoleForCloudWatchAlarms_ActionSSM. For more information, see Amazon Web Services service-linked role. Cross-account alarms You can set an alarm on metrics in the current account, or in another account. To create a cross-account alarm that watches a metric in a different account, you must have completed the following pre-requisites: The account where the metrics are located (the sharing account) must already have a sharing role named CloudWatch-CrossAccountSharingRole. If it does not already have this role, you must create it using the instructions in Set up a sharing account in Cross-account cross-Region CloudWatch console. The policy for that role must grant access to the ID of the account where you are creating the alarm. The account where you are creating the alarm (the monitoring account) must already have a service-linked role named AWSServiceRoleForCloudWatchCrossAccount to allow CloudWatch to assume the sharing role in the sharing account. If it does not, you must create it following the directions in Set up a monitoring account in Cross-account cross-Region CloudWatch console.
|
|
261
261
|
*/
|
|
262
262
|
putMetricAlarm(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
263
263
|
/**
|
|
@@ -895,6 +895,7 @@ declare namespace CloudWatch {
|
|
|
895
895
|
}
|
|
896
896
|
export type EvaluateLowSampleCountPercentile = string;
|
|
897
897
|
export type EvaluationPeriods = number;
|
|
898
|
+
export type EvaluationState = "PARTIAL_DATA"|string;
|
|
898
899
|
export type ExceptionType = string;
|
|
899
900
|
export type ExtendedStatistic = string;
|
|
900
901
|
export type ExtendedStatistics = ExtendedStatistic[];
|
|
@@ -1488,7 +1489,7 @@ declare namespace CloudWatch {
|
|
|
1488
1489
|
*/
|
|
1489
1490
|
StateReasonData?: StateReasonData;
|
|
1490
1491
|
/**
|
|
1491
|
-
* The time stamp of the last update to the
|
|
1492
|
+
* The time stamp of the last update to the value of either the StateValue or EvaluationState parameters.
|
|
1492
1493
|
*/
|
|
1493
1494
|
StateUpdatedTimestamp?: Timestamp;
|
|
1494
1495
|
/**
|
|
@@ -1551,6 +1552,14 @@ declare namespace CloudWatch {
|
|
|
1551
1552
|
* In an alarm based on an anomaly detection model, this is the ID of the ANOMALY_DETECTION_BAND function used as the threshold for the alarm.
|
|
1552
1553
|
*/
|
|
1553
1554
|
ThresholdMetricId?: MetricId;
|
|
1555
|
+
/**
|
|
1556
|
+
* If the value of this field is PARTIAL_DATA, the alarm is being evaluated based on only partial data. This happens if the query used for the alarm returns more than 10,000 metrics. For more information, see Create alarms on Metrics Insights queries.
|
|
1557
|
+
*/
|
|
1558
|
+
EvaluationState?: EvaluationState;
|
|
1559
|
+
/**
|
|
1560
|
+
* The date and time that the alarm's StateValue most recently changed.
|
|
1561
|
+
*/
|
|
1562
|
+
StateTransitionedTimestamp?: Timestamp;
|
|
1554
1563
|
}
|
|
1555
1564
|
export type MetricAlarms = MetricAlarm[];
|
|
1556
1565
|
export type MetricData = MetricDatum[];
|
|
@@ -172,11 +172,11 @@ declare class Connect extends Service {
|
|
|
172
172
|
*/
|
|
173
173
|
createRoutingProfile(callback?: (err: AWSError, data: Connect.Types.CreateRoutingProfileResponse) => void): Request<Connect.Types.CreateRoutingProfileResponse, AWSError>;
|
|
174
174
|
/**
|
|
175
|
-
* Creates a rule for the specified Amazon Connect instance.
|
|
175
|
+
* Creates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
176
176
|
*/
|
|
177
177
|
createRule(params: Connect.Types.CreateRuleRequest, callback?: (err: AWSError, data: Connect.Types.CreateRuleResponse) => void): Request<Connect.Types.CreateRuleResponse, AWSError>;
|
|
178
178
|
/**
|
|
179
|
-
* Creates a rule for the specified Amazon Connect instance.
|
|
179
|
+
* Creates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
180
180
|
*/
|
|
181
181
|
createRule(callback?: (err: AWSError, data: Connect.Types.CreateRuleResponse) => void): Request<Connect.Types.CreateRuleResponse, AWSError>;
|
|
182
182
|
/**
|
|
@@ -1268,11 +1268,11 @@ declare class Connect extends Service {
|
|
|
1268
1268
|
*/
|
|
1269
1269
|
updateRoutingProfileQueues(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1270
1270
|
/**
|
|
1271
|
-
* Updates a rule for the specified Amazon Connect instance.
|
|
1271
|
+
* Updates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
1272
1272
|
*/
|
|
1273
1273
|
updateRule(params: Connect.Types.UpdateRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1274
1274
|
/**
|
|
1275
|
-
* Updates a rule for the specified Amazon Connect instance.
|
|
1275
|
+
* Updates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
|
|
1276
1276
|
*/
|
|
1277
1277
|
updateRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1278
1278
|
/**
|
|
@@ -2387,7 +2387,7 @@ declare namespace Connect {
|
|
|
2387
2387
|
*/
|
|
2388
2388
|
AllowedAccessControlTags?: AllowedAccessControlTags;
|
|
2389
2389
|
/**
|
|
2390
|
-
* The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
|
2390
|
+
* The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User | SecurityProfile | Queue | RoutingProfile
|
|
2391
2391
|
*/
|
|
2392
2392
|
TagRestrictedResources?: TagRestrictedResourceList;
|
|
2393
2393
|
}
|
|
@@ -6703,7 +6703,7 @@ declare namespace Connect {
|
|
|
6703
6703
|
*/
|
|
6704
6704
|
ContactFlowId: ContactFlowId;
|
|
6705
6705
|
/**
|
|
6706
|
-
* The JSON string that represents flow's content. For an example, see Example contact flow in Amazon Connect Flow language
|
|
6706
|
+
* The JSON string that represents flow's content. For an example, see Example contact flow in Amazon Connect Flow language.
|
|
6707
6707
|
*/
|
|
6708
6708
|
Content: ContactFlowContent;
|
|
6709
6709
|
}
|
|
@@ -7627,7 +7627,7 @@ declare namespace Connect {
|
|
|
7627
7627
|
export type VocabularyContent = string;
|
|
7628
7628
|
export type VocabularyFailureReason = string;
|
|
7629
7629
|
export type VocabularyId = string;
|
|
7630
|
-
export type VocabularyLanguageCode = "ar-AE"|"de-CH"|"de-DE"|"en-AB"|"en-AU"|"en-GB"|"en-IE"|"en-IN"|"en-US"|"en-WL"|"es-ES"|"es-US"|"fr-CA"|"fr-FR"|"hi-IN"|"it-IT"|"ja-JP"|"ko-KR"|"pt-BR"|"pt-PT"|"zh-CN"|string;
|
|
7630
|
+
export type VocabularyLanguageCode = "ar-AE"|"de-CH"|"de-DE"|"en-AB"|"en-AU"|"en-GB"|"en-IE"|"en-IN"|"en-US"|"en-WL"|"es-ES"|"es-US"|"fr-CA"|"fr-FR"|"hi-IN"|"it-IT"|"ja-JP"|"ko-KR"|"pt-BR"|"pt-PT"|"zh-CN"|"en-NZ"|"en-ZA"|string;
|
|
7631
7631
|
export type VocabularyLastModifiedTime = Date;
|
|
7632
7632
|
export type VocabularyName = string;
|
|
7633
7633
|
export type VocabularyNextToken = string;
|
|
@@ -20,11 +20,11 @@ declare class CostExplorer extends Service {
|
|
|
20
20
|
*/
|
|
21
21
|
createAnomalyMonitor(callback?: (err: AWSError, data: CostExplorer.Types.CreateAnomalyMonitorResponse) => void): Request<CostExplorer.Types.CreateAnomalyMonitorResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Adds
|
|
23
|
+
* Adds an alert subscription to a cost anomaly detection monitor. You can use each subscription to define subscribers with email or SNS notifications. Email subscribers can set an absolute or percentage threshold and a time frequency for receiving notifications.
|
|
24
24
|
*/
|
|
25
25
|
createAnomalySubscription(params: CostExplorer.Types.CreateAnomalySubscriptionRequest, callback?: (err: AWSError, data: CostExplorer.Types.CreateAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.CreateAnomalySubscriptionResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Adds
|
|
27
|
+
* Adds an alert subscription to a cost anomaly detection monitor. You can use each subscription to define subscribers with email or SNS notifications. Email subscribers can set an absolute or percentage threshold and a time frequency for receiving notifications.
|
|
28
28
|
*/
|
|
29
29
|
createAnomalySubscription(callback?: (err: AWSError, data: CostExplorer.Types.CreateAnomalySubscriptionResponse) => void): Request<CostExplorer.Types.CreateAnomalySubscriptionResponse, AWSError>;
|
|
30
30
|
/**
|
|
@@ -68,11 +68,11 @@ declare class CostExplorer extends Service {
|
|
|
68
68
|
*/
|
|
69
69
|
describeCostCategoryDefinition(callback?: (err: AWSError, data: CostExplorer.Types.DescribeCostCategoryDefinitionResponse) => void): Request<CostExplorer.Types.DescribeCostCategoryDefinitionResponse, AWSError>;
|
|
70
70
|
/**
|
|
71
|
-
* Retrieves all of the cost anomalies detected on your account during the time period that's specified by the DateInterval object.
|
|
71
|
+
* Retrieves all of the cost anomalies detected on your account during the time period that's specified by the DateInterval object. Anomalies are available for up to 90 days.
|
|
72
72
|
*/
|
|
73
73
|
getAnomalies(params: CostExplorer.Types.GetAnomaliesRequest, callback?: (err: AWSError, data: CostExplorer.Types.GetAnomaliesResponse) => void): Request<CostExplorer.Types.GetAnomaliesResponse, AWSError>;
|
|
74
74
|
/**
|
|
75
|
-
* Retrieves all of the cost anomalies detected on your account during the time period that's specified by the DateInterval object.
|
|
75
|
+
* Retrieves all of the cost anomalies detected on your account during the time period that's specified by the DateInterval object. Anomalies are available for up to 90 days.
|
|
76
76
|
*/
|
|
77
77
|
getAnomalies(callback?: (err: AWSError, data: CostExplorer.Types.GetAnomaliesResponse) => void): Request<CostExplorer.Types.GetAnomaliesResponse, AWSError>;
|
|
78
78
|
/**
|
|
@@ -426,9 +426,9 @@ declare namespace CostExplorer {
|
|
|
426
426
|
*/
|
|
427
427
|
Subscribers: Subscribers;
|
|
428
428
|
/**
|
|
429
|
-
* The dollar value that triggers a notification if the threshold is exceeded.
|
|
429
|
+
* (deprecated) The dollar value that triggers a notification if the threshold is exceeded. This field has been deprecated. To specify a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression. One of Threshold or ThresholdExpression is required for this resource.
|
|
430
430
|
*/
|
|
431
|
-
Threshold
|
|
431
|
+
Threshold?: NullableNonNegativeDouble;
|
|
432
432
|
/**
|
|
433
433
|
* The frequency that anomaly reports are sent over email.
|
|
434
434
|
*/
|
|
@@ -437,6 +437,10 @@ declare namespace CostExplorer {
|
|
|
437
437
|
* The name for the subscription.
|
|
438
438
|
*/
|
|
439
439
|
SubscriptionName: GenericString;
|
|
440
|
+
/**
|
|
441
|
+
* An Expression object used to specify the anomalies that you want to generate alerts for. This supports dimensions and nested expressions. The supported dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE. The supported nested expression types are AND and OR. The match option GREATER_THAN_OR_EQUAL is required. Values must be numbers between 0 and 10,000,000,000. One of Threshold or ThresholdExpression is required for this resource. The following are examples of valid ThresholdExpressions: Absolute threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } Percentage threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } AND two thresholds together: { "And": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] } OR two thresholds together: { "Or": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
|
|
442
|
+
*/
|
|
443
|
+
ThresholdExpression?: Expression;
|
|
440
444
|
}
|
|
441
445
|
export type AnomalySubscriptionFrequency = "DAILY"|"IMMEDIATE"|"WEEKLY"|string;
|
|
442
446
|
export type AnomalySubscriptions = AnomalySubscription[];
|
|
@@ -862,10 +866,10 @@ declare namespace CostExplorer {
|
|
|
862
866
|
export interface DescribeCostCategoryDefinitionResponse {
|
|
863
867
|
CostCategory?: CostCategory;
|
|
864
868
|
}
|
|
865
|
-
export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE"|"INVOICING_ENTITY"|string;
|
|
869
|
+
export type Dimension = "AZ"|"INSTANCE_TYPE"|"LINKED_ACCOUNT"|"LINKED_ACCOUNT_NAME"|"OPERATION"|"PURCHASE_TYPE"|"REGION"|"SERVICE"|"SERVICE_CODE"|"USAGE_TYPE"|"USAGE_TYPE_GROUP"|"RECORD_TYPE"|"OPERATING_SYSTEM"|"TENANCY"|"SCOPE"|"PLATFORM"|"SUBSCRIPTION_ID"|"LEGAL_ENTITY_NAME"|"DEPLOYMENT_OPTION"|"DATABASE_ENGINE"|"CACHE_ENGINE"|"INSTANCE_TYPE_FAMILY"|"BILLING_ENTITY"|"RESERVATION_ID"|"RESOURCE_ID"|"RIGHTSIZING_TYPE"|"SAVINGS_PLANS_TYPE"|"SAVINGS_PLAN_ARN"|"PAYMENT_OPTION"|"AGREEMENT_END_DATE_TIME_AFTER"|"AGREEMENT_END_DATE_TIME_BEFORE"|"INVOICING_ENTITY"|"ANOMALY_TOTAL_IMPACT_ABSOLUTE"|"ANOMALY_TOTAL_IMPACT_PERCENTAGE"|string;
|
|
866
870
|
export interface DimensionValues {
|
|
867
871
|
/**
|
|
868
|
-
* The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones. LINK_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule.
|
|
872
|
+
* The names of the metadata types that you can use to filter and group your results. For example, AZ returns a list of Availability Zones. Not all dimensions are supported in each API. Refer to the documentation for each specific API to see what is supported. LINK_ACCOUNT_NAME and SERVICE_CODE can only be used in CostCategoryRule. ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE can only be used in AnomalySubscriptions.
|
|
869
873
|
*/
|
|
870
874
|
Key?: Dimension;
|
|
871
875
|
/**
|
|
@@ -873,7 +877,7 @@ declare namespace CostExplorer {
|
|
|
873
877
|
*/
|
|
874
878
|
Values?: Values;
|
|
875
879
|
/**
|
|
876
|
-
* The match options that you can use to filter your results.
|
|
880
|
+
* The match options that you can use to filter your results. MatchOptions is only applicable for actions related to Cost Category and Anomaly Subscriptions. Refer to the documentation for each specific API to see what is supported. The default values for MatchOptions are EQUALS and CASE_SENSITIVE.
|
|
877
881
|
*/
|
|
878
882
|
MatchOptions?: MatchOptions;
|
|
879
883
|
}
|
|
@@ -1905,13 +1909,25 @@ declare namespace CostExplorer {
|
|
|
1905
1909
|
export type Groups = Group[];
|
|
1906
1910
|
export interface Impact {
|
|
1907
1911
|
/**
|
|
1908
|
-
* The maximum dollar value that's observed for an anomaly.
|
|
1912
|
+
* The maximum dollar value that's observed for an anomaly.
|
|
1909
1913
|
*/
|
|
1910
1914
|
MaxImpact: GenericDouble;
|
|
1911
1915
|
/**
|
|
1912
|
-
* The cumulative dollar
|
|
1916
|
+
* The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as TotalActualSpend - TotalExpectedSpend.
|
|
1913
1917
|
*/
|
|
1914
1918
|
TotalImpact?: GenericDouble;
|
|
1919
|
+
/**
|
|
1920
|
+
* The cumulative dollar amount that was actually spent during the anomaly.
|
|
1921
|
+
*/
|
|
1922
|
+
TotalActualSpend?: NullableNonNegativeDouble;
|
|
1923
|
+
/**
|
|
1924
|
+
* The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer.
|
|
1925
|
+
*/
|
|
1926
|
+
TotalExpectedSpend?: NullableNonNegativeDouble;
|
|
1927
|
+
/**
|
|
1928
|
+
* The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend is zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time.
|
|
1929
|
+
*/
|
|
1930
|
+
TotalImpactPercentage?: NullableNonNegativeDouble;
|
|
1915
1931
|
}
|
|
1916
1932
|
export interface InstanceDetails {
|
|
1917
1933
|
/**
|
|
@@ -2034,7 +2050,7 @@ declare namespace CostExplorer {
|
|
|
2034
2050
|
ResourceTags?: ResourceTagList;
|
|
2035
2051
|
}
|
|
2036
2052
|
export type LookbackPeriodInDays = "SEVEN_DAYS"|"THIRTY_DAYS"|"SIXTY_DAYS"|string;
|
|
2037
|
-
export type MatchOption = "EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE"|string;
|
|
2053
|
+
export type MatchOption = "EQUALS"|"ABSENT"|"STARTS_WITH"|"ENDS_WITH"|"CONTAINS"|"CASE_SENSITIVE"|"CASE_INSENSITIVE"|"GREATER_THAN_OR_EQUAL"|string;
|
|
2038
2054
|
export type MatchOptions = MatchOption[];
|
|
2039
2055
|
export type MaxResults = number;
|
|
2040
2056
|
export type Metric = "BLENDED_COST"|"UNBLENDED_COST"|"AMORTIZED_COST"|"NET_UNBLENDED_COST"|"NET_AMORTIZED_COST"|"USAGE_QUANTITY"|"NORMALIZED_USAGE_AMOUNT"|string;
|
|
@@ -3040,7 +3056,7 @@ declare namespace CostExplorer {
|
|
|
3040
3056
|
*/
|
|
3041
3057
|
SubscriptionArn: GenericString;
|
|
3042
3058
|
/**
|
|
3043
|
-
* The update to the threshold value for receiving notifications.
|
|
3059
|
+
* (deprecated) The update to the threshold value for receiving notifications. This field has been deprecated. To update a threshold, use ThresholdExpression. Continued use of Threshold will be treated as shorthand syntax for a ThresholdExpression.
|
|
3044
3060
|
*/
|
|
3045
3061
|
Threshold?: NullableNonNegativeDouble;
|
|
3046
3062
|
/**
|
|
@@ -3059,6 +3075,10 @@ declare namespace CostExplorer {
|
|
|
3059
3075
|
* The new name of the subscription.
|
|
3060
3076
|
*/
|
|
3061
3077
|
SubscriptionName?: GenericString;
|
|
3078
|
+
/**
|
|
3079
|
+
* The update to the Expression object used to specify the anomalies that you want to generate alerts for. This supports dimensions and nested expressions. The supported dimensions are ANOMALY_TOTAL_IMPACT_ABSOLUTE and ANOMALY_TOTAL_IMPACT_PERCENTAGE. The supported nested expression types are AND and OR. The match option GREATER_THAN_OR_EQUAL is required. Values must be numbers between 0 and 10,000,000,000. The following are examples of valid ThresholdExpressions: Absolute threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } Percentage threshold: { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } AND two thresholds together: { "And": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] } OR two thresholds together: { "Or": [ { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_ABSOLUTE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } }, { "Dimensions": { "Key": "ANOMALY_TOTAL_IMPACT_PERCENTAGE", "MatchOptions": [ "GREATER_THAN_OR_EQUAL" ], "Values": [ "100" ] } } ] }
|
|
3080
|
+
*/
|
|
3081
|
+
ThresholdExpression?: Expression;
|
|
3062
3082
|
}
|
|
3063
3083
|
export interface UpdateAnomalySubscriptionResponse {
|
|
3064
3084
|
/**
|