Skip to content

Typed dictionaries#

Index > AutoScaling > Typed dictionaries

Auto-generated documentation for AutoScaling type annotations stubs module mypy-boto3-autoscaling.

AcceleratorCountRequestTypeDef#

# AcceleratorCountRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AcceleratorCountRequestTypeDef

def get_value() -> AcceleratorCountRequestTypeDef:
    return {
        "Min": ...,
    }
# AcceleratorCountRequestTypeDef definition

class AcceleratorCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

AcceleratorTotalMemoryMiBRequestTypeDef#

# AcceleratorTotalMemoryMiBRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AcceleratorTotalMemoryMiBRequestTypeDef

def get_value() -> AcceleratorTotalMemoryMiBRequestTypeDef:
    return {
        "Min": ...,
    }
# AcceleratorTotalMemoryMiBRequestTypeDef definition

class AcceleratorTotalMemoryMiBRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

ActivityTypeDef#

# ActivityTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ActivityTypeDef

def get_value() -> ActivityTypeDef:
    return {
        "ActivityId": ...,
        "AutoScalingGroupName": ...,
        "Cause": ...,
        "StartTime": ...,
        "StatusCode": ...,
    }
# ActivityTypeDef 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],
  1. See ScalingActivityStatusCodeType

AdjustmentTypeTypeDef#

# AdjustmentTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AdjustmentTypeTypeDef

def get_value() -> AdjustmentTypeTypeDef:
    return {
        "AdjustmentType": ...,
    }
# AdjustmentTypeTypeDef definition

class AdjustmentTypeTypeDef(TypedDict):
    AdjustmentType: NotRequired[str],

AlarmTypeDef#

# AlarmTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AlarmTypeDef

def get_value() -> AlarmTypeDef:
    return {
        "AlarmName": ...,
    }
# AlarmTypeDef definition

class AlarmTypeDef(TypedDict):
    AlarmName: NotRequired[str],
    AlarmARN: NotRequired[str],

AttachInstancesQueryRequestTypeDef#

# AttachInstancesQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AttachInstancesQueryRequestTypeDef

def get_value() -> AttachInstancesQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# AttachInstancesQueryRequestTypeDef definition

class AttachInstancesQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceIds: NotRequired[Sequence[str]],

AttachLoadBalancerTargetGroupsTypeRequestTypeDef#

# AttachLoadBalancerTargetGroupsTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AttachLoadBalancerTargetGroupsTypeRequestTypeDef

def get_value() -> AttachLoadBalancerTargetGroupsTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TargetGroupARNs": ...,
    }
# AttachLoadBalancerTargetGroupsTypeRequestTypeDef definition

class AttachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TargetGroupARNs: Sequence[str],

AttachLoadBalancersTypeRequestTypeDef#

# AttachLoadBalancersTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AttachLoadBalancersTypeRequestTypeDef

def get_value() -> AttachLoadBalancersTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "LoadBalancerNames": ...,
    }
# AttachLoadBalancersTypeRequestTypeDef definition

class AttachLoadBalancersTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LoadBalancerNames: Sequence[str],

TrafficSourceIdentifierTypeDef#

# TrafficSourceIdentifierTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TrafficSourceIdentifierTypeDef

def get_value() -> TrafficSourceIdentifierTypeDef:
    return {
        "Identifier": ...,
    }
# TrafficSourceIdentifierTypeDef definition

class TrafficSourceIdentifierTypeDef(TypedDict):
    Identifier: str,
    Type: NotRequired[str],

FilterTypeDef#

# FilterTypeDef usage example

from mypy_boto3_autoscaling.type_defs import FilterTypeDef

def get_value() -> FilterTypeDef:
    return {
        "Name": ...,
    }
# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    Name: NotRequired[str],
    Values: NotRequired[Sequence[str]],

EnabledMetricTypeDef#

# EnabledMetricTypeDef usage example

from mypy_boto3_autoscaling.type_defs import EnabledMetricTypeDef

def get_value() -> EnabledMetricTypeDef:
    return {
        "Metric": ...,
    }
# EnabledMetricTypeDef definition

class EnabledMetricTypeDef(TypedDict):
    Metric: NotRequired[str],
    Granularity: NotRequired[str],

LaunchTemplateSpecificationTypeDef#

# LaunchTemplateSpecificationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchTemplateSpecificationTypeDef

def get_value() -> LaunchTemplateSpecificationTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
# LaunchTemplateSpecificationTypeDef definition

class LaunchTemplateSpecificationTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Version: NotRequired[str],

SuspendedProcessTypeDef#

# SuspendedProcessTypeDef usage example

from mypy_boto3_autoscaling.type_defs import SuspendedProcessTypeDef

def get_value() -> SuspendedProcessTypeDef:
    return {
        "ProcessName": ...,
    }
# SuspendedProcessTypeDef definition

class SuspendedProcessTypeDef(TypedDict):
    ProcessName: NotRequired[str],
    SuspensionReason: NotRequired[str],

TagDescriptionTypeDef#

# TagDescriptionTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TagDescriptionTypeDef

def get_value() -> TagDescriptionTypeDef:
    return {
        "ResourceId": ...,
    }
# TagDescriptionTypeDef definition

class TagDescriptionTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[str],
    Key: NotRequired[str],
    Value: NotRequired[str],
    PropagateAtLaunch: NotRequired[bool],

BaselineEbsBandwidthMbpsRequestTypeDef#

# BaselineEbsBandwidthMbpsRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import BaselineEbsBandwidthMbpsRequestTypeDef

def get_value() -> BaselineEbsBandwidthMbpsRequestTypeDef:
    return {
        "Min": ...,
    }
# BaselineEbsBandwidthMbpsRequestTypeDef definition

class BaselineEbsBandwidthMbpsRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

FailedScheduledUpdateGroupActionRequestTypeDef#

# FailedScheduledUpdateGroupActionRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import FailedScheduledUpdateGroupActionRequestTypeDef

def get_value() -> FailedScheduledUpdateGroupActionRequestTypeDef:
    return {
        "ScheduledActionName": ...,
    }
# FailedScheduledUpdateGroupActionRequestTypeDef definition

class FailedScheduledUpdateGroupActionRequestTypeDef(TypedDict):
    ScheduledActionName: str,
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

BatchDeleteScheduledActionTypeRequestTypeDef#

# BatchDeleteScheduledActionTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionTypeRequestTypeDef

def get_value() -> BatchDeleteScheduledActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledActionNames": ...,
    }
# BatchDeleteScheduledActionTypeRequestTypeDef definition

class BatchDeleteScheduledActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionNames: Sequence[str],

ScheduledUpdateGroupActionRequestTypeDef#

# ScheduledUpdateGroupActionRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionRequestTypeDef

def get_value() -> ScheduledUpdateGroupActionRequestTypeDef:
    return {
        "ScheduledActionName": ...,
    }
# ScheduledUpdateGroupActionRequestTypeDef 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#

# EbsTypeDef usage example

from mypy_boto3_autoscaling.type_defs import EbsTypeDef

def get_value() -> EbsTypeDef:
    return {
        "SnapshotId": ...,
    }
# EbsTypeDef 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],

CancelInstanceRefreshAnswerTypeDef#

# CancelInstanceRefreshAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshAnswerTypeDef

def get_value() -> CancelInstanceRefreshAnswerTypeDef:
    return {
        "InstanceRefreshId": ...,
        "ResponseMetadata": ...,
    }
# CancelInstanceRefreshAnswerTypeDef definition

class CancelInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CancelInstanceRefreshTypeRequestTypeDef#

# CancelInstanceRefreshTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshTypeRequestTypeDef

def get_value() -> CancelInstanceRefreshTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# CancelInstanceRefreshTypeRequestTypeDef definition

class CancelInstanceRefreshTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,

CapacityForecastTypeDef#

# CapacityForecastTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CapacityForecastTypeDef

def get_value() -> CapacityForecastTypeDef:
    return {
        "Timestamps": ...,
        "Values": ...,
    }
# CapacityForecastTypeDef definition

class CapacityForecastTypeDef(TypedDict):
    Timestamps: List[datetime],
    Values: List[float],

CompleteLifecycleActionTypeRequestTypeDef#

# CompleteLifecycleActionTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CompleteLifecycleActionTypeRequestTypeDef

def get_value() -> CompleteLifecycleActionTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
        "LifecycleActionResult": ...,
    }
# CompleteLifecycleActionTypeRequestTypeDef definition

class CompleteLifecycleActionTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleActionResult: str,
    LifecycleActionToken: NotRequired[str],
    InstanceId: NotRequired[str],

LifecycleHookSpecificationTypeDef#

# LifecycleHookSpecificationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LifecycleHookSpecificationTypeDef

def get_value() -> LifecycleHookSpecificationTypeDef:
    return {
        "LifecycleHookName": ...,
        "LifecycleTransition": ...,
    }
# LifecycleHookSpecificationTypeDef definition

class LifecycleHookSpecificationTypeDef(TypedDict):
    LifecycleHookName: str,
    LifecycleTransition: str,
    NotificationMetadata: NotRequired[str],
    HeartbeatTimeout: NotRequired[int],
    DefaultResult: NotRequired[str],
    NotificationTargetARN: NotRequired[str],
    RoleARN: NotRequired[str],

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: str,
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[str],
    Value: NotRequired[str],
    PropagateAtLaunch: NotRequired[bool],

