aws-sdk 2.1367.0 → 2.1369.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.
@@ -35,6 +35,22 @@ declare class Athena extends Service {
35
35
  * Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.
36
36
  */
37
37
  batchGetQueryExecution(callback?: (err: AWSError, data: Athena.Types.BatchGetQueryExecutionOutput) => void): Request<Athena.Types.BatchGetQueryExecutionOutput, AWSError>;
38
+ /**
39
+ * Cancels the capacity reservation with the specified name.
40
+ */
41
+ cancelCapacityReservation(params: Athena.Types.CancelCapacityReservationInput, callback?: (err: AWSError, data: Athena.Types.CancelCapacityReservationOutput) => void): Request<Athena.Types.CancelCapacityReservationOutput, AWSError>;
42
+ /**
43
+ * Cancels the capacity reservation with the specified name.
44
+ */
45
+ cancelCapacityReservation(callback?: (err: AWSError, data: Athena.Types.CancelCapacityReservationOutput) => void): Request<Athena.Types.CancelCapacityReservationOutput, AWSError>;
46
+ /**
47
+ * Creates a capacity reservation with the specified name and number of requested data processing units.
48
+ */
49
+ createCapacityReservation(params: Athena.Types.CreateCapacityReservationInput, callback?: (err: AWSError, data: Athena.Types.CreateCapacityReservationOutput) => void): Request<Athena.Types.CreateCapacityReservationOutput, AWSError>;
50
+ /**
51
+ * Creates a capacity reservation with the specified name and number of requested data processing units.
52
+ */
53
+ createCapacityReservation(callback?: (err: AWSError, data: Athena.Types.CreateCapacityReservationOutput) => void): Request<Athena.Types.CreateCapacityReservationOutput, AWSError>;
38
54
  /**
39
55
  * Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same Amazon Web Services account.
40
56
  */
@@ -155,6 +171,22 @@ declare class Athena extends Service {
155
171
  * Gets the status of a current calculation.
156
172
  */
157
173
  getCalculationExecutionStatus(callback?: (err: AWSError, data: Athena.Types.GetCalculationExecutionStatusResponse) => void): Request<Athena.Types.GetCalculationExecutionStatusResponse, AWSError>;
174
+ /**
175
+ * Gets the capacity assignment configuration for a capacity reservation, if one exists.
176
+ */
177
+ getCapacityAssignmentConfiguration(params: Athena.Types.GetCapacityAssignmentConfigurationInput, callback?: (err: AWSError, data: Athena.Types.GetCapacityAssignmentConfigurationOutput) => void): Request<Athena.Types.GetCapacityAssignmentConfigurationOutput, AWSError>;
178
+ /**
179
+ * Gets the capacity assignment configuration for a capacity reservation, if one exists.
180
+ */
181
+ getCapacityAssignmentConfiguration(callback?: (err: AWSError, data: Athena.Types.GetCapacityAssignmentConfigurationOutput) => void): Request<Athena.Types.GetCapacityAssignmentConfigurationOutput, AWSError>;
182
+ /**
183
+ * Returns information about the capacity reservation with the specified name.
184
+ */
185
+ getCapacityReservation(params: Athena.Types.GetCapacityReservationInput, callback?: (err: AWSError, data: Athena.Types.GetCapacityReservationOutput) => void): Request<Athena.Types.GetCapacityReservationOutput, AWSError>;
186
+ /**
187
+ * Returns information about the capacity reservation with the specified name.
188
+ */
189
+ getCapacityReservation(callback?: (err: AWSError, data: Athena.Types.GetCapacityReservationOutput) => void): Request<Athena.Types.GetCapacityReservationOutput, AWSError>;
158
190
  /**
159
191
  * Returns the specified data catalog.
160
192
  */
@@ -275,6 +307,14 @@ declare class Athena extends Service {
275
307
  * Lists the calculations that have been submitted to a session in descending order. Newer calculations are listed first; older calculations are listed later.
276
308
  */
277
309
  listCalculationExecutions(callback?: (err: AWSError, data: Athena.Types.ListCalculationExecutionsResponse) => void): Request<Athena.Types.ListCalculationExecutionsResponse, AWSError>;
310
+ /**
311
+ * Lists the capacity reservations for the current account.
312
+ */
313
+ listCapacityReservations(params: Athena.Types.ListCapacityReservationsInput, callback?: (err: AWSError, data: Athena.Types.ListCapacityReservationsOutput) => void): Request<Athena.Types.ListCapacityReservationsOutput, AWSError>;
314
+ /**
315
+ * Lists the capacity reservations for the current account.
316
+ */
317
+ listCapacityReservations(callback?: (err: AWSError, data: Athena.Types.ListCapacityReservationsOutput) => void): Request<Athena.Types.ListCapacityReservationsOutput, AWSError>;
278
318
  /**
279
319
  * Lists the data catalogs in the current Amazon Web Services account. In the Athena console, data catalogs are listed as "data sources" on the Data sources page under the Data source name column.
280
320
  */
@@ -364,11 +404,11 @@ declare class Athena extends Service {
364
404
  */
365
405
  listTableMetadata(callback?: (err: AWSError, data: Athena.Types.ListTableMetadataOutput) => void): Request<Athena.Types.ListTableMetadataOutput, AWSError>;
366
406
  /**
367
- * Lists the tags associated with an Athena workgroup or data catalog resource.
407
+ * Lists the tags associated with an Athena resource.
368
408
  */
369
409
  listTagsForResource(params: Athena.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: Athena.Types.ListTagsForResourceOutput) => void): Request<Athena.Types.ListTagsForResourceOutput, AWSError>;
370
410
  /**
371
- * Lists the tags associated with an Athena workgroup or data catalog resource.
411
+ * Lists the tags associated with an Athena resource.
372
412
  */
373
413
  listTagsForResource(callback?: (err: AWSError, data: Athena.Types.ListTagsForResourceOutput) => void): Request<Athena.Types.ListTagsForResourceOutput, AWSError>;
374
414
  /**
@@ -379,6 +419,14 @@ declare class Athena extends Service {
379
419
  * Lists available workgroups for the account.
380
420
  */
381
421
  listWorkGroups(callback?: (err: AWSError, data: Athena.Types.ListWorkGroupsOutput) => void): Request<Athena.Types.ListWorkGroupsOutput, AWSError>;
422
+ /**
423
+ * Puts a new capacity assignment configuration for a specified capacity reservation. If a capacity assignment configuration already exists for the capacity reservation, replaces the existing capacity assignment configuration.
424
+ */
425
+ putCapacityAssignmentConfiguration(params: Athena.Types.PutCapacityAssignmentConfigurationInput, callback?: (err: AWSError, data: Athena.Types.PutCapacityAssignmentConfigurationOutput) => void): Request<Athena.Types.PutCapacityAssignmentConfigurationOutput, AWSError>;
426
+ /**
427
+ * Puts a new capacity assignment configuration for a specified capacity reservation. If a capacity assignment configuration already exists for the capacity reservation, replaces the existing capacity assignment configuration.
428
+ */
429
+ putCapacityAssignmentConfiguration(callback?: (err: AWSError, data: Athena.Types.PutCapacityAssignmentConfigurationOutput) => void): Request<Athena.Types.PutCapacityAssignmentConfigurationOutput, AWSError>;
382
430
  /**
383
431
  * Submits calculations for execution within a session. You can supply the code to run as an inline code block within the request.
384
432
  */
@@ -420,11 +468,11 @@ declare class Athena extends Service {
420
468
  */
421
469
  stopQueryExecution(callback?: (err: AWSError, data: Athena.Types.StopQueryExecutionOutput) => void): Request<Athena.Types.StopQueryExecutionOutput, AWSError>;
422
470
  /**
423
- * Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. In Athena, a resource can be a workgroup or data catalog. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups or data catalogs by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups or data catalogs in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.
471
+ * Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups, data catalogs, or capacity reservations by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter the resources in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.
424
472
  */
425
473
  tagResource(params: Athena.Types.TagResourceInput, callback?: (err: AWSError, data: Athena.Types.TagResourceOutput) => void): Request<Athena.Types.TagResourceOutput, AWSError>;
426
474
  /**
427
- * Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. In Athena, a resource can be a workgroup or data catalog. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups or data catalogs by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter workgroups or data catalogs in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.
475
+ * Adds one or more tags to an Athena resource. A tag is a label that you assign to a resource. Each tag consists of a key and an optional value, both of which you define. For example, you can use tags to categorize Athena workgroups, data catalogs, or capacity reservations by purpose, owner, or environment. Use a consistent set of tag keys to make it easier to search and filter the resources in your account. For best practices, see Tagging Best Practices. Tag keys can be from 1 to 128 UTF-8 Unicode characters, and tag values can be from 0 to 256 UTF-8 Unicode characters. Tags can use letters and numbers representable in UTF-8, and the following characters: + - = . _ : / @. Tag keys and values are case-sensitive. Tag keys must be unique per resource. If you specify more than one tag, separate them by commas.
428
476
  */
429
477
  tagResource(callback?: (err: AWSError, data: Athena.Types.TagResourceOutput) => void): Request<Athena.Types.TagResourceOutput, AWSError>;
430
478
  /**
@@ -436,13 +484,21 @@ declare class Athena extends Service {
436
484
  */
437
485
  terminateSession(callback?: (err: AWSError, data: Athena.Types.TerminateSessionResponse) => void): Request<Athena.Types.TerminateSessionResponse, AWSError>;
438
486
  /**
439
- * Removes one or more tags from a data catalog or workgroup resource.
487
+ * Removes one or more tags from an Athena resource.
440
488
  */
441
489
  untagResource(params: Athena.Types.UntagResourceInput, callback?: (err: AWSError, data: Athena.Types.UntagResourceOutput) => void): Request<Athena.Types.UntagResourceOutput, AWSError>;
442
490
  /**
443
- * Removes one or more tags from a data catalog or workgroup resource.
491
+ * Removes one or more tags from an Athena resource.
444
492
  */
445
493
  untagResource(callback?: (err: AWSError, data: Athena.Types.UntagResourceOutput) => void): Request<Athena.Types.UntagResourceOutput, AWSError>;
494
+ /**
495
+ * Updates the number of requested data processing units for the capacity reservation with the specified name.
496
+ */
497
+ updateCapacityReservation(params: Athena.Types.UpdateCapacityReservationInput, callback?: (err: AWSError, data: Athena.Types.UpdateCapacityReservationOutput) => void): Request<Athena.Types.UpdateCapacityReservationOutput, AWSError>;
498
+ /**
499
+ * Updates the number of requested data processing units for the capacity reservation with the specified name.
500
+ */
501
+ updateCapacityReservation(callback?: (err: AWSError, data: Athena.Types.UpdateCapacityReservationOutput) => void): Request<Athena.Types.UpdateCapacityReservationOutput, AWSError>;
446
502
  /**
447
503
  * Updates the data catalog that has the specified name.
448
504
  */
@@ -500,6 +556,7 @@ declare namespace Athena {
500
556
  S3AclOption: S3AclOption;
501
557
  }
502
558
  export type Age = number;
559
+ export type AllocatedDpusInteger = number;
503
560
  export type AmazonResourceName = string;
504
561
  export interface ApplicationDPUSizes {
505
562
  /**
@@ -657,6 +714,80 @@ declare namespace Athena {
657
714
  Status?: CalculationStatus;
658
715
  }
659
716
  export type CalculationsList = CalculationSummary[];
717
+ export interface CancelCapacityReservationInput {
718
+ /**
719
+ * The name of the capacity reservation to cancel.
720
+ */
721
+ Name: CapacityReservationName;
722
+ }
723
+ export interface CancelCapacityReservationOutput {
724
+ }
725
+ export interface CapacityAllocation {
726
+ /**
727
+ * The status of the capacity allocation.
728
+ */
729
+ Status: CapacityAllocationStatus;
730
+ /**
731
+ * The status message of the capacity allocation.
732
+ */
733
+ StatusMessage?: String;
734
+ /**
735
+ * The time when the capacity allocation was requested.
736
+ */
737
+ RequestTime: Timestamp;
738
+ /**
739
+ * The time when the capacity allocation request was completed.
740
+ */
741
+ RequestCompletionTime?: Timestamp;
742
+ }
743
+ export type CapacityAllocationStatus = "PENDING"|"SUCCEEDED"|"FAILED"|string;
744
+ export interface CapacityAssignment {
745
+ /**
746
+ * The list of workgroup names for the capacity assignment.
747
+ */
748
+ WorkGroupNames?: WorkGroupNamesList;
749
+ }
750
+ export interface CapacityAssignmentConfiguration {
751
+ /**
752
+ * The name of the reservation that the capacity assignment configuration is for.
753
+ */
754
+ CapacityReservationName?: CapacityReservationName;
755
+ /**
756
+ * The list of assignments that make up the capacity assignment configuration.
757
+ */
758
+ CapacityAssignments?: CapacityAssignmentsList;
759
+ }
760
+ export type CapacityAssignmentsList = CapacityAssignment[];
761
+ export interface CapacityReservation {
762
+ /**
763
+ * The name of the capacity reservation.
764
+ */
765
+ Name: CapacityReservationName;
766
+ /**
767
+ * The status of the capacity reservation.
768
+ */
769
+ Status: CapacityReservationStatus;
770
+ /**
771
+ * The number of data processing units requested.
772
+ */
773
+ TargetDpus: TargetDpusInteger;
774
+ /**
775
+ * The number of data processing units currently allocated.
776
+ */
777
+ AllocatedDpus: AllocatedDpusInteger;
778
+ LastAllocation?: CapacityAllocation;
779
+ /**
780
+ * The time of the most recent capacity allocation that succeeded.
781
+ */
782
+ LastSuccessfulAllocationTime?: Timestamp;
783
+ /**
784
+ * The time in UTC epoch millis when the capacity reservation was created.
785
+ */
786
+ CreationTime: Timestamp;
787
+ }
788
+ export type CapacityReservationName = string;
789
+ export type CapacityReservationStatus = "PENDING"|"ACTIVE"|"CANCELLING"|"CANCELLED"|"FAILED"|"UPDATE_PENDING"|string;
790
+ export type CapacityReservationsList = CapacityReservation[];
660
791
  export type CatalogNameString = string;
661
792
  export type ClientRequestToken = string;
662
793
  export type CodeBlock = string;
@@ -721,6 +852,22 @@ declare namespace Athena {
721
852
  export type ColumnNullable = "NOT_NULL"|"NULLABLE"|"UNKNOWN"|string;
722
853
  export type CommentString = string;
723
854
  export type CoordinatorDpuSize = number;
855
+ export interface CreateCapacityReservationInput {
856
+ /**
857
+ * The number of requested data processing units.
858
+ */
859
+ TargetDpus: TargetDpusInteger;
860
+ /**
861
+ * The name of the capacity reservation to create.
862
+ */
863
+ Name: CapacityReservationName;
864
+ /**
865
+ * The tags for the capacity reservation.
866
+ */
867
+ Tags?: TagList;
868
+ }
869
+ export interface CreateCapacityReservationOutput {
870
+ }
724
871
  export interface CreateDataCatalogInput {
725
872
  /**
726
873
  * The name of the data catalog to create. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.
@@ -979,7 +1126,7 @@ declare namespace Athena {
979
1126
  export type EncryptionOption = "SSE_S3"|"SSE_KMS"|"CSE_KMS"|string;
980
1127
  export interface EngineConfiguration {
981
1128
  /**
982
- * The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session.
1129
+ * The number of DPUs to use for the coordinator. A coordinator is a special executor that orchestrates processing work and manages other executors in a notebook session. The default is 1.
983
1130
  */
984
1131
  CoordinatorDpuSize?: CoordinatorDpuSize;
985
1132
  /**
@@ -987,7 +1134,7 @@ declare namespace Athena {
987
1134
  */
988
1135
  MaxConcurrentDpus: MaxConcurrentDpus;
989
1136
  /**
990
- * The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena.
1137
+ * The default number of DPUs to use for executors. An executor is the smallest unit of compute that a notebook session can request from Athena. The default is 1.
991
1138
  */
992
1139
  DefaultExecutorDpuSize?: DefaultExecutorDpuSize;
993
1140
  /**
@@ -1129,6 +1276,30 @@ declare namespace Athena {
1129
1276
  */
1130
1277
  Statistics?: CalculationStatistics;
1131
1278
  }
1279
+ export interface GetCapacityAssignmentConfigurationInput {
1280
+ /**
1281
+ * The name of the capacity reservation to retrieve the capacity assignment configuration for.
1282
+ */
1283
+ CapacityReservationName: CapacityReservationName;
1284
+ }
1285
+ export interface GetCapacityAssignmentConfigurationOutput {
1286
+ /**
1287
+ * The requested capacity assignment configuration for the specified capacity reservation.
1288
+ */
1289
+ CapacityAssignmentConfiguration: CapacityAssignmentConfiguration;
1290
+ }
1291
+ export interface GetCapacityReservationInput {
1292
+ /**
1293
+ * The name of the capacity reservation.
1294
+ */
1295
+ Name: CapacityReservationName;
1296
+ }
1297
+ export interface GetCapacityReservationOutput {
1298
+ /**
1299
+ * The requested capacity reservation structure.
1300
+ */
1301
+ CapacityReservation: CapacityReservation;
1302
+ }
1132
1303
  export interface GetDataCatalogInput {
1133
1304
  /**
1134
1305
  * The name of the data catalog to return.
@@ -1421,6 +1592,26 @@ declare namespace Athena {
1421
1592
  */
1422
1593
  Calculations?: CalculationsList;
1423
1594
  }
1595
+ export interface ListCapacityReservationsInput {
1596
+ /**
1597
+ * A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated.
1598
+ */
1599
+ NextToken?: Token;
1600
+ /**
1601
+ * Specifies the maximum number of results to return.
1602
+ */
1603
+ MaxResults?: MaxCapacityReservationsCount;
1604
+ }
1605
+ export interface ListCapacityReservationsOutput {
1606
+ /**
1607
+ * A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
1608
+ */
1609
+ NextToken?: Token;
1610
+ /**
1611
+ * The capacity reservations for the current account.
1612
+ */
1613
+ CapacityReservations: CapacityReservationsList;
1614
+ }
1424
1615
  export interface ListDataCatalogsInput {
1425
1616
  /**
1426
1617
  * A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
@@ -1748,6 +1939,7 @@ declare namespace Athena {
1748
1939
  export type Long = number;
1749
1940
  export type MaxApplicationDPUSizesCount = number;
1750
1941
  export type MaxCalculationsCount = number;
1942
+ export type MaxCapacityReservationsCount = number;
1751
1943
  export type MaxConcurrentDpus = number;
1752
1944
  export type MaxDataCatalogsCount = number;
1753
1945
  export type MaxDatabasesCount = number;
@@ -1872,6 +2064,18 @@ declare namespace Athena {
1872
2064
  LastModifiedTime?: _Date;
1873
2065
  }
1874
2066
  export type PreparedStatementsList = PreparedStatementSummary[];
2067
+ export interface PutCapacityAssignmentConfigurationInput {
2068
+ /**
2069
+ * The name of the capacity reservation to put a capacity assignment configuration for.
2070
+ */
2071
+ CapacityReservationName: CapacityReservationName;
2072
+ /**
2073
+ * The list of assignments for the capacity assignment configuration.
2074
+ */
2075
+ CapacityAssignments: CapacityAssignmentsList;
2076
+ }
2077
+ export interface PutCapacityAssignmentConfigurationOutput {
2078
+ }
1875
2079
  export interface QueryExecution {
1876
2080
  /**
1877
2081
  * The unique identifier for each query execution.
@@ -2450,17 +2654,18 @@ declare namespace Athena {
2450
2654
  export type TagList = Tag[];
2451
2655
  export interface TagResourceInput {
2452
2656
  /**
2453
- * Specifies the ARN of the Athena resource (workgroup or data catalog) to which tags are to be added.
2657
+ * Specifies the ARN of the Athena resource to which tags are to be added.
2454
2658
  */
2455
2659
  ResourceARN: AmazonResourceName;
2456
2660
  /**
2457
- * A collection of one or more tags, separated by commas, to be added to an Athena workgroup or data catalog resource.
2661
+ * A collection of one or more tags, separated by commas, to be added to an Athena resource.
2458
2662
  */
2459
2663
  Tags: TagList;
2460
2664
  }
2461
2665
  export interface TagResourceOutput {
2462
2666
  }
2463
2667
  export type TagValue = string;
2668
+ export type TargetDpusInteger = number;
2464
2669
  export interface TerminateSessionRequest {
2465
2670
  /**
2466
2671
  * The session ID.
@@ -2533,6 +2738,18 @@ declare namespace Athena {
2533
2738
  }
2534
2739
  export interface UntagResourceOutput {
2535
2740
  }
2741
+ export interface UpdateCapacityReservationInput {
2742
+ /**
2743
+ * The new number of requested data processing units.
2744
+ */
2745
+ TargetDpus: TargetDpusInteger;
2746
+ /**
2747
+ * The name of the capacity reservation.
2748
+ */
2749
+ Name: CapacityReservationName;
2750
+ }
2751
+ export interface UpdateCapacityReservationOutput {
2752
+ }
2536
2753
  export interface UpdateDataCatalogInput {
2537
2754
  /**
2538
2755
  * The name of the data catalog to update. The catalog name must be unique for the Amazon Web Services account and can use a maximum of 127 alphanumeric, underscore, at sign, or hyphen characters. The remainder of the length constraint of 256 is reserved for use by Athena.
@@ -2766,6 +2983,7 @@ declare namespace Athena {
2766
2983
  }
2767
2984
  export type WorkGroupDescriptionString = string;
2768
2985
  export type WorkGroupName = string;
2986
+ export type WorkGroupNamesList = WorkGroupName[];
2769
2987
  export type WorkGroupState = "ENABLED"|"DISABLED"|string;
2770
2988
  export interface WorkGroupSummary {
2771
2989
  /**
@@ -270,7 +270,7 @@ declare namespace ComputeOptimizer {
270
270
  */
271
271
  effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
272
272
  /**
273
- * The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer. Compute Optimizer can infer if one of the following applications might be running on the instances: AmazonEmr - Infers that Amazon EMR might be running on the instances. ApacheCassandra - Infers that Apache Cassandra might be running on the instances. ApacheHadoop - Infers that Apache Hadoop might be running on the instances. Memcached - Infers that Memcached might be running on the instances. NGINX - Infers that NGINX might be running on the instances. PostgreSql - Infers that PostgreSQL might be running on the instances. Redis - Infers that Redis might be running on the instances.
273
+ * The applications that might be running on the instances in the Auto Scaling group as inferred by Compute Optimizer. Compute Optimizer can infer if one of the following applications might be running on the instances: AmazonEmr - Infers that Amazon EMR might be running on the instances. ApacheCassandra - Infers that Apache Cassandra might be running on the instances. ApacheHadoop - Infers that Apache Hadoop might be running on the instances. Memcached - Infers that Memcached might be running on the instances. NGINX - Infers that NGINX might be running on the instances. PostgreSql - Infers that PostgreSQL might be running on the instances. Redis - Infers that Redis might be running on the instances. Kafka - Infers that Kafka might be running on the instance. SQLServer - Infers that SQLServer might be running on the instance.
274
274
  */
275
275
  inferredWorkloadTypes?: InferredWorkloadTypes;
276
276
  }
@@ -409,7 +409,7 @@ declare namespace ComputeOptimizer {
409
409
  export type DestinationKeyPrefix = string;
410
410
  export interface EBSFilter {
411
411
  /**
412
- * The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized).
412
+ * The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized). You can filter your Amazon EBS volume recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your Amazon EBS volume recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Amazon EBS volume recommendations that have a tag with the key of Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA for the filter value. A tag-key is the key of a tag assigned to your Amazon EBS volume recommendations. Use this filter to find all of your Amazon EBS volume recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Amazon EBS volume recommendations with a tag key value of Owner or without any tag keys assigned.
413
413
  */
414
414
  name?: EBSFilterName;
415
415
  /**
@@ -522,10 +522,14 @@ declare namespace ComputeOptimizer {
522
522
  * The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
523
523
  */
524
524
  currentPerformanceRisk?: CurrentPerformanceRisk;
525
+ /**
526
+ * A list of tags assigned to your Amazon ECS service recommendations.
527
+ */
528
+ tags?: Tags;
525
529
  }
526
530
  export interface ECSServiceRecommendationFilter {
527
531
  /**
528
- * The name of the filter. Specify Finding to return recommendations with a specific finding classification. Specify FindingReasonCode to return recommendations with a specific finding reason code.
532
+ * The name of the filter. Specify Finding to return recommendations with a specific finding classification. Specify FindingReasonCode to return recommendations with a specific finding reason code. You can filter your Amazon ECS service recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your Amazon ECS service recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Amazon ECS service recommendations that have a tag with the key of Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA for the filter value. A tag-key is the key of a tag assigned to your Amazon ECS service recommendations. Use this filter to find all of your Amazon ECS service recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Amazon ECS service recommendations with a tag key value of Owner or without any tag keys assigned.
529
533
  */
530
534
  name?: ECSServiceRecommendationFilterName;
531
535
  /**
@@ -808,13 +812,13 @@ declare namespace ComputeOptimizer {
808
812
  }
809
813
  export type ExportableAutoScalingGroupField = "AccountId"|"AutoScalingGroupArn"|"AutoScalingGroupName"|"Finding"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"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"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|string;
810
814
  export type ExportableAutoScalingGroupFields = ExportableAutoScalingGroupField[];
811
- export type ExportableECSServiceField = "AccountId"|"ServiceArn"|"LookbackPeriodInDays"|"LastRefreshTimestamp"|"LaunchType"|"CurrentPerformanceRisk"|"CurrentServiceConfigurationMemory"|"CurrentServiceConfigurationCpu"|"CurrentServiceConfigurationTaskDefinitionArn"|"CurrentServiceConfigurationAutoScalingConfiguration"|"CurrentServiceContainerConfigurations"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"Finding"|"FindingReasonCodes"|"RecommendationOptionsMemory"|"RecommendationOptionsCpu"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RecommendationOptionsContainerRecommendations"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|string;
815
+ export type ExportableECSServiceField = "AccountId"|"ServiceArn"|"LookbackPeriodInDays"|"LastRefreshTimestamp"|"LaunchType"|"CurrentPerformanceRisk"|"CurrentServiceConfigurationMemory"|"CurrentServiceConfigurationCpu"|"CurrentServiceConfigurationTaskDefinitionArn"|"CurrentServiceConfigurationAutoScalingConfiguration"|"CurrentServiceContainerConfigurations"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"Finding"|"FindingReasonCodes"|"RecommendationOptionsMemory"|"RecommendationOptionsCpu"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RecommendationOptionsContainerRecommendations"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"Tags"|string;
812
816
  export type ExportableECSServiceFields = ExportableECSServiceField[];
813
- export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"EffectiveRecommendationPreferencesExternalMetricsSource"|"InstanceState"|string;
817
+ export type ExportableInstanceField = "AccountId"|"InstanceArn"|"InstanceName"|"Finding"|"FindingReasonCodes"|"LookbackPeriodInDays"|"CurrentInstanceType"|"UtilizationMetricsCpuMaximum"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsEbsReadOpsPerSecondMaximum"|"UtilizationMetricsEbsWriteOpsPerSecondMaximum"|"UtilizationMetricsEbsReadBytesPerSecondMaximum"|"UtilizationMetricsEbsWriteBytesPerSecondMaximum"|"UtilizationMetricsDiskReadOpsPerSecondMaximum"|"UtilizationMetricsDiskWriteOpsPerSecondMaximum"|"UtilizationMetricsDiskReadBytesPerSecondMaximum"|"UtilizationMetricsDiskWriteBytesPerSecondMaximum"|"UtilizationMetricsNetworkInBytesPerSecondMaximum"|"UtilizationMetricsNetworkOutBytesPerSecondMaximum"|"UtilizationMetricsNetworkPacketsInPerSecondMaximum"|"UtilizationMetricsNetworkPacketsOutPerSecondMaximum"|"CurrentOnDemandPrice"|"CurrentStandardOneYearNoUpfrontReservedPrice"|"CurrentStandardThreeYearNoUpfrontReservedPrice"|"CurrentVCpus"|"CurrentMemory"|"CurrentStorage"|"CurrentNetwork"|"RecommendationOptionsInstanceType"|"RecommendationOptionsProjectedUtilizationMetricsCpuMaximum"|"RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum"|"RecommendationOptionsPlatformDifferences"|"RecommendationOptionsPerformanceRisk"|"RecommendationOptionsVcpus"|"RecommendationOptionsMemory"|"RecommendationOptionsStorage"|"RecommendationOptionsNetwork"|"RecommendationOptionsOnDemandPrice"|"RecommendationOptionsStandardOneYearNoUpfrontReservedPrice"|"RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice"|"RecommendationsSourcesRecommendationSourceArn"|"RecommendationsSourcesRecommendationSourceType"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"EffectiveRecommendationPreferencesCpuVendorArchitectures"|"EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics"|"EffectiveRecommendationPreferencesInferredWorkloadTypes"|"InferredWorkloadTypes"|"RecommendationOptionsMigrationEffort"|"EffectiveRecommendationPreferencesExternalMetricsSource"|"InstanceState"|"Tags"|string;
814
818
  export type ExportableInstanceFields = ExportableInstanceField[];
815
- export type ExportableLambdaFunctionField = "AccountId"|"FunctionArn"|"FunctionVersion"|"Finding"|"FindingReasonCodes"|"NumberOfInvocations"|"UtilizationMetricsDurationMaximum"|"UtilizationMetricsDurationAverage"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsMemoryAverage"|"LookbackPeriodInDays"|"CurrentConfigurationMemorySize"|"CurrentConfigurationTimeout"|"CurrentCostTotal"|"CurrentCostAverage"|"RecommendationOptionsConfigurationMemorySize"|"RecommendationOptionsCostLow"|"RecommendationOptionsCostHigh"|"RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationExpected"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|string;
819
+ export type ExportableLambdaFunctionField = "AccountId"|"FunctionArn"|"FunctionVersion"|"Finding"|"FindingReasonCodes"|"NumberOfInvocations"|"UtilizationMetricsDurationMaximum"|"UtilizationMetricsDurationAverage"|"UtilizationMetricsMemoryMaximum"|"UtilizationMetricsMemoryAverage"|"LookbackPeriodInDays"|"CurrentConfigurationMemorySize"|"CurrentConfigurationTimeout"|"CurrentCostTotal"|"CurrentCostAverage"|"RecommendationOptionsConfigurationMemorySize"|"RecommendationOptionsCostLow"|"RecommendationOptionsCostHigh"|"RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound"|"RecommendationOptionsProjectedUtilizationMetricsDurationExpected"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"Tags"|string;
816
820
  export type ExportableLambdaFunctionFields = ExportableLambdaFunctionField[];
817
- export type ExportableVolumeField = "AccountId"|"VolumeArn"|"Finding"|"UtilizationMetricsVolumeReadOpsPerSecondMaximum"|"UtilizationMetricsVolumeWriteOpsPerSecondMaximum"|"UtilizationMetricsVolumeReadBytesPerSecondMaximum"|"UtilizationMetricsVolumeWriteBytesPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationVolumeType"|"CurrentConfigurationVolumeBaselineIOPS"|"CurrentConfigurationVolumeBaselineThroughput"|"CurrentConfigurationVolumeBurstIOPS"|"CurrentConfigurationVolumeBurstThroughput"|"CurrentConfigurationVolumeSize"|"CurrentMonthlyPrice"|"RecommendationOptionsConfigurationVolumeType"|"RecommendationOptionsConfigurationVolumeBaselineIOPS"|"RecommendationOptionsConfigurationVolumeBaselineThroughput"|"RecommendationOptionsConfigurationVolumeBurstIOPS"|"RecommendationOptionsConfigurationVolumeBurstThroughput"|"RecommendationOptionsConfigurationVolumeSize"|"RecommendationOptionsMonthlyPrice"|"RecommendationOptionsPerformanceRisk"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RootVolume"|string;
821
+ export type ExportableVolumeField = "AccountId"|"VolumeArn"|"Finding"|"UtilizationMetricsVolumeReadOpsPerSecondMaximum"|"UtilizationMetricsVolumeWriteOpsPerSecondMaximum"|"UtilizationMetricsVolumeReadBytesPerSecondMaximum"|"UtilizationMetricsVolumeWriteBytesPerSecondMaximum"|"LookbackPeriodInDays"|"CurrentConfigurationVolumeType"|"CurrentConfigurationVolumeBaselineIOPS"|"CurrentConfigurationVolumeBaselineThroughput"|"CurrentConfigurationVolumeBurstIOPS"|"CurrentConfigurationVolumeBurstThroughput"|"CurrentConfigurationVolumeSize"|"CurrentMonthlyPrice"|"RecommendationOptionsConfigurationVolumeType"|"RecommendationOptionsConfigurationVolumeBaselineIOPS"|"RecommendationOptionsConfigurationVolumeBaselineThroughput"|"RecommendationOptionsConfigurationVolumeBurstIOPS"|"RecommendationOptionsConfigurationVolumeBurstThroughput"|"RecommendationOptionsConfigurationVolumeSize"|"RecommendationOptionsMonthlyPrice"|"RecommendationOptionsPerformanceRisk"|"LastRefreshTimestamp"|"CurrentPerformanceRisk"|"RecommendationOptionsSavingsOpportunityPercentage"|"RecommendationOptionsEstimatedMonthlySavingsCurrency"|"RecommendationOptionsEstimatedMonthlySavingsValue"|"RootVolume"|"Tags"|string;
818
822
  export type ExportableVolumeFields = ExportableVolumeField[];
819
823
  export interface ExternalMetricsPreference {
820
824
  /**
@@ -827,7 +831,7 @@ declare namespace ComputeOptimizer {
827
831
  export type FileFormat = "Csv"|string;
828
832
  export interface Filter {
829
833
  /**
830
- * The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, Underprovisioned). Specify RecommendationSourceType to return recommendations of a specific resource type (for example, Ec2Instance). Specify FindingReasonCodes to return recommendations with a specific finding reason code (for example, CPUUnderprovisioned).
834
+ * The name of the filter. Specify Finding to return recommendations with a specific finding classification. For example, Underprovisioned. Specify RecommendationSourceType to return recommendations of a specific resource type. For example, Ec2Instance. Specify FindingReasonCodes to return recommendations with a specific finding reason code. For example, CPUUnderprovisioned. Specify InferredWorkloadTypes to return recommendations of a specific inferred workload. For example, Redis. You can filter your EC2 instance recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all recommendations that have a tag with the key of Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA for the filter value. A tag-key is the key of a tag assigned to your recommendations. Use this filter to find all of your recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your recommendations with a tag key value of Owner or without any tag keys assigned.
831
835
  */
832
836
  name?: FilterName;
833
837
  /**
@@ -835,7 +839,7 @@ declare namespace ComputeOptimizer {
835
839
  */
836
840
  values?: FilterValues;
837
841
  }
838
- export type FilterName = "Finding"|"FindingReasonCodes"|"RecommendationSourceType"|string;
842
+ export type FilterName = "Finding"|"FindingReasonCodes"|"RecommendationSourceType"|"InferredWorkloadTypes"|string;
839
843
  export type FilterValue = string;
840
844
  export type FilterValues = FilterValue[];
841
845
  export type Filters = Filter[];
@@ -1222,7 +1226,18 @@ declare namespace ComputeOptimizer {
1222
1226
  export type High = number;
1223
1227
  export type Identifier = string;
1224
1228
  export type IncludeMemberAccounts = boolean;
1225
- export type InferredWorkloadType = "AmazonEmr"|"ApacheCassandra"|"ApacheHadoop"|"Memcached"|"Nginx"|"PostgreSql"|"Redis"|"Kafka"|string;
1229
+ export interface InferredWorkloadSaving {
1230
+ /**
1231
+ * The applications that might be running on the instance as inferred by Compute Optimizer. Compute Optimizer can infer if one of the following applications might be running on the instance: AmazonEmr - Infers that Amazon EMR might be running on the instance. ApacheCassandra - Infers that Apache Cassandra might be running on the instance. ApacheHadoop - Infers that Apache Hadoop might be running on the instance. Memcached - Infers that Memcached might be running on the instance. NGINX - Infers that NGINX might be running on the instance. PostgreSql - Infers that PostgreSQL might be running on the instance. Redis - Infers that Redis might be running on the instance. Kafka - Infers that Kafka might be running on the instance. SQLServer - Infers that SQLServer might be running on the instance.
1232
+ */
1233
+ inferredWorkloadTypes?: InferredWorkloadTypes;
1234
+ /**
1235
+ * An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing.
1236
+ */
1237
+ estimatedMonthlySavings?: EstimatedMonthlySavings;
1238
+ }
1239
+ export type InferredWorkloadSavings = InferredWorkloadSaving[];
1240
+ export type InferredWorkloadType = "AmazonEmr"|"ApacheCassandra"|"ApacheHadoop"|"Memcached"|"Nginx"|"PostgreSql"|"Redis"|"Kafka"|"SQLServer"|string;
1226
1241
  export type InferredWorkloadTypes = InferredWorkloadType[];
1227
1242
  export type InferredWorkloadTypesPreference = "Active"|"Inactive"|string;
1228
1243
  export type InstanceArn = string;
@@ -1250,7 +1265,7 @@ declare namespace ComputeOptimizer {
1250
1265
  */
1251
1266
  finding?: Finding;
1252
1267
  /**
1253
- * The reason for the finding classification of the instance. Finding reason codes for instances include: CPUOverprovisioned — The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. MemoryOverprovisioned — The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the mem_used_percent metric in the CWAgent namespace, or the legacy MemoryUtilization metric in the System/Linux namespace. On Windows instances, Compute Optimizer analyses the Memory % Committed Bytes In Use metric in the CWAgent namespace. EBSThroughputOverprovisioned — The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes metrics of EBS volumes attached to the current instance during the look-back period. EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes&gt; metrics of EBS volumes attached to the current instance during the look-back period. EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the VolumeReadOps and VolumeWriteOps metric of EBS volumes attached to the current instance during the look-back period. EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance. This is identified by analyzing the VolumeReadOps and VolumeWriteOps metric of EBS volumes attached to the current instance during the look-back period. NetworkBandwidthOverprovisioned — The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the NetworkIn and NetworkOut metrics of the current instance during the look-back period. NetworkBandwidthUnderprovisioned — The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This is identified by analyzing the NetworkIn and NetworkOut metrics of the current instance during the look-back period. This finding reason happens when the NetworkIn or NetworkOut performance of an instance is impacted. NetworkPPSOverprovisioned — The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during the look-back period. NetworkPPSUnderprovisioned — The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance. This is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during the look-back period. DiskIOPSOverprovisioned — The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the DiskReadOps and DiskWriteOps metrics of the current instance during the look-back period. DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance. This is identified by analyzing the DiskReadOps and DiskWriteOps metrics of the current instance during the look-back period. DiskThroughputOverprovisioned — The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back period. DiskThroughputUnderprovisioned — The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance. This is identified by analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back period. For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
1268
+ * The reason for the finding classification of the instance. Finding reason codes for instances include: CPUOverprovisioned — The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. MemoryOverprovisioned — The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the mem_used_percent metric in the CWAgent namespace, or the legacy MemoryUtilization metric in the System/Linux namespace. On Windows instances, Compute Optimizer analyses the Memory % Committed Bytes In Use metric in the CWAgent namespace. EBSThroughputOverprovisioned — The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes metrics of EBS volumes attached to the current instance during the look-back period. EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes metrics of EBS volumes attached to the current instance during the look-back period. EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the VolumeReadOps and VolumeWriteOps metric of EBS volumes attached to the current instance during the look-back period. EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance. This is identified by analyzing the VolumeReadOps and VolumeWriteOps metric of EBS volumes attached to the current instance during the look-back period. NetworkBandwidthOverprovisioned — The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the NetworkIn and NetworkOut metrics of the current instance during the look-back period. NetworkBandwidthUnderprovisioned — The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This is identified by analyzing the NetworkIn and NetworkOut metrics of the current instance during the look-back period. This finding reason happens when the NetworkIn or NetworkOut performance of an instance is impacted. NetworkPPSOverprovisioned — The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during the look-back period. NetworkPPSUnderprovisioned — The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance. This is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during the look-back period. DiskIOPSOverprovisioned — The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the DiskReadOps and DiskWriteOps metrics of the current instance during the look-back period. DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance. This is identified by analyzing the DiskReadOps and DiskWriteOps metrics of the current instance during the look-back period. DiskThroughputOverprovisioned — The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back period. DiskThroughputUnderprovisioned — The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance. This is identified by analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back period. For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
1254
1269
  */
1255
1270
  findingReasonCodes?: InstanceRecommendationFindingReasonCodes;
1256
1271
  /**
@@ -1282,13 +1297,17 @@ declare namespace ComputeOptimizer {
1282
1297
  */
1283
1298
  effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
1284
1299
  /**
1285
- * The applications that might be running on the instance as inferred by Compute Optimizer. Compute Optimizer can infer if one of the following applications might be running on the instance: AmazonEmr - Infers that Amazon EMR might be running on the instance. ApacheCassandra - Infers that Apache Cassandra might be running on the instance. ApacheHadoop - Infers that Apache Hadoop might be running on the instance. Memcached - Infers that Memcached might be running on the instance. NGINX - Infers that NGINX might be running on the instance. PostgreSql - Infers that PostgreSQL might be running on the instance. Redis - Infers that Redis might be running on the instance. Kafka - Infers that Kafka might be running on the instance.
1300
+ * The applications that might be running on the instance as inferred by Compute Optimizer. Compute Optimizer can infer if one of the following applications might be running on the instance: AmazonEmr - Infers that Amazon EMR might be running on the instance. ApacheCassandra - Infers that Apache Cassandra might be running on the instance. ApacheHadoop - Infers that Apache Hadoop might be running on the instance. Memcached - Infers that Memcached might be running on the instance. NGINX - Infers that NGINX might be running on the instance. PostgreSql - Infers that PostgreSQL might be running on the instance. Redis - Infers that Redis might be running on the instance. Kafka - Infers that Kafka might be running on the instance. SQLServer - Infers that SQLServer might be running on the instance.
1286
1301
  */
1287
1302
  inferredWorkloadTypes?: InferredWorkloadTypes;
1288
1303
  /**
1289
1304
  * The state of the instance when the recommendation was generated.
1290
1305
  */
1291
1306
  instanceState?: InstanceState;
1307
+ /**
1308
+ * A list of tags assigned to your Amazon EC2 instance recommendations.
1309
+ */
1310
+ tags?: Tags;
1292
1311
  }
1293
1312
  export type InstanceRecommendationFindingReasonCode = "CPUOverprovisioned"|"CPUUnderprovisioned"|"MemoryOverprovisioned"|"MemoryUnderprovisioned"|"EBSThroughputOverprovisioned"|"EBSThroughputUnderprovisioned"|"EBSIOPSOverprovisioned"|"EBSIOPSUnderprovisioned"|"NetworkBandwidthOverprovisioned"|"NetworkBandwidthUnderprovisioned"|"NetworkPPSOverprovisioned"|"NetworkPPSUnderprovisioned"|"DiskIOPSOverprovisioned"|"DiskIOPSUnderprovisioned"|"DiskThroughputOverprovisioned"|"DiskThroughputUnderprovisioned"|string;
1294
1313
  export type InstanceRecommendationFindingReasonCodes = InstanceRecommendationFindingReasonCode[];
@@ -1427,10 +1446,14 @@ declare namespace ComputeOptimizer {
1427
1446
  * The risk of the current Lambda function not meeting the performance needs of its workloads. The higher the risk, the more likely the current Lambda function requires more memory.
1428
1447
  */
1429
1448
  currentPerformanceRisk?: CurrentPerformanceRisk;
1449
+ /**
1450
+ * A list of tags assigned to your Lambda function recommendations.
1451
+ */
1452
+ tags?: Tags;
1430
1453
  }
1431
1454
  export interface LambdaFunctionRecommendationFilter {
1432
1455
  /**
1433
- * The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized). Specify FindingReasonCode to return recommendations with a specific finding reason code (for example, MemoryUnderprovisioned).
1456
+ * The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized). Specify FindingReasonCode to return recommendations with a specific finding reason code (for example, MemoryUnderprovisioned). You can filter your Lambda function recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your Lambda function recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all Lambda function recommendations that have a tag with the key of Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA for the filter value. A tag-key is the key of a tag assigned to your Lambda function recommendations. Use this filter to find all of your Lambda function recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your Lambda function recommendations with a tag key value of Owner or without any tag keys assigned.
1434
1457
  */
1435
1458
  name?: LambdaFunctionRecommendationFilterName;
1436
1459
  /**
@@ -1647,6 +1670,10 @@ declare namespace ComputeOptimizer {
1647
1670
  * An object that describes the performance risk ratings for a given resource type.
1648
1671
  */
1649
1672
  currentPerformanceRiskRatings?: CurrentPerformanceRiskRatings;
1673
+ /**
1674
+ * An array of objects that describes the estimated monthly saving amounts for the instances running on the specified inferredWorkloadTypes. The array contains the top three savings opportunites for the instances running inferred workload types.
1675
+ */
1676
+ inferredWorkloadSavings?: InferredWorkloadSavings;
1650
1677
  }
1651
1678
  export type RecommendedInstanceType = string;
1652
1679
  export interface RecommendedOptionProjectedMetric {
@@ -1697,7 +1724,7 @@ declare namespace ComputeOptimizer {
1697
1724
  */
1698
1725
  savingsOpportunityPercentage?: SavingsOpportunityPercentage;
1699
1726
  /**
1700
- * An object that describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.
1727
+ * An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..
1701
1728
  */
1702
1729
  estimatedMonthlySavings?: EstimatedMonthlySavings;
1703
1730
  }
@@ -1756,6 +1783,19 @@ declare namespace ComputeOptimizer {
1756
1783
  reasonCodeSummaries?: ReasonCodeSummaries;
1757
1784
  }
1758
1785
  export type SummaryValue = number;
1786
+ export interface Tag {
1787
+ /**
1788
+ * One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.
1789
+ */
1790
+ key?: TagKey;
1791
+ /**
1792
+ * One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.
1793
+ */
1794
+ value?: TagValue;
1795
+ }
1796
+ export type TagKey = string;
1797
+ export type TagValue = string;
1798
+ export type Tags = Tag[];
1759
1799
  export type TaskDefinitionArn = string;
1760
1800
  export type Timestamp = Date;
1761
1801
  export type Timestamps = Timestamp[];
@@ -1870,6 +1910,10 @@ declare namespace ComputeOptimizer {
1870
1910
  * The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
1871
1911
  */
1872
1912
  currentPerformanceRisk?: CurrentPerformanceRisk;
1913
+ /**
1914
+ * A list of tags assigned to your Amazon EBS volume recommendations.
1915
+ */
1916
+ tags?: Tags;
1873
1917
  }
1874
1918
  export interface VolumeRecommendationOption {
1875
1919
  /**