Typed dictionaries#
Index > ComputeOptimizer > Typed dictionaries
Auto-generated documentation for ComputeOptimizer type annotations stubs module mypy-boto3-compute-optimizer.
AccountEnrollmentStatusTypeDef#
# AccountEnrollmentStatusTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import AccountEnrollmentStatusTypeDef
def get_value() -> AccountEnrollmentStatusTypeDef:
return {
"accountId": ...,
}
# AccountEnrollmentStatusTypeDef definition
class AccountEnrollmentStatusTypeDef(TypedDict):
accountId: NotRequired[str],
status: NotRequired[StatusType], # (1)
statusReason: NotRequired[str],
lastUpdatedTimestamp: NotRequired[datetime],
- See StatusType
AutoScalingGroupConfigurationTypeDef#
# AutoScalingGroupConfigurationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import AutoScalingGroupConfigurationTypeDef
def get_value() -> AutoScalingGroupConfigurationTypeDef:
return {
"desiredCapacity": ...,
}
# AutoScalingGroupConfigurationTypeDef definition
class AutoScalingGroupConfigurationTypeDef(TypedDict):
desiredCapacity: NotRequired[int],
minSize: NotRequired[int],
maxSize: NotRequired[int],
instanceType: NotRequired[str],
UtilizationMetricTypeDef#
# UtilizationMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import UtilizationMetricTypeDef
def get_value() -> UtilizationMetricTypeDef:
return {
"name": ...,
}
# UtilizationMetricTypeDef definition
class UtilizationMetricTypeDef(TypedDict):
name: NotRequired[MetricNameType], # (1)
statistic: NotRequired[MetricStatisticType], # (2)
value: NotRequired[float],
- See MetricNameType
- See MetricStatisticType
MemorySizeConfigurationTypeDef#
# MemorySizeConfigurationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import MemorySizeConfigurationTypeDef
def get_value() -> MemorySizeConfigurationTypeDef:
return {
"memory": ...,
}
# MemorySizeConfigurationTypeDef definition
class MemorySizeConfigurationTypeDef(TypedDict):
memory: NotRequired[int],
memoryReservation: NotRequired[int],
CurrentPerformanceRiskRatingsTypeDef#
# CurrentPerformanceRiskRatingsTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import CurrentPerformanceRiskRatingsTypeDef
def get_value() -> CurrentPerformanceRiskRatingsTypeDef:
return {
"high": ...,
}
# CurrentPerformanceRiskRatingsTypeDef definition
class CurrentPerformanceRiskRatingsTypeDef(TypedDict):
high: NotRequired[int],
medium: NotRequired[int],
low: NotRequired[int],
veryLow: NotRequired[int],
ScopeTypeDef#
# ScopeTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ScopeTypeDef
def get_value() -> ScopeTypeDef:
return {
"name": ...,
}
# ScopeTypeDef definition
class ScopeTypeDef(TypedDict):
name: NotRequired[ScopeNameType], # (1)
value: NotRequired[str],
- See ScopeNameType
JobFilterTypeDef#
# JobFilterTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import JobFilterTypeDef
def get_value() -> JobFilterTypeDef:
return {
"name": ...,
}
# JobFilterTypeDef definition
class JobFilterTypeDef(TypedDict):
name: NotRequired[JobFilterNameType], # (1)
values: NotRequired[Sequence[str]],
EBSFilterTypeDef#
# EBSFilterTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import EBSFilterTypeDef
def get_value() -> EBSFilterTypeDef:
return {
"name": ...,
}
# EBSFilterTypeDef definition
class EBSFilterTypeDef(TypedDict):
name: NotRequired[EBSFilterNameType], # (1)
values: NotRequired[Sequence[str]],
EBSUtilizationMetricTypeDef#
# EBSUtilizationMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import EBSUtilizationMetricTypeDef
def get_value() -> EBSUtilizationMetricTypeDef:
return {
"name": ...,
}
# EBSUtilizationMetricTypeDef definition
class EBSUtilizationMetricTypeDef(TypedDict):
name: NotRequired[EBSMetricNameType], # (1)
statistic: NotRequired[MetricStatisticType], # (2)
value: NotRequired[float],
- See EBSMetricNameType
- See MetricStatisticType
ECSServiceProjectedMetricTypeDef#
# ECSServiceProjectedMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ECSServiceProjectedMetricTypeDef
def get_value() -> ECSServiceProjectedMetricTypeDef:
return {
"name": ...,
}
# ECSServiceProjectedMetricTypeDef definition
class ECSServiceProjectedMetricTypeDef(TypedDict):
name: NotRequired[ECSServiceMetricNameType], # (1)
timestamps: NotRequired[List[datetime]],
upperBoundValues: NotRequired[List[float]],
lowerBoundValues: NotRequired[List[float]],
ECSServiceProjectedUtilizationMetricTypeDef#
# ECSServiceProjectedUtilizationMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ECSServiceProjectedUtilizationMetricTypeDef
def get_value() -> ECSServiceProjectedUtilizationMetricTypeDef:
return {
"name": ...,
}
# ECSServiceProjectedUtilizationMetricTypeDef definition
class ECSServiceProjectedUtilizationMetricTypeDef(TypedDict):
name: NotRequired[ECSServiceMetricNameType], # (1)
statistic: NotRequired[ECSServiceMetricStatisticType], # (2)
lowerBoundValue: NotRequired[float],
upperBoundValue: NotRequired[float],
ECSServiceRecommendationFilterTypeDef#
# ECSServiceRecommendationFilterTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ECSServiceRecommendationFilterTypeDef
def get_value() -> ECSServiceRecommendationFilterTypeDef:
return {
"name": ...,
}
# ECSServiceRecommendationFilterTypeDef definition
class ECSServiceRecommendationFilterTypeDef(TypedDict):
name: NotRequired[ECSServiceRecommendationFilterNameType], # (1)
values: NotRequired[Sequence[str]],
ECSServiceUtilizationMetricTypeDef#
# ECSServiceUtilizationMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ECSServiceUtilizationMetricTypeDef
def get_value() -> ECSServiceUtilizationMetricTypeDef:
return {
"name": ...,
}
# ECSServiceUtilizationMetricTypeDef definition
class ECSServiceUtilizationMetricTypeDef(TypedDict):
name: NotRequired[ECSServiceMetricNameType], # (1)
statistic: NotRequired[ECSServiceMetricStatisticType], # (2)
value: NotRequired[float],
TagTypeDef#
# TagTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
key: NotRequired[str],
value: NotRequired[str],
ExternalMetricsPreferenceTypeDef#
# ExternalMetricsPreferenceTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExternalMetricsPreferenceTypeDef
def get_value() -> ExternalMetricsPreferenceTypeDef:
return {
"source": ...,
}
# ExternalMetricsPreferenceTypeDef definition
class ExternalMetricsPreferenceTypeDef(TypedDict):
source: NotRequired[ExternalMetricsSourceType], # (1)
EnrollmentFilterTypeDef#
# EnrollmentFilterTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import EnrollmentFilterTypeDef
def get_value() -> EnrollmentFilterTypeDef:
return {
"name": ...,
}
# EnrollmentFilterTypeDef definition
class EnrollmentFilterTypeDef(TypedDict):
name: NotRequired[EnrollmentFilterNameType], # (1)
values: NotRequired[Sequence[str]],
EstimatedMonthlySavingsTypeDef#
# EstimatedMonthlySavingsTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import EstimatedMonthlySavingsTypeDef
def get_value() -> EstimatedMonthlySavingsTypeDef:
return {
"currency": ...,
}
# EstimatedMonthlySavingsTypeDef definition
class EstimatedMonthlySavingsTypeDef(TypedDict):
currency: NotRequired[CurrencyType], # (1)
value: NotRequired[float],
- See CurrencyType
FilterTypeDef#
# FilterTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import FilterTypeDef
def get_value() -> FilterTypeDef:
return {
"name": ...,
}
# FilterTypeDef definition
class FilterTypeDef(TypedDict):
name: NotRequired[FilterNameType], # (1)
values: NotRequired[Sequence[str]],
- See FilterNameType
RecommendationPreferencesTypeDef#
# RecommendationPreferencesTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import RecommendationPreferencesTypeDef
def get_value() -> RecommendationPreferencesTypeDef:
return {
"cpuVendorArchitectures": ...,
}
# RecommendationPreferencesTypeDef definition
class RecommendationPreferencesTypeDef(TypedDict):
cpuVendorArchitectures: NotRequired[Sequence[CpuVendorArchitectureType]], # (1)
S3DestinationConfigTypeDef#
# S3DestinationConfigTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import S3DestinationConfigTypeDef
def get_value() -> S3DestinationConfigTypeDef:
return {
"bucket": ...,
}
# S3DestinationConfigTypeDef definition
class S3DestinationConfigTypeDef(TypedDict):
bucket: NotRequired[str],
keyPrefix: NotRequired[str],
S3DestinationTypeDef#
# S3DestinationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import S3DestinationTypeDef
def get_value() -> S3DestinationTypeDef:
return {
"bucket": ...,
}
# S3DestinationTypeDef definition
class S3DestinationTypeDef(TypedDict):
bucket: NotRequired[str],
key: NotRequired[str],
metadataKey: NotRequired[str],
LambdaFunctionRecommendationFilterTypeDef#
# LambdaFunctionRecommendationFilterTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import LambdaFunctionRecommendationFilterTypeDef
def get_value() -> LambdaFunctionRecommendationFilterTypeDef:
return {
"name": ...,
}
# LambdaFunctionRecommendationFilterTypeDef definition
class LambdaFunctionRecommendationFilterTypeDef(TypedDict):
name: NotRequired[LambdaFunctionRecommendationFilterNameType], # (1)
values: NotRequired[Sequence[str]],
ExternalMetricStatusTypeDef#
# ExternalMetricStatusTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExternalMetricStatusTypeDef
def get_value() -> ExternalMetricStatusTypeDef:
return {
"statusCode": ...,
}
# ExternalMetricStatusTypeDef definition
class ExternalMetricStatusTypeDef(TypedDict):
statusCode: NotRequired[ExternalMetricStatusCodeType], # (1)
statusReason: NotRequired[str],
GetRecommendationErrorTypeDef#
# GetRecommendationErrorTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetRecommendationErrorTypeDef
def get_value() -> GetRecommendationErrorTypeDef:
return {
"identifier": ...,
}
# GetRecommendationErrorTypeDef definition
class GetRecommendationErrorTypeDef(TypedDict):
identifier: NotRequired[str],
code: NotRequired[str],
message: NotRequired[str],
GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef#
# GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef
def get_value() -> GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef:
return {
"serviceArn": ...,
"stat": ...,
"period": ...,
"startTime": ...,
"endTime": ...,
}
# GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef definition
class GetECSServiceRecommendationProjectedMetricsRequestRequestTypeDef(TypedDict):
serviceArn: str,
stat: MetricStatisticType, # (1)
period: int,
startTime: Union[datetime, str],
endTime: Union[datetime, str],
GetEffectiveRecommendationPreferencesRequestRequestTypeDef#
# GetEffectiveRecommendationPreferencesRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEffectiveRecommendationPreferencesRequestRequestTypeDef
def get_value() -> GetEffectiveRecommendationPreferencesRequestRequestTypeDef:
return {
"resourceArn": ...,
}
# GetEffectiveRecommendationPreferencesRequestRequestTypeDef definition
class GetEffectiveRecommendationPreferencesRequestRequestTypeDef(TypedDict):
resourceArn: str,
GetEnrollmentStatusResponseTypeDef#
# GetEnrollmentStatusResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEnrollmentStatusResponseTypeDef
def get_value() -> GetEnrollmentStatusResponseTypeDef:
return {
"status": ...,
"statusReason": ...,
"memberAccountsEnrolled": ...,
"lastUpdatedTimestamp": ...,
"numberOfMemberAccountsOptedIn": ...,
"ResponseMetadata": ...,
}
# GetEnrollmentStatusResponseTypeDef definition
class GetEnrollmentStatusResponseTypeDef(TypedDict):
status: StatusType, # (1)
statusReason: str,
memberAccountsEnrolled: bool,
lastUpdatedTimestamp: datetime,
numberOfMemberAccountsOptedIn: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StatusType
- See ResponseMetadataTypeDef
GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef#
# GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef
def get_value() -> GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef:
return {
"accountIds": ...,
}
# GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef definition
class GetRecommendationSummariesRequestGetRecommendationSummariesPaginateTypeDef(TypedDict):
accountIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetRecommendationSummariesRequestRequestTypeDef#
# GetRecommendationSummariesRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetRecommendationSummariesRequestRequestTypeDef
def get_value() -> GetRecommendationSummariesRequestRequestTypeDef:
return {
"accountIds": ...,
}
# GetRecommendationSummariesRequestRequestTypeDef definition
class GetRecommendationSummariesRequestRequestTypeDef(TypedDict):
accountIds: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
RecommendationSourceTypeDef#
# RecommendationSourceTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import RecommendationSourceTypeDef
def get_value() -> RecommendationSourceTypeDef:
return {
"recommendationSourceArn": ...,
}
# RecommendationSourceTypeDef definition
class RecommendationSourceTypeDef(TypedDict):
recommendationSourceArn: NotRequired[str],
recommendationSourceType: NotRequired[RecommendationSourceTypeType], # (1)
LambdaFunctionMemoryProjectedMetricTypeDef#
# LambdaFunctionMemoryProjectedMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import LambdaFunctionMemoryProjectedMetricTypeDef
def get_value() -> LambdaFunctionMemoryProjectedMetricTypeDef:
return {
"name": ...,
}
# LambdaFunctionMemoryProjectedMetricTypeDef definition
class LambdaFunctionMemoryProjectedMetricTypeDef(TypedDict):
name: NotRequired[LambdaFunctionMemoryMetricNameType], # (1)
statistic: NotRequired[LambdaFunctionMemoryMetricStatisticType], # (2)
value: NotRequired[float],
LambdaFunctionUtilizationMetricTypeDef#
# LambdaFunctionUtilizationMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import LambdaFunctionUtilizationMetricTypeDef
def get_value() -> LambdaFunctionUtilizationMetricTypeDef:
return {
"name": ...,
}
# LambdaFunctionUtilizationMetricTypeDef definition
class LambdaFunctionUtilizationMetricTypeDef(TypedDict):
name: NotRequired[LambdaFunctionMetricNameType], # (1)
statistic: NotRequired[LambdaFunctionMetricStatisticType], # (2)
value: NotRequired[float],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ProjectedMetricTypeDef#
# ProjectedMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ProjectedMetricTypeDef
def get_value() -> ProjectedMetricTypeDef:
return {
"name": ...,
}
# ProjectedMetricTypeDef definition
class ProjectedMetricTypeDef(TypedDict):
name: NotRequired[MetricNameType], # (1)
timestamps: NotRequired[List[datetime]],
values: NotRequired[List[float]],
- See MetricNameType
ReasonCodeSummaryTypeDef#
# ReasonCodeSummaryTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ReasonCodeSummaryTypeDef
def get_value() -> ReasonCodeSummaryTypeDef:
return {
"name": ...,
}
# ReasonCodeSummaryTypeDef definition
class ReasonCodeSummaryTypeDef(TypedDict):
name: NotRequired[FindingReasonCodeType], # (1)
value: NotRequired[float],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
UpdateEnrollmentStatusRequestRequestTypeDef#
# UpdateEnrollmentStatusRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import UpdateEnrollmentStatusRequestRequestTypeDef
def get_value() -> UpdateEnrollmentStatusRequestRequestTypeDef:
return {
"status": ...,
}
# UpdateEnrollmentStatusRequestRequestTypeDef definition
class UpdateEnrollmentStatusRequestRequestTypeDef(TypedDict):
status: StatusType, # (1)
includeMemberAccounts: NotRequired[bool],
- See StatusType
UpdateEnrollmentStatusResponseTypeDef#
# UpdateEnrollmentStatusResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import UpdateEnrollmentStatusResponseTypeDef
def get_value() -> UpdateEnrollmentStatusResponseTypeDef:
return {
"status": ...,
"statusReason": ...,
"ResponseMetadata": ...,
}
# UpdateEnrollmentStatusResponseTypeDef definition
class UpdateEnrollmentStatusResponseTypeDef(TypedDict):
status: StatusType, # (1)
statusReason: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See StatusType
- See ResponseMetadataTypeDef
VolumeConfigurationTypeDef#
# VolumeConfigurationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import VolumeConfigurationTypeDef
def get_value() -> VolumeConfigurationTypeDef:
return {
"volumeType": ...,
}
# VolumeConfigurationTypeDef definition
class VolumeConfigurationTypeDef(TypedDict):
volumeType: NotRequired[str],
volumeSize: NotRequired[int],
volumeBaselineIOPS: NotRequired[int],
volumeBurstIOPS: NotRequired[int],
volumeBaselineThroughput: NotRequired[int],
volumeBurstThroughput: NotRequired[int],
rootVolume: NotRequired[bool],
GetEnrollmentStatusesForOrganizationResponseTypeDef#
# GetEnrollmentStatusesForOrganizationResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEnrollmentStatusesForOrganizationResponseTypeDef
def get_value() -> GetEnrollmentStatusesForOrganizationResponseTypeDef:
return {
"accountEnrollmentStatuses": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# GetEnrollmentStatusesForOrganizationResponseTypeDef definition
class GetEnrollmentStatusesForOrganizationResponseTypeDef(TypedDict):
accountEnrollmentStatuses: List[AccountEnrollmentStatusTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ContainerConfigurationTypeDef#
# ContainerConfigurationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ContainerConfigurationTypeDef
def get_value() -> ContainerConfigurationTypeDef:
return {
"containerName": ...,
}
# ContainerConfigurationTypeDef definition
class ContainerConfigurationTypeDef(TypedDict):
containerName: NotRequired[str],
memorySizeConfiguration: NotRequired[MemorySizeConfigurationTypeDef], # (1)
cpu: NotRequired[int],
ContainerRecommendationTypeDef#
# ContainerRecommendationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ContainerRecommendationTypeDef
def get_value() -> ContainerRecommendationTypeDef:
return {
"containerName": ...,
}
# ContainerRecommendationTypeDef definition
class ContainerRecommendationTypeDef(TypedDict):
containerName: NotRequired[str],
memorySizeConfiguration: NotRequired[MemorySizeConfigurationTypeDef], # (1)
cpu: NotRequired[int],
DeleteRecommendationPreferencesRequestRequestTypeDef#
# DeleteRecommendationPreferencesRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import DeleteRecommendationPreferencesRequestRequestTypeDef
def get_value() -> DeleteRecommendationPreferencesRequestRequestTypeDef:
return {
"resourceType": ...,
"recommendationPreferenceNames": ...,
}
# DeleteRecommendationPreferencesRequestRequestTypeDef definition
class DeleteRecommendationPreferencesRequestRequestTypeDef(TypedDict):
resourceType: ResourceTypeType, # (1)
recommendationPreferenceNames: Sequence[RecommendationPreferenceNameType], # (2)
scope: NotRequired[ScopeTypeDef], # (3)
GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef#
# GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef
def get_value() -> GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef:
return {
"resourceType": ...,
}
# GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef definition
class GetRecommendationPreferencesRequestGetRecommendationPreferencesPaginateTypeDef(TypedDict):
resourceType: ResourceTypeType, # (1)
scope: NotRequired[ScopeTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See ResourceTypeType
- See ScopeTypeDef
- See PaginatorConfigTypeDef
GetRecommendationPreferencesRequestRequestTypeDef#
# GetRecommendationPreferencesRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetRecommendationPreferencesRequestRequestTypeDef
def get_value() -> GetRecommendationPreferencesRequestRequestTypeDef:
return {
"resourceType": ...,
}
# GetRecommendationPreferencesRequestRequestTypeDef definition
class GetRecommendationPreferencesRequestRequestTypeDef(TypedDict):
resourceType: ResourceTypeType, # (1)
scope: NotRequired[ScopeTypeDef], # (2)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
- See ResourceTypeType
- See ScopeTypeDef
DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef#
# DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef
def get_value() -> DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef:
return {
"jobIds": ...,
}
# DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef definition
class DescribeRecommendationExportJobsRequestDescribeRecommendationExportJobsPaginateTypeDef(TypedDict):
jobIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[JobFilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
DescribeRecommendationExportJobsRequestRequestTypeDef#
# DescribeRecommendationExportJobsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import DescribeRecommendationExportJobsRequestRequestTypeDef
def get_value() -> DescribeRecommendationExportJobsRequestRequestTypeDef:
return {
"jobIds": ...,
}
# DescribeRecommendationExportJobsRequestRequestTypeDef definition
class DescribeRecommendationExportJobsRequestRequestTypeDef(TypedDict):
jobIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[JobFilterTypeDef]], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
- See JobFilterTypeDef
GetEBSVolumeRecommendationsRequestRequestTypeDef#
# GetEBSVolumeRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEBSVolumeRecommendationsRequestRequestTypeDef
def get_value() -> GetEBSVolumeRecommendationsRequestRequestTypeDef:
return {
"volumeArns": ...,
}
# GetEBSVolumeRecommendationsRequestRequestTypeDef definition
class GetEBSVolumeRecommendationsRequestRequestTypeDef(TypedDict):
volumeArns: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
filters: NotRequired[Sequence[EBSFilterTypeDef]], # (1)
accountIds: NotRequired[Sequence[str]],
- See EBSFilterTypeDef
ECSServiceRecommendedOptionProjectedMetricTypeDef#
# ECSServiceRecommendedOptionProjectedMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ECSServiceRecommendedOptionProjectedMetricTypeDef
def get_value() -> ECSServiceRecommendedOptionProjectedMetricTypeDef:
return {
"recommendedCpuUnits": ...,
}
# ECSServiceRecommendedOptionProjectedMetricTypeDef definition
class ECSServiceRecommendedOptionProjectedMetricTypeDef(TypedDict):
recommendedCpuUnits: NotRequired[int],
recommendedMemorySize: NotRequired[int],
projectedMetrics: NotRequired[List[ECSServiceProjectedMetricTypeDef]], # (1)
GetECSServiceRecommendationsRequestRequestTypeDef#
# GetECSServiceRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetECSServiceRecommendationsRequestRequestTypeDef
def get_value() -> GetECSServiceRecommendationsRequestRequestTypeDef:
return {
"serviceArns": ...,
}
# GetECSServiceRecommendationsRequestRequestTypeDef definition
class GetECSServiceRecommendationsRequestRequestTypeDef(TypedDict):
serviceArns: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
filters: NotRequired[Sequence[ECSServiceRecommendationFilterTypeDef]], # (1)
accountIds: NotRequired[Sequence[str]],
EffectiveRecommendationPreferencesTypeDef#
# EffectiveRecommendationPreferencesTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import EffectiveRecommendationPreferencesTypeDef
def get_value() -> EffectiveRecommendationPreferencesTypeDef:
return {
"cpuVendorArchitectures": ...,
}
# EffectiveRecommendationPreferencesTypeDef definition
class EffectiveRecommendationPreferencesTypeDef(TypedDict):
cpuVendorArchitectures: NotRequired[List[CpuVendorArchitectureType]], # (1)
enhancedInfrastructureMetrics: NotRequired[EnhancedInfrastructureMetricsType], # (2)
inferredWorkloadTypes: NotRequired[InferredWorkloadTypesPreferenceType], # (3)
externalMetricsPreference: NotRequired[ExternalMetricsPreferenceTypeDef], # (4)
- See CpuVendorArchitectureType
- See EnhancedInfrastructureMetricsType
- See InferredWorkloadTypesPreferenceType
- See ExternalMetricsPreferenceTypeDef
GetEffectiveRecommendationPreferencesResponseTypeDef#
# GetEffectiveRecommendationPreferencesResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEffectiveRecommendationPreferencesResponseTypeDef
def get_value() -> GetEffectiveRecommendationPreferencesResponseTypeDef:
return {
"enhancedInfrastructureMetrics": ...,
"externalMetricsPreference": ...,
"ResponseMetadata": ...,
}
# GetEffectiveRecommendationPreferencesResponseTypeDef definition
class GetEffectiveRecommendationPreferencesResponseTypeDef(TypedDict):
enhancedInfrastructureMetrics: EnhancedInfrastructureMetricsType, # (1)
externalMetricsPreference: ExternalMetricsPreferenceTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See EnhancedInfrastructureMetricsType
- See ExternalMetricsPreferenceTypeDef
- See ResponseMetadataTypeDef
PutRecommendationPreferencesRequestRequestTypeDef#
# PutRecommendationPreferencesRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import PutRecommendationPreferencesRequestRequestTypeDef
def get_value() -> PutRecommendationPreferencesRequestRequestTypeDef:
return {
"resourceType": ...,
}
# PutRecommendationPreferencesRequestRequestTypeDef definition
class PutRecommendationPreferencesRequestRequestTypeDef(TypedDict):
resourceType: ResourceTypeType, # (1)
scope: NotRequired[ScopeTypeDef], # (2)
enhancedInfrastructureMetrics: NotRequired[EnhancedInfrastructureMetricsType], # (3)
inferredWorkloadTypes: NotRequired[InferredWorkloadTypesPreferenceType], # (4)
externalMetricsPreference: NotRequired[ExternalMetricsPreferenceTypeDef], # (5)
- See ResourceTypeType
- See ScopeTypeDef
- See EnhancedInfrastructureMetricsType
- See InferredWorkloadTypesPreferenceType
- See ExternalMetricsPreferenceTypeDef
RecommendationPreferencesDetailTypeDef#
# RecommendationPreferencesDetailTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import RecommendationPreferencesDetailTypeDef
def get_value() -> RecommendationPreferencesDetailTypeDef:
return {
"scope": ...,
}
# RecommendationPreferencesDetailTypeDef definition
class RecommendationPreferencesDetailTypeDef(TypedDict):
scope: NotRequired[ScopeTypeDef], # (1)
resourceType: NotRequired[ResourceTypeType], # (2)
enhancedInfrastructureMetrics: NotRequired[EnhancedInfrastructureMetricsType], # (3)
inferredWorkloadTypes: NotRequired[InferredWorkloadTypesPreferenceType], # (4)
externalMetricsPreference: NotRequired[ExternalMetricsPreferenceTypeDef], # (5)
- See ScopeTypeDef
- See ResourceTypeType
- See EnhancedInfrastructureMetricsType
- See InferredWorkloadTypesPreferenceType
- See ExternalMetricsPreferenceTypeDef
GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef#
# GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef
def get_value() -> GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef:
return {
"filters": ...,
}
# GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef definition
class GetEnrollmentStatusesForOrganizationRequestGetEnrollmentStatusesForOrganizationPaginateTypeDef(TypedDict):
filters: NotRequired[Sequence[EnrollmentFilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
GetEnrollmentStatusesForOrganizationRequestRequestTypeDef#
# GetEnrollmentStatusesForOrganizationRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEnrollmentStatusesForOrganizationRequestRequestTypeDef
def get_value() -> GetEnrollmentStatusesForOrganizationRequestRequestTypeDef:
return {
"filters": ...,
}
# GetEnrollmentStatusesForOrganizationRequestRequestTypeDef definition
class GetEnrollmentStatusesForOrganizationRequestRequestTypeDef(TypedDict):
filters: NotRequired[Sequence[EnrollmentFilterTypeDef]], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
InferredWorkloadSavingTypeDef#
# InferredWorkloadSavingTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import InferredWorkloadSavingTypeDef
def get_value() -> InferredWorkloadSavingTypeDef:
return {
"inferredWorkloadTypes": ...,
}
# InferredWorkloadSavingTypeDef definition
class InferredWorkloadSavingTypeDef(TypedDict):
inferredWorkloadTypes: NotRequired[List[InferredWorkloadTypeType]], # (1)
estimatedMonthlySavings: NotRequired[EstimatedMonthlySavingsTypeDef], # (2)
SavingsOpportunityTypeDef#
# SavingsOpportunityTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import SavingsOpportunityTypeDef
def get_value() -> SavingsOpportunityTypeDef:
return {
"savingsOpportunityPercentage": ...,
}
# SavingsOpportunityTypeDef definition
class SavingsOpportunityTypeDef(TypedDict):
savingsOpportunityPercentage: NotRequired[float],
estimatedMonthlySavings: NotRequired[EstimatedMonthlySavingsTypeDef], # (1)
GetAutoScalingGroupRecommendationsRequestRequestTypeDef#
# GetAutoScalingGroupRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetAutoScalingGroupRecommendationsRequestRequestTypeDef
def get_value() -> GetAutoScalingGroupRecommendationsRequestRequestTypeDef:
return {
"accountIds": ...,
}
# GetAutoScalingGroupRecommendationsRequestRequestTypeDef definition
class GetAutoScalingGroupRecommendationsRequestRequestTypeDef(TypedDict):
accountIds: NotRequired[Sequence[str]],
autoScalingGroupArns: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
filters: NotRequired[Sequence[FilterTypeDef]], # (1)
recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef], # (2)
GetEC2InstanceRecommendationsRequestRequestTypeDef#
# GetEC2InstanceRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEC2InstanceRecommendationsRequestRequestTypeDef
def get_value() -> GetEC2InstanceRecommendationsRequestRequestTypeDef:
return {
"instanceArns": ...,
}
# GetEC2InstanceRecommendationsRequestRequestTypeDef definition
class GetEC2InstanceRecommendationsRequestRequestTypeDef(TypedDict):
instanceArns: NotRequired[Sequence[str]],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
filters: NotRequired[Sequence[FilterTypeDef]], # (1)
accountIds: NotRequired[Sequence[str]],
recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef], # (2)
GetEC2RecommendationProjectedMetricsRequestRequestTypeDef#
# GetEC2RecommendationProjectedMetricsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEC2RecommendationProjectedMetricsRequestRequestTypeDef
def get_value() -> GetEC2RecommendationProjectedMetricsRequestRequestTypeDef:
return {
"instanceArn": ...,
"stat": ...,
"period": ...,
"startTime": ...,
"endTime": ...,
}
# GetEC2RecommendationProjectedMetricsRequestRequestTypeDef definition
class GetEC2RecommendationProjectedMetricsRequestRequestTypeDef(TypedDict):
instanceArn: str,
stat: MetricStatisticType, # (1)
period: int,
startTime: Union[datetime, str],
endTime: Union[datetime, str],
recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef], # (2)
ExportAutoScalingGroupRecommendationsRequestRequestTypeDef#
# ExportAutoScalingGroupRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportAutoScalingGroupRecommendationsRequestRequestTypeDef
def get_value() -> ExportAutoScalingGroupRecommendationsRequestRequestTypeDef:
return {
"s3DestinationConfig": ...,
}
# ExportAutoScalingGroupRecommendationsRequestRequestTypeDef definition
class ExportAutoScalingGroupRecommendationsRequestRequestTypeDef(TypedDict):
s3DestinationConfig: S3DestinationConfigTypeDef, # (1)
accountIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[FilterTypeDef]], # (2)
fieldsToExport: NotRequired[Sequence[ExportableAutoScalingGroupFieldType]], # (3)
fileFormat: NotRequired[FileFormatType], # (4)
includeMemberAccounts: NotRequired[bool],
recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef], # (5)
- See S3DestinationConfigTypeDef
- See FilterTypeDef
- See ExportableAutoScalingGroupFieldType
- See FileFormatType
- See RecommendationPreferencesTypeDef
ExportEBSVolumeRecommendationsRequestRequestTypeDef#
# ExportEBSVolumeRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportEBSVolumeRecommendationsRequestRequestTypeDef
def get_value() -> ExportEBSVolumeRecommendationsRequestRequestTypeDef:
return {
"s3DestinationConfig": ...,
}
# ExportEBSVolumeRecommendationsRequestRequestTypeDef definition
class ExportEBSVolumeRecommendationsRequestRequestTypeDef(TypedDict):
s3DestinationConfig: S3DestinationConfigTypeDef, # (1)
accountIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[EBSFilterTypeDef]], # (2)
fieldsToExport: NotRequired[Sequence[ExportableVolumeFieldType]], # (3)
fileFormat: NotRequired[FileFormatType], # (4)
includeMemberAccounts: NotRequired[bool],
- See S3DestinationConfigTypeDef
- See EBSFilterTypeDef
- See ExportableVolumeFieldType
- See FileFormatType
ExportEC2InstanceRecommendationsRequestRequestTypeDef#
# ExportEC2InstanceRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportEC2InstanceRecommendationsRequestRequestTypeDef
def get_value() -> ExportEC2InstanceRecommendationsRequestRequestTypeDef:
return {
"s3DestinationConfig": ...,
}
# ExportEC2InstanceRecommendationsRequestRequestTypeDef definition
class ExportEC2InstanceRecommendationsRequestRequestTypeDef(TypedDict):
s3DestinationConfig: S3DestinationConfigTypeDef, # (1)
accountIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[FilterTypeDef]], # (2)
fieldsToExport: NotRequired[Sequence[ExportableInstanceFieldType]], # (3)
fileFormat: NotRequired[FileFormatType], # (4)
includeMemberAccounts: NotRequired[bool],
recommendationPreferences: NotRequired[RecommendationPreferencesTypeDef], # (5)
- See S3DestinationConfigTypeDef
- See FilterTypeDef
- See ExportableInstanceFieldType
- See FileFormatType
- See RecommendationPreferencesTypeDef
ExportECSServiceRecommendationsRequestRequestTypeDef#
# ExportECSServiceRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportECSServiceRecommendationsRequestRequestTypeDef
def get_value() -> ExportECSServiceRecommendationsRequestRequestTypeDef:
return {
"s3DestinationConfig": ...,
}
# ExportECSServiceRecommendationsRequestRequestTypeDef definition
class ExportECSServiceRecommendationsRequestRequestTypeDef(TypedDict):
s3DestinationConfig: S3DestinationConfigTypeDef, # (1)
accountIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[ECSServiceRecommendationFilterTypeDef]], # (2)
fieldsToExport: NotRequired[Sequence[ExportableECSServiceFieldType]], # (3)
fileFormat: NotRequired[FileFormatType], # (4)
includeMemberAccounts: NotRequired[bool],
- See S3DestinationConfigTypeDef
- See ECSServiceRecommendationFilterTypeDef
- See ExportableECSServiceFieldType
- See FileFormatType
ExportAutoScalingGroupRecommendationsResponseTypeDef#
# ExportAutoScalingGroupRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportAutoScalingGroupRecommendationsResponseTypeDef
def get_value() -> ExportAutoScalingGroupRecommendationsResponseTypeDef:
return {
"jobId": ...,
"s3Destination": ...,
"ResponseMetadata": ...,
}
# ExportAutoScalingGroupRecommendationsResponseTypeDef definition
class ExportAutoScalingGroupRecommendationsResponseTypeDef(TypedDict):
jobId: str,
s3Destination: S3DestinationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExportDestinationTypeDef#
# ExportDestinationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportDestinationTypeDef
def get_value() -> ExportDestinationTypeDef:
return {
"s3": ...,
}
# ExportDestinationTypeDef definition
class ExportDestinationTypeDef(TypedDict):
s3: NotRequired[S3DestinationTypeDef], # (1)
ExportEBSVolumeRecommendationsResponseTypeDef#
# ExportEBSVolumeRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportEBSVolumeRecommendationsResponseTypeDef
def get_value() -> ExportEBSVolumeRecommendationsResponseTypeDef:
return {
"jobId": ...,
"s3Destination": ...,
"ResponseMetadata": ...,
}
# ExportEBSVolumeRecommendationsResponseTypeDef definition
class ExportEBSVolumeRecommendationsResponseTypeDef(TypedDict):
jobId: str,
s3Destination: S3DestinationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExportEC2InstanceRecommendationsResponseTypeDef#
# ExportEC2InstanceRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportEC2InstanceRecommendationsResponseTypeDef
def get_value() -> ExportEC2InstanceRecommendationsResponseTypeDef:
return {
"jobId": ...,
"s3Destination": ...,
"ResponseMetadata": ...,
}
# ExportEC2InstanceRecommendationsResponseTypeDef definition
class ExportEC2InstanceRecommendationsResponseTypeDef(TypedDict):
jobId: str,
s3Destination: S3DestinationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExportECSServiceRecommendationsResponseTypeDef#
# ExportECSServiceRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportECSServiceRecommendationsResponseTypeDef
def get_value() -> ExportECSServiceRecommendationsResponseTypeDef:
return {
"jobId": ...,
"s3Destination": ...,
"ResponseMetadata": ...,
}
# ExportECSServiceRecommendationsResponseTypeDef definition
class ExportECSServiceRecommendationsResponseTypeDef(TypedDict):
jobId: str,
s3Destination: S3DestinationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExportLambdaFunctionRecommendationsResponseTypeDef#
# ExportLambdaFunctionRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportLambdaFunctionRecommendationsResponseTypeDef
def get_value() -> ExportLambdaFunctionRecommendationsResponseTypeDef:
return {
"jobId": ...,
"s3Destination": ...,
"ResponseMetadata": ...,
}
# ExportLambdaFunctionRecommendationsResponseTypeDef definition
class ExportLambdaFunctionRecommendationsResponseTypeDef(TypedDict):
jobId: str,
s3Destination: S3DestinationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExportLambdaFunctionRecommendationsRequestRequestTypeDef#
# ExportLambdaFunctionRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ExportLambdaFunctionRecommendationsRequestRequestTypeDef
def get_value() -> ExportLambdaFunctionRecommendationsRequestRequestTypeDef:
return {
"s3DestinationConfig": ...,
}
# ExportLambdaFunctionRecommendationsRequestRequestTypeDef definition
class ExportLambdaFunctionRecommendationsRequestRequestTypeDef(TypedDict):
s3DestinationConfig: S3DestinationConfigTypeDef, # (1)
accountIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[LambdaFunctionRecommendationFilterTypeDef]], # (2)
fieldsToExport: NotRequired[Sequence[ExportableLambdaFunctionFieldType]], # (3)
fileFormat: NotRequired[FileFormatType], # (4)
includeMemberAccounts: NotRequired[bool],
- See S3DestinationConfigTypeDef
- See LambdaFunctionRecommendationFilterTypeDef
- See ExportableLambdaFunctionFieldType
- See FileFormatType
GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef#
# GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef
def get_value() -> GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef:
return {
"functionArns": ...,
}
# GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef definition
class GetLambdaFunctionRecommendationsRequestGetLambdaFunctionRecommendationsPaginateTypeDef(TypedDict):
functionArns: NotRequired[Sequence[str]],
accountIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[LambdaFunctionRecommendationFilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
GetLambdaFunctionRecommendationsRequestRequestTypeDef#
# GetLambdaFunctionRecommendationsRequestRequestTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetLambdaFunctionRecommendationsRequestRequestTypeDef
def get_value() -> GetLambdaFunctionRecommendationsRequestRequestTypeDef:
return {
"functionArns": ...,
}
# GetLambdaFunctionRecommendationsRequestRequestTypeDef definition
class GetLambdaFunctionRecommendationsRequestRequestTypeDef(TypedDict):
functionArns: NotRequired[Sequence[str]],
accountIds: NotRequired[Sequence[str]],
filters: NotRequired[Sequence[LambdaFunctionRecommendationFilterTypeDef]], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
RecommendedOptionProjectedMetricTypeDef#
# RecommendedOptionProjectedMetricTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import RecommendedOptionProjectedMetricTypeDef
def get_value() -> RecommendedOptionProjectedMetricTypeDef:
return {
"recommendedInstanceType": ...,
}
# RecommendedOptionProjectedMetricTypeDef definition
class RecommendedOptionProjectedMetricTypeDef(TypedDict):
recommendedInstanceType: NotRequired[str],
rank: NotRequired[int],
projectedMetrics: NotRequired[List[ProjectedMetricTypeDef]], # (1)
SummaryTypeDef#
# SummaryTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import SummaryTypeDef
def get_value() -> SummaryTypeDef:
return {
"name": ...,
}
# SummaryTypeDef definition
class SummaryTypeDef(TypedDict):
name: NotRequired[FindingType], # (1)
value: NotRequired[float],
reasonCodeSummaries: NotRequired[List[ReasonCodeSummaryTypeDef]], # (2)
- See FindingType
- See ReasonCodeSummaryTypeDef
ServiceConfigurationTypeDef#
# ServiceConfigurationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ServiceConfigurationTypeDef
def get_value() -> ServiceConfigurationTypeDef:
return {
"memory": ...,
}
# ServiceConfigurationTypeDef definition
class ServiceConfigurationTypeDef(TypedDict):
memory: NotRequired[int],
cpu: NotRequired[int],
containerConfigurations: NotRequired[List[ContainerConfigurationTypeDef]], # (1)
autoScalingConfiguration: NotRequired[AutoScalingConfigurationType], # (2)
taskDefinitionArn: NotRequired[str],
GetECSServiceRecommendationProjectedMetricsResponseTypeDef#
# GetECSServiceRecommendationProjectedMetricsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetECSServiceRecommendationProjectedMetricsResponseTypeDef
def get_value() -> GetECSServiceRecommendationProjectedMetricsResponseTypeDef:
return {
"recommendedOptionProjectedMetrics": ...,
"ResponseMetadata": ...,
}
# GetECSServiceRecommendationProjectedMetricsResponseTypeDef definition
class GetECSServiceRecommendationProjectedMetricsResponseTypeDef(TypedDict):
recommendedOptionProjectedMetrics: List[ECSServiceRecommendedOptionProjectedMetricTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRecommendationPreferencesResponseTypeDef#
# GetRecommendationPreferencesResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetRecommendationPreferencesResponseTypeDef
def get_value() -> GetRecommendationPreferencesResponseTypeDef:
return {
"nextToken": ...,
"recommendationPreferencesDetails": ...,
"ResponseMetadata": ...,
}
# GetRecommendationPreferencesResponseTypeDef definition
class GetRecommendationPreferencesResponseTypeDef(TypedDict):
nextToken: str,
recommendationPreferencesDetails: List[RecommendationPreferencesDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AutoScalingGroupRecommendationOptionTypeDef#
# AutoScalingGroupRecommendationOptionTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import AutoScalingGroupRecommendationOptionTypeDef
def get_value() -> AutoScalingGroupRecommendationOptionTypeDef:
return {
"configuration": ...,
}
# AutoScalingGroupRecommendationOptionTypeDef definition
class AutoScalingGroupRecommendationOptionTypeDef(TypedDict):
configuration: NotRequired[AutoScalingGroupConfigurationTypeDef], # (1)
projectedUtilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]], # (2)
performanceRisk: NotRequired[float],
rank: NotRequired[int],
savingsOpportunity: NotRequired[SavingsOpportunityTypeDef], # (3)
migrationEffort: NotRequired[MigrationEffortType], # (4)
- See AutoScalingGroupConfigurationTypeDef
- See UtilizationMetricTypeDef
- See SavingsOpportunityTypeDef
- See MigrationEffortType
ECSServiceRecommendationOptionTypeDef#
# ECSServiceRecommendationOptionTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ECSServiceRecommendationOptionTypeDef
def get_value() -> ECSServiceRecommendationOptionTypeDef:
return {
"memory": ...,
}
# ECSServiceRecommendationOptionTypeDef definition
class ECSServiceRecommendationOptionTypeDef(TypedDict):
memory: NotRequired[int],
cpu: NotRequired[int],
savingsOpportunity: NotRequired[SavingsOpportunityTypeDef], # (1)
projectedUtilizationMetrics: NotRequired[List[ECSServiceProjectedUtilizationMetricTypeDef]], # (2)
containerRecommendations: NotRequired[List[ContainerRecommendationTypeDef]], # (3)
- See SavingsOpportunityTypeDef
- See ECSServiceProjectedUtilizationMetricTypeDef
- See ContainerRecommendationTypeDef
InstanceRecommendationOptionTypeDef#
# InstanceRecommendationOptionTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import InstanceRecommendationOptionTypeDef
def get_value() -> InstanceRecommendationOptionTypeDef:
return {
"instanceType": ...,
}
# InstanceRecommendationOptionTypeDef definition
class InstanceRecommendationOptionTypeDef(TypedDict):
instanceType: NotRequired[str],
projectedUtilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]], # (1)
platformDifferences: NotRequired[List[PlatformDifferenceType]], # (2)
performanceRisk: NotRequired[float],
rank: NotRequired[int],
savingsOpportunity: NotRequired[SavingsOpportunityTypeDef], # (3)
migrationEffort: NotRequired[MigrationEffortType], # (4)
- See UtilizationMetricTypeDef
- See PlatformDifferenceType
- See SavingsOpportunityTypeDef
- See MigrationEffortType
LambdaFunctionMemoryRecommendationOptionTypeDef#
# LambdaFunctionMemoryRecommendationOptionTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import LambdaFunctionMemoryRecommendationOptionTypeDef
def get_value() -> LambdaFunctionMemoryRecommendationOptionTypeDef:
return {
"rank": ...,
}
# LambdaFunctionMemoryRecommendationOptionTypeDef definition
class LambdaFunctionMemoryRecommendationOptionTypeDef(TypedDict):
rank: NotRequired[int],
memorySize: NotRequired[int],
projectedUtilizationMetrics: NotRequired[List[LambdaFunctionMemoryProjectedMetricTypeDef]], # (1)
savingsOpportunity: NotRequired[SavingsOpportunityTypeDef], # (2)
VolumeRecommendationOptionTypeDef#
# VolumeRecommendationOptionTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import VolumeRecommendationOptionTypeDef
def get_value() -> VolumeRecommendationOptionTypeDef:
return {
"configuration": ...,
}
# VolumeRecommendationOptionTypeDef definition
class VolumeRecommendationOptionTypeDef(TypedDict):
configuration: NotRequired[VolumeConfigurationTypeDef], # (1)
performanceRisk: NotRequired[float],
rank: NotRequired[int],
savingsOpportunity: NotRequired[SavingsOpportunityTypeDef], # (2)
RecommendationExportJobTypeDef#
# RecommendationExportJobTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import RecommendationExportJobTypeDef
def get_value() -> RecommendationExportJobTypeDef:
return {
"jobId": ...,
}
# RecommendationExportJobTypeDef definition
class RecommendationExportJobTypeDef(TypedDict):
jobId: NotRequired[str],
destination: NotRequired[ExportDestinationTypeDef], # (1)
resourceType: NotRequired[ResourceTypeType], # (2)
status: NotRequired[JobStatusType], # (3)
creationTimestamp: NotRequired[datetime],
lastUpdatedTimestamp: NotRequired[datetime],
failureReason: NotRequired[str],
- See ExportDestinationTypeDef
- See ResourceTypeType
- See JobStatusType
GetEC2RecommendationProjectedMetricsResponseTypeDef#
# GetEC2RecommendationProjectedMetricsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEC2RecommendationProjectedMetricsResponseTypeDef
def get_value() -> GetEC2RecommendationProjectedMetricsResponseTypeDef:
return {
"recommendedOptionProjectedMetrics": ...,
"ResponseMetadata": ...,
}
# GetEC2RecommendationProjectedMetricsResponseTypeDef definition
class GetEC2RecommendationProjectedMetricsResponseTypeDef(TypedDict):
recommendedOptionProjectedMetrics: List[RecommendedOptionProjectedMetricTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RecommendationSummaryTypeDef#
# RecommendationSummaryTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import RecommendationSummaryTypeDef
def get_value() -> RecommendationSummaryTypeDef:
return {
"summaries": ...,
}
# RecommendationSummaryTypeDef definition
class RecommendationSummaryTypeDef(TypedDict):
summaries: NotRequired[List[SummaryTypeDef]], # (1)
recommendationResourceType: NotRequired[RecommendationSourceTypeType], # (2)
accountId: NotRequired[str],
savingsOpportunity: NotRequired[SavingsOpportunityTypeDef], # (3)
currentPerformanceRiskRatings: NotRequired[CurrentPerformanceRiskRatingsTypeDef], # (4)
inferredWorkloadSavings: NotRequired[List[InferredWorkloadSavingTypeDef]], # (5)
- See SummaryTypeDef
- See RecommendationSourceTypeType
- See SavingsOpportunityTypeDef
- See CurrentPerformanceRiskRatingsTypeDef
- See InferredWorkloadSavingTypeDef
AutoScalingGroupRecommendationTypeDef#
# AutoScalingGroupRecommendationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import AutoScalingGroupRecommendationTypeDef
def get_value() -> AutoScalingGroupRecommendationTypeDef:
return {
"accountId": ...,
}
# AutoScalingGroupRecommendationTypeDef definition
class AutoScalingGroupRecommendationTypeDef(TypedDict):
accountId: NotRequired[str],
autoScalingGroupArn: NotRequired[str],
autoScalingGroupName: NotRequired[str],
finding: NotRequired[FindingType], # (1)
utilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]], # (2)
lookBackPeriodInDays: NotRequired[float],
currentConfiguration: NotRequired[AutoScalingGroupConfigurationTypeDef], # (3)
recommendationOptions: NotRequired[List[AutoScalingGroupRecommendationOptionTypeDef]], # (4)
lastRefreshTimestamp: NotRequired[datetime],
currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType], # (5)
effectiveRecommendationPreferences: NotRequired[EffectiveRecommendationPreferencesTypeDef], # (6)
inferredWorkloadTypes: NotRequired[List[InferredWorkloadTypeType]], # (7)
- See FindingType
- See UtilizationMetricTypeDef
- See AutoScalingGroupConfigurationTypeDef
- See AutoScalingGroupRecommendationOptionTypeDef
- See CurrentPerformanceRiskType
- See EffectiveRecommendationPreferencesTypeDef
- See InferredWorkloadTypeType
ECSServiceRecommendationTypeDef#
# ECSServiceRecommendationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import ECSServiceRecommendationTypeDef
def get_value() -> ECSServiceRecommendationTypeDef:
return {
"serviceArn": ...,
}
# ECSServiceRecommendationTypeDef definition
class ECSServiceRecommendationTypeDef(TypedDict):
serviceArn: NotRequired[str],
accountId: NotRequired[str],
currentServiceConfiguration: NotRequired[ServiceConfigurationTypeDef], # (1)
utilizationMetrics: NotRequired[List[ECSServiceUtilizationMetricTypeDef]], # (2)
lookbackPeriodInDays: NotRequired[float],
launchType: NotRequired[ECSServiceLaunchTypeType], # (3)
lastRefreshTimestamp: NotRequired[datetime],
finding: NotRequired[ECSServiceRecommendationFindingType], # (4)
findingReasonCodes: NotRequired[List[ECSServiceRecommendationFindingReasonCodeType]], # (5)
serviceRecommendationOptions: NotRequired[List[ECSServiceRecommendationOptionTypeDef]], # (6)
currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType], # (7)
tags: NotRequired[List[TagTypeDef]], # (8)
- See ServiceConfigurationTypeDef
- See ECSServiceUtilizationMetricTypeDef
- See ECSServiceLaunchTypeType
- See ECSServiceRecommendationFindingType
- See ECSServiceRecommendationFindingReasonCodeType
- See ECSServiceRecommendationOptionTypeDef
- See CurrentPerformanceRiskType
- See TagTypeDef
InstanceRecommendationTypeDef#
# InstanceRecommendationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import InstanceRecommendationTypeDef
def get_value() -> InstanceRecommendationTypeDef:
return {
"instanceArn": ...,
}
# InstanceRecommendationTypeDef definition
class InstanceRecommendationTypeDef(TypedDict):
instanceArn: NotRequired[str],
accountId: NotRequired[str],
instanceName: NotRequired[str],
currentInstanceType: NotRequired[str],
finding: NotRequired[FindingType], # (1)
findingReasonCodes: NotRequired[List[InstanceRecommendationFindingReasonCodeType]], # (2)
utilizationMetrics: NotRequired[List[UtilizationMetricTypeDef]], # (3)
lookBackPeriodInDays: NotRequired[float],
recommendationOptions: NotRequired[List[InstanceRecommendationOptionTypeDef]], # (4)
recommendationSources: NotRequired[List[RecommendationSourceTypeDef]], # (5)
lastRefreshTimestamp: NotRequired[datetime],
currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType], # (6)
effectiveRecommendationPreferences: NotRequired[EffectiveRecommendationPreferencesTypeDef], # (7)
inferredWorkloadTypes: NotRequired[List[InferredWorkloadTypeType]], # (8)
instanceState: NotRequired[InstanceStateType], # (9)
tags: NotRequired[List[TagTypeDef]], # (10)
externalMetricStatus: NotRequired[ExternalMetricStatusTypeDef], # (11)
- See FindingType
- See InstanceRecommendationFindingReasonCodeType
- See UtilizationMetricTypeDef
- See InstanceRecommendationOptionTypeDef
- See RecommendationSourceTypeDef
- See CurrentPerformanceRiskType
- See EffectiveRecommendationPreferencesTypeDef
- See InferredWorkloadTypeType
- See InstanceStateType
- See TagTypeDef
- See ExternalMetricStatusTypeDef
LambdaFunctionRecommendationTypeDef#
# LambdaFunctionRecommendationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import LambdaFunctionRecommendationTypeDef
def get_value() -> LambdaFunctionRecommendationTypeDef:
return {
"functionArn": ...,
}
# LambdaFunctionRecommendationTypeDef definition
class LambdaFunctionRecommendationTypeDef(TypedDict):
functionArn: NotRequired[str],
functionVersion: NotRequired[str],
accountId: NotRequired[str],
currentMemorySize: NotRequired[int],
numberOfInvocations: NotRequired[int],
utilizationMetrics: NotRequired[List[LambdaFunctionUtilizationMetricTypeDef]], # (1)
lookbackPeriodInDays: NotRequired[float],
lastRefreshTimestamp: NotRequired[datetime],
finding: NotRequired[LambdaFunctionRecommendationFindingType], # (2)
findingReasonCodes: NotRequired[List[LambdaFunctionRecommendationFindingReasonCodeType]], # (3)
memorySizeRecommendationOptions: NotRequired[List[LambdaFunctionMemoryRecommendationOptionTypeDef]], # (4)
currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType], # (5)
tags: NotRequired[List[TagTypeDef]], # (6)
- See LambdaFunctionUtilizationMetricTypeDef
- See LambdaFunctionRecommendationFindingType
- See LambdaFunctionRecommendationFindingReasonCodeType
- See LambdaFunctionMemoryRecommendationOptionTypeDef
- See CurrentPerformanceRiskType
- See TagTypeDef
VolumeRecommendationTypeDef#
# VolumeRecommendationTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import VolumeRecommendationTypeDef
def get_value() -> VolumeRecommendationTypeDef:
return {
"volumeArn": ...,
}
# VolumeRecommendationTypeDef definition
class VolumeRecommendationTypeDef(TypedDict):
volumeArn: NotRequired[str],
accountId: NotRequired[str],
currentConfiguration: NotRequired[VolumeConfigurationTypeDef], # (1)
finding: NotRequired[EBSFindingType], # (2)
utilizationMetrics: NotRequired[List[EBSUtilizationMetricTypeDef]], # (3)
lookBackPeriodInDays: NotRequired[float],
volumeRecommendationOptions: NotRequired[List[VolumeRecommendationOptionTypeDef]], # (4)
lastRefreshTimestamp: NotRequired[datetime],
currentPerformanceRisk: NotRequired[CurrentPerformanceRiskType], # (5)
tags: NotRequired[List[TagTypeDef]], # (6)
- See VolumeConfigurationTypeDef
- See EBSFindingType
- See EBSUtilizationMetricTypeDef
- See VolumeRecommendationOptionTypeDef
- See CurrentPerformanceRiskType
- See TagTypeDef
DescribeRecommendationExportJobsResponseTypeDef#
# DescribeRecommendationExportJobsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import DescribeRecommendationExportJobsResponseTypeDef
def get_value() -> DescribeRecommendationExportJobsResponseTypeDef:
return {
"recommendationExportJobs": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeRecommendationExportJobsResponseTypeDef definition
class DescribeRecommendationExportJobsResponseTypeDef(TypedDict):
recommendationExportJobs: List[RecommendationExportJobTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetRecommendationSummariesResponseTypeDef#
# GetRecommendationSummariesResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetRecommendationSummariesResponseTypeDef
def get_value() -> GetRecommendationSummariesResponseTypeDef:
return {
"nextToken": ...,
"recommendationSummaries": ...,
"ResponseMetadata": ...,
}
# GetRecommendationSummariesResponseTypeDef definition
class GetRecommendationSummariesResponseTypeDef(TypedDict):
nextToken: str,
recommendationSummaries: List[RecommendationSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAutoScalingGroupRecommendationsResponseTypeDef#
# GetAutoScalingGroupRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetAutoScalingGroupRecommendationsResponseTypeDef
def get_value() -> GetAutoScalingGroupRecommendationsResponseTypeDef:
return {
"nextToken": ...,
"autoScalingGroupRecommendations": ...,
"errors": ...,
"ResponseMetadata": ...,
}
# GetAutoScalingGroupRecommendationsResponseTypeDef definition
class GetAutoScalingGroupRecommendationsResponseTypeDef(TypedDict):
nextToken: str,
autoScalingGroupRecommendations: List[AutoScalingGroupRecommendationTypeDef], # (1)
errors: List[GetRecommendationErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See AutoScalingGroupRecommendationTypeDef
- See GetRecommendationErrorTypeDef
- See ResponseMetadataTypeDef
GetECSServiceRecommendationsResponseTypeDef#
# GetECSServiceRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetECSServiceRecommendationsResponseTypeDef
def get_value() -> GetECSServiceRecommendationsResponseTypeDef:
return {
"nextToken": ...,
"ecsServiceRecommendations": ...,
"errors": ...,
"ResponseMetadata": ...,
}
# GetECSServiceRecommendationsResponseTypeDef definition
class GetECSServiceRecommendationsResponseTypeDef(TypedDict):
nextToken: str,
ecsServiceRecommendations: List[ECSServiceRecommendationTypeDef], # (1)
errors: List[GetRecommendationErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
GetEC2InstanceRecommendationsResponseTypeDef#
# GetEC2InstanceRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEC2InstanceRecommendationsResponseTypeDef
def get_value() -> GetEC2InstanceRecommendationsResponseTypeDef:
return {
"nextToken": ...,
"instanceRecommendations": ...,
"errors": ...,
"ResponseMetadata": ...,
}
# GetEC2InstanceRecommendationsResponseTypeDef definition
class GetEC2InstanceRecommendationsResponseTypeDef(TypedDict):
nextToken: str,
instanceRecommendations: List[InstanceRecommendationTypeDef], # (1)
errors: List[GetRecommendationErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
GetLambdaFunctionRecommendationsResponseTypeDef#
# GetLambdaFunctionRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetLambdaFunctionRecommendationsResponseTypeDef
def get_value() -> GetLambdaFunctionRecommendationsResponseTypeDef:
return {
"nextToken": ...,
"lambdaFunctionRecommendations": ...,
"ResponseMetadata": ...,
}
# GetLambdaFunctionRecommendationsResponseTypeDef definition
class GetLambdaFunctionRecommendationsResponseTypeDef(TypedDict):
nextToken: str,
lambdaFunctionRecommendations: List[LambdaFunctionRecommendationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetEBSVolumeRecommendationsResponseTypeDef#
# GetEBSVolumeRecommendationsResponseTypeDef usage example
from mypy_boto3_compute_optimizer.type_defs import GetEBSVolumeRecommendationsResponseTypeDef
def get_value() -> GetEBSVolumeRecommendationsResponseTypeDef:
return {
"nextToken": ...,
"volumeRecommendations": ...,
"errors": ...,
"ResponseMetadata": ...,
}
# GetEBSVolumeRecommendationsResponseTypeDef definition
class GetEBSVolumeRecommendationsResponseTypeDef(TypedDict):
nextToken: str,
volumeRecommendations: List[VolumeRecommendationTypeDef], # (1)
errors: List[GetRecommendationErrorTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)