InstanceMetadataOptionsTypeDef#

# InstanceMetadataOptionsTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceMetadataOptionsTypeDef

def get_value() -> InstanceMetadataOptionsTypeDef:
    return {
        "HttpTokens": ...,
    }
# InstanceMetadataOptionsTypeDef definition

class InstanceMetadataOptionsTypeDef(TypedDict):
    HttpTokens: NotRequired[InstanceMetadataHttpTokensStateType],  # (1)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType],  # (2)
  1. See InstanceMetadataHttpTokensStateType
  2. See InstanceMetadataEndpointStateType

InstanceMonitoringTypeDef#

# InstanceMonitoringTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceMonitoringTypeDef

def get_value() -> InstanceMonitoringTypeDef:
    return {
        "Enabled": ...,
    }
# InstanceMonitoringTypeDef definition

class InstanceMonitoringTypeDef(TypedDict):
    Enabled: NotRequired[bool],

MetricDimensionTypeDef#

# MetricDimensionTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MetricDimensionTypeDef

def get_value() -> MetricDimensionTypeDef:
    return {
        "Name": ...,
        "Value": ...,
    }
# MetricDimensionTypeDef definition

class MetricDimensionTypeDef(TypedDict):
    Name: str,
    Value: str,

DeleteAutoScalingGroupTypeRequestTypeDef#

# DeleteAutoScalingGroupTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DeleteAutoScalingGroupTypeRequestTypeDef

def get_value() -> DeleteAutoScalingGroupTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DeleteAutoScalingGroupTypeRequestTypeDef definition

class DeleteAutoScalingGroupTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ForceDelete: NotRequired[bool],

DeleteLifecycleHookTypeRequestTypeDef#

# DeleteLifecycleHookTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DeleteLifecycleHookTypeRequestTypeDef

def get_value() -> DeleteLifecycleHookTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
    }
# DeleteLifecycleHookTypeRequestTypeDef definition

class DeleteLifecycleHookTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,

DeleteNotificationConfigurationTypeRequestTypeDef#

# DeleteNotificationConfigurationTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DeleteNotificationConfigurationTypeRequestTypeDef

def get_value() -> DeleteNotificationConfigurationTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TopicARN": ...,
    }
# DeleteNotificationConfigurationTypeRequestTypeDef definition

class DeleteNotificationConfigurationTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TopicARN: str,

DeletePolicyTypeRequestTypeDef#

# DeletePolicyTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DeletePolicyTypeRequestTypeDef

def get_value() -> DeletePolicyTypeRequestTypeDef:
    return {
        "PolicyName": ...,
    }
# DeletePolicyTypeRequestTypeDef definition

class DeletePolicyTypeRequestTypeDef(TypedDict):
    PolicyName: str,
    AutoScalingGroupName: NotRequired[str],

DeleteScheduledActionTypeRequestTypeDef#

# DeleteScheduledActionTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DeleteScheduledActionTypeRequestTypeDef

def get_value() -> DeleteScheduledActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledActionName": ...,
    }
# DeleteScheduledActionTypeRequestTypeDef definition

class DeleteScheduledActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionName: str,

DeleteWarmPoolTypeRequestTypeDef#

# DeleteWarmPoolTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DeleteWarmPoolTypeRequestTypeDef

def get_value() -> DeleteWarmPoolTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DeleteWarmPoolTypeRequestTypeDef definition

class DeleteWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ForceDelete: NotRequired[bool],

DescribeAccountLimitsAnswerTypeDef#

# DescribeAccountLimitsAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeAccountLimitsAnswerTypeDef

def get_value() -> DescribeAccountLimitsAnswerTypeDef:
    return {
        "MaxNumberOfAutoScalingGroups": ...,
        "MaxNumberOfLaunchConfigurations": ...,
        "NumberOfAutoScalingGroups": ...,
        "NumberOfLaunchConfigurations": ...,
        "ResponseMetadata": ...,
    }
# DescribeAccountLimitsAnswerTypeDef definition

class DescribeAccountLimitsAnswerTypeDef(TypedDict):
    MaxNumberOfAutoScalingGroups: int,
    MaxNumberOfLaunchConfigurations: int,
    NumberOfAutoScalingGroups: int,
    NumberOfLaunchConfigurations: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef#

# DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef

def get_value() -> DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef:
    return {
        "InstanceIds": ...,
    }
# DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef definition

class DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeAutoScalingInstancesTypeRequestTypeDef#

# DescribeAutoScalingInstancesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeRequestTypeDef

def get_value() -> DescribeAutoScalingInstancesTypeRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
# DescribeAutoScalingInstancesTypeRequestTypeDef definition

class DescribeAutoScalingInstancesTypeRequestTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DescribeAutoScalingNotificationTypesAnswerTypeDef#

# DescribeAutoScalingNotificationTypesAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingNotificationTypesAnswerTypeDef

def get_value() -> DescribeAutoScalingNotificationTypesAnswerTypeDef:
    return {
        "AutoScalingNotificationTypes": ...,
        "ResponseMetadata": ...,
    }
# DescribeAutoScalingNotificationTypesAnswerTypeDef definition

class DescribeAutoScalingNotificationTypesAnswerTypeDef(TypedDict):
    AutoScalingNotificationTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeInstanceRefreshesTypeRequestTypeDef#

# DescribeInstanceRefreshesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesTypeRequestTypeDef

def get_value() -> DescribeInstanceRefreshesTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeInstanceRefreshesTypeRequestTypeDef definition

class DescribeInstanceRefreshesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceRefreshIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribeLifecycleHookTypesAnswerTypeDef#

# DescribeLifecycleHookTypesAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHookTypesAnswerTypeDef

def get_value() -> DescribeLifecycleHookTypesAnswerTypeDef:
    return {
        "LifecycleHookTypes": ...,
        "ResponseMetadata": ...,
    }
# DescribeLifecycleHookTypesAnswerTypeDef definition

class DescribeLifecycleHookTypesAnswerTypeDef(TypedDict):
    LifecycleHookTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

LifecycleHookTypeDef#

# LifecycleHookTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LifecycleHookTypeDef

def get_value() -> LifecycleHookTypeDef:
    return {
        "LifecycleHookName": ...,
    }
# LifecycleHookTypeDef 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#

# DescribeLifecycleHooksTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksTypeRequestTypeDef

def get_value() -> DescribeLifecycleHooksTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeLifecycleHooksTypeRequestTypeDef definition

class DescribeLifecycleHooksTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LifecycleHookNames: NotRequired[Sequence[str]],

DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef#

# DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef

def get_value() -> DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef definition

class DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeLoadBalancerTargetGroupsRequestRequestTypeDef#

# DescribeLoadBalancerTargetGroupsRequestRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestRequestTypeDef

def get_value() -> DescribeLoadBalancerTargetGroupsRequestRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeLoadBalancerTargetGroupsRequestRequestTypeDef definition

class DescribeLoadBalancerTargetGroupsRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LoadBalancerTargetGroupStateTypeDef#

# LoadBalancerTargetGroupStateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LoadBalancerTargetGroupStateTypeDef

def get_value() -> LoadBalancerTargetGroupStateTypeDef:
    return {
        "LoadBalancerTargetGroupARN": ...,
    }
# LoadBalancerTargetGroupStateTypeDef definition

class LoadBalancerTargetGroupStateTypeDef(TypedDict):
    LoadBalancerTargetGroupARN: NotRequired[str],
    State: NotRequired[str],

DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef#

# DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef

def get_value() -> DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef definition

class DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeLoadBalancersRequestRequestTypeDef#

# DescribeLoadBalancersRequestRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestRequestTypeDef

def get_value() -> DescribeLoadBalancersRequestRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeLoadBalancersRequestRequestTypeDef definition

class DescribeLoadBalancersRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LoadBalancerStateTypeDef#

# LoadBalancerStateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LoadBalancerStateTypeDef

def get_value() -> LoadBalancerStateTypeDef:
    return {
        "LoadBalancerName": ...,
    }
# LoadBalancerStateTypeDef definition

class LoadBalancerStateTypeDef(TypedDict):
    LoadBalancerName: NotRequired[str],
    State: NotRequired[str],

MetricCollectionTypeTypeDef#

# MetricCollectionTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MetricCollectionTypeTypeDef

def get_value() -> MetricCollectionTypeTypeDef:
    return {
        "Metric": ...,
    }
# MetricCollectionTypeTypeDef definition

class MetricCollectionTypeTypeDef(TypedDict):
    Metric: NotRequired[str],

MetricGranularityTypeTypeDef#

# MetricGranularityTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MetricGranularityTypeTypeDef

def get_value() -> MetricGranularityTypeTypeDef:
    return {
        "Granularity": ...,
    }
# MetricGranularityTypeTypeDef definition

class MetricGranularityTypeTypeDef(TypedDict):
    Granularity: NotRequired[str],

NotificationConfigurationTypeDef#

# NotificationConfigurationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import NotificationConfigurationTypeDef

def get_value() -> NotificationConfigurationTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# NotificationConfigurationTypeDef definition

class NotificationConfigurationTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    TopicARN: NotRequired[str],
    NotificationType: NotRequired[str],

DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef#

# DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef

def get_value() -> DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
# DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef definition

class DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeNotificationConfigurationsTypeRequestTypeDef#

# DescribeNotificationConfigurationsTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeRequestTypeDef

def get_value() -> DescribeNotificationConfigurationsTypeRequestTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
# DescribeNotificationConfigurationsTypeRequestTypeDef definition

class DescribeNotificationConfigurationsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribePoliciesTypeDescribePoliciesPaginateTypeDef#

# DescribePoliciesTypeDescribePoliciesPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeDescribePoliciesPaginateTypeDef

def get_value() -> DescribePoliciesTypeDescribePoliciesPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribePoliciesTypeDescribePoliciesPaginateTypeDef definition

class DescribePoliciesTypeDescribePoliciesPaginateTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    PolicyNames: NotRequired[Sequence[str]],
    PolicyTypes: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribePoliciesTypeRequestTypeDef#

# DescribePoliciesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeRequestTypeDef

def get_value() -> DescribePoliciesTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribePoliciesTypeRequestTypeDef definition

class DescribePoliciesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    PolicyNames: NotRequired[Sequence[str]],
    PolicyTypes: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef#

# DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef

def get_value() -> DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef:
    return {
        "ActivityIds": ...,
    }
# DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef definition

class DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef(TypedDict):
    ActivityIds: NotRequired[Sequence[str]],
    AutoScalingGroupName: NotRequired[str],
    IncludeDeletedGroups: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeScalingActivitiesTypeRequestTypeDef#

# DescribeScalingActivitiesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeRequestTypeDef

def get_value() -> DescribeScalingActivitiesTypeRequestTypeDef:
    return {
        "ActivityIds": ...,
    }
# DescribeScalingActivitiesTypeRequestTypeDef definition

class DescribeScalingActivitiesTypeRequestTypeDef(TypedDict):
    ActivityIds: NotRequired[Sequence[str]],
    AutoScalingGroupName: NotRequired[str],
    IncludeDeletedGroups: NotRequired[bool],
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef#

# DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef

def get_value() -> DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef 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)
  1. See PaginatorConfigTypeDef

DescribeScheduledActionsTypeRequestTypeDef#

# DescribeScheduledActionsTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeRequestTypeDef

def get_value() -> DescribeScheduledActionsTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeScheduledActionsTypeRequestTypeDef 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],

DescribeTerminationPolicyTypesAnswerTypeDef#

# DescribeTerminationPolicyTypesAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeTerminationPolicyTypesAnswerTypeDef

def get_value() -> DescribeTerminationPolicyTypesAnswerTypeDef:
    return {
        "TerminationPolicyTypes": ...,
        "ResponseMetadata": ...,
    }
# DescribeTerminationPolicyTypesAnswerTypeDef definition

class DescribeTerminationPolicyTypesAnswerTypeDef(TypedDict):
    TerminationPolicyTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeTrafficSourcesRequestRequestTypeDef#

# DescribeTrafficSourcesRequestRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeTrafficSourcesRequestRequestTypeDef

def get_value() -> DescribeTrafficSourcesRequestRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeTrafficSourcesRequestRequestTypeDef definition

class DescribeTrafficSourcesRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TrafficSourceType: NotRequired[str],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

TrafficSourceStateTypeDef#

# TrafficSourceStateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TrafficSourceStateTypeDef

def get_value() -> TrafficSourceStateTypeDef:
    return {
        "TrafficSource": ...,
    }
# TrafficSourceStateTypeDef definition

class TrafficSourceStateTypeDef(TypedDict):
    TrafficSource: NotRequired[str],
    State: NotRequired[str],
    Identifier: NotRequired[str],
    Type: NotRequired[str],

DescribeWarmPoolTypeRequestTypeDef#

# DescribeWarmPoolTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolTypeRequestTypeDef

def get_value() -> DescribeWarmPoolTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DescribeWarmPoolTypeRequestTypeDef definition

class DescribeWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DetachInstancesQueryRequestTypeDef#

# DetachInstancesQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DetachInstancesQueryRequestTypeDef

def get_value() -> DetachInstancesQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ShouldDecrementDesiredCapacity": ...,
    }
# DetachInstancesQueryRequestTypeDef definition

class DetachInstancesQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ShouldDecrementDesiredCapacity: bool,
    InstanceIds: NotRequired[Sequence[str]],

DetachLoadBalancerTargetGroupsTypeRequestTypeDef#

# DetachLoadBalancerTargetGroupsTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DetachLoadBalancerTargetGroupsTypeRequestTypeDef

def get_value() -> DetachLoadBalancerTargetGroupsTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TargetGroupARNs": ...,
    }
# DetachLoadBalancerTargetGroupsTypeRequestTypeDef definition

class DetachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TargetGroupARNs: Sequence[str],

DetachLoadBalancersTypeRequestTypeDef#

# DetachLoadBalancersTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DetachLoadBalancersTypeRequestTypeDef

def get_value() -> DetachLoadBalancersTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "LoadBalancerNames": ...,
    }
# DetachLoadBalancersTypeRequestTypeDef definition

class DetachLoadBalancersTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LoadBalancerNames: Sequence[str],

DisableMetricsCollectionQueryRequestTypeDef#

# DisableMetricsCollectionQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DisableMetricsCollectionQueryRequestTypeDef

def get_value() -> DisableMetricsCollectionQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# DisableMetricsCollectionQueryRequestTypeDef definition

class DisableMetricsCollectionQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Metrics: NotRequired[Sequence[str]],

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef usage example

from mypy_boto3_autoscaling.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnableMetricsCollectionQueryRequestTypeDef#

# EnableMetricsCollectionQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import EnableMetricsCollectionQueryRequestTypeDef

def get_value() -> EnableMetricsCollectionQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "Granularity": ...,
    }
# EnableMetricsCollectionQueryRequestTypeDef definition

class EnableMetricsCollectionQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Granularity: str,
    Metrics: NotRequired[Sequence[str]],

EnterStandbyQueryRequestTypeDef#

# EnterStandbyQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import EnterStandbyQueryRequestTypeDef

def get_value() -> EnterStandbyQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ShouldDecrementDesiredCapacity": ...,
    }
# EnterStandbyQueryRequestTypeDef definition

class EnterStandbyQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ShouldDecrementDesiredCapacity: bool,
    InstanceIds: NotRequired[Sequence[str]],

ExecutePolicyTypeRequestTypeDef#

# ExecutePolicyTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ExecutePolicyTypeRequestTypeDef

def get_value() -> ExecutePolicyTypeRequestTypeDef:
    return {
        "PolicyName": ...,
    }
# ExecutePolicyTypeRequestTypeDef definition

class ExecutePolicyTypeRequestTypeDef(TypedDict):
    PolicyName: str,
    AutoScalingGroupName: NotRequired[str],
    HonorCooldown: NotRequired[bool],
    MetricValue: NotRequired[float],
    BreachThreshold: NotRequired[float],

ExitStandbyQueryRequestTypeDef#

# ExitStandbyQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ExitStandbyQueryRequestTypeDef

def get_value() -> ExitStandbyQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# ExitStandbyQueryRequestTypeDef definition

class ExitStandbyQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceIds: NotRequired[Sequence[str]],

GetPredictiveScalingForecastTypeRequestTypeDef#

# GetPredictiveScalingForecastTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastTypeRequestTypeDef

def get_value() -> GetPredictiveScalingForecastTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "PolicyName": ...,
        "StartTime": ...,
        "EndTime": ...,
    }
# GetPredictiveScalingForecastTypeRequestTypeDef definition

class GetPredictiveScalingForecastTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PolicyName: str,
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],

InstanceRefreshLivePoolProgressTypeDef#

# InstanceRefreshLivePoolProgressTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceRefreshLivePoolProgressTypeDef

def get_value() -> InstanceRefreshLivePoolProgressTypeDef:
    return {
        "PercentageComplete": ...,
    }
# InstanceRefreshLivePoolProgressTypeDef definition

class InstanceRefreshLivePoolProgressTypeDef(TypedDict):
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],

InstanceRefreshWarmPoolProgressTypeDef#

# InstanceRefreshWarmPoolProgressTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceRefreshWarmPoolProgressTypeDef

def get_value() -> InstanceRefreshWarmPoolProgressTypeDef:
    return {
        "PercentageComplete": ...,
    }
# InstanceRefreshWarmPoolProgressTypeDef definition

class InstanceRefreshWarmPoolProgressTypeDef(TypedDict):
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],

RefreshPreferencesTypeDef#

# RefreshPreferencesTypeDef usage example

from mypy_boto3_autoscaling.type_defs import RefreshPreferencesTypeDef

def get_value() -> RefreshPreferencesTypeDef:
    return {
        "MinHealthyPercentage": ...,
    }
# RefreshPreferencesTypeDef 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)
  1. See ScaleInProtectedInstancesType
  2. See StandbyInstancesType

MemoryGiBPerVCpuRequestTypeDef#

# MemoryGiBPerVCpuRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MemoryGiBPerVCpuRequestTypeDef

def get_value() -> MemoryGiBPerVCpuRequestTypeDef:
    return {
        "Min": ...,
    }
# MemoryGiBPerVCpuRequestTypeDef definition

class MemoryGiBPerVCpuRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

MemoryMiBRequestTypeDef#

# MemoryMiBRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MemoryMiBRequestTypeDef

