Typed dictionaries
Index > AutoScaling > Typed dictionaries
Auto-generated documentation for AutoScaling type annotations stubs module mypy-boto3-autoscaling.
AcceleratorCountRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AcceleratorCountRequestTypeDef
def get_value() -> AcceleratorCountRequestTypeDef:
return {
"Min": ...,
}
Definition
class AcceleratorCountRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
AcceleratorTotalMemoryMiBRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AcceleratorTotalMemoryMiBRequestTypeDef
def get_value() -> AcceleratorTotalMemoryMiBRequestTypeDef:
return {
"Min": ...,
}
Definition
class AcceleratorTotalMemoryMiBRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
ActivityTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ActivityTypeDef
def get_value() -> ActivityTypeDef:
return {
"ActivityId": ...,
"AutoScalingGroupName": ...,
"Cause": ...,
"StartTime": ...,
"StatusCode": ...,
}
Definition
class ActivityTypeDef(TypedDict):
ActivityId: str,
AutoScalingGroupName: str,
Cause: str,
StartTime: datetime,
StatusCode: ScalingActivityStatusCodeType, # (1)
Description: NotRequired[str],
EndTime: NotRequired[datetime],
StatusMessage: NotRequired[str],
Progress: NotRequired[int],
Details: NotRequired[str],
AutoScalingGroupState: NotRequired[str],
AutoScalingGroupARN: NotRequired[str],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
AdjustmentTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AdjustmentTypeTypeDef
def get_value() -> AdjustmentTypeTypeDef:
return {
"AdjustmentType": ...,
}
AlarmTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AlarmTypeDef
def get_value() -> AlarmTypeDef:
return {
"AlarmName": ...,
}
AttachInstancesQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachInstancesQueryRequestTypeDef
def get_value() -> AttachInstancesQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class AttachInstancesQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
InstanceIds: NotRequired[Sequence[str]],
AttachLoadBalancerTargetGroupsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachLoadBalancerTargetGroupsTypeRequestTypeDef
def get_value() -> AttachLoadBalancerTargetGroupsTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TargetGroupARNs": ...,
}
Definition
class AttachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TargetGroupARNs: Sequence[str],
AttachLoadBalancersTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachLoadBalancersTypeRequestTypeDef
def get_value() -> AttachLoadBalancersTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"LoadBalancerNames": ...,
}
Definition
class AttachLoadBalancersTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
LoadBalancerNames: Sequence[str],
TrafficSourceIdentifierTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TrafficSourceIdentifierTypeDef
def get_value() -> TrafficSourceIdentifierTypeDef:
return {
"Identifier": ...,
}
FilterTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import FilterTypeDef
def get_value() -> FilterTypeDef:
return {
"Name": ...,
}
Definition
class FilterTypeDef(TypedDict):
Name: NotRequired[str],
Values: NotRequired[Sequence[str]],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
EnabledMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnabledMetricTypeDef
def get_value() -> EnabledMetricTypeDef:
return {
"Metric": ...,
}
Definition
class EnabledMetricTypeDef(TypedDict):
Metric: NotRequired[str],
Granularity: NotRequired[str],
LaunchTemplateSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchTemplateSpecificationTypeDef
def get_value() -> LaunchTemplateSpecificationTypeDef:
return {
"LaunchTemplateId": ...,
}
Definition
class LaunchTemplateSpecificationTypeDef(TypedDict):
LaunchTemplateId: NotRequired[str],
LaunchTemplateName: NotRequired[str],
Version: NotRequired[str],
SuspendedProcessTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SuspendedProcessTypeDef
def get_value() -> SuspendedProcessTypeDef:
return {
"ProcessName": ...,
}
Definition
class SuspendedProcessTypeDef(TypedDict):
ProcessName: NotRequired[str],
SuspensionReason: NotRequired[str],
TagDescriptionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TagDescriptionTypeDef
def get_value() -> TagDescriptionTypeDef:
return {
"ResourceId": ...,
}
Definition
class TagDescriptionTypeDef(TypedDict):
ResourceId: NotRequired[str],
ResourceType: NotRequired[str],
Key: NotRequired[str],
Value: NotRequired[str],
PropagateAtLaunch: NotRequired[bool],
BaselineEbsBandwidthMbpsRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BaselineEbsBandwidthMbpsRequestTypeDef
def get_value() -> BaselineEbsBandwidthMbpsRequestTypeDef:
return {
"Min": ...,
}
Definition
class BaselineEbsBandwidthMbpsRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
FailedScheduledUpdateGroupActionRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import FailedScheduledUpdateGroupActionRequestTypeDef
def get_value() -> FailedScheduledUpdateGroupActionRequestTypeDef:
return {
"ScheduledActionName": ...,
}
Definition
class FailedScheduledUpdateGroupActionRequestTypeDef(TypedDict):
ScheduledActionName: str,
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
BatchDeleteScheduledActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionTypeRequestTypeDef
def get_value() -> BatchDeleteScheduledActionTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ScheduledActionNames": ...,
}
Definition
class BatchDeleteScheduledActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledActionNames: Sequence[str],
ScheduledUpdateGroupActionRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionRequestTypeDef
def get_value() -> ScheduledUpdateGroupActionRequestTypeDef:
return {
"ScheduledActionName": ...,
}
Definition
class ScheduledUpdateGroupActionRequestTypeDef(TypedDict):
ScheduledActionName: str,
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
Recurrence: NotRequired[str],
MinSize: NotRequired[int],
MaxSize: NotRequired[int],
DesiredCapacity: NotRequired[int],
TimeZone: NotRequired[str],
EbsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EbsTypeDef
def get_value() -> EbsTypeDef:
return {
"SnapshotId": ...,
}
Definition
class EbsTypeDef(TypedDict):
SnapshotId: NotRequired[str],
VolumeSize: NotRequired[int],
VolumeType: NotRequired[str],
DeleteOnTermination: NotRequired[bool],
Iops: NotRequired[int],
Encrypted: NotRequired[bool],
Throughput: NotRequired[int],
CancelInstanceRefreshTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshTypeRequestTypeDef
def get_value() -> CancelInstanceRefreshTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
CapacityForecastTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CapacityForecastTypeDef
def get_value() -> CapacityForecastTypeDef:
return {
"Timestamps": ...,
"Values": ...,
}
Definition
class CapacityForecastTypeDef(TypedDict):
Timestamps: List[datetime],
Values: List[float],
CompleteLifecycleActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CompleteLifecycleActionTypeRequestTypeDef
def get_value() -> CompleteLifecycleActionTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
"LifecycleActionResult": ...,
}
Definition
class CompleteLifecycleActionTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
LifecycleActionResult: str,
LifecycleActionToken: NotRequired[str],
InstanceId: NotRequired[str],
LifecycleHookSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LifecycleHookSpecificationTypeDef
def get_value() -> LifecycleHookSpecificationTypeDef:
return {
"LifecycleHookName": ...,
"LifecycleTransition": ...,
}
Definition
class LifecycleHookSpecificationTypeDef(TypedDict):
LifecycleHookName: str,
LifecycleTransition: str,
NotificationMetadata: NotRequired[str],
HeartbeatTimeout: NotRequired[int],
DefaultResult: NotRequired[str],
NotificationTargetARN: NotRequired[str],
RoleARN: NotRequired[str],
TagTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
Definition
class TagTypeDef(TypedDict):
Key: str,
ResourceId: NotRequired[str],
ResourceType: NotRequired[str],
Value: NotRequired[str],
PropagateAtLaunch: NotRequired[bool],
InstanceMetadataOptionsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceMetadataOptionsTypeDef
def get_value() -> InstanceMetadataOptionsTypeDef:
return {
"HttpTokens": ...,
}
Definition
class InstanceMetadataOptionsTypeDef(TypedDict):
HttpTokens: NotRequired[InstanceMetadataHttpTokensStateType], # (1)
HttpPutResponseHopLimit: NotRequired[int],
HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType], # (2)
InstanceMonitoringTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceMonitoringTypeDef
def get_value() -> InstanceMonitoringTypeDef:
return {
"Enabled": ...,
}
MetricDimensionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricDimensionTypeDef
def get_value() -> MetricDimensionTypeDef:
return {
"Name": ...,
"Value": ...,
}
DeleteAutoScalingGroupTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteAutoScalingGroupTypeRequestTypeDef
def get_value() -> DeleteAutoScalingGroupTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DeleteAutoScalingGroupTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ForceDelete: NotRequired[bool],
DeleteLifecycleHookTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteLifecycleHookTypeRequestTypeDef
def get_value() -> DeleteLifecycleHookTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
}
Definition
class DeleteLifecycleHookTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
DeleteNotificationConfigurationTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteNotificationConfigurationTypeRequestTypeDef
def get_value() -> DeleteNotificationConfigurationTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TopicARN": ...,
}
Definition
class DeleteNotificationConfigurationTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TopicARN: str,
DeletePolicyTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeletePolicyTypeRequestTypeDef
def get_value() -> DeletePolicyTypeRequestTypeDef:
return {
"PolicyName": ...,
}
Definition
class DeletePolicyTypeRequestTypeDef(TypedDict):
PolicyName: str,
AutoScalingGroupName: NotRequired[str],
DeleteScheduledActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteScheduledActionTypeRequestTypeDef
def get_value() -> DeleteScheduledActionTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ScheduledActionName": ...,
}
Definition
class DeleteScheduledActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledActionName: str,
DeleteWarmPoolTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteWarmPoolTypeRequestTypeDef
def get_value() -> DeleteWarmPoolTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DeleteWarmPoolTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ForceDelete: NotRequired[bool],
DescribeAutoScalingInstancesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeRequestTypeDef
def get_value() -> DescribeAutoScalingInstancesTypeRequestTypeDef:
return {
"InstanceIds": ...,
}
Definition
class DescribeAutoScalingInstancesTypeRequestTypeDef(TypedDict):
InstanceIds: NotRequired[Sequence[str]],
MaxRecords: NotRequired[int],
NextToken: NotRequired[str],
DescribeInstanceRefreshesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesTypeRequestTypeDef
def get_value() -> DescribeInstanceRefreshesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeInstanceRefreshesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
InstanceRefreshIds: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
LifecycleHookTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LifecycleHookTypeDef
def get_value() -> LifecycleHookTypeDef:
return {
"LifecycleHookName": ...,
}
Definition
class LifecycleHookTypeDef(TypedDict):
LifecycleHookName: NotRequired[str],
AutoScalingGroupName: NotRequired[str],
LifecycleTransition: NotRequired[str],
NotificationTargetARN: NotRequired[str],
RoleARN: NotRequired[str],
NotificationMetadata: NotRequired[str],
HeartbeatTimeout: NotRequired[int],
GlobalTimeout: NotRequired[int],
DefaultResult: NotRequired[str],
DescribeLifecycleHooksTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksTypeRequestTypeDef
def get_value() -> DescribeLifecycleHooksTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLifecycleHooksTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
LifecycleHookNames: NotRequired[Sequence[str]],
DescribeLoadBalancerTargetGroupsRequestRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestRequestTypeDef
def get_value() -> DescribeLoadBalancerTargetGroupsRequestRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLoadBalancerTargetGroupsRequestRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
LoadBalancerTargetGroupStateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LoadBalancerTargetGroupStateTypeDef
def get_value() -> LoadBalancerTargetGroupStateTypeDef:
return {
"LoadBalancerTargetGroupARN": ...,
}
Definition
class LoadBalancerTargetGroupStateTypeDef(TypedDict):
LoadBalancerTargetGroupARN: NotRequired[str],
State: NotRequired[str],
DescribeLoadBalancersRequestRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestRequestTypeDef
def get_value() -> DescribeLoadBalancersRequestRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLoadBalancersRequestRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
LoadBalancerStateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LoadBalancerStateTypeDef
def get_value() -> LoadBalancerStateTypeDef:
return {
"LoadBalancerName": ...,
}
Definition
class LoadBalancerStateTypeDef(TypedDict):
LoadBalancerName: NotRequired[str],
State: NotRequired[str],
MetricCollectionTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricCollectionTypeTypeDef
def get_value() -> MetricCollectionTypeTypeDef:
return {
"Metric": ...,
}
MetricGranularityTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricGranularityTypeTypeDef
def get_value() -> MetricGranularityTypeTypeDef:
return {
"Granularity": ...,
}
NotificationConfigurationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import NotificationConfigurationTypeDef
def get_value() -> NotificationConfigurationTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class NotificationConfigurationTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
TopicARN: NotRequired[str],
NotificationType: NotRequired[str],
DescribeNotificationConfigurationsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeRequestTypeDef
def get_value() -> DescribeNotificationConfigurationsTypeRequestTypeDef:
return {
"AutoScalingGroupNames": ...,
}
Definition
class DescribeNotificationConfigurationsTypeRequestTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
DescribePoliciesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeRequestTypeDef
def get_value() -> DescribePoliciesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribePoliciesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
PolicyNames: NotRequired[Sequence[str]],
PolicyTypes: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
DescribeScalingActivitiesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeRequestTypeDef
def get_value() -> DescribeScalingActivitiesTypeRequestTypeDef:
return {
"ActivityIds": ...,
}
Definition
class DescribeScalingActivitiesTypeRequestTypeDef(TypedDict):
ActivityIds: NotRequired[Sequence[str]],
AutoScalingGroupName: NotRequired[str],
IncludeDeletedGroups: NotRequired[bool],
MaxRecords: NotRequired[int],
NextToken: NotRequired[str],
DescribeScheduledActionsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeRequestTypeDef
def get_value() -> DescribeScheduledActionsTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeScheduledActionsTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
ScheduledActionNames: NotRequired[Sequence[str]],
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
DescribeTrafficSourcesRequestRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTrafficSourcesRequestRequestTypeDef
def get_value() -> DescribeTrafficSourcesRequestRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TrafficSourceType": ...,
}
Definition
class DescribeTrafficSourcesRequestRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSourceType: str,
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
TrafficSourceStateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TrafficSourceStateTypeDef
def get_value() -> TrafficSourceStateTypeDef:
return {
"TrafficSource": ...,
}
Definition
class TrafficSourceStateTypeDef(TypedDict):
TrafficSource: NotRequired[str],
State: NotRequired[str],
DescribeWarmPoolTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolTypeRequestTypeDef
def get_value() -> DescribeWarmPoolTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeWarmPoolTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
MaxRecords: NotRequired[int],
NextToken: NotRequired[str],
DetachInstancesQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachInstancesQueryRequestTypeDef
def get_value() -> DetachInstancesQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ShouldDecrementDesiredCapacity": ...,
}
Definition
class DetachInstancesQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ShouldDecrementDesiredCapacity: bool,
InstanceIds: NotRequired[Sequence[str]],
DetachLoadBalancerTargetGroupsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachLoadBalancerTargetGroupsTypeRequestTypeDef
def get_value() -> DetachLoadBalancerTargetGroupsTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TargetGroupARNs": ...,
}
Definition
class DetachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TargetGroupARNs: Sequence[str],
DetachLoadBalancersTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachLoadBalancersTypeRequestTypeDef
def get_value() -> DetachLoadBalancersTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"LoadBalancerNames": ...,
}
Definition
class DetachLoadBalancersTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
LoadBalancerNames: Sequence[str],
DisableMetricsCollectionQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DisableMetricsCollectionQueryRequestTypeDef
def get_value() -> DisableMetricsCollectionQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DisableMetricsCollectionQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
Metrics: NotRequired[Sequence[str]],
EnableMetricsCollectionQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnableMetricsCollectionQueryRequestTypeDef
def get_value() -> EnableMetricsCollectionQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"Granularity": ...,
}
Definition
class EnableMetricsCollectionQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
Granularity: str,
Metrics: NotRequired[Sequence[str]],
EnterStandbyQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnterStandbyQueryRequestTypeDef
def get_value() -> EnterStandbyQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ShouldDecrementDesiredCapacity": ...,
}
Definition
class EnterStandbyQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ShouldDecrementDesiredCapacity: bool,
InstanceIds: NotRequired[Sequence[str]],
ExecutePolicyTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ExecutePolicyTypeRequestTypeDef
def get_value() -> ExecutePolicyTypeRequestTypeDef:
return {
"PolicyName": ...,
}
Definition
class ExecutePolicyTypeRequestTypeDef(TypedDict):
PolicyName: str,
AutoScalingGroupName: NotRequired[str],
HonorCooldown: NotRequired[bool],
MetricValue: NotRequired[float],
BreachThreshold: NotRequired[float],
ExitStandbyQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ExitStandbyQueryRequestTypeDef
def get_value() -> ExitStandbyQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class ExitStandbyQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
InstanceIds: NotRequired[Sequence[str]],
GetPredictiveScalingForecastTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastTypeRequestTypeDef
def get_value() -> GetPredictiveScalingForecastTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"PolicyName": ...,
"StartTime": ...,
"EndTime": ...,
}
Definition
class GetPredictiveScalingForecastTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
PolicyName: str,
StartTime: Union[datetime, str],
EndTime: Union[datetime, str],
InstanceRefreshLivePoolProgressTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshLivePoolProgressTypeDef
def get_value() -> InstanceRefreshLivePoolProgressTypeDef:
return {
"PercentageComplete": ...,
}
Definition
class InstanceRefreshLivePoolProgressTypeDef(TypedDict):
PercentageComplete: NotRequired[int],
InstancesToUpdate: NotRequired[int],
InstanceRefreshWarmPoolProgressTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshWarmPoolProgressTypeDef
def get_value() -> InstanceRefreshWarmPoolProgressTypeDef:
return {
"PercentageComplete": ...,
}
Definition
class InstanceRefreshWarmPoolProgressTypeDef(TypedDict):
PercentageComplete: NotRequired[int],
InstancesToUpdate: NotRequired[int],
RefreshPreferencesTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import RefreshPreferencesTypeDef
def get_value() -> RefreshPreferencesTypeDef:
return {
"MinHealthyPercentage": ...,
}
Definition
class RefreshPreferencesTypeDef(TypedDict):
MinHealthyPercentage: NotRequired[int],
InstanceWarmup: NotRequired[int],
CheckpointPercentages: NotRequired[List[int]],
CheckpointDelay: NotRequired[int],
SkipMatching: NotRequired[bool],
AutoRollback: NotRequired[bool],
ScaleInProtectedInstances: NotRequired[ScaleInProtectedInstancesType], # (1)
StandbyInstances: NotRequired[StandbyInstancesType], # (2)
MemoryGiBPerVCpuRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MemoryGiBPerVCpuRequestTypeDef
def get_value() -> MemoryGiBPerVCpuRequestTypeDef:
return {
"Min": ...,
}
Definition
class MemoryGiBPerVCpuRequestTypeDef(TypedDict):
Min: NotRequired[float],
Max: NotRequired[float],
MemoryMiBRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MemoryMiBRequestTypeDef
def get_value() -> MemoryMiBRequestTypeDef:
return {
"Min": ...,
}
NetworkBandwidthGbpsRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import NetworkBandwidthGbpsRequestTypeDef
def get_value() -> NetworkBandwidthGbpsRequestTypeDef:
return {
"Min": ...,
}
Definition
class NetworkBandwidthGbpsRequestTypeDef(TypedDict):
Min: NotRequired[float],
Max: NotRequired[float],
NetworkInterfaceCountRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import NetworkInterfaceCountRequestTypeDef
def get_value() -> NetworkInterfaceCountRequestTypeDef:
return {
"Min": ...,
}
Definition
class NetworkInterfaceCountRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
TotalLocalStorageGBRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TotalLocalStorageGBRequestTypeDef
def get_value() -> TotalLocalStorageGBRequestTypeDef:
return {
"Min": ...,
}
Definition
class TotalLocalStorageGBRequestTypeDef(TypedDict):
Min: NotRequired[float],
Max: NotRequired[float],
VCpuCountRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import VCpuCountRequestTypeDef
def get_value() -> VCpuCountRequestTypeDef:
return {
"Min": ...,
}
InstanceReusePolicyTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceReusePolicyTypeDef
def get_value() -> InstanceReusePolicyTypeDef:
return {
"ReuseOnScaleIn": ...,
}
InstancesDistributionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstancesDistributionTypeDef
def get_value() -> InstancesDistributionTypeDef:
return {
"OnDemandAllocationStrategy": ...,
}
Definition
class InstancesDistributionTypeDef(TypedDict):
OnDemandAllocationStrategy: NotRequired[str],
OnDemandBaseCapacity: NotRequired[int],
OnDemandPercentageAboveBaseCapacity: NotRequired[int],
SpotAllocationStrategy: NotRequired[str],
SpotInstancePools: NotRequired[int],
SpotMaxPrice: NotRequired[str],
LaunchConfigurationNameTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNameTypeRequestTypeDef
def get_value() -> LaunchConfigurationNameTypeRequestTypeDef:
return {
"LaunchConfigurationName": ...,
}
LaunchConfigurationNamesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeRequestTypeDef
def get_value() -> LaunchConfigurationNamesTypeRequestTypeDef:
return {
"LaunchConfigurationNames": ...,
}
Definition
class LaunchConfigurationNamesTypeRequestTypeDef(TypedDict):
LaunchConfigurationNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
PredefinedMetricSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredefinedMetricSpecificationTypeDef
def get_value() -> PredefinedMetricSpecificationTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredefinedMetricSpecificationTypeDef(TypedDict):
PredefinedMetricType: MetricTypeType, # (1)
ResourceLabel: NotRequired[str],
- See MetricTypeType
PredictiveScalingPredefinedLoadMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedLoadMetricTypeDef
def get_value() -> PredictiveScalingPredefinedLoadMetricTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredictiveScalingPredefinedLoadMetricTypeDef(TypedDict):
PredefinedMetricType: PredefinedLoadMetricTypeType, # (1)
ResourceLabel: NotRequired[str],
PredictiveScalingPredefinedMetricPairTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedMetricPairTypeDef
def get_value() -> PredictiveScalingPredefinedMetricPairTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredictiveScalingPredefinedMetricPairTypeDef(TypedDict):
PredefinedMetricType: PredefinedMetricPairTypeType, # (1)
ResourceLabel: NotRequired[str],
PredictiveScalingPredefinedScalingMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedScalingMetricTypeDef
def get_value() -> PredictiveScalingPredefinedScalingMetricTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredictiveScalingPredefinedScalingMetricTypeDef(TypedDict):
PredefinedMetricType: PredefinedScalingMetricTypeType, # (1)
ResourceLabel: NotRequired[str],
ProcessTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ProcessTypeTypeDef
def get_value() -> ProcessTypeTypeDef:
return {
"ProcessName": ...,
}
PutLifecycleHookTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutLifecycleHookTypeRequestTypeDef
def get_value() -> PutLifecycleHookTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
}
Definition
class PutLifecycleHookTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
LifecycleTransition: NotRequired[str],
RoleARN: NotRequired[str],
NotificationTargetARN: NotRequired[str],
NotificationMetadata: NotRequired[str],
HeartbeatTimeout: NotRequired[int],
DefaultResult: NotRequired[str],
PutNotificationConfigurationTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutNotificationConfigurationTypeRequestTypeDef
def get_value() -> PutNotificationConfigurationTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TopicARN": ...,
"NotificationTypes": ...,
}
Definition
class PutNotificationConfigurationTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TopicARN: str,
NotificationTypes: Sequence[str],
StepAdjustmentTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import StepAdjustmentTypeDef
def get_value() -> StepAdjustmentTypeDef:
return {
"ScalingAdjustment": ...,
}
Definition
class StepAdjustmentTypeDef(TypedDict):
ScalingAdjustment: int,
MetricIntervalLowerBound: NotRequired[float],
MetricIntervalUpperBound: NotRequired[float],
PutScheduledUpdateGroupActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutScheduledUpdateGroupActionTypeRequestTypeDef
def get_value() -> PutScheduledUpdateGroupActionTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ScheduledActionName": ...,
}
Definition
class PutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledActionName: str,
Time: NotRequired[Union[datetime, str]],
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
Recurrence: NotRequired[str],
MinSize: NotRequired[int],
MaxSize: NotRequired[int],
DesiredCapacity: NotRequired[int],
TimeZone: NotRequired[str],
RecordLifecycleActionHeartbeatTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import RecordLifecycleActionHeartbeatTypeRequestTypeDef
def get_value() -> RecordLifecycleActionHeartbeatTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
}
Definition
class RecordLifecycleActionHeartbeatTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
LifecycleActionToken: NotRequired[str],
InstanceId: NotRequired[str],
RollbackInstanceRefreshTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import RollbackInstanceRefreshTypeRequestTypeDef
def get_value() -> RollbackInstanceRefreshTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class RollbackInstanceRefreshTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
ScalingProcessQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScalingProcessQueryRequestTypeDef
def get_value() -> ScalingProcessQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class ScalingProcessQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScalingProcesses: NotRequired[Sequence[str]],
ScheduledUpdateGroupActionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionTypeDef
def get_value() -> ScheduledUpdateGroupActionTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class ScheduledUpdateGroupActionTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
ScheduledActionName: NotRequired[str],
ScheduledActionARN: NotRequired[str],
Time: NotRequired[datetime],
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
Recurrence: NotRequired[str],
MinSize: NotRequired[int],
MaxSize: NotRequired[int],
DesiredCapacity: NotRequired[int],
TimeZone: NotRequired[str],
SetDesiredCapacityTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SetDesiredCapacityTypeRequestTypeDef
def get_value() -> SetDesiredCapacityTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"DesiredCapacity": ...,
}
Definition
class SetDesiredCapacityTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
DesiredCapacity: int,
HonorCooldown: NotRequired[bool],
SetInstanceHealthQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SetInstanceHealthQueryRequestTypeDef
def get_value() -> SetInstanceHealthQueryRequestTypeDef:
return {
"InstanceId": ...,
"HealthStatus": ...,
}
Definition
class SetInstanceHealthQueryRequestTypeDef(TypedDict):
InstanceId: str,
HealthStatus: str,
ShouldRespectGracePeriod: NotRequired[bool],
SetInstanceProtectionQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SetInstanceProtectionQueryRequestTypeDef
def get_value() -> SetInstanceProtectionQueryRequestTypeDef:
return {
"InstanceIds": ...,
"AutoScalingGroupName": ...,
"ProtectedFromScaleIn": ...,
}
Definition
class SetInstanceProtectionQueryRequestTypeDef(TypedDict):
InstanceIds: Sequence[str],
AutoScalingGroupName: str,
ProtectedFromScaleIn: bool,
TerminateInstanceInAutoScalingGroupTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TerminateInstanceInAutoScalingGroupTypeRequestTypeDef
def get_value() -> TerminateInstanceInAutoScalingGroupTypeRequestTypeDef:
return {
"InstanceId": ...,
"ShouldDecrementDesiredCapacity": ...,
}
Definition
class TerminateInstanceInAutoScalingGroupTypeRequestTypeDef(TypedDict):
InstanceId: str,
ShouldDecrementDesiredCapacity: bool,
ActivitiesTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ActivitiesTypeTypeDef
def get_value() -> ActivitiesTypeTypeDef:
return {
"Activities": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ActivitiesTypeTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ActivityTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ActivityTypeTypeDef
def get_value() -> ActivityTypeTypeDef:
return {
"Activity": ...,
"ResponseMetadata": ...,
}
Definition
class ActivityTypeTypeDef(TypedDict):
Activity: ActivityTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CancelInstanceRefreshAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshAnswerTypeDef
def get_value() -> CancelInstanceRefreshAnswerTypeDef:
return {
"InstanceRefreshId": ...,
"ResponseMetadata": ...,
}
Definition
class CancelInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAccountLimitsAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAccountLimitsAnswerTypeDef
def get_value() -> DescribeAccountLimitsAnswerTypeDef:
return {
"MaxNumberOfAutoScalingGroups": ...,
"MaxNumberOfLaunchConfigurations": ...,
"NumberOfAutoScalingGroups": ...,
"NumberOfLaunchConfigurations": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeAccountLimitsAnswerTypeDef(TypedDict):
MaxNumberOfAutoScalingGroups: int,
MaxNumberOfLaunchConfigurations: int,
NumberOfAutoScalingGroups: int,
NumberOfLaunchConfigurations: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAutoScalingNotificationTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingNotificationTypesAnswerTypeDef
def get_value() -> DescribeAutoScalingNotificationTypesAnswerTypeDef:
return {
"AutoScalingNotificationTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeAutoScalingNotificationTypesAnswerTypeDef(TypedDict):
AutoScalingNotificationTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeLifecycleHookTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHookTypesAnswerTypeDef
def get_value() -> DescribeLifecycleHookTypesAnswerTypeDef:
return {
"LifecycleHookTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeLifecycleHookTypesAnswerTypeDef(TypedDict):
LifecycleHookTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeTerminationPolicyTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTerminationPolicyTypesAnswerTypeDef
def get_value() -> DescribeTerminationPolicyTypesAnswerTypeDef:
return {
"TerminationPolicyTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTerminationPolicyTypesAnswerTypeDef(TypedDict):
TerminationPolicyTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DetachInstancesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachInstancesAnswerTypeDef
def get_value() -> DetachInstancesAnswerTypeDef:
return {
"Activities": ...,
"ResponseMetadata": ...,
}
Definition
class DetachInstancesAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EmptyResponseMetadataTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EnterStandbyAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnterStandbyAnswerTypeDef
def get_value() -> EnterStandbyAnswerTypeDef:
return {
"Activities": ...,
"ResponseMetadata": ...,
}
Definition
class EnterStandbyAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExitStandbyAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ExitStandbyAnswerTypeDef
def get_value() -> ExitStandbyAnswerTypeDef:
return {
"Activities": ...,
"ResponseMetadata": ...,
}
Definition
class ExitStandbyAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RollbackInstanceRefreshAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import RollbackInstanceRefreshAnswerTypeDef
def get_value() -> RollbackInstanceRefreshAnswerTypeDef:
return {
"InstanceRefreshId": ...,
"ResponseMetadata": ...,
}
Definition
class RollbackInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartInstanceRefreshAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshAnswerTypeDef
def get_value() -> StartInstanceRefreshAnswerTypeDef:
return {
"InstanceRefreshId": ...,
"ResponseMetadata": ...,
}
Definition
class StartInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAdjustmentTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAdjustmentTypesAnswerTypeDef
def get_value() -> DescribeAdjustmentTypesAnswerTypeDef:
return {
"AdjustmentTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeAdjustmentTypesAnswerTypeDef(TypedDict):
AdjustmentTypes: List[AdjustmentTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PolicyARNTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PolicyARNTypeTypeDef
def get_value() -> PolicyARNTypeTypeDef:
return {
"PolicyARN": ...,
"Alarms": ...,
"ResponseMetadata": ...,
}
Definition
class PolicyARNTypeTypeDef(TypedDict):
PolicyARN: str,
Alarms: List[AlarmTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See AlarmTypeDef
- See ResponseMetadataTypeDef
AttachTrafficSourcesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachTrafficSourcesTypeRequestTypeDef
def get_value() -> AttachTrafficSourcesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TrafficSources": ...,
}
Definition
class AttachTrafficSourcesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSources: Sequence[TrafficSourceIdentifierTypeDef], # (1)
DetachTrafficSourcesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachTrafficSourcesTypeRequestTypeDef
def get_value() -> DetachTrafficSourcesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TrafficSources": ...,
}
Definition
class DetachTrafficSourcesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSources: Sequence[TrafficSourceIdentifierTypeDef], # (1)
AutoScalingGroupNamesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeRequestTypeDef
def get_value() -> AutoScalingGroupNamesTypeRequestTypeDef:
return {
"AutoScalingGroupNames": ...,
}
Definition
class AutoScalingGroupNamesTypeRequestTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
- See FilterTypeDef
DescribeTagsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeRequestTypeDef
def get_value() -> DescribeTagsTypeRequestTypeDef:
return {
"Filters": ...,
}
Definition
class DescribeTagsTypeRequestTypeDef(TypedDict):
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
- See FilterTypeDef
AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef
def get_value() -> AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef:
return {
"AutoScalingGroupNames": ...,
}
Definition
class AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FilterTypeDef
- See PaginatorConfigTypeDef
DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef
def get_value() -> DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef:
return {
"InstanceIds": ...,
}
Definition
class DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef(TypedDict):
InstanceIds: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef
def get_value() -> DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef(TypedDict):
AutoScalingGroupName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef
def get_value() -> DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef(TypedDict):
AutoScalingGroupName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef
def get_value() -> DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef:
return {
"AutoScalingGroupNames": ...,
}
Definition
class DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribePoliciesTypeDescribePoliciesPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeDescribePoliciesPaginateTypeDef
def get_value() -> DescribePoliciesTypeDescribePoliciesPaginateTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribePoliciesTypeDescribePoliciesPaginateTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
PolicyNames: NotRequired[Sequence[str]],
PolicyTypes: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef
def get_value() -> DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef:
return {
"ActivityIds": ...,
}
Definition
class DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef(TypedDict):
ActivityIds: NotRequired[Sequence[str]],
AutoScalingGroupName: NotRequired[str],
IncludeDeletedGroups: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef
def get_value() -> DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
ScheduledActionNames: NotRequired[Sequence[str]],
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeTagsTypeDescribeTagsPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeDescribeTagsPaginateTypeDef
def get_value() -> DescribeTagsTypeDescribeTagsPaginateTypeDef:
return {
"Filters": ...,
}
Definition
class DescribeTagsTypeDescribeTagsPaginateTypeDef(TypedDict):
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FilterTypeDef
- See PaginatorConfigTypeDef
LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef
def get_value() -> LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef:
return {
"LaunchConfigurationNames": ...,
}
Definition
class LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef(TypedDict):
LaunchConfigurationNames: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
AutoScalingInstanceDetailsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingInstanceDetailsTypeDef
def get_value() -> AutoScalingInstanceDetailsTypeDef:
return {
"InstanceId": ...,
"AutoScalingGroupName": ...,
"AvailabilityZone": ...,
"LifecycleState": ...,
"HealthStatus": ...,
"ProtectedFromScaleIn": ...,
}
Definition
class AutoScalingInstanceDetailsTypeDef(TypedDict):
InstanceId: str,
AutoScalingGroupName: str,
AvailabilityZone: str,
LifecycleState: str,
HealthStatus: str,
ProtectedFromScaleIn: bool,
InstanceType: NotRequired[str],
LaunchConfigurationName: NotRequired[str],
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
WeightedCapacity: NotRequired[str],
InstanceTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceTypeDef
def get_value() -> InstanceTypeDef:
return {
"InstanceId": ...,
"AvailabilityZone": ...,
"LifecycleState": ...,
"HealthStatus": ...,
"ProtectedFromScaleIn": ...,
}
Definition
class InstanceTypeDef(TypedDict):
InstanceId: str,
AvailabilityZone: str,
LifecycleState: LifecycleStateType, # (1)
HealthStatus: str,
ProtectedFromScaleIn: bool,
InstanceType: NotRequired[str],
LaunchConfigurationName: NotRequired[str],
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (2)
WeightedCapacity: NotRequired[str],
TagsTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TagsTypeTypeDef
def get_value() -> TagsTypeTypeDef:
return {
"Tags": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class TagsTypeTypeDef(TypedDict):
Tags: List[TagDescriptionTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchDeleteScheduledActionAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionAnswerTypeDef
def get_value() -> BatchDeleteScheduledActionAnswerTypeDef:
return {
"FailedScheduledActions": ...,
"ResponseMetadata": ...,
}
Definition
class BatchDeleteScheduledActionAnswerTypeDef(TypedDict):
FailedScheduledActions: List[FailedScheduledUpdateGroupActionRequestTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchPutScheduledUpdateGroupActionAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionAnswerTypeDef
def get_value() -> BatchPutScheduledUpdateGroupActionAnswerTypeDef:
return {
"FailedScheduledUpdateGroupActions": ...,
"ResponseMetadata": ...,
}
Definition
class BatchPutScheduledUpdateGroupActionAnswerTypeDef(TypedDict):
FailedScheduledUpdateGroupActions: List[FailedScheduledUpdateGroupActionRequestTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchPutScheduledUpdateGroupActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionTypeRequestTypeDef
def get_value() -> BatchPutScheduledUpdateGroupActionTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ScheduledUpdateGroupActions": ...,
}
Definition
class BatchPutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledUpdateGroupActions: Sequence[ScheduledUpdateGroupActionRequestTypeDef], # (1)
BlockDeviceMappingTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BlockDeviceMappingTypeDef
def get_value() -> BlockDeviceMappingTypeDef:
return {
"DeviceName": ...,
}
Definition
class BlockDeviceMappingTypeDef(TypedDict):
DeviceName: str,
VirtualName: NotRequired[str],
Ebs: NotRequired[EbsTypeDef], # (1)
NoDevice: NotRequired[bool],
- See EbsTypeDef
CreateOrUpdateTagsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CreateOrUpdateTagsTypeRequestTypeDef
def get_value() -> CreateOrUpdateTagsTypeRequestTypeDef:
return {
"Tags": ...,
}
- See TagTypeDef
DeleteTagsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteTagsTypeRequestTypeDef
def get_value() -> DeleteTagsTypeRequestTypeDef:
return {
"Tags": ...,
}
- See TagTypeDef
MetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricTypeDef
def get_value() -> MetricTypeDef:
return {
"Namespace": ...,
"MetricName": ...,
}
Definition
class MetricTypeDef(TypedDict):
Namespace: str,
MetricName: str,
Dimensions: NotRequired[List[MetricDimensionTypeDef]], # (1)
DescribeLifecycleHooksAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksAnswerTypeDef
def get_value() -> DescribeLifecycleHooksAnswerTypeDef:
return {
"LifecycleHooks": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeLifecycleHooksAnswerTypeDef(TypedDict):
LifecycleHooks: List[LifecycleHookTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeLoadBalancerTargetGroupsResponseTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsResponseTypeDef
def get_value() -> DescribeLoadBalancerTargetGroupsResponseTypeDef:
return {
"LoadBalancerTargetGroups": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeLoadBalancerTargetGroupsResponseTypeDef(TypedDict):
LoadBalancerTargetGroups: List[LoadBalancerTargetGroupStateTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeLoadBalancersResponseTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersResponseTypeDef
def get_value() -> DescribeLoadBalancersResponseTypeDef:
return {
"LoadBalancers": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeLoadBalancersResponseTypeDef(TypedDict):
LoadBalancers: List[LoadBalancerStateTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeMetricCollectionTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeMetricCollectionTypesAnswerTypeDef
def get_value() -> DescribeMetricCollectionTypesAnswerTypeDef:
return {
"Metrics": ...,
"Granularities": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeMetricCollectionTypesAnswerTypeDef(TypedDict):
Metrics: List[MetricCollectionTypeTypeDef], # (1)
Granularities: List[MetricGranularityTypeTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DescribeNotificationConfigurationsAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsAnswerTypeDef
def get_value() -> DescribeNotificationConfigurationsAnswerTypeDef:
return {
"NotificationConfigurations": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeNotificationConfigurationsAnswerTypeDef(TypedDict):
NotificationConfigurations: List[NotificationConfigurationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeTrafficSourcesResponseTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTrafficSourcesResponseTypeDef
def get_value() -> DescribeTrafficSourcesResponseTypeDef:
return {
"TrafficSources": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTrafficSourcesResponseTypeDef(TypedDict):
TrafficSources: List[TrafficSourceStateTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceRefreshProgressDetailsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshProgressDetailsTypeDef
def get_value() -> InstanceRefreshProgressDetailsTypeDef:
return {
"LivePoolProgress": ...,
}
Definition
class InstanceRefreshProgressDetailsTypeDef(TypedDict):
LivePoolProgress: NotRequired[InstanceRefreshLivePoolProgressTypeDef], # (1)
WarmPoolProgress: NotRequired[InstanceRefreshWarmPoolProgressTypeDef], # (2)
InstanceRequirementsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRequirementsTypeDef
def get_value() -> InstanceRequirementsTypeDef:
return {
"VCpuCount": ...,
"MemoryMiB": ...,
}
Definition
class InstanceRequirementsTypeDef(TypedDict):
VCpuCount: VCpuCountRequestTypeDef, # (1)
MemoryMiB: MemoryMiBRequestTypeDef, # (2)
CpuManufacturers: NotRequired[Sequence[CpuManufacturerType]], # (3)
MemoryGiBPerVCpu: NotRequired[MemoryGiBPerVCpuRequestTypeDef], # (4)
ExcludedInstanceTypes: NotRequired[Sequence[str]],
InstanceGenerations: NotRequired[Sequence[InstanceGenerationType]], # (5)
SpotMaxPricePercentageOverLowestPrice: NotRequired[int],
OnDemandMaxPricePercentageOverLowestPrice: NotRequired[int],
BareMetal: NotRequired[BareMetalType], # (6)
BurstablePerformance: NotRequired[BurstablePerformanceType], # (7)
RequireHibernateSupport: NotRequired[bool],
NetworkInterfaceCount: NotRequired[NetworkInterfaceCountRequestTypeDef], # (8)
LocalStorage: NotRequired[LocalStorageType], # (9)
LocalStorageTypes: NotRequired[Sequence[LocalStorageTypeType]], # (10)
TotalLocalStorageGB: NotRequired[TotalLocalStorageGBRequestTypeDef], # (11)
BaselineEbsBandwidthMbps: NotRequired[BaselineEbsBandwidthMbpsRequestTypeDef], # (12)
AcceleratorTypes: NotRequired[Sequence[AcceleratorTypeType]], # (13)
AcceleratorCount: NotRequired[AcceleratorCountRequestTypeDef], # (14)
AcceleratorManufacturers: NotRequired[Sequence[AcceleratorManufacturerType]], # (15)
AcceleratorNames: NotRequired[Sequence[AcceleratorNameType]], # (16)
AcceleratorTotalMemoryMiB: NotRequired[AcceleratorTotalMemoryMiBRequestTypeDef], # (17)
NetworkBandwidthGbps: NotRequired[NetworkBandwidthGbpsRequestTypeDef], # (18)
AllowedInstanceTypes: NotRequired[Sequence[str]],
- See VCpuCountRequestTypeDef
- See MemoryMiBRequestTypeDef
- See CpuManufacturerType
- See MemoryGiBPerVCpuRequestTypeDef
- See InstanceGenerationType
- See BareMetalType
- See BurstablePerformanceType
- See NetworkInterfaceCountRequestTypeDef
- See LocalStorageType
- See LocalStorageTypeType
- See TotalLocalStorageGBRequestTypeDef
- See BaselineEbsBandwidthMbpsRequestTypeDef
- See AcceleratorTypeType
- See AcceleratorCountRequestTypeDef
- See AcceleratorManufacturerType
- See AcceleratorNameType
- See AcceleratorTotalMemoryMiBRequestTypeDef
- See NetworkBandwidthGbpsRequestTypeDef
PutWarmPoolTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutWarmPoolTypeRequestTypeDef
def get_value() -> PutWarmPoolTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class PutWarmPoolTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
MaxGroupPreparedCapacity: NotRequired[int],
MinSize: NotRequired[int],
PoolState: NotRequired[WarmPoolStateType], # (1)
InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef], # (2)
WarmPoolConfigurationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import WarmPoolConfigurationTypeDef
def get_value() -> WarmPoolConfigurationTypeDef:
return {
"MaxGroupPreparedCapacity": ...,
}
Definition
class WarmPoolConfigurationTypeDef(TypedDict):
MaxGroupPreparedCapacity: NotRequired[int],
MinSize: NotRequired[int],
PoolState: NotRequired[WarmPoolStateType], # (1)
Status: NotRequired[WarmPoolStatusType], # (2)
InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef], # (3)
ProcessesTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ProcessesTypeTypeDef
def get_value() -> ProcessesTypeTypeDef:
return {
"Processes": ...,
"ResponseMetadata": ...,
}
Definition
class ProcessesTypeTypeDef(TypedDict):
Processes: List[ProcessTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ScheduledActionsTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScheduledActionsTypeTypeDef
def get_value() -> ScheduledActionsTypeTypeDef:
return {
"ScheduledUpdateGroupActions": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ScheduledActionsTypeTypeDef(TypedDict):
ScheduledUpdateGroupActions: List[ScheduledUpdateGroupActionTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AutoScalingInstancesTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingInstancesTypeTypeDef
def get_value() -> AutoScalingInstancesTypeTypeDef:
return {
"AutoScalingInstances": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class AutoScalingInstancesTypeTypeDef(TypedDict):
AutoScalingInstances: List[AutoScalingInstanceDetailsTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateLaunchConfigurationTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CreateLaunchConfigurationTypeRequestTypeDef
def get_value() -> CreateLaunchConfigurationTypeRequestTypeDef:
return {
"LaunchConfigurationName": ...,
}
Definition
class CreateLaunchConfigurationTypeRequestTypeDef(TypedDict):
LaunchConfigurationName: str,
ImageId: NotRequired[str],
KeyName: NotRequired[str],
SecurityGroups: NotRequired[Sequence[str]],
ClassicLinkVPCId: NotRequired[str],
ClassicLinkVPCSecurityGroups: NotRequired[Sequence[str]],
UserData: NotRequired[str],
InstanceId: NotRequired[str],
InstanceType: NotRequired[str],
KernelId: NotRequired[str],
RamdiskId: NotRequired[str],
BlockDeviceMappings: NotRequired[Sequence[BlockDeviceMappingTypeDef]], # (1)
InstanceMonitoring: NotRequired[InstanceMonitoringTypeDef], # (2)
SpotPrice: NotRequired[str],
IamInstanceProfile: NotRequired[str],
EbsOptimized: NotRequired[bool],
AssociatePublicIpAddress: NotRequired[bool],
PlacementTenancy: NotRequired[str],
MetadataOptions: NotRequired[InstanceMetadataOptionsTypeDef], # (3)
LaunchConfigurationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationTypeDef
def get_value() -> LaunchConfigurationTypeDef:
return {
"LaunchConfigurationName": ...,
"ImageId": ...,
"InstanceType": ...,
"CreatedTime": ...,
}
Definition
class LaunchConfigurationTypeDef(TypedDict):
LaunchConfigurationName: str,
ImageId: str,
InstanceType: str,
CreatedTime: datetime,
LaunchConfigurationARN: NotRequired[str],
KeyName: NotRequired[str],
SecurityGroups: NotRequired[List[str]],
ClassicLinkVPCId: NotRequired[str],
ClassicLinkVPCSecurityGroups: NotRequired[List[str]],
UserData: NotRequired[str],
KernelId: NotRequired[str],
RamdiskId: NotRequired[str],
BlockDeviceMappings: NotRequired[List[BlockDeviceMappingTypeDef]], # (1)
InstanceMonitoring: NotRequired[InstanceMonitoringTypeDef], # (2)
SpotPrice: NotRequired[str],
IamInstanceProfile: NotRequired[str],
EbsOptimized: NotRequired[bool],
AssociatePublicIpAddress: NotRequired[bool],
PlacementTenancy: NotRequired[str],
MetadataOptions: NotRequired[InstanceMetadataOptionsTypeDef], # (3)
MetricStatTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricStatTypeDef
def get_value() -> MetricStatTypeDef:
return {
"Metric": ...,
"Stat": ...,
}
Definition
class MetricStatTypeDef(TypedDict):
Metric: MetricTypeDef, # (1)
Stat: str,
Unit: NotRequired[str],
- See MetricTypeDef
TargetTrackingMetricStatTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TargetTrackingMetricStatTypeDef
def get_value() -> TargetTrackingMetricStatTypeDef:
return {
"Metric": ...,
"Stat": ...,
}
Definition
class TargetTrackingMetricStatTypeDef(TypedDict):
Metric: MetricTypeDef, # (1)
Stat: str,
Unit: NotRequired[str],
- See MetricTypeDef
RollbackDetailsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import RollbackDetailsTypeDef
def get_value() -> RollbackDetailsTypeDef:
return {
"RollbackReason": ...,
}
Definition
class RollbackDetailsTypeDef(TypedDict):
RollbackReason: NotRequired[str],
RollbackStartTime: NotRequired[datetime],
PercentageCompleteOnRollback: NotRequired[int],
InstancesToUpdateOnRollback: NotRequired[int],
ProgressDetailsOnRollback: NotRequired[InstanceRefreshProgressDetailsTypeDef], # (1)
LaunchTemplateOverridesTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchTemplateOverridesTypeDef
def get_value() -> LaunchTemplateOverridesTypeDef:
return {
"InstanceType": ...,
}
Definition
class LaunchTemplateOverridesTypeDef(TypedDict):
InstanceType: NotRequired[str],
WeightedCapacity: NotRequired[str],
LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
InstanceRequirements: NotRequired[InstanceRequirementsTypeDef], # (2)
DescribeWarmPoolAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolAnswerTypeDef
def get_value() -> DescribeWarmPoolAnswerTypeDef:
return {
"WarmPoolConfiguration": ...,
"Instances": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeWarmPoolAnswerTypeDef(TypedDict):
WarmPoolConfiguration: WarmPoolConfigurationTypeDef, # (1)
Instances: List[InstanceTypeDef], # (2)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
LaunchConfigurationsTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationsTypeTypeDef
def get_value() -> LaunchConfigurationsTypeTypeDef:
return {
"LaunchConfigurations": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class LaunchConfigurationsTypeTypeDef(TypedDict):
LaunchConfigurations: List[LaunchConfigurationTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
MetricDataQueryTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricDataQueryTypeDef
def get_value() -> MetricDataQueryTypeDef:
return {
"Id": ...,
}
Definition
class MetricDataQueryTypeDef(TypedDict):
Id: str,
Expression: NotRequired[str],
MetricStat: NotRequired[MetricStatTypeDef], # (1)
Label: NotRequired[str],
ReturnData: NotRequired[bool],
TargetTrackingMetricDataQueryTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TargetTrackingMetricDataQueryTypeDef
def get_value() -> TargetTrackingMetricDataQueryTypeDef:
return {
"Id": ...,
}
Definition
class TargetTrackingMetricDataQueryTypeDef(TypedDict):
Id: str,
Expression: NotRequired[str],
MetricStat: NotRequired[TargetTrackingMetricStatTypeDef], # (1)
Label: NotRequired[str],
ReturnData: NotRequired[bool],
LaunchTemplateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchTemplateTypeDef
def get_value() -> LaunchTemplateTypeDef:
return {
"LaunchTemplateSpecification": ...,
}
Definition
class LaunchTemplateTypeDef(TypedDict):
LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
Overrides: NotRequired[Sequence[LaunchTemplateOverridesTypeDef]], # (2)
PredictiveScalingCustomizedCapacityMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedCapacityMetricTypeDef
def get_value() -> PredictiveScalingCustomizedCapacityMetricTypeDef:
return {
"MetricDataQueries": ...,
}
Definition
class PredictiveScalingCustomizedCapacityMetricTypeDef(TypedDict):
MetricDataQueries: List[MetricDataQueryTypeDef], # (1)
PredictiveScalingCustomizedLoadMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedLoadMetricTypeDef
def get_value() -> PredictiveScalingCustomizedLoadMetricTypeDef:
return {
"MetricDataQueries": ...,
}
Definition
class PredictiveScalingCustomizedLoadMetricTypeDef(TypedDict):
MetricDataQueries: List[MetricDataQueryTypeDef], # (1)
PredictiveScalingCustomizedScalingMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedScalingMetricTypeDef
def get_value() -> PredictiveScalingCustomizedScalingMetricTypeDef:
return {
"MetricDataQueries": ...,
}
Definition
class PredictiveScalingCustomizedScalingMetricTypeDef(TypedDict):
MetricDataQueries: List[MetricDataQueryTypeDef], # (1)
CustomizedMetricSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CustomizedMetricSpecificationTypeDef
def get_value() -> CustomizedMetricSpecificationTypeDef:
return {
"MetricName": ...,
}
Definition
class CustomizedMetricSpecificationTypeDef(TypedDict):
MetricName: NotRequired[str],
Namespace: NotRequired[str],
Dimensions: NotRequired[List[MetricDimensionTypeDef]], # (1)
Statistic: NotRequired[MetricStatisticType], # (2)
Unit: NotRequired[str],
Metrics: NotRequired[List[TargetTrackingMetricDataQueryTypeDef]], # (3)
MixedInstancesPolicyTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MixedInstancesPolicyTypeDef
def get_value() -> MixedInstancesPolicyTypeDef:
return {
"LaunchTemplate": ...,
}
Definition
class MixedInstancesPolicyTypeDef(TypedDict):
LaunchTemplate: NotRequired[LaunchTemplateTypeDef], # (1)
InstancesDistribution: NotRequired[InstancesDistributionTypeDef], # (2)
PredictiveScalingMetricSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingMetricSpecificationTypeDef
def get_value() -> PredictiveScalingMetricSpecificationTypeDef:
return {
"TargetValue": ...,
}
Definition
class PredictiveScalingMetricSpecificationTypeDef(TypedDict):
TargetValue: float,
PredefinedMetricPairSpecification: NotRequired[PredictiveScalingPredefinedMetricPairTypeDef], # (1)
PredefinedScalingMetricSpecification: NotRequired[PredictiveScalingPredefinedScalingMetricTypeDef], # (2)
PredefinedLoadMetricSpecification: NotRequired[PredictiveScalingPredefinedLoadMetricTypeDef], # (3)
CustomizedScalingMetricSpecification: NotRequired[PredictiveScalingCustomizedScalingMetricTypeDef], # (4)
CustomizedLoadMetricSpecification: NotRequired[PredictiveScalingCustomizedLoadMetricTypeDef], # (5)
CustomizedCapacityMetricSpecification: NotRequired[PredictiveScalingCustomizedCapacityMetricTypeDef], # (6)
- See PredictiveScalingPredefinedMetricPairTypeDef
- See PredictiveScalingPredefinedScalingMetricTypeDef
- See PredictiveScalingPredefinedLoadMetricTypeDef
- See PredictiveScalingCustomizedScalingMetricTypeDef
- See PredictiveScalingCustomizedLoadMetricTypeDef
- See PredictiveScalingCustomizedCapacityMetricTypeDef
TargetTrackingConfigurationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TargetTrackingConfigurationTypeDef
def get_value() -> TargetTrackingConfigurationTypeDef:
return {
"TargetValue": ...,
}
Definition
class TargetTrackingConfigurationTypeDef(TypedDict):
TargetValue: float,
PredefinedMetricSpecification: NotRequired[PredefinedMetricSpecificationTypeDef], # (1)
CustomizedMetricSpecification: NotRequired[CustomizedMetricSpecificationTypeDef], # (2)
DisableScaleIn: NotRequired[bool],
AutoScalingGroupTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingGroupTypeDef
def get_value() -> AutoScalingGroupTypeDef:
return {
"AutoScalingGroupName": ...,
"MinSize": ...,
"MaxSize": ...,
"DesiredCapacity": ...,
"DefaultCooldown": ...,
"AvailabilityZones": ...,
"HealthCheckType": ...,
"CreatedTime": ...,
}
Definition
class AutoScalingGroupTypeDef(TypedDict):
AutoScalingGroupName: str,
MinSize: int,
MaxSize: int,
DesiredCapacity: int,
DefaultCooldown: int,
AvailabilityZones: List[str],
HealthCheckType: str,
CreatedTime: datetime,
AutoScalingGroupARN: NotRequired[str],
LaunchConfigurationName: NotRequired[str],
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
MixedInstancesPolicy: NotRequired[MixedInstancesPolicyTypeDef], # (2)
PredictedCapacity: NotRequired[int],
LoadBalancerNames: NotRequired[List[str]],
TargetGroupARNs: NotRequired[List[str]],
HealthCheckGracePeriod: NotRequired[int],
Instances: NotRequired[List[InstanceTypeDef]], # (3)
SuspendedProcesses: NotRequired[List[SuspendedProcessTypeDef]], # (4)
PlacementGroup: NotRequired[str],
VPCZoneIdentifier: NotRequired[str],
EnabledMetrics: NotRequired[List[EnabledMetricTypeDef]], # (5)
Status: NotRequired[str],
Tags: NotRequired[List[TagDescriptionTypeDef]], # (6)
TerminationPolicies: NotRequired[List[str]],
NewInstancesProtectedFromScaleIn: NotRequired[bool],
ServiceLinkedRoleARN: NotRequired[str],
MaxInstanceLifetime: NotRequired[int],
CapacityRebalance: NotRequired[bool],
WarmPoolConfiguration: NotRequired[WarmPoolConfigurationTypeDef], # (7)
WarmPoolSize: NotRequired[int],
Context: NotRequired[str],
DesiredCapacityType: NotRequired[str],
DefaultInstanceWarmup: NotRequired[int],
TrafficSources: NotRequired[List[TrafficSourceIdentifierTypeDef]], # (8)
- See LaunchTemplateSpecificationTypeDef
- See MixedInstancesPolicyTypeDef
- See InstanceTypeDef
- See SuspendedProcessTypeDef
- See EnabledMetricTypeDef
- See TagDescriptionTypeDef
- See WarmPoolConfigurationTypeDef
- See TrafficSourceIdentifierTypeDef
CreateAutoScalingGroupTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CreateAutoScalingGroupTypeRequestTypeDef
def get_value() -> CreateAutoScalingGroupTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"MinSize": ...,
"MaxSize": ...,
}
Definition
class CreateAutoScalingGroupTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
MinSize: int,
MaxSize: int,
LaunchConfigurationName: NotRequired[str],
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
MixedInstancesPolicy: NotRequired[MixedInstancesPolicyTypeDef], # (2)
InstanceId: NotRequired[str],
DesiredCapacity: NotRequired[int],
DefaultCooldown: NotRequired[int],
AvailabilityZones: NotRequired[Sequence[str]],
LoadBalancerNames: NotRequired[Sequence[str]],
TargetGroupARNs: NotRequired[Sequence[str]],
HealthCheckType: NotRequired[str],
HealthCheckGracePeriod: NotRequired[int],
PlacementGroup: NotRequired[str],
VPCZoneIdentifier: NotRequired[str],
TerminationPolicies: NotRequired[Sequence[str]],
NewInstancesProtectedFromScaleIn: NotRequired[bool],
CapacityRebalance: NotRequired[bool],
LifecycleHookSpecificationList: NotRequired[Sequence[LifecycleHookSpecificationTypeDef]], # (3)
Tags: NotRequired[Sequence[TagTypeDef]], # (4)
ServiceLinkedRoleARN: NotRequired[str],
MaxInstanceLifetime: NotRequired[int],
Context: NotRequired[str],
DesiredCapacityType: NotRequired[str],
DefaultInstanceWarmup: NotRequired[int],
TrafficSources: NotRequired[Sequence[TrafficSourceIdentifierTypeDef]], # (5)
- See LaunchTemplateSpecificationTypeDef
- See MixedInstancesPolicyTypeDef
- See LifecycleHookSpecificationTypeDef
- See TagTypeDef
- See TrafficSourceIdentifierTypeDef
DesiredConfigurationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DesiredConfigurationTypeDef
def get_value() -> DesiredConfigurationTypeDef:
return {
"LaunchTemplate": ...,
}
Definition
class DesiredConfigurationTypeDef(TypedDict):
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
MixedInstancesPolicy: NotRequired[MixedInstancesPolicyTypeDef], # (2)
UpdateAutoScalingGroupTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import UpdateAutoScalingGroupTypeRequestTypeDef
def get_value() -> UpdateAutoScalingGroupTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class UpdateAutoScalingGroupTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
LaunchConfigurationName: NotRequired[str],
LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef], # (1)
MixedInstancesPolicy: NotRequired[MixedInstancesPolicyTypeDef], # (2)
MinSize: NotRequired[int],
MaxSize: NotRequired[int],
DesiredCapacity: NotRequired[int],
DefaultCooldown: NotRequired[int],
AvailabilityZones: NotRequired[Sequence[str]],
HealthCheckType: NotRequired[str],
HealthCheckGracePeriod: NotRequired[int],
PlacementGroup: NotRequired[str],
VPCZoneIdentifier: NotRequired[str],
TerminationPolicies: NotRequired[Sequence[str]],
NewInstancesProtectedFromScaleIn: NotRequired[bool],
ServiceLinkedRoleARN: NotRequired[str],
MaxInstanceLifetime: NotRequired[int],
CapacityRebalance: NotRequired[bool],
Context: NotRequired[str],
DesiredCapacityType: NotRequired[str],
DefaultInstanceWarmup: NotRequired[int],
LoadForecastTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LoadForecastTypeDef
def get_value() -> LoadForecastTypeDef:
return {
"Timestamps": ...,
"Values": ...,
"MetricSpecification": ...,
}
Definition
class LoadForecastTypeDef(TypedDict):
Timestamps: List[datetime],
Values: List[float],
MetricSpecification: PredictiveScalingMetricSpecificationTypeDef, # (1)
PredictiveScalingConfigurationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingConfigurationTypeDef
def get_value() -> PredictiveScalingConfigurationTypeDef:
return {
"MetricSpecifications": ...,
}
Definition
class PredictiveScalingConfigurationTypeDef(TypedDict):
MetricSpecifications: List[PredictiveScalingMetricSpecificationTypeDef], # (1)
Mode: NotRequired[PredictiveScalingModeType], # (2)
SchedulingBufferTime: NotRequired[int],
MaxCapacityBreachBehavior: NotRequired[PredictiveScalingMaxCapacityBreachBehaviorType], # (3)
MaxCapacityBuffer: NotRequired[int],
- See PredictiveScalingMetricSpecificationTypeDef
- See PredictiveScalingModeType
- See PredictiveScalingMaxCapacityBreachBehaviorType
AutoScalingGroupsTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingGroupsTypeTypeDef
def get_value() -> AutoScalingGroupsTypeTypeDef:
return {
"AutoScalingGroups": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class AutoScalingGroupsTypeTypeDef(TypedDict):
AutoScalingGroups: List[AutoScalingGroupTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
InstanceRefreshTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshTypeDef
def get_value() -> InstanceRefreshTypeDef:
return {
"InstanceRefreshId": ...,
}
Definition
class InstanceRefreshTypeDef(TypedDict):
InstanceRefreshId: NotRequired[str],
AutoScalingGroupName: NotRequired[str],
Status: NotRequired[InstanceRefreshStatusType], # (1)
StatusReason: NotRequired[str],
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
PercentageComplete: NotRequired[int],
InstancesToUpdate: NotRequired[int],
ProgressDetails: NotRequired[InstanceRefreshProgressDetailsTypeDef], # (2)
Preferences: NotRequired[RefreshPreferencesTypeDef], # (3)
DesiredConfiguration: NotRequired[DesiredConfigurationTypeDef], # (4)
RollbackDetails: NotRequired[RollbackDetailsTypeDef], # (5)
- See InstanceRefreshStatusType
- See InstanceRefreshProgressDetailsTypeDef
- See RefreshPreferencesTypeDef
- See DesiredConfigurationTypeDef
- See RollbackDetailsTypeDef
StartInstanceRefreshTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshTypeRequestTypeDef
def get_value() -> StartInstanceRefreshTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class StartInstanceRefreshTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
Strategy: NotRequired[RefreshStrategyType], # (1)
DesiredConfiguration: NotRequired[DesiredConfigurationTypeDef], # (2)
Preferences: NotRequired[RefreshPreferencesTypeDef], # (3)
GetPredictiveScalingForecastAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastAnswerTypeDef
def get_value() -> GetPredictiveScalingForecastAnswerTypeDef:
return {
"LoadForecast": ...,
"CapacityForecast": ...,
"UpdateTime": ...,
"ResponseMetadata": ...,
}
Definition
class GetPredictiveScalingForecastAnswerTypeDef(TypedDict):
LoadForecast: List[LoadForecastTypeDef], # (1)
CapacityForecast: CapacityForecastTypeDef, # (2)
UpdateTime: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
PutScalingPolicyTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutScalingPolicyTypeRequestTypeDef
def get_value() -> PutScalingPolicyTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"PolicyName": ...,
}
Definition
class PutScalingPolicyTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
PolicyName: str,
PolicyType: NotRequired[str],
AdjustmentType: NotRequired[str],
MinAdjustmentStep: NotRequired[int],
MinAdjustmentMagnitude: NotRequired[int],
ScalingAdjustment: NotRequired[int],
Cooldown: NotRequired[int],
MetricAggregationType: NotRequired[str],
StepAdjustments: NotRequired[Sequence[StepAdjustmentTypeDef]], # (1)
EstimatedInstanceWarmup: NotRequired[int],
TargetTrackingConfiguration: NotRequired[TargetTrackingConfigurationTypeDef], # (2)
Enabled: NotRequired[bool],
PredictiveScalingConfiguration: NotRequired[PredictiveScalingConfigurationTypeDef], # (3)
- See StepAdjustmentTypeDef
- See TargetTrackingConfigurationTypeDef
- See PredictiveScalingConfigurationTypeDef
ScalingPolicyTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScalingPolicyTypeDef
def get_value() -> ScalingPolicyTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class ScalingPolicyTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
PolicyName: NotRequired[str],
PolicyARN: NotRequired[str],
PolicyType: NotRequired[str],
AdjustmentType: NotRequired[str],
MinAdjustmentStep: NotRequired[int],
MinAdjustmentMagnitude: NotRequired[int],
ScalingAdjustment: NotRequired[int],
Cooldown: NotRequired[int],
StepAdjustments: NotRequired[List[StepAdjustmentTypeDef]], # (1)
MetricAggregationType: NotRequired[str],
EstimatedInstanceWarmup: NotRequired[int],
Alarms: NotRequired[List[AlarmTypeDef]], # (2)
TargetTrackingConfiguration: NotRequired[TargetTrackingConfigurationTypeDef], # (3)
Enabled: NotRequired[bool],
PredictiveScalingConfiguration: NotRequired[PredictiveScalingConfigurationTypeDef], # (4)
- See StepAdjustmentTypeDef
- See AlarmTypeDef
- See TargetTrackingConfigurationTypeDef
- See PredictiveScalingConfigurationTypeDef
DescribeInstanceRefreshesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesAnswerTypeDef
def get_value() -> DescribeInstanceRefreshesAnswerTypeDef:
return {
"InstanceRefreshes": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeInstanceRefreshesAnswerTypeDef(TypedDict):
InstanceRefreshes: List[InstanceRefreshTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PoliciesTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PoliciesTypeTypeDef
def get_value() -> PoliciesTypeTypeDef:
return {
"ScalingPolicies": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}