def get_value() -> MemoryMiBRequestTypeDef:
    return {
        "Min": ...,
    }
# MemoryMiBRequestTypeDef definition

class MemoryMiBRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

NetworkBandwidthGbpsRequestTypeDef#

# NetworkBandwidthGbpsRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import NetworkBandwidthGbpsRequestTypeDef

def get_value() -> NetworkBandwidthGbpsRequestTypeDef:
    return {
        "Min": ...,
    }
# NetworkBandwidthGbpsRequestTypeDef definition

class NetworkBandwidthGbpsRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

NetworkInterfaceCountRequestTypeDef#

# NetworkInterfaceCountRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import NetworkInterfaceCountRequestTypeDef

def get_value() -> NetworkInterfaceCountRequestTypeDef:
    return {
        "Min": ...,
    }
# NetworkInterfaceCountRequestTypeDef definition

class NetworkInterfaceCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

TotalLocalStorageGBRequestTypeDef#

# TotalLocalStorageGBRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TotalLocalStorageGBRequestTypeDef

def get_value() -> TotalLocalStorageGBRequestTypeDef:
    return {
        "Min": ...,
    }
# TotalLocalStorageGBRequestTypeDef definition

class TotalLocalStorageGBRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

VCpuCountRequestTypeDef#

# VCpuCountRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import VCpuCountRequestTypeDef

def get_value() -> VCpuCountRequestTypeDef:
    return {
        "Min": ...,
    }
# VCpuCountRequestTypeDef definition

class VCpuCountRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

InstanceReusePolicyTypeDef#

# InstanceReusePolicyTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceReusePolicyTypeDef

def get_value() -> InstanceReusePolicyTypeDef:
    return {
        "ReuseOnScaleIn": ...,
    }
# InstanceReusePolicyTypeDef definition

class InstanceReusePolicyTypeDef(TypedDict):
    ReuseOnScaleIn: NotRequired[bool],

InstancesDistributionTypeDef#

# InstancesDistributionTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstancesDistributionTypeDef

def get_value() -> InstancesDistributionTypeDef:
    return {
        "OnDemandAllocationStrategy": ...,
    }
# InstancesDistributionTypeDef definition

class InstancesDistributionTypeDef(TypedDict):
    OnDemandAllocationStrategy: NotRequired[str],
    OnDemandBaseCapacity: NotRequired[int],
    OnDemandPercentageAboveBaseCapacity: NotRequired[int],
    SpotAllocationStrategy: NotRequired[str],
    SpotInstancePools: NotRequired[int],
    SpotMaxPrice: NotRequired[str],

LaunchConfigurationNameTypeRequestTypeDef#

# LaunchConfigurationNameTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNameTypeRequestTypeDef

def get_value() -> LaunchConfigurationNameTypeRequestTypeDef:
    return {
        "LaunchConfigurationName": ...,
    }
# LaunchConfigurationNameTypeRequestTypeDef definition

class LaunchConfigurationNameTypeRequestTypeDef(TypedDict):
    LaunchConfigurationName: str,

LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef#

# LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef

def get_value() -> LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef:
    return {
        "LaunchConfigurationNames": ...,
    }
# LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef definition

class LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef(TypedDict):
    LaunchConfigurationNames: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

LaunchConfigurationNamesTypeRequestTypeDef#

# LaunchConfigurationNamesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeRequestTypeDef

def get_value() -> LaunchConfigurationNamesTypeRequestTypeDef:
    return {
        "LaunchConfigurationNames": ...,
    }
# LaunchConfigurationNamesTypeRequestTypeDef definition

class LaunchConfigurationNamesTypeRequestTypeDef(TypedDict):
    LaunchConfigurationNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

PredefinedMetricSpecificationTypeDef#

# PredefinedMetricSpecificationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredefinedMetricSpecificationTypeDef

def get_value() -> PredefinedMetricSpecificationTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
# PredefinedMetricSpecificationTypeDef definition

class PredefinedMetricSpecificationTypeDef(TypedDict):
    PredefinedMetricType: MetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See MetricTypeType

PredictiveScalingPredefinedLoadMetricTypeDef#

# PredictiveScalingPredefinedLoadMetricTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedLoadMetricTypeDef

def get_value() -> PredictiveScalingPredefinedLoadMetricTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
# PredictiveScalingPredefinedLoadMetricTypeDef definition

class PredictiveScalingPredefinedLoadMetricTypeDef(TypedDict):
    PredefinedMetricType: PredefinedLoadMetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedLoadMetricTypeType

PredictiveScalingPredefinedMetricPairTypeDef#

# PredictiveScalingPredefinedMetricPairTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedMetricPairTypeDef

def get_value() -> PredictiveScalingPredefinedMetricPairTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
# PredictiveScalingPredefinedMetricPairTypeDef definition

class PredictiveScalingPredefinedMetricPairTypeDef(TypedDict):
    PredefinedMetricType: PredefinedMetricPairTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedMetricPairTypeType

PredictiveScalingPredefinedScalingMetricTypeDef#

# PredictiveScalingPredefinedScalingMetricTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedScalingMetricTypeDef

def get_value() -> PredictiveScalingPredefinedScalingMetricTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
# PredictiveScalingPredefinedScalingMetricTypeDef definition

class PredictiveScalingPredefinedScalingMetricTypeDef(TypedDict):
    PredefinedMetricType: PredefinedScalingMetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedScalingMetricTypeType

ProcessTypeTypeDef#

# ProcessTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ProcessTypeTypeDef

def get_value() -> ProcessTypeTypeDef:
    return {
        "ProcessName": ...,
    }
# ProcessTypeTypeDef definition

class ProcessTypeTypeDef(TypedDict):
    ProcessName: str,

PutLifecycleHookTypeRequestTypeDef#

# PutLifecycleHookTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PutLifecycleHookTypeRequestTypeDef

def get_value() -> PutLifecycleHookTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
    }
# PutLifecycleHookTypeRequestTypeDef 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#

# PutNotificationConfigurationTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PutNotificationConfigurationTypeRequestTypeDef

def get_value() -> PutNotificationConfigurationTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TopicARN": ...,
        "NotificationTypes": ...,
    }
# PutNotificationConfigurationTypeRequestTypeDef definition

class PutNotificationConfigurationTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TopicARN: str,
    NotificationTypes: Sequence[str],

StepAdjustmentTypeDef#

# StepAdjustmentTypeDef usage example

from mypy_boto3_autoscaling.type_defs import StepAdjustmentTypeDef

def get_value() -> StepAdjustmentTypeDef:
    return {
        "ScalingAdjustment": ...,
    }
# StepAdjustmentTypeDef definition

class StepAdjustmentTypeDef(TypedDict):
    ScalingAdjustment: int,
    MetricIntervalLowerBound: NotRequired[float],
    MetricIntervalUpperBound: NotRequired[float],

PutScheduledUpdateGroupActionTypeRequestTypeDef#

# PutScheduledUpdateGroupActionTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PutScheduledUpdateGroupActionTypeRequestTypeDef

def get_value() -> PutScheduledUpdateGroupActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledActionName": ...,
    }
# PutScheduledUpdateGroupActionTypeRequestTypeDef 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#

# RecordLifecycleActionHeartbeatTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import RecordLifecycleActionHeartbeatTypeRequestTypeDef

def get_value() -> RecordLifecycleActionHeartbeatTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
    }
# RecordLifecycleActionHeartbeatTypeRequestTypeDef definition

class RecordLifecycleActionHeartbeatTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleActionToken: NotRequired[str],
    InstanceId: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_autoscaling.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,

RollbackInstanceRefreshAnswerTypeDef#

# RollbackInstanceRefreshAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import RollbackInstanceRefreshAnswerTypeDef

def get_value() -> RollbackInstanceRefreshAnswerTypeDef:
    return {
        "InstanceRefreshId": ...,
        "ResponseMetadata": ...,
    }
# RollbackInstanceRefreshAnswerTypeDef definition

class RollbackInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RollbackInstanceRefreshTypeRequestTypeDef#

# RollbackInstanceRefreshTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import RollbackInstanceRefreshTypeRequestTypeDef

def get_value() -> RollbackInstanceRefreshTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# RollbackInstanceRefreshTypeRequestTypeDef definition

class RollbackInstanceRefreshTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],

ScalingProcessQueryRequestTypeDef#

# ScalingProcessQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ScalingProcessQueryRequestTypeDef

def get_value() -> ScalingProcessQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# ScalingProcessQueryRequestTypeDef definition

class ScalingProcessQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScalingProcesses: NotRequired[Sequence[str]],

ScheduledUpdateGroupActionTypeDef#

# ScheduledUpdateGroupActionTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionTypeDef

def get_value() -> ScheduledUpdateGroupActionTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# ScheduledUpdateGroupActionTypeDef 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#

# SetDesiredCapacityTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import SetDesiredCapacityTypeRequestTypeDef

def get_value() -> SetDesiredCapacityTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "DesiredCapacity": ...,
    }
# SetDesiredCapacityTypeRequestTypeDef definition

class SetDesiredCapacityTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    DesiredCapacity: int,
    HonorCooldown: NotRequired[bool],

SetInstanceHealthQueryRequestTypeDef#

# SetInstanceHealthQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import SetInstanceHealthQueryRequestTypeDef

def get_value() -> SetInstanceHealthQueryRequestTypeDef:
    return {
        "InstanceId": ...,
        "HealthStatus": ...,
    }
# SetInstanceHealthQueryRequestTypeDef definition

class SetInstanceHealthQueryRequestTypeDef(TypedDict):
    InstanceId: str,
    HealthStatus: str,
    ShouldRespectGracePeriod: NotRequired[bool],

SetInstanceProtectionQueryRequestTypeDef#

# SetInstanceProtectionQueryRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import SetInstanceProtectionQueryRequestTypeDef

def get_value() -> SetInstanceProtectionQueryRequestTypeDef:
    return {
        "InstanceIds": ...,
        "AutoScalingGroupName": ...,
        "ProtectedFromScaleIn": ...,
    }
# SetInstanceProtectionQueryRequestTypeDef definition

class SetInstanceProtectionQueryRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    AutoScalingGroupName: str,
    ProtectedFromScaleIn: bool,

StartInstanceRefreshAnswerTypeDef#

# StartInstanceRefreshAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshAnswerTypeDef

def get_value() -> StartInstanceRefreshAnswerTypeDef:
    return {
        "InstanceRefreshId": ...,
        "ResponseMetadata": ...,
    }
# StartInstanceRefreshAnswerTypeDef definition

class StartInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

TerminateInstanceInAutoScalingGroupTypeRequestTypeDef#

# TerminateInstanceInAutoScalingGroupTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TerminateInstanceInAutoScalingGroupTypeRequestTypeDef

def get_value() -> TerminateInstanceInAutoScalingGroupTypeRequestTypeDef:
    return {
        "InstanceId": ...,
        "ShouldDecrementDesiredCapacity": ...,
    }
# TerminateInstanceInAutoScalingGroupTypeRequestTypeDef definition

class TerminateInstanceInAutoScalingGroupTypeRequestTypeDef(TypedDict):
    InstanceId: str,
    ShouldDecrementDesiredCapacity: bool,

ActivitiesTypeTypeDef#

# ActivitiesTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ActivitiesTypeTypeDef

def get_value() -> ActivitiesTypeTypeDef:
    return {
        "Activities": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ActivitiesTypeTypeDef definition

class ActivitiesTypeTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

ActivityTypeTypeDef#

# ActivityTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ActivityTypeTypeDef

def get_value() -> ActivityTypeTypeDef:
    return {
        "Activity": ...,
        "ResponseMetadata": ...,
    }
# ActivityTypeTypeDef definition

class ActivityTypeTypeDef(TypedDict):
    Activity: ActivityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

DetachInstancesAnswerTypeDef#

# DetachInstancesAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DetachInstancesAnswerTypeDef

def get_value() -> DetachInstancesAnswerTypeDef:
    return {
        "Activities": ...,
        "ResponseMetadata": ...,
    }
# DetachInstancesAnswerTypeDef definition

class DetachInstancesAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

EnterStandbyAnswerTypeDef#

# EnterStandbyAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import EnterStandbyAnswerTypeDef

def get_value() -> EnterStandbyAnswerTypeDef:
    return {
        "Activities": ...,
        "ResponseMetadata": ...,
    }
# EnterStandbyAnswerTypeDef definition

class EnterStandbyAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

ExitStandbyAnswerTypeDef#

# ExitStandbyAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ExitStandbyAnswerTypeDef

def get_value() -> ExitStandbyAnswerTypeDef:
    return {
        "Activities": ...,
        "ResponseMetadata": ...,
    }
# ExitStandbyAnswerTypeDef definition

class ExitStandbyAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

DescribeAdjustmentTypesAnswerTypeDef#

# DescribeAdjustmentTypesAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeAdjustmentTypesAnswerTypeDef

def get_value() -> DescribeAdjustmentTypesAnswerTypeDef:
    return {
        "AdjustmentTypes": ...,
        "ResponseMetadata": ...,
    }
# DescribeAdjustmentTypesAnswerTypeDef definition

class DescribeAdjustmentTypesAnswerTypeDef(TypedDict):
    AdjustmentTypes: List[AdjustmentTypeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AdjustmentTypeTypeDef
  2. See ResponseMetadataTypeDef

PolicyARNTypeTypeDef#

# PolicyARNTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PolicyARNTypeTypeDef

def get_value() -> PolicyARNTypeTypeDef:
    return {
        "PolicyARN": ...,
        "Alarms": ...,
        "ResponseMetadata": ...,
    }
# PolicyARNTypeTypeDef definition

class PolicyARNTypeTypeDef(TypedDict):
    PolicyARN: str,
    Alarms: List[AlarmTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlarmTypeDef
  2. See ResponseMetadataTypeDef

AttachTrafficSourcesTypeRequestTypeDef#

# AttachTrafficSourcesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AttachTrafficSourcesTypeRequestTypeDef

def get_value() -> AttachTrafficSourcesTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TrafficSources": ...,
    }
# AttachTrafficSourcesTypeRequestTypeDef definition

class AttachTrafficSourcesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TrafficSources: Sequence[TrafficSourceIdentifierTypeDef],  # (1)
  1. See TrafficSourceIdentifierTypeDef

DetachTrafficSourcesTypeRequestTypeDef#

# DetachTrafficSourcesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DetachTrafficSourcesTypeRequestTypeDef

def get_value() -> DetachTrafficSourcesTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TrafficSources": ...,
    }
# DetachTrafficSourcesTypeRequestTypeDef definition

class DetachTrafficSourcesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TrafficSources: Sequence[TrafficSourceIdentifierTypeDef],  # (1)
  1. See TrafficSourceIdentifierTypeDef

AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef#

# AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef

def get_value() -> AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
# AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef definition

class AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

AutoScalingGroupNamesTypeRequestTypeDef#

# AutoScalingGroupNamesTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeRequestTypeDef

def get_value() -> AutoScalingGroupNamesTypeRequestTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
# AutoScalingGroupNamesTypeRequestTypeDef definition

class AutoScalingGroupNamesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeTagsTypeDescribeTagsPaginateTypeDef#

# DescribeTagsTypeDescribeTagsPaginateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeDescribeTagsPaginateTypeDef

def get_value() -> DescribeTagsTypeDescribeTagsPaginateTypeDef:
    return {
        "Filters": ...,
    }
# DescribeTagsTypeDescribeTagsPaginateTypeDef definition

class DescribeTagsTypeDescribeTagsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeTagsTypeRequestTypeDef#

# DescribeTagsTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeRequestTypeDef

def get_value() -> DescribeTagsTypeRequestTypeDef:
    return {
        "Filters": ...,
    }
# DescribeTagsTypeRequestTypeDef definition

class DescribeTagsTypeRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],
  1. See FilterTypeDef

AutoScalingInstanceDetailsTypeDef#

# AutoScalingInstanceDetailsTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingInstanceDetailsTypeDef

def get_value() -> AutoScalingInstanceDetailsTypeDef:
    return {
        "InstanceId": ...,
        "AutoScalingGroupName": ...,
        "AvailabilityZone": ...,
        "LifecycleState": ...,
        "HealthStatus": ...,
        "ProtectedFromScaleIn": ...,
    }
# AutoScalingInstanceDetailsTypeDef 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],
  1. See LaunchTemplateSpecificationTypeDef

InstanceTypeDef#

# InstanceTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceTypeDef

def get_value() -> InstanceTypeDef:
    return {
        "InstanceId": ...,
        "AvailabilityZone": ...,
        "LifecycleState": ...,
        "HealthStatus": ...,
        "ProtectedFromScaleIn": ...,
    }
# InstanceTypeDef 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],
  1. See LifecycleStateType
  2. See LaunchTemplateSpecificationTypeDef

TagsTypeTypeDef#

# TagsTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TagsTypeTypeDef

def get_value() -> TagsTypeTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# TagsTypeTypeDef definition

class TagsTypeTypeDef(TypedDict):
    Tags: List[TagDescriptionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagDescriptionTypeDef
  2. See ResponseMetadataTypeDef

BatchDeleteScheduledActionAnswerTypeDef#

# BatchDeleteScheduledActionAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionAnswerTypeDef

def get_value() -> BatchDeleteScheduledActionAnswerTypeDef:
    return {
        "FailedScheduledActions": ...,
        "ResponseMetadata": ...,
    }
# BatchDeleteScheduledActionAnswerTypeDef definition

class BatchDeleteScheduledActionAnswerTypeDef(TypedDict):
    FailedScheduledActions: List[FailedScheduledUpdateGroupActionRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedScheduledUpdateGroupActionRequestTypeDef
  2. See ResponseMetadataTypeDef

BatchPutScheduledUpdateGroupActionAnswerTypeDef#

# BatchPutScheduledUpdateGroupActionAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionAnswerTypeDef

def get_value() -> BatchPutScheduledUpdateGroupActionAnswerTypeDef:
    return {
        "FailedScheduledUpdateGroupActions": ...,
        "ResponseMetadata": ...,
    }
# BatchPutScheduledUpdateGroupActionAnswerTypeDef definition

class BatchPutScheduledUpdateGroupActionAnswerTypeDef(TypedDict):
    FailedScheduledUpdateGroupActions: List[FailedScheduledUpdateGroupActionRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedScheduledUpdateGroupActionRequestTypeDef
  2. See ResponseMetadataTypeDef

BatchPutScheduledUpdateGroupActionTypeRequestTypeDef#

# BatchPutScheduledUpdateGroupActionTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionTypeRequestTypeDef

def get_value() -> BatchPutScheduledUpdateGroupActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledUpdateGroupActions": ...,
    }
# BatchPutScheduledUpdateGroupActionTypeRequestTypeDef definition

class BatchPutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledUpdateGroupActions: Sequence[ScheduledUpdateGroupActionRequestTypeDef],  # (1)
  1. See ScheduledUpdateGroupActionRequestTypeDef

BlockDeviceMappingTypeDef#

# BlockDeviceMappingTypeDef usage example

from mypy_boto3_autoscaling.type_defs import BlockDeviceMappingTypeDef

def get_value() -> BlockDeviceMappingTypeDef:
    return {
        "DeviceName": ...,
    }
# BlockDeviceMappingTypeDef definition

class BlockDeviceMappingTypeDef(TypedDict):
    DeviceName: str,
    VirtualName: NotRequired[str],
    Ebs: NotRequired[EbsTypeDef],  # (1)
    NoDevice: NotRequired[bool],
  1. See EbsTypeDef

CreateOrUpdateTagsTypeRequestTypeDef#

# CreateOrUpdateTagsTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CreateOrUpdateTagsTypeRequestTypeDef

def get_value() -> CreateOrUpdateTagsTypeRequestTypeDef:
    return {
        "Tags": ...,
    }
# CreateOrUpdateTagsTypeRequestTypeDef definition

class CreateOrUpdateTagsTypeRequestTypeDef(TypedDict):
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

DeleteTagsTypeRequestTypeDef#

# DeleteTagsTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DeleteTagsTypeRequestTypeDef

def get_value() -> DeleteTagsTypeRequestTypeDef:
    return {
        "Tags": ...,
    }
# DeleteTagsTypeRequestTypeDef definition

class DeleteTagsTypeRequestTypeDef(TypedDict):
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

MetricTypeDef#

# MetricTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MetricTypeDef

def get_value() -> MetricTypeDef:
    return {
        "Namespace": ...,
        "MetricName": ...,
    }
# MetricTypeDef definition

class MetricTypeDef(TypedDict):
    Namespace: str,
    MetricName: str,
    Dimensions: NotRequired[List[MetricDimensionTypeDef]],  # (1)
  1. See MetricDimensionTypeDef

DescribeLifecycleHooksAnswerTypeDef#

# DescribeLifecycleHooksAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksAnswerTypeDef

def get_value() -> DescribeLifecycleHooksAnswerTypeDef:
    return {
        "LifecycleHooks": ...,
        "ResponseMetadata": ...,
    }
# DescribeLifecycleHooksAnswerTypeDef definition

class DescribeLifecycleHooksAnswerTypeDef(TypedDict):
    LifecycleHooks: List[LifecycleHookTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LifecycleHookTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancerTargetGroupsResponseTypeDef#

# DescribeLoadBalancerTargetGroupsResponseTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsResponseTypeDef

def get_value() -> DescribeLoadBalancerTargetGroupsResponseTypeDef:
    return {
        "LoadBalancerTargetGroups": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeLoadBalancerTargetGroupsResponseTypeDef definition

class DescribeLoadBalancerTargetGroupsResponseTypeDef(TypedDict):
    LoadBalancerTargetGroups: List[LoadBalancerTargetGroupStateTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoadBalancerTargetGroupStateTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancersResponseTypeDef#

# DescribeLoadBalancersResponseTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersResponseTypeDef

def get_value() -> DescribeLoadBalancersResponseTypeDef:
    return {
        "LoadBalancers": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeLoadBalancersResponseTypeDef definition

class DescribeLoadBalancersResponseTypeDef(TypedDict):
    LoadBalancers: List[LoadBalancerStateTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LoadBalancerStateTypeDef
  2. See ResponseMetadataTypeDef

DescribeMetricCollectionTypesAnswerTypeDef#

# DescribeMetricCollectionTypesAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeMetricCollectionTypesAnswerTypeDef

def get_value() -> DescribeMetricCollectionTypesAnswerTypeDef:
    return {
        "Metrics": ...,
        "Granularities": ...,
        "ResponseMetadata": ...,
    }
# DescribeMetricCollectionTypesAnswerTypeDef definition

class DescribeMetricCollectionTypesAnswerTypeDef(TypedDict):
    Metrics: List[MetricCollectionTypeTypeDef],  # (1)
    Granularities: List[MetricGranularityTypeTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See MetricCollectionTypeTypeDef
  2. See MetricGranularityTypeTypeDef
  3. See ResponseMetadataTypeDef

DescribeNotificationConfigurationsAnswerTypeDef#

# DescribeNotificationConfigurationsAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsAnswerTypeDef

def get_value() -> DescribeNotificationConfigurationsAnswerTypeDef:
    return {
        "NotificationConfigurations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeNotificationConfigurationsAnswerTypeDef definition

class DescribeNotificationConfigurationsAnswerTypeDef(TypedDict):
    NotificationConfigurations: List[NotificationConfigurationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See NotificationConfigurationTypeDef
  2. See ResponseMetadataTypeDef

DescribeTrafficSourcesResponseTypeDef#

# DescribeTrafficSourcesResponseTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeTrafficSourcesResponseTypeDef

def get_value() -> DescribeTrafficSourcesResponseTypeDef:
    return {
        "TrafficSources": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeTrafficSourcesResponseTypeDef definition

class DescribeTrafficSourcesResponseTypeDef(TypedDict):
    TrafficSources: List[TrafficSourceStateTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TrafficSourceStateTypeDef
  2. See ResponseMetadataTypeDef

InstanceRefreshProgressDetailsTypeDef#

# InstanceRefreshProgressDetailsTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceRefreshProgressDetailsTypeDef

def get_value() -> InstanceRefreshProgressDetailsTypeDef:
    return {
        "LivePoolProgress": ...,
    }
# InstanceRefreshProgressDetailsTypeDef definition

class InstanceRefreshProgressDetailsTypeDef(TypedDict):
    LivePoolProgress: NotRequired[InstanceRefreshLivePoolProgressTypeDef],  # (1)
    WarmPoolProgress: NotRequired[InstanceRefreshWarmPoolProgressTypeDef],  # (2)
  1. See InstanceRefreshLivePoolProgressTypeDef
  2. See InstanceRefreshWarmPoolProgressTypeDef

InstanceRequirementsTypeDef#

# InstanceRequirementsTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceRequirementsTypeDef

def get_value() -> InstanceRequirementsTypeDef:
    return {
        "VCpuCount": ...,
        "MemoryMiB": ...,
    }
# InstanceRequirementsTypeDef 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]],
  1. See VCpuCountRequestTypeDef
  2. See MemoryMiBRequestTypeDef
  3. See CpuManufacturerType
  4. See MemoryGiBPerVCpuRequestTypeDef
  5. See InstanceGenerationType
  6. See BareMetalType
  7. See BurstablePerformanceType
  8. See NetworkInterfaceCountRequestTypeDef
  9. See LocalStorageType
  10. See LocalStorageTypeType
  11. See TotalLocalStorageGBRequestTypeDef
  12. See BaselineEbsBandwidthMbpsRequestTypeDef
  13. See AcceleratorTypeType
  14. See AcceleratorCountRequestTypeDef
  15. See AcceleratorManufacturerType
  16. See AcceleratorNameType
  17. See AcceleratorTotalMemoryMiBRequestTypeDef
  18. See NetworkBandwidthGbpsRequestTypeDef

PutWarmPoolTypeRequestTypeDef#

# PutWarmPoolTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PutWarmPoolTypeRequestTypeDef

def get_value() -> PutWarmPoolTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# PutWarmPoolTypeRequestTypeDef definition

class PutWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MaxGroupPreparedCapacity: NotRequired[int],
    MinSize: NotRequired[int],
    PoolState: NotRequired[WarmPoolStateType],  # (1)
    InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef],  # (2)
  1. See WarmPoolStateType
  2. See InstanceReusePolicyTypeDef

WarmPoolConfigurationTypeDef#

# WarmPoolConfigurationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import WarmPoolConfigurationTypeDef

def get_value() -> WarmPoolConfigurationTypeDef:
    return {
        "MaxGroupPreparedCapacity": ...,
    }
# WarmPoolConfigurationTypeDef definition

class WarmPoolConfigurationTypeDef(TypedDict):
    MaxGroupPreparedCapacity: NotRequired[int],
    MinSize: NotRequired[int],
    PoolState: NotRequired[WarmPoolStateType],  # (1)
    Status: NotRequired[WarmPoolStatusType],  # (2)
    InstanceReusePolicy: NotRequired[InstanceReusePolicyTypeDef],  # (3)
  1. See WarmPoolStateType
  2. See WarmPoolStatusType
  3. See InstanceReusePolicyTypeDef

ProcessesTypeTypeDef#

# ProcessesTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ProcessesTypeTypeDef

def get_value() -> ProcessesTypeTypeDef:
    return {
        "Processes": ...,
        "ResponseMetadata": ...,
    }
# ProcessesTypeTypeDef definition

class ProcessesTypeTypeDef(TypedDict):
    Processes: List[ProcessTypeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProcessTypeTypeDef
  2. See ResponseMetadataTypeDef

ScheduledActionsTypeTypeDef#

# ScheduledActionsTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ScheduledActionsTypeTypeDef

def get_value() -> ScheduledActionsTypeTypeDef:
    return {
        "ScheduledUpdateGroupActions": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ScheduledActionsTypeTypeDef definition

class ScheduledActionsTypeTypeDef(TypedDict):
    ScheduledUpdateGroupActions: List[ScheduledUpdateGroupActionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ScheduledUpdateGroupActionTypeDef
  2. See ResponseMetadataTypeDef

AutoScalingInstancesTypeTypeDef#

# AutoScalingInstancesTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingInstancesTypeTypeDef

def get_value() -> AutoScalingInstancesTypeTypeDef:
    return {
        "AutoScalingInstances": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# AutoScalingInstancesTypeTypeDef definition

class AutoScalingInstancesTypeTypeDef(TypedDict):
    AutoScalingInstances: List[AutoScalingInstanceDetailsTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingInstanceDetailsTypeDef
  2. See ResponseMetadataTypeDef

CreateLaunchConfigurationTypeRequestTypeDef#

# CreateLaunchConfigurationTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CreateLaunchConfigurationTypeRequestTypeDef

def get_value() -> CreateLaunchConfigurationTypeRequestTypeDef:
    return {
        "LaunchConfigurationName": ...,
    }
# CreateLaunchConfigurationTypeRequestTypeDef 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)
  1. See BlockDeviceMappingTypeDef
  2. See InstanceMonitoringTypeDef
  3. See InstanceMetadataOptionsTypeDef

LaunchConfigurationTypeDef#

# LaunchConfigurationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationTypeDef

def get_value() -> LaunchConfigurationTypeDef:
    return {
        "LaunchConfigurationName": ...,
        "ImageId": ...,
        "InstanceType": ...,
        "CreatedTime": ...,
    }
# LaunchConfigurationTypeDef 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)
  1. See BlockDeviceMappingTypeDef
  2. See InstanceMonitoringTypeDef
  3. See InstanceMetadataOptionsTypeDef

MetricStatTypeDef#

# MetricStatTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MetricStatTypeDef

def get_value() -> MetricStatTypeDef:
    return {
        "Metric": ...,
        "Stat": ...,
    }
# MetricStatTypeDef definition

class MetricStatTypeDef(TypedDict):
    Metric: MetricTypeDef,  # (1)
    Stat: str,
    Unit: NotRequired[str],
  1. See MetricTypeDef

TargetTrackingMetricStatTypeDef#

# TargetTrackingMetricStatTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingMetricStatTypeDef

def get_value() -> TargetTrackingMetricStatTypeDef:
    return {
        "Metric": ...,
        "Stat": ...,
    }
# TargetTrackingMetricStatTypeDef definition

class TargetTrackingMetricStatTypeDef(TypedDict):
    Metric: MetricTypeDef,  # (1)
    Stat: str,
    Unit: NotRequired[str],
  1. See MetricTypeDef

RollbackDetailsTypeDef#

# RollbackDetailsTypeDef usage example

from mypy_boto3_autoscaling.type_defs import RollbackDetailsTypeDef

def get_value() -> RollbackDetailsTypeDef:
    return {
        "RollbackReason": ...,
    }
# RollbackDetailsTypeDef definition

class RollbackDetailsTypeDef(TypedDict):
    RollbackReason: NotRequired[str],
    RollbackStartTime: NotRequired[datetime],
    PercentageCompleteOnRollback: NotRequired[int],
    InstancesToUpdateOnRollback: NotRequired[int],
    ProgressDetailsOnRollback: NotRequired[InstanceRefreshProgressDetailsTypeDef],  # (1)
  1. See InstanceRefreshProgressDetailsTypeDef

LaunchTemplateOverridesTypeDef#

# LaunchTemplateOverridesTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchTemplateOverridesTypeDef

def get_value() -> LaunchTemplateOverridesTypeDef:
    return {
        "InstanceType": ...,
    }
# LaunchTemplateOverridesTypeDef definition

class LaunchTemplateOverridesTypeDef(TypedDict):
    InstanceType: NotRequired[str],
    WeightedCapacity: NotRequired[str],
    LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    InstanceRequirements: NotRequired[InstanceRequirementsTypeDef],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See InstanceRequirementsTypeDef

DescribeWarmPoolAnswerTypeDef#

# DescribeWarmPoolAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolAnswerTypeDef

def get_value() -> DescribeWarmPoolAnswerTypeDef:
    return {
        "WarmPoolConfiguration": ...,
        "Instances": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeWarmPoolAnswerTypeDef definition

class DescribeWarmPoolAnswerTypeDef(TypedDict):
    WarmPoolConfiguration: WarmPoolConfigurationTypeDef,  # (1)
    Instances: List[InstanceTypeDef],  # (2)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See WarmPoolConfigurationTypeDef
  2. See InstanceTypeDef
  3. See ResponseMetadataTypeDef

LaunchConfigurationsTypeTypeDef#

# LaunchConfigurationsTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationsTypeTypeDef

def get_value() -> LaunchConfigurationsTypeTypeDef:
    return {
        "LaunchConfigurations": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# LaunchConfigurationsTypeTypeDef definition

class LaunchConfigurationsTypeTypeDef(TypedDict):
    LaunchConfigurations: List[LaunchConfigurationTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LaunchConfigurationTypeDef
  2. See ResponseMetadataTypeDef

MetricDataQueryTypeDef#

# MetricDataQueryTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MetricDataQueryTypeDef

def get_value() -> MetricDataQueryTypeDef:
    return {
        "Id": ...,
    }
# MetricDataQueryTypeDef definition

class MetricDataQueryTypeDef(TypedDict):
    Id: str,
    Expression: NotRequired[str],
    MetricStat: NotRequired[MetricStatTypeDef],  # (1)
    Label: NotRequired[str],
    ReturnData: NotRequired[bool],
  1. See MetricStatTypeDef

TargetTrackingMetricDataQueryTypeDef#

# TargetTrackingMetricDataQueryTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingMetricDataQueryTypeDef

def get_value() -> TargetTrackingMetricDataQueryTypeDef:
    return {
        "Id": ...,
    }
# TargetTrackingMetricDataQueryTypeDef definition

class TargetTrackingMetricDataQueryTypeDef(TypedDict):
    Id: str,
    Expression: NotRequired[str],
    MetricStat: NotRequired[TargetTrackingMetricStatTypeDef],  # (1)
    Label: NotRequired[str],
    ReturnData: NotRequired[bool],
  1. See TargetTrackingMetricStatTypeDef

LaunchTemplateTypeDef#

# LaunchTemplateTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LaunchTemplateTypeDef

def get_value() -> LaunchTemplateTypeDef:
    return {
        "LaunchTemplateSpecification": ...,
    }
# LaunchTemplateTypeDef definition

class LaunchTemplateTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    Overrides: NotRequired[Sequence[LaunchTemplateOverridesTypeDef]],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See LaunchTemplateOverridesTypeDef

PredictiveScalingCustomizedCapacityMetricTypeDef#

# PredictiveScalingCustomizedCapacityMetricTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedCapacityMetricTypeDef

def get_value() -> PredictiveScalingCustomizedCapacityMetricTypeDef:
    return {
        "MetricDataQueries": ...,
    }
# PredictiveScalingCustomizedCapacityMetricTypeDef definition

class PredictiveScalingCustomizedCapacityMetricTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryTypeDef],  # (1)
  1. See MetricDataQueryTypeDef

PredictiveScalingCustomizedLoadMetricTypeDef#

# PredictiveScalingCustomizedLoadMetricTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedLoadMetricTypeDef

def get_value() -> PredictiveScalingCustomizedLoadMetricTypeDef:
    return {
        "MetricDataQueries": ...,
    }
# PredictiveScalingCustomizedLoadMetricTypeDef definition

class PredictiveScalingCustomizedLoadMetricTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryTypeDef],  # (1)
  1. See MetricDataQueryTypeDef

PredictiveScalingCustomizedScalingMetricTypeDef#

# PredictiveScalingCustomizedScalingMetricTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedScalingMetricTypeDef

def get_value() -> PredictiveScalingCustomizedScalingMetricTypeDef:
    return {
        "MetricDataQueries": ...,
    }
# PredictiveScalingCustomizedScalingMetricTypeDef definition

class PredictiveScalingCustomizedScalingMetricTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryTypeDef],  # (1)
  1. See MetricDataQueryTypeDef

CustomizedMetricSpecificationTypeDef#

# CustomizedMetricSpecificationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CustomizedMetricSpecificationTypeDef

def get_value() -> CustomizedMetricSpecificationTypeDef:
    return {
        "MetricName": ...,
    }
# CustomizedMetricSpecificationTypeDef 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)
  1. See MetricDimensionTypeDef
  2. See MetricStatisticType
  3. See TargetTrackingMetricDataQueryTypeDef

MixedInstancesPolicyTypeDef#

# MixedInstancesPolicyTypeDef usage example

from mypy_boto3_autoscaling.type_defs import MixedInstancesPolicyTypeDef

def get_value() -> MixedInstancesPolicyTypeDef:
    return {
        "LaunchTemplate": ...,
    }
# MixedInstancesPolicyTypeDef definition

class MixedInstancesPolicyTypeDef(TypedDict):
    LaunchTemplate: NotRequired[LaunchTemplateTypeDef],  # (1)
    InstancesDistribution: NotRequired[InstancesDistributionTypeDef],  # (2)
  1. See LaunchTemplateTypeDef
  2. See InstancesDistributionTypeDef

PredictiveScalingMetricSpecificationTypeDef#

# PredictiveScalingMetricSpecificationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingMetricSpecificationTypeDef

def get_value() -> PredictiveScalingMetricSpecificationTypeDef:
    return {
        "TargetValue": ...,
    }
# PredictiveScalingMetricSpecificationTypeDef 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)
  1. See PredictiveScalingPredefinedMetricPairTypeDef
  2. See PredictiveScalingPredefinedScalingMetricTypeDef
  3. See PredictiveScalingPredefinedLoadMetricTypeDef
  4. See PredictiveScalingCustomizedScalingMetricTypeDef
  5. See PredictiveScalingCustomizedLoadMetricTypeDef
  6. See PredictiveScalingCustomizedCapacityMetricTypeDef

TargetTrackingConfigurationTypeDef#

# TargetTrackingConfigurationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingConfigurationTypeDef

def get_value() -> TargetTrackingConfigurationTypeDef:
    return {
        "TargetValue": ...,
    }
# TargetTrackingConfigurationTypeDef definition

class TargetTrackingConfigurationTypeDef(TypedDict):
    TargetValue: float,
    PredefinedMetricSpecification: NotRequired[PredefinedMetricSpecificationTypeDef],  # (1)
    CustomizedMetricSpecification: NotRequired[CustomizedMetricSpecificationTypeDef],  # (2)
    DisableScaleIn: NotRequired[bool],
  1. See PredefinedMetricSpecificationTypeDef
  2. See CustomizedMetricSpecificationTypeDef

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupTypeDef

def get_value() -> AutoScalingGroupTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "MinSize": ...,
        "MaxSize": ...,
        "DesiredCapacity": ...,
        "DefaultCooldown": ...,
        "AvailabilityZones": ...,
        "HealthCheckType": ...,
        "CreatedTime": ...,
    }
# AutoScalingGroupTypeDef 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)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyTypeDef
  3. See InstanceTypeDef
  4. See SuspendedProcessTypeDef
  5. See EnabledMetricTypeDef
  6. See TagDescriptionTypeDef
  7. See WarmPoolConfigurationTypeDef
  8. See TrafficSourceIdentifierTypeDef

CreateAutoScalingGroupTypeRequestTypeDef#

# CreateAutoScalingGroupTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import CreateAutoScalingGroupTypeRequestTypeDef

def get_value() -> CreateAutoScalingGroupTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "MinSize": ...,
        "MaxSize": ...,
    }
# CreateAutoScalingGroupTypeRequestTypeDef 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)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyTypeDef
  3. See LifecycleHookSpecificationTypeDef
  4. See TagTypeDef
  5. See TrafficSourceIdentifierTypeDef

DesiredConfigurationTypeDef#

# DesiredConfigurationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DesiredConfigurationTypeDef

def get_value() -> DesiredConfigurationTypeDef:
    return {
        "LaunchTemplate": ...,
    }
# DesiredConfigurationTypeDef definition

class DesiredConfigurationTypeDef(TypedDict):
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyTypeDef],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyTypeDef

UpdateAutoScalingGroupTypeRequestTypeDef#

# UpdateAutoScalingGroupTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import UpdateAutoScalingGroupTypeRequestTypeDef

def get_value() -> UpdateAutoScalingGroupTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# UpdateAutoScalingGroupTypeRequestTypeDef 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],
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyTypeDef

LoadForecastTypeDef#

# LoadForecastTypeDef usage example

from mypy_boto3_autoscaling.type_defs import LoadForecastTypeDef

def get_value() -> LoadForecastTypeDef:
    return {
        "Timestamps": ...,
        "Values": ...,
        "MetricSpecification": ...,
    }
# LoadForecastTypeDef definition

class LoadForecastTypeDef(TypedDict):
    Timestamps: List[datetime],
    Values: List[float],
    MetricSpecification: PredictiveScalingMetricSpecificationTypeDef,  # (1)
  1. See PredictiveScalingMetricSpecificationTypeDef

PredictiveScalingConfigurationTypeDef#

# PredictiveScalingConfigurationTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingConfigurationTypeDef

def get_value() -> PredictiveScalingConfigurationTypeDef:
    return {
        "MetricSpecifications": ...,
    }
# PredictiveScalingConfigurationTypeDef definition

class PredictiveScalingConfigurationTypeDef(TypedDict):
    MetricSpecifications: List[PredictiveScalingMetricSpecificationTypeDef],  # (1)
    Mode: NotRequired[PredictiveScalingModeType],  # (2)
    SchedulingBufferTime: NotRequired[int],
    MaxCapacityBreachBehavior: NotRequired[PredictiveScalingMaxCapacityBreachBehaviorType],  # (3)
    MaxCapacityBuffer: NotRequired[int],
  1. See PredictiveScalingMetricSpecificationTypeDef
  2. See PredictiveScalingModeType
  3. See PredictiveScalingMaxCapacityBreachBehaviorType

AutoScalingGroupsTypeTypeDef#

# AutoScalingGroupsTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupsTypeTypeDef

def get_value() -> AutoScalingGroupsTypeTypeDef:
    return {
        "AutoScalingGroups": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# AutoScalingGroupsTypeTypeDef definition

class AutoScalingGroupsTypeTypeDef(TypedDict):
    AutoScalingGroups: List[AutoScalingGroupTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingGroupTypeDef
  2. See ResponseMetadataTypeDef

InstanceRefreshTypeDef#

# InstanceRefreshTypeDef usage example

from mypy_boto3_autoscaling.type_defs import InstanceRefreshTypeDef

def get_value() -> InstanceRefreshTypeDef:
    return {
        "InstanceRefreshId": ...,
    }
# InstanceRefreshTypeDef 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)
  1. See InstanceRefreshStatusType
  2. See InstanceRefreshProgressDetailsTypeDef
  3. See RefreshPreferencesTypeDef
  4. See DesiredConfigurationTypeDef
  5. See RollbackDetailsTypeDef

StartInstanceRefreshTypeRequestTypeDef#

# StartInstanceRefreshTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshTypeRequestTypeDef

def get_value() -> StartInstanceRefreshTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# StartInstanceRefreshTypeRequestTypeDef definition

class StartInstanceRefreshTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Strategy: NotRequired[RefreshStrategyType],  # (1)
    DesiredConfiguration: NotRequired[DesiredConfigurationTypeDef],  # (2)
    Preferences: NotRequired[RefreshPreferencesTypeDef],  # (3)
  1. See RefreshStrategyType
  2. See DesiredConfigurationTypeDef
  3. See RefreshPreferencesTypeDef

GetPredictiveScalingForecastAnswerTypeDef#

# GetPredictiveScalingForecastAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastAnswerTypeDef

def get_value() -> GetPredictiveScalingForecastAnswerTypeDef:
    return {
        "LoadForecast": ...,
        "CapacityForecast": ...,
        "UpdateTime": ...,
        "ResponseMetadata": ...,
    }
# GetPredictiveScalingForecastAnswerTypeDef definition

class GetPredictiveScalingForecastAnswerTypeDef(TypedDict):
    LoadForecast: List[LoadForecastTypeDef],  # (1)
    CapacityForecast: CapacityForecastTypeDef,  # (2)
    UpdateTime: datetime,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See LoadForecastTypeDef
  2. See CapacityForecastTypeDef
  3. See ResponseMetadataTypeDef

PutScalingPolicyTypeRequestTypeDef#

# PutScalingPolicyTypeRequestTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PutScalingPolicyTypeRequestTypeDef

def get_value() -> PutScalingPolicyTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "PolicyName": ...,
    }
# PutScalingPolicyTypeRequestTypeDef 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)
  1. See StepAdjustmentTypeDef
  2. See TargetTrackingConfigurationTypeDef
  3. See PredictiveScalingConfigurationTypeDef

ScalingPolicyTypeDef#

# ScalingPolicyTypeDef usage example

from mypy_boto3_autoscaling.type_defs import ScalingPolicyTypeDef

def get_value() -> ScalingPolicyTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
# ScalingPolicyTypeDef 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)
  1. See StepAdjustmentTypeDef
  2. See AlarmTypeDef
  3. See TargetTrackingConfigurationTypeDef
  4. See PredictiveScalingConfigurationTypeDef

DescribeInstanceRefreshesAnswerTypeDef#

# DescribeInstanceRefreshesAnswerTypeDef usage example

from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesAnswerTypeDef

def get_value() -> DescribeInstanceRefreshesAnswerTypeDef:
    return {
        "InstanceRefreshes": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeInstanceRefreshesAnswerTypeDef definition

class DescribeInstanceRefreshesAnswerTypeDef(TypedDict):
    InstanceRefreshes: List[InstanceRefreshTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceRefreshTypeDef
  2. See ResponseMetadataTypeDef

PoliciesTypeTypeDef#

# PoliciesTypeTypeDef usage example

from mypy_boto3_autoscaling.type_defs import PoliciesTypeTypeDef

def get_value() -> PoliciesTypeTypeDef:
    return {
        "ScalingPolicies": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# PoliciesTypeTypeDef definition

class PoliciesTypeTypeDef(TypedDict):
    ScalingPolicies: List[ScalingPolicyTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ScalingPolicyTypeDef
  2. See ResponseMetadataTypeDef