Skip to content

Type definitions#

Index > AutoScaling > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef Union usage example

from mypy_boto3_autoscaling.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime.datetime,
    str,
]

RefreshPreferencesUnionTypeDef#

# RefreshPreferencesUnionTypeDef Union usage example

from mypy_boto3_autoscaling.type_defs import RefreshPreferencesUnionTypeDef


def get_value() -> RefreshPreferencesUnionTypeDef:
    return ...


# RefreshPreferencesUnionTypeDef definition

RefreshPreferencesUnionTypeDef = Union[
    RefreshPreferencesTypeDef,  # (1)
    RefreshPreferencesOutputTypeDef,  # (2)
]
  1. See RefreshPreferencesTypeDef
  2. See RefreshPreferencesOutputTypeDef

CapacityReservationSpecificationUnionTypeDef#

# CapacityReservationSpecificationUnionTypeDef Union usage example

from mypy_boto3_autoscaling.type_defs import CapacityReservationSpecificationUnionTypeDef


def get_value() -> CapacityReservationSpecificationUnionTypeDef:
    return ...


# CapacityReservationSpecificationUnionTypeDef definition

CapacityReservationSpecificationUnionTypeDef = Union[
    CapacityReservationSpecificationTypeDef,  # (1)
    CapacityReservationSpecificationOutputTypeDef,  # (2)
]
  1. See CapacityReservationSpecificationTypeDef
  2. See CapacityReservationSpecificationOutputTypeDef

TargetTrackingConfigurationUnionTypeDef#

# TargetTrackingConfigurationUnionTypeDef Union usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingConfigurationUnionTypeDef


def get_value() -> TargetTrackingConfigurationUnionTypeDef:
    return ...


# TargetTrackingConfigurationUnionTypeDef definition

TargetTrackingConfigurationUnionTypeDef = Union[
    TargetTrackingConfigurationTypeDef,  # (1)
    TargetTrackingConfigurationOutputTypeDef,  # (2)
]
  1. See TargetTrackingConfigurationTypeDef
  2. See TargetTrackingConfigurationOutputTypeDef

MixedInstancesPolicyUnionTypeDef#

# MixedInstancesPolicyUnionTypeDef Union usage example

from mypy_boto3_autoscaling.type_defs import MixedInstancesPolicyUnionTypeDef


def get_value() -> MixedInstancesPolicyUnionTypeDef:
    return ...


# MixedInstancesPolicyUnionTypeDef definition

MixedInstancesPolicyUnionTypeDef = Union[
    MixedInstancesPolicyTypeDef,  # (1)
    MixedInstancesPolicyOutputTypeDef,  # (2)
]
  1. See MixedInstancesPolicyTypeDef
  2. See MixedInstancesPolicyOutputTypeDef

PredictiveScalingConfigurationUnionTypeDef#

# PredictiveScalingConfigurationUnionTypeDef Union usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingConfigurationUnionTypeDef


def get_value() -> PredictiveScalingConfigurationUnionTypeDef:
    return ...


# PredictiveScalingConfigurationUnionTypeDef definition

PredictiveScalingConfigurationUnionTypeDef = Union[
    PredictiveScalingConfigurationTypeDef,  # (1)
    PredictiveScalingConfigurationOutputTypeDef,  # (2)
]
  1. See PredictiveScalingConfigurationTypeDef
  2. See PredictiveScalingConfigurationOutputTypeDef

DesiredConfigurationUnionTypeDef#

# DesiredConfigurationUnionTypeDef Union usage example

from mypy_boto3_autoscaling.type_defs import DesiredConfigurationUnionTypeDef


def get_value() -> DesiredConfigurationUnionTypeDef:
    return ...


# DesiredConfigurationUnionTypeDef definition

DesiredConfigurationUnionTypeDef = Union[
    DesiredConfigurationTypeDef,  # (1)
    DesiredConfigurationOutputTypeDef,  # (2)
]
  1. See DesiredConfigurationTypeDef
  2. See DesiredConfigurationOutputTypeDef

AcceleratorCountRequestTypeDef#

# AcceleratorCountRequestTypeDef TypedDict 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 TypedDict 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ActivityTypeDef


def get_value() -> ActivityTypeDef:
    return {
        "ActivityId": ...,
    }


# ActivityTypeDef definition

class ActivityTypeDef(TypedDict):
    ActivityId: str,
    AutoScalingGroupName: str,
    Cause: str,
    StartTime: datetime.datetime,
    StatusCode: ScalingActivityStatusCodeType,  # (1)
    Description: NotRequired[str],
    EndTime: NotRequired[datetime.datetime],
    StatusMessage: NotRequired[str],
    Progress: NotRequired[int],
    Details: NotRequired[str],
    AutoScalingGroupState: NotRequired[str],
    AutoScalingGroupARN: NotRequired[str],
  1. See ScalingActivityStatusCodeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

AdjustmentTypeTypeDef#

# AdjustmentTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AdjustmentTypeTypeDef


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


# AdjustmentTypeTypeDef definition

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

AlarmSpecificationOutputTypeDef#

# AlarmSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AlarmSpecificationOutputTypeDef


def get_value() -> AlarmSpecificationOutputTypeDef:
    return {
        "Alarms": ...,
    }


# AlarmSpecificationOutputTypeDef definition

class AlarmSpecificationOutputTypeDef(TypedDict):
    Alarms: NotRequired[List[str]],

AlarmSpecificationTypeDef#

# AlarmSpecificationTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AlarmSpecificationTypeDef


def get_value() -> AlarmSpecificationTypeDef:
    return {
        "Alarms": ...,
    }


# AlarmSpecificationTypeDef definition

class AlarmSpecificationTypeDef(TypedDict):
    Alarms: NotRequired[Sequence[str]],

AlarmTypeDef#

# AlarmTypeDef TypedDict 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],

AttachInstancesQueryTypeDef#

# AttachInstancesQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AttachInstancesQueryTypeDef


def get_value() -> AttachInstancesQueryTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# AttachInstancesQueryTypeDef definition

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

AttachLoadBalancerTargetGroupsTypeTypeDef#

# AttachLoadBalancerTargetGroupsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AttachLoadBalancerTargetGroupsTypeTypeDef


def get_value() -> AttachLoadBalancerTargetGroupsTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# AttachLoadBalancerTargetGroupsTypeTypeDef definition

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

AttachLoadBalancersTypeTypeDef#

# AttachLoadBalancersTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AttachLoadBalancersTypeTypeDef


def get_value() -> AttachLoadBalancersTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# AttachLoadBalancersTypeTypeDef definition

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

TrafficSourceIdentifierTypeDef#

# TrafficSourceIdentifierTypeDef TypedDict 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 TypedDict 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]],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict 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],

AvailabilityZoneDistributionTypeDef#

# AvailabilityZoneDistributionTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AvailabilityZoneDistributionTypeDef


def get_value() -> AvailabilityZoneDistributionTypeDef:
    return {
        "CapacityDistributionStrategy": ...,
    }


# AvailabilityZoneDistributionTypeDef definition

class AvailabilityZoneDistributionTypeDef(TypedDict):
    CapacityDistributionStrategy: NotRequired[CapacityDistributionStrategyType],  # (1)
  1. See CapacityDistributionStrategyType

AvailabilityZoneImpairmentPolicyTypeDef#

# AvailabilityZoneImpairmentPolicyTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AvailabilityZoneImpairmentPolicyTypeDef


def get_value() -> AvailabilityZoneImpairmentPolicyTypeDef:
    return {
        "ZonalShiftEnabled": ...,
    }


# AvailabilityZoneImpairmentPolicyTypeDef definition

class AvailabilityZoneImpairmentPolicyTypeDef(TypedDict):
    ZonalShiftEnabled: NotRequired[bool],
    ImpairedZoneHealthCheckBehavior: NotRequired[ImpairedZoneHealthCheckBehaviorType],  # (1)
  1. See ImpairedZoneHealthCheckBehaviorType

EnabledMetricTypeDef#

# EnabledMetricTypeDef TypedDict 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],

InstanceMaintenancePolicyTypeDef#

# InstanceMaintenancePolicyTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import InstanceMaintenancePolicyTypeDef


def get_value() -> InstanceMaintenancePolicyTypeDef:
    return {
        "MinHealthyPercentage": ...,
    }


# InstanceMaintenancePolicyTypeDef definition

class InstanceMaintenancePolicyTypeDef(TypedDict):
    MinHealthyPercentage: NotRequired[int],
    MaxHealthyPercentage: NotRequired[int],

LaunchTemplateSpecificationTypeDef#

# LaunchTemplateSpecificationTypeDef TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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],

BatchDeleteScheduledActionTypeTypeDef#

# BatchDeleteScheduledActionTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionTypeTypeDef


def get_value() -> BatchDeleteScheduledActionTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# BatchDeleteScheduledActionTypeTypeDef definition

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

EbsTypeDef#

# EbsTypeDef TypedDict 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],

CancelInstanceRefreshTypeTypeDef#

# CancelInstanceRefreshTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshTypeTypeDef


def get_value() -> CancelInstanceRefreshTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# CancelInstanceRefreshTypeTypeDef definition

class CancelInstanceRefreshTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,

CapacityForecastTypeDef#

# CapacityForecastTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CapacityForecastTypeDef


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


# CapacityForecastTypeDef definition

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

CapacityReservationTargetOutputTypeDef#

# CapacityReservationTargetOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CapacityReservationTargetOutputTypeDef


def get_value() -> CapacityReservationTargetOutputTypeDef:
    return {
        "CapacityReservationIds": ...,
    }


# CapacityReservationTargetOutputTypeDef definition

class CapacityReservationTargetOutputTypeDef(TypedDict):
    CapacityReservationIds: NotRequired[List[str]],
    CapacityReservationResourceGroupArns: NotRequired[List[str]],

CapacityReservationTargetTypeDef#

# CapacityReservationTargetTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CapacityReservationTargetTypeDef


def get_value() -> CapacityReservationTargetTypeDef:
    return {
        "CapacityReservationIds": ...,
    }


# CapacityReservationTargetTypeDef definition

class CapacityReservationTargetTypeDef(TypedDict):
    CapacityReservationIds: NotRequired[Sequence[str]],
    CapacityReservationResourceGroupArns: NotRequired[Sequence[str]],

CompleteLifecycleActionTypeTypeDef#

# CompleteLifecycleActionTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CompleteLifecycleActionTypeTypeDef


def get_value() -> CompleteLifecycleActionTypeTypeDef:
    return {
        "LifecycleHookName": ...,
    }


# CompleteLifecycleActionTypeTypeDef definition

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

PerformanceFactorReferenceRequestTypeDef#

# PerformanceFactorReferenceRequestTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PerformanceFactorReferenceRequestTypeDef


def get_value() -> PerformanceFactorReferenceRequestTypeDef:
    return {
        "InstanceFamily": ...,
    }


# PerformanceFactorReferenceRequestTypeDef definition

class PerformanceFactorReferenceRequestTypeDef(TypedDict):
    InstanceFamily: NotRequired[str],

LifecycleHookSpecificationTypeDef#

# LifecycleHookSpecificationTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LifecycleHookSpecificationTypeDef


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


# 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TagTypeDef


def get_value() -> TagTypeDef:
    return {
        "ResourceId": ...,
    }


# TagTypeDef definition

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

InstanceMetadataOptionsTypeDef#

# InstanceMetadataOptionsTypeDef TypedDict 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 TypedDict 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import MetricDimensionTypeDef


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


# MetricDimensionTypeDef definition

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

DeleteAutoScalingGroupTypeTypeDef#

# DeleteAutoScalingGroupTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DeleteAutoScalingGroupTypeTypeDef


def get_value() -> DeleteAutoScalingGroupTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DeleteAutoScalingGroupTypeTypeDef definition

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

DeleteLifecycleHookTypeTypeDef#

# DeleteLifecycleHookTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DeleteLifecycleHookTypeTypeDef


def get_value() -> DeleteLifecycleHookTypeTypeDef:
    return {
        "LifecycleHookName": ...,
    }


# DeleteLifecycleHookTypeTypeDef definition

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

DeleteNotificationConfigurationTypeTypeDef#

# DeleteNotificationConfigurationTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DeleteNotificationConfigurationTypeTypeDef


def get_value() -> DeleteNotificationConfigurationTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DeleteNotificationConfigurationTypeTypeDef definition

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

DeletePolicyTypeTypeDef#

# DeletePolicyTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DeletePolicyTypeTypeDef


def get_value() -> DeletePolicyTypeTypeDef:
    return {
        "PolicyName": ...,
    }


# DeletePolicyTypeTypeDef definition

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

DeleteScheduledActionTypeTypeDef#

# DeleteScheduledActionTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DeleteScheduledActionTypeTypeDef


def get_value() -> DeleteScheduledActionTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DeleteScheduledActionTypeTypeDef definition

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

DeleteWarmPoolTypeTypeDef#

# DeleteWarmPoolTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DeleteWarmPoolTypeTypeDef


def get_value() -> DeleteWarmPoolTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DeleteWarmPoolTypeTypeDef definition

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

DescribeAutoScalingInstancesTypeTypeDef#

# DescribeAutoScalingInstancesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeTypeDef


def get_value() -> DescribeAutoScalingInstancesTypeTypeDef:
    return {
        "InstanceIds": ...,
    }


# DescribeAutoScalingInstancesTypeTypeDef definition

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

DescribeInstanceRefreshesTypeTypeDef#

# DescribeInstanceRefreshesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesTypeTypeDef


def get_value() -> DescribeInstanceRefreshesTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeInstanceRefreshesTypeTypeDef definition

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

LifecycleHookTypeDef#

# LifecycleHookTypeDef TypedDict 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],

DescribeLifecycleHooksTypeTypeDef#

# DescribeLifecycleHooksTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksTypeTypeDef


def get_value() -> DescribeLifecycleHooksTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeLifecycleHooksTypeTypeDef definition

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

DescribeLoadBalancerTargetGroupsRequestTypeDef#

# DescribeLoadBalancerTargetGroupsRequestTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestTypeDef


def get_value() -> DescribeLoadBalancerTargetGroupsRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeLoadBalancerTargetGroupsRequestTypeDef definition

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

LoadBalancerTargetGroupStateTypeDef#

# LoadBalancerTargetGroupStateTypeDef TypedDict 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],

DescribeLoadBalancersRequestTypeDef#

# DescribeLoadBalancersRequestTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestTypeDef


def get_value() -> DescribeLoadBalancersRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeLoadBalancersRequestTypeDef definition

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

LoadBalancerStateTypeDef#

# LoadBalancerStateTypeDef TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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],

DescribeNotificationConfigurationsTypeTypeDef#

# DescribeNotificationConfigurationsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeTypeDef


def get_value() -> DescribeNotificationConfigurationsTypeTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }


# DescribeNotificationConfigurationsTypeTypeDef definition

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

DescribePoliciesTypeTypeDef#

# DescribePoliciesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeTypeDef


def get_value() -> DescribePoliciesTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribePoliciesTypeTypeDef definition

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

DescribeScalingActivitiesTypeTypeDef#

# DescribeScalingActivitiesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeTypeDef


def get_value() -> DescribeScalingActivitiesTypeTypeDef:
    return {
        "ActivityIds": ...,
    }


# DescribeScalingActivitiesTypeTypeDef definition

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

DescribeTrafficSourcesRequestTypeDef#

# DescribeTrafficSourcesRequestTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeTrafficSourcesRequestTypeDef


def get_value() -> DescribeTrafficSourcesRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeTrafficSourcesRequestTypeDef definition

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

TrafficSourceStateTypeDef#

# TrafficSourceStateTypeDef TypedDict 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],

DescribeWarmPoolTypeTypeDef#

# DescribeWarmPoolTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolTypeTypeDef


def get_value() -> DescribeWarmPoolTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeWarmPoolTypeTypeDef definition

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

DetachInstancesQueryTypeDef#

# DetachInstancesQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DetachInstancesQueryTypeDef


def get_value() -> DetachInstancesQueryTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DetachInstancesQueryTypeDef definition

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

DetachLoadBalancerTargetGroupsTypeTypeDef#

# DetachLoadBalancerTargetGroupsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DetachLoadBalancerTargetGroupsTypeTypeDef


def get_value() -> DetachLoadBalancerTargetGroupsTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DetachLoadBalancerTargetGroupsTypeTypeDef definition

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

DetachLoadBalancersTypeTypeDef#

# DetachLoadBalancersTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DetachLoadBalancersTypeTypeDef


def get_value() -> DetachLoadBalancersTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DetachLoadBalancersTypeTypeDef definition

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

DisableMetricsCollectionQueryTypeDef#

# DisableMetricsCollectionQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DisableMetricsCollectionQueryTypeDef


def get_value() -> DisableMetricsCollectionQueryTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DisableMetricsCollectionQueryTypeDef definition

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

EnableMetricsCollectionQueryTypeDef#

# EnableMetricsCollectionQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import EnableMetricsCollectionQueryTypeDef


def get_value() -> EnableMetricsCollectionQueryTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# EnableMetricsCollectionQueryTypeDef definition

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

EnterStandbyQueryTypeDef#

# EnterStandbyQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import EnterStandbyQueryTypeDef


def get_value() -> EnterStandbyQueryTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# EnterStandbyQueryTypeDef definition

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

ExecutePolicyTypeTypeDef#

# ExecutePolicyTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ExecutePolicyTypeTypeDef


def get_value() -> ExecutePolicyTypeTypeDef:
    return {
        "PolicyName": ...,
    }


# ExecutePolicyTypeTypeDef definition

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

ExitStandbyQueryTypeDef#

# ExitStandbyQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ExitStandbyQueryTypeDef


def get_value() -> ExitStandbyQueryTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# ExitStandbyQueryTypeDef definition

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

InstanceRefreshLivePoolProgressTypeDef#

# InstanceRefreshLivePoolProgressTypeDef TypedDict 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 TypedDict 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],

MemoryGiBPerVCpuRequestTypeDef#

# MemoryGiBPerVCpuRequestTypeDef TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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],

LaunchConfigurationNameTypeTypeDef#

# LaunchConfigurationNameTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNameTypeTypeDef


def get_value() -> LaunchConfigurationNameTypeTypeDef:
    return {
        "LaunchConfigurationName": ...,
    }


# LaunchConfigurationNameTypeTypeDef definition

class LaunchConfigurationNameTypeTypeDef(TypedDict):
    LaunchConfigurationName: str,

LaunchConfigurationNamesTypeTypeDef#

# LaunchConfigurationNamesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeTypeDef


def get_value() -> LaunchConfigurationNamesTypeTypeDef:
    return {
        "LaunchConfigurationNames": ...,
    }


# LaunchConfigurationNamesTypeTypeDef definition

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

PredefinedMetricSpecificationTypeDef#

# PredefinedMetricSpecificationTypeDef TypedDict 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 TypedDict 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 TypedDict 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 TypedDict 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ProcessTypeTypeDef


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


# ProcessTypeTypeDef definition

class ProcessTypeTypeDef(TypedDict):
    ProcessName: str,

PutLifecycleHookTypeTypeDef#

# PutLifecycleHookTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PutLifecycleHookTypeTypeDef


def get_value() -> PutLifecycleHookTypeTypeDef:
    return {
        "LifecycleHookName": ...,
    }


# PutLifecycleHookTypeTypeDef definition

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

PutNotificationConfigurationTypeTypeDef#

# PutNotificationConfigurationTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PutNotificationConfigurationTypeTypeDef


def get_value() -> PutNotificationConfigurationTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# PutNotificationConfigurationTypeTypeDef definition

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

StepAdjustmentTypeDef#

# StepAdjustmentTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import StepAdjustmentTypeDef


def get_value() -> StepAdjustmentTypeDef:
    return {
        "MetricIntervalLowerBound": ...,
    }


# StepAdjustmentTypeDef definition

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

RecordLifecycleActionHeartbeatTypeTypeDef#

# RecordLifecycleActionHeartbeatTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import RecordLifecycleActionHeartbeatTypeTypeDef


def get_value() -> RecordLifecycleActionHeartbeatTypeTypeDef:
    return {
        "LifecycleHookName": ...,
    }


# RecordLifecycleActionHeartbeatTypeTypeDef definition

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

RollbackInstanceRefreshTypeTypeDef#

# RollbackInstanceRefreshTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import RollbackInstanceRefreshTypeTypeDef


def get_value() -> RollbackInstanceRefreshTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# RollbackInstanceRefreshTypeTypeDef definition

class RollbackInstanceRefreshTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,

ScalingProcessQueryRequestTypeDef#

# ScalingProcessQueryRequestTypeDef TypedDict 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]],

ScalingProcessQueryTypeDef#

# ScalingProcessQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ScalingProcessQueryTypeDef


def get_value() -> ScalingProcessQueryTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# ScalingProcessQueryTypeDef definition

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

ScheduledUpdateGroupActionTypeDef#

# ScheduledUpdateGroupActionTypeDef TypedDict 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.datetime],
    StartTime: NotRequired[datetime.datetime],
    EndTime: NotRequired[datetime.datetime],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

SetDesiredCapacityTypeTypeDef#

# SetDesiredCapacityTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import SetDesiredCapacityTypeTypeDef


def get_value() -> SetDesiredCapacityTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# SetDesiredCapacityTypeTypeDef definition

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

SetInstanceHealthQueryTypeDef#

# SetInstanceHealthQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import SetInstanceHealthQueryTypeDef


def get_value() -> SetInstanceHealthQueryTypeDef:
    return {
        "InstanceId": ...,
    }


# SetInstanceHealthQueryTypeDef definition

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

SetInstanceProtectionQueryTypeDef#

# SetInstanceProtectionQueryTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import SetInstanceProtectionQueryTypeDef


def get_value() -> SetInstanceProtectionQueryTypeDef:
    return {
        "InstanceIds": ...,
    }


# SetInstanceProtectionQueryTypeDef definition

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

TerminateInstanceInAutoScalingGroupTypeTypeDef#

# TerminateInstanceInAutoScalingGroupTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TerminateInstanceInAutoScalingGroupTypeTypeDef


def get_value() -> TerminateInstanceInAutoScalingGroupTypeTypeDef:
    return {
        "InstanceId": ...,
    }


# TerminateInstanceInAutoScalingGroupTypeTypeDef definition

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

ActivitiesTypeTypeDef#

# ActivitiesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ActivitiesTypeTypeDef


def get_value() -> ActivitiesTypeTypeDef:
    return {
        "Activities": ...,
    }


# ActivitiesTypeTypeDef definition

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

ActivityTypeTypeDef#

# ActivityTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ActivityTypeTypeDef


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


# ActivityTypeTypeDef definition

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

CancelInstanceRefreshAnswerTypeDef#

# CancelInstanceRefreshAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshAnswerTypeDef


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


# CancelInstanceRefreshAnswerTypeDef definition

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

DescribeAccountLimitsAnswerTypeDef#

# DescribeAccountLimitsAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeAccountLimitsAnswerTypeDef


def get_value() -> DescribeAccountLimitsAnswerTypeDef:
    return {
        "MaxNumberOfAutoScalingGroups": ...,
    }


# DescribeAccountLimitsAnswerTypeDef definition

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

DescribeAutoScalingNotificationTypesAnswerTypeDef#

# DescribeAutoScalingNotificationTypesAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingNotificationTypesAnswerTypeDef


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


# DescribeAutoScalingNotificationTypesAnswerTypeDef definition

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

DescribeLifecycleHookTypesAnswerTypeDef#

# DescribeLifecycleHookTypesAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHookTypesAnswerTypeDef


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


# DescribeLifecycleHookTypesAnswerTypeDef definition

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

DescribeTerminationPolicyTypesAnswerTypeDef#

# DescribeTerminationPolicyTypesAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeTerminationPolicyTypesAnswerTypeDef


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


# DescribeTerminationPolicyTypesAnswerTypeDef definition

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

DetachInstancesAnswerTypeDef#

# DetachInstancesAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DetachInstancesAnswerTypeDef


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


# DetachInstancesAnswerTypeDef definition

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

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef TypedDict 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

EnterStandbyAnswerTypeDef#

# EnterStandbyAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import EnterStandbyAnswerTypeDef


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


# EnterStandbyAnswerTypeDef definition

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

ExitStandbyAnswerTypeDef#

# ExitStandbyAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ExitStandbyAnswerTypeDef


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


# ExitStandbyAnswerTypeDef definition

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

RollbackInstanceRefreshAnswerTypeDef#

# RollbackInstanceRefreshAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import RollbackInstanceRefreshAnswerTypeDef


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


# RollbackInstanceRefreshAnswerTypeDef definition

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

StartInstanceRefreshAnswerTypeDef#

# StartInstanceRefreshAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshAnswerTypeDef


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


# StartInstanceRefreshAnswerTypeDef definition

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

DescribeAdjustmentTypesAnswerTypeDef#

# DescribeAdjustmentTypesAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeAdjustmentTypesAnswerTypeDef


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


# DescribeAdjustmentTypesAnswerTypeDef definition

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

RefreshPreferencesOutputTypeDef#

# RefreshPreferencesOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import RefreshPreferencesOutputTypeDef


def get_value() -> RefreshPreferencesOutputTypeDef:
    return {
        "MinHealthyPercentage": ...,
    }


# RefreshPreferencesOutputTypeDef definition

class RefreshPreferencesOutputTypeDef(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)
    AlarmSpecification: NotRequired[AlarmSpecificationOutputTypeDef],  # (3)
    MaxHealthyPercentage: NotRequired[int],
    BakeTime: NotRequired[int],
  1. See ScaleInProtectedInstancesType
  2. See StandbyInstancesType
  3. See AlarmSpecificationOutputTypeDef

RefreshPreferencesTypeDef#

# RefreshPreferencesTypeDef TypedDict 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[Sequence[int]],
    CheckpointDelay: NotRequired[int],
    SkipMatching: NotRequired[bool],
    AutoRollback: NotRequired[bool],
    ScaleInProtectedInstances: NotRequired[ScaleInProtectedInstancesType],  # (1)
    StandbyInstances: NotRequired[StandbyInstancesType],  # (2)
    AlarmSpecification: NotRequired[AlarmSpecificationTypeDef],  # (3)
    MaxHealthyPercentage: NotRequired[int],
    BakeTime: NotRequired[int],
  1. See ScaleInProtectedInstancesType
  2. See StandbyInstancesType
  3. See AlarmSpecificationTypeDef

PolicyARNTypeTypeDef#

# PolicyARNTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PolicyARNTypeTypeDef


def get_value() -> PolicyARNTypeTypeDef:
    return {
        "PolicyARN": ...,
    }


# PolicyARNTypeTypeDef definition

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

AttachTrafficSourcesTypeTypeDef#

# AttachTrafficSourcesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AttachTrafficSourcesTypeTypeDef


def get_value() -> AttachTrafficSourcesTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# AttachTrafficSourcesTypeTypeDef definition

class AttachTrafficSourcesTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TrafficSources: Sequence[TrafficSourceIdentifierTypeDef],  # (1)
    SkipZonalShiftValidation: NotRequired[bool],
  1. See Sequence[TrafficSourceIdentifierTypeDef]

DetachTrafficSourcesTypeTypeDef#

# DetachTrafficSourcesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DetachTrafficSourcesTypeTypeDef


def get_value() -> DetachTrafficSourcesTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DetachTrafficSourcesTypeTypeDef definition

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

AutoScalingGroupNamesTypeTypeDef#

# AutoScalingGroupNamesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeTypeDef


def get_value() -> AutoScalingGroupNamesTypeTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }


# AutoScalingGroupNamesTypeTypeDef definition

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

DescribeTagsTypeTypeDef#

# DescribeTagsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeTypeDef


def get_value() -> DescribeTagsTypeTypeDef:
    return {
        "Filters": ...,
    }


# DescribeTagsTypeTypeDef definition

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

AutoScalingGroupNamesTypePaginateTypeDef#

# AutoScalingGroupNamesTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypePaginateTypeDef


def get_value() -> AutoScalingGroupNamesTypePaginateTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }


# AutoScalingGroupNamesTypePaginateTypeDef definition

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

DescribeAutoScalingInstancesTypePaginateTypeDef#

# DescribeAutoScalingInstancesTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypePaginateTypeDef


def get_value() -> DescribeAutoScalingInstancesTypePaginateTypeDef:
    return {
        "InstanceIds": ...,
    }


# DescribeAutoScalingInstancesTypePaginateTypeDef definition

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

DescribeLoadBalancerTargetGroupsRequestPaginateTypeDef#

# DescribeLoadBalancerTargetGroupsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestPaginateTypeDef


def get_value() -> DescribeLoadBalancerTargetGroupsRequestPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeLoadBalancerTargetGroupsRequestPaginateTypeDef definition

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

DescribeLoadBalancersRequestPaginateTypeDef#

# DescribeLoadBalancersRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestPaginateTypeDef


def get_value() -> DescribeLoadBalancersRequestPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeLoadBalancersRequestPaginateTypeDef definition

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

DescribeNotificationConfigurationsTypePaginateTypeDef#

# DescribeNotificationConfigurationsTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypePaginateTypeDef


def get_value() -> DescribeNotificationConfigurationsTypePaginateTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }


# DescribeNotificationConfigurationsTypePaginateTypeDef definition

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

DescribePoliciesTypePaginateTypeDef#

# DescribePoliciesTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypePaginateTypeDef


def get_value() -> DescribePoliciesTypePaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribePoliciesTypePaginateTypeDef definition

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

DescribeScalingActivitiesTypePaginateTypeDef#

# DescribeScalingActivitiesTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypePaginateTypeDef


def get_value() -> DescribeScalingActivitiesTypePaginateTypeDef:
    return {
        "ActivityIds": ...,
    }


# DescribeScalingActivitiesTypePaginateTypeDef definition

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

DescribeTagsTypePaginateTypeDef#

# DescribeTagsTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeTagsTypePaginateTypeDef


def get_value() -> DescribeTagsTypePaginateTypeDef:
    return {
        "Filters": ...,
    }


# DescribeTagsTypePaginateTypeDef definition

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

DescribeWarmPoolTypePaginateTypeDef#

# DescribeWarmPoolTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolTypePaginateTypeDef


def get_value() -> DescribeWarmPoolTypePaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeWarmPoolTypePaginateTypeDef definition

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

LaunchConfigurationNamesTypePaginateTypeDef#

# LaunchConfigurationNamesTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypePaginateTypeDef


def get_value() -> LaunchConfigurationNamesTypePaginateTypeDef:
    return {
        "LaunchConfigurationNames": ...,
    }


# LaunchConfigurationNamesTypePaginateTypeDef definition

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

AutoScalingInstanceDetailsTypeDef#

# AutoScalingInstanceDetailsTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingInstanceDetailsTypeDef


def get_value() -> AutoScalingInstanceDetailsTypeDef:
    return {
        "InstanceId": ...,
    }


# 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import InstanceTypeDef


def get_value() -> InstanceTypeDef:
    return {
        "InstanceId": ...,
    }


# 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TagsTypeTypeDef


def get_value() -> TagsTypeTypeDef:
    return {
        "Tags": ...,
    }


# TagsTypeTypeDef definition

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

BatchDeleteScheduledActionAnswerTypeDef#

# BatchDeleteScheduledActionAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionAnswerTypeDef


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


# BatchDeleteScheduledActionAnswerTypeDef definition

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

BatchPutScheduledUpdateGroupActionAnswerTypeDef#

# BatchPutScheduledUpdateGroupActionAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionAnswerTypeDef


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


# BatchPutScheduledUpdateGroupActionAnswerTypeDef definition

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

BlockDeviceMappingTypeDef#

# BlockDeviceMappingTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import BlockDeviceMappingTypeDef


def get_value() -> BlockDeviceMappingTypeDef:
    return {
        "VirtualName": ...,
    }


# BlockDeviceMappingTypeDef definition

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

CapacityReservationSpecificationOutputTypeDef#

# CapacityReservationSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CapacityReservationSpecificationOutputTypeDef


def get_value() -> CapacityReservationSpecificationOutputTypeDef:
    return {
        "CapacityReservationPreference": ...,
    }


# CapacityReservationSpecificationOutputTypeDef definition

class CapacityReservationSpecificationOutputTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetOutputTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetOutputTypeDef

CapacityReservationSpecificationTypeDef#

# CapacityReservationSpecificationTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CapacityReservationSpecificationTypeDef


def get_value() -> CapacityReservationSpecificationTypeDef:
    return {
        "CapacityReservationPreference": ...,
    }


# CapacityReservationSpecificationTypeDef definition

class CapacityReservationSpecificationTypeDef(TypedDict):
    CapacityReservationPreference: NotRequired[CapacityReservationPreferenceType],  # (1)
    CapacityReservationTarget: NotRequired[CapacityReservationTargetTypeDef],  # (2)
  1. See CapacityReservationPreferenceType
  2. See CapacityReservationTargetTypeDef

CpuPerformanceFactorRequestOutputTypeDef#

# CpuPerformanceFactorRequestOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CpuPerformanceFactorRequestOutputTypeDef


def get_value() -> CpuPerformanceFactorRequestOutputTypeDef:
    return {
        "References": ...,
    }


# CpuPerformanceFactorRequestOutputTypeDef definition

class CpuPerformanceFactorRequestOutputTypeDef(TypedDict):
    References: NotRequired[List[PerformanceFactorReferenceRequestTypeDef]],  # (1)
  1. See List[PerformanceFactorReferenceRequestTypeDef]

CpuPerformanceFactorRequestTypeDef#

# CpuPerformanceFactorRequestTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CpuPerformanceFactorRequestTypeDef


def get_value() -> CpuPerformanceFactorRequestTypeDef:
    return {
        "References": ...,
    }


# CpuPerformanceFactorRequestTypeDef definition

class CpuPerformanceFactorRequestTypeDef(TypedDict):
    References: NotRequired[Sequence[PerformanceFactorReferenceRequestTypeDef]],  # (1)
  1. See Sequence[PerformanceFactorReferenceRequestTypeDef]

CreateOrUpdateTagsTypeTypeDef#

# CreateOrUpdateTagsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CreateOrUpdateTagsTypeTypeDef


def get_value() -> CreateOrUpdateTagsTypeTypeDef:
    return {
        "Tags": ...,
    }


# CreateOrUpdateTagsTypeTypeDef definition

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

DeleteTagsTypeTypeDef#

# DeleteTagsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DeleteTagsTypeTypeDef


def get_value() -> DeleteTagsTypeTypeDef:
    return {
        "Tags": ...,
    }


# DeleteTagsTypeTypeDef definition

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

MetricOutputTypeDef#

# MetricOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import MetricOutputTypeDef


def get_value() -> MetricOutputTypeDef:
    return {
        "Namespace": ...,
    }


# MetricOutputTypeDef definition

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

MetricTypeDef#

# MetricTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import MetricTypeDef


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


# MetricTypeDef definition

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

DescribeLifecycleHooksAnswerTypeDef#

# DescribeLifecycleHooksAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksAnswerTypeDef


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


# DescribeLifecycleHooksAnswerTypeDef definition

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

DescribeLoadBalancerTargetGroupsResponseTypeDef#

# DescribeLoadBalancerTargetGroupsResponseTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsResponseTypeDef


def get_value() -> DescribeLoadBalancerTargetGroupsResponseTypeDef:
    return {
        "LoadBalancerTargetGroups": ...,
    }


# DescribeLoadBalancerTargetGroupsResponseTypeDef definition

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

DescribeLoadBalancersResponseTypeDef#

# DescribeLoadBalancersResponseTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersResponseTypeDef


def get_value() -> DescribeLoadBalancersResponseTypeDef:
    return {
        "LoadBalancers": ...,
    }


# DescribeLoadBalancersResponseTypeDef definition

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

DescribeMetricCollectionTypesAnswerTypeDef#

# DescribeMetricCollectionTypesAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeMetricCollectionTypesAnswerTypeDef


def get_value() -> DescribeMetricCollectionTypesAnswerTypeDef:
    return {
        "Metrics": ...,
    }


# DescribeMetricCollectionTypesAnswerTypeDef definition

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

DescribeNotificationConfigurationsAnswerTypeDef#

# DescribeNotificationConfigurationsAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsAnswerTypeDef


def get_value() -> DescribeNotificationConfigurationsAnswerTypeDef:
    return {
        "NotificationConfigurations": ...,
    }


# DescribeNotificationConfigurationsAnswerTypeDef definition

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

DescribeScheduledActionsTypePaginateTypeDef#

# DescribeScheduledActionsTypePaginateTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypePaginateTypeDef


def get_value() -> DescribeScheduledActionsTypePaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeScheduledActionsTypePaginateTypeDef definition

class DescribeScheduledActionsTypePaginateTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionNames: NotRequired[Sequence[str]],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeScheduledActionsTypeTypeDef#

# DescribeScheduledActionsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeTypeDef


def get_value() -> DescribeScheduledActionsTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# DescribeScheduledActionsTypeTypeDef definition

class DescribeScheduledActionsTypeTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionNames: NotRequired[Sequence[str]],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

GetPredictiveScalingForecastTypeTypeDef#

# GetPredictiveScalingForecastTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastTypeTypeDef


def get_value() -> GetPredictiveScalingForecastTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# GetPredictiveScalingForecastTypeTypeDef definition

class GetPredictiveScalingForecastTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PolicyName: str,
    StartTime: TimestampTypeDef,
    EndTime: TimestampTypeDef,

PutScheduledUpdateGroupActionTypeTypeDef#

# PutScheduledUpdateGroupActionTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PutScheduledUpdateGroupActionTypeTypeDef


def get_value() -> PutScheduledUpdateGroupActionTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# PutScheduledUpdateGroupActionTypeTypeDef definition

class PutScheduledUpdateGroupActionTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionName: str,
    Time: NotRequired[TimestampTypeDef],
    StartTime: NotRequired[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

ScheduledUpdateGroupActionRequestTypeDef#

# ScheduledUpdateGroupActionRequestTypeDef TypedDict 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[TimestampTypeDef],
    EndTime: NotRequired[TimestampTypeDef],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

DescribeTrafficSourcesResponseTypeDef#

# DescribeTrafficSourcesResponseTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeTrafficSourcesResponseTypeDef


def get_value() -> DescribeTrafficSourcesResponseTypeDef:
    return {
        "TrafficSources": ...,
    }


# DescribeTrafficSourcesResponseTypeDef definition

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

InstanceRefreshProgressDetailsTypeDef#

# InstanceRefreshProgressDetailsTypeDef TypedDict 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

PutWarmPoolTypeTypeDef#

# PutWarmPoolTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PutWarmPoolTypeTypeDef


def get_value() -> PutWarmPoolTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# PutWarmPoolTypeTypeDef definition

class PutWarmPoolTypeTypeDef(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 TypedDict 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ProcessesTypeTypeDef


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


# ProcessesTypeTypeDef definition

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

ScheduledActionsTypeTypeDef#

# ScheduledActionsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import ScheduledActionsTypeTypeDef


def get_value() -> ScheduledActionsTypeTypeDef:
    return {
        "ScheduledUpdateGroupActions": ...,
    }


# ScheduledActionsTypeTypeDef definition

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

AutoScalingInstancesTypeTypeDef#

# AutoScalingInstancesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingInstancesTypeTypeDef


def get_value() -> AutoScalingInstancesTypeTypeDef:
    return {
        "AutoScalingInstances": ...,
    }


# AutoScalingInstancesTypeTypeDef definition

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

CreateLaunchConfigurationTypeTypeDef#

# CreateLaunchConfigurationTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CreateLaunchConfigurationTypeTypeDef


def get_value() -> CreateLaunchConfigurationTypeTypeDef:
    return {
        "LaunchConfigurationName": ...,
    }


# CreateLaunchConfigurationTypeTypeDef definition

class CreateLaunchConfigurationTypeTypeDef(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 Sequence[BlockDeviceMappingTypeDef]
  2. See InstanceMonitoringTypeDef
  3. See InstanceMetadataOptionsTypeDef

LaunchConfigurationTypeDef#

# LaunchConfigurationTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationTypeDef


def get_value() -> LaunchConfigurationTypeDef:
    return {
        "LaunchConfigurationName": ...,
    }


# LaunchConfigurationTypeDef definition

class LaunchConfigurationTypeDef(TypedDict):
    LaunchConfigurationName: str,
    ImageId: str,
    InstanceType: str,
    CreatedTime: datetime.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 List[BlockDeviceMappingTypeDef]
  2. See InstanceMonitoringTypeDef
  3. See InstanceMetadataOptionsTypeDef

BaselinePerformanceFactorsRequestOutputTypeDef#

# BaselinePerformanceFactorsRequestOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import BaselinePerformanceFactorsRequestOutputTypeDef


def get_value() -> BaselinePerformanceFactorsRequestOutputTypeDef:
    return {
        "Cpu": ...,
    }


# BaselinePerformanceFactorsRequestOutputTypeDef definition

class BaselinePerformanceFactorsRequestOutputTypeDef(TypedDict):
    Cpu: NotRequired[CpuPerformanceFactorRequestOutputTypeDef],  # (1)
  1. See CpuPerformanceFactorRequestOutputTypeDef

BaselinePerformanceFactorsRequestTypeDef#

# BaselinePerformanceFactorsRequestTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import BaselinePerformanceFactorsRequestTypeDef


def get_value() -> BaselinePerformanceFactorsRequestTypeDef:
    return {
        "Cpu": ...,
    }


# BaselinePerformanceFactorsRequestTypeDef definition

class BaselinePerformanceFactorsRequestTypeDef(TypedDict):
    Cpu: NotRequired[CpuPerformanceFactorRequestTypeDef],  # (1)
  1. See CpuPerformanceFactorRequestTypeDef

MetricStatOutputTypeDef#

# MetricStatOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import MetricStatOutputTypeDef


def get_value() -> MetricStatOutputTypeDef:
    return {
        "Metric": ...,
    }


# MetricStatOutputTypeDef definition

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

TargetTrackingMetricStatOutputTypeDef#

# TargetTrackingMetricStatOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingMetricStatOutputTypeDef


def get_value() -> TargetTrackingMetricStatOutputTypeDef:
    return {
        "Metric": ...,
    }


# TargetTrackingMetricStatOutputTypeDef definition

class TargetTrackingMetricStatOutputTypeDef(TypedDict):
    Metric: MetricOutputTypeDef,  # (1)
    Stat: str,
    Unit: NotRequired[str],
    Period: NotRequired[int],
  1. See MetricOutputTypeDef

MetricStatTypeDef#

# MetricStatTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import MetricStatTypeDef


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


# MetricStatTypeDef definition

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

TargetTrackingMetricStatTypeDef#

# TargetTrackingMetricStatTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingMetricStatTypeDef


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


# TargetTrackingMetricStatTypeDef definition

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

BatchPutScheduledUpdateGroupActionTypeTypeDef#

# BatchPutScheduledUpdateGroupActionTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionTypeTypeDef


def get_value() -> BatchPutScheduledUpdateGroupActionTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# BatchPutScheduledUpdateGroupActionTypeTypeDef definition

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

RollbackDetailsTypeDef#

# RollbackDetailsTypeDef TypedDict 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.datetime],
    PercentageCompleteOnRollback: NotRequired[int],
    InstancesToUpdateOnRollback: NotRequired[int],
    ProgressDetailsOnRollback: NotRequired[InstanceRefreshProgressDetailsTypeDef],  # (1)
  1. See InstanceRefreshProgressDetailsTypeDef

DescribeWarmPoolAnswerTypeDef#

# DescribeWarmPoolAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolAnswerTypeDef


def get_value() -> DescribeWarmPoolAnswerTypeDef:
    return {
        "WarmPoolConfiguration": ...,
    }


# DescribeWarmPoolAnswerTypeDef definition

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

LaunchConfigurationsTypeTypeDef#

# LaunchConfigurationsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LaunchConfigurationsTypeTypeDef


def get_value() -> LaunchConfigurationsTypeTypeDef:
    return {
        "LaunchConfigurations": ...,
    }


# LaunchConfigurationsTypeTypeDef definition

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

InstanceRequirementsOutputTypeDef#

# InstanceRequirementsOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import InstanceRequirementsOutputTypeDef


def get_value() -> InstanceRequirementsOutputTypeDef:
    return {
        "VCpuCount": ...,
    }


# InstanceRequirementsOutputTypeDef definition

class InstanceRequirementsOutputTypeDef(TypedDict):
    VCpuCount: VCpuCountRequestTypeDef,  # (1)
    MemoryMiB: MemoryMiBRequestTypeDef,  # (2)
    CpuManufacturers: NotRequired[List[CpuManufacturerType]],  # (3)
    MemoryGiBPerVCpu: NotRequired[MemoryGiBPerVCpuRequestTypeDef],  # (4)
    ExcludedInstanceTypes: NotRequired[List[str]],
    InstanceGenerations: NotRequired[List[InstanceGenerationType]],  # (5)
    SpotMaxPricePercentageOverLowestPrice: NotRequired[int],
    MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: 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[List[LocalStorageTypeType]],  # (10)
    TotalLocalStorageGB: NotRequired[TotalLocalStorageGBRequestTypeDef],  # (11)
    BaselineEbsBandwidthMbps: NotRequired[BaselineEbsBandwidthMbpsRequestTypeDef],  # (12)
    AcceleratorTypes: NotRequired[List[AcceleratorTypeType]],  # (13)
    AcceleratorCount: NotRequired[AcceleratorCountRequestTypeDef],  # (14)
    AcceleratorManufacturers: NotRequired[List[AcceleratorManufacturerType]],  # (15)
    AcceleratorNames: NotRequired[List[AcceleratorNameType]],  # (16)
    AcceleratorTotalMemoryMiB: NotRequired[AcceleratorTotalMemoryMiBRequestTypeDef],  # (17)
    NetworkBandwidthGbps: NotRequired[NetworkBandwidthGbpsRequestTypeDef],  # (18)
    AllowedInstanceTypes: NotRequired[List[str]],
    BaselinePerformanceFactors: NotRequired[BaselinePerformanceFactorsRequestOutputTypeDef],  # (19)
  1. See VCpuCountRequestTypeDef
  2. See MemoryMiBRequestTypeDef
  3. See List[CpuManufacturerType]
  4. See MemoryGiBPerVCpuRequestTypeDef
  5. See List[InstanceGenerationType]
  6. See BareMetalType
  7. See BurstablePerformanceType
  8. See NetworkInterfaceCountRequestTypeDef
  9. See LocalStorageType
  10. See List[LocalStorageTypeType]
  11. See TotalLocalStorageGBRequestTypeDef
  12. See BaselineEbsBandwidthMbpsRequestTypeDef
  13. See List[AcceleratorTypeType]
  14. See AcceleratorCountRequestTypeDef
  15. See List[AcceleratorManufacturerType]
  16. See List[AcceleratorNameType]
  17. See AcceleratorTotalMemoryMiBRequestTypeDef
  18. See NetworkBandwidthGbpsRequestTypeDef
  19. See BaselinePerformanceFactorsRequestOutputTypeDef

InstanceRequirementsTypeDef#

# InstanceRequirementsTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import InstanceRequirementsTypeDef


def get_value() -> InstanceRequirementsTypeDef:
    return {
        "VCpuCount": ...,
    }


# 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],
    MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: 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]],
    BaselinePerformanceFactors: NotRequired[BaselinePerformanceFactorsRequestTypeDef],  # (19)
  1. See VCpuCountRequestTypeDef
  2. See MemoryMiBRequestTypeDef
  3. See Sequence[CpuManufacturerType]
  4. See MemoryGiBPerVCpuRequestTypeDef
  5. See Sequence[InstanceGenerationType]
  6. See BareMetalType
  7. See BurstablePerformanceType
  8. See NetworkInterfaceCountRequestTypeDef
  9. See LocalStorageType
  10. See Sequence[LocalStorageTypeType]
  11. See TotalLocalStorageGBRequestTypeDef
  12. See BaselineEbsBandwidthMbpsRequestTypeDef
  13. See Sequence[AcceleratorTypeType]
  14. See AcceleratorCountRequestTypeDef
  15. See Sequence[AcceleratorManufacturerType]
  16. See Sequence[AcceleratorNameType]
  17. See AcceleratorTotalMemoryMiBRequestTypeDef
  18. See NetworkBandwidthGbpsRequestTypeDef
  19. See BaselinePerformanceFactorsRequestTypeDef

MetricDataQueryOutputTypeDef#

# MetricDataQueryOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import MetricDataQueryOutputTypeDef


def get_value() -> MetricDataQueryOutputTypeDef:
    return {
        "Id": ...,
    }


# MetricDataQueryOutputTypeDef definition

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

TargetTrackingMetricDataQueryOutputTypeDef#

# TargetTrackingMetricDataQueryOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingMetricDataQueryOutputTypeDef


def get_value() -> TargetTrackingMetricDataQueryOutputTypeDef:
    return {
        "Id": ...,
    }


# TargetTrackingMetricDataQueryOutputTypeDef definition

class TargetTrackingMetricDataQueryOutputTypeDef(TypedDict):
    Id: str,
    Expression: NotRequired[str],
    MetricStat: NotRequired[TargetTrackingMetricStatOutputTypeDef],  # (1)
    Label: NotRequired[str],
    Period: NotRequired[int],
    ReturnData: NotRequired[bool],
  1. See TargetTrackingMetricStatOutputTypeDef

MetricDataQueryTypeDef#

# MetricDataQueryTypeDef TypedDict 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 TypedDict 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],
    Period: NotRequired[int],
    ReturnData: NotRequired[bool],
  1. See TargetTrackingMetricStatTypeDef

LaunchTemplateOverridesOutputTypeDef#

# LaunchTemplateOverridesOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LaunchTemplateOverridesOutputTypeDef


def get_value() -> LaunchTemplateOverridesOutputTypeDef:
    return {
        "InstanceType": ...,
    }


# LaunchTemplateOverridesOutputTypeDef definition

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

LaunchTemplateOverridesTypeDef#

# LaunchTemplateOverridesTypeDef TypedDict 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

PredictiveScalingCustomizedCapacityMetricOutputTypeDef#

# PredictiveScalingCustomizedCapacityMetricOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedCapacityMetricOutputTypeDef


def get_value() -> PredictiveScalingCustomizedCapacityMetricOutputTypeDef:
    return {
        "MetricDataQueries": ...,
    }


# PredictiveScalingCustomizedCapacityMetricOutputTypeDef definition

class PredictiveScalingCustomizedCapacityMetricOutputTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryOutputTypeDef],  # (1)
  1. See List[MetricDataQueryOutputTypeDef]

PredictiveScalingCustomizedLoadMetricOutputTypeDef#

# PredictiveScalingCustomizedLoadMetricOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedLoadMetricOutputTypeDef


def get_value() -> PredictiveScalingCustomizedLoadMetricOutputTypeDef:
    return {
        "MetricDataQueries": ...,
    }


# PredictiveScalingCustomizedLoadMetricOutputTypeDef definition

class PredictiveScalingCustomizedLoadMetricOutputTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryOutputTypeDef],  # (1)
  1. See List[MetricDataQueryOutputTypeDef]

PredictiveScalingCustomizedScalingMetricOutputTypeDef#

# PredictiveScalingCustomizedScalingMetricOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedScalingMetricOutputTypeDef


def get_value() -> PredictiveScalingCustomizedScalingMetricOutputTypeDef:
    return {
        "MetricDataQueries": ...,
    }


# PredictiveScalingCustomizedScalingMetricOutputTypeDef definition

class PredictiveScalingCustomizedScalingMetricOutputTypeDef(TypedDict):
    MetricDataQueries: List[MetricDataQueryOutputTypeDef],  # (1)
  1. See List[MetricDataQueryOutputTypeDef]

CustomizedMetricSpecificationOutputTypeDef#

# CustomizedMetricSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CustomizedMetricSpecificationOutputTypeDef


def get_value() -> CustomizedMetricSpecificationOutputTypeDef:
    return {
        "MetricName": ...,
    }


# CustomizedMetricSpecificationOutputTypeDef definition

class CustomizedMetricSpecificationOutputTypeDef(TypedDict):
    MetricName: NotRequired[str],
    Namespace: NotRequired[str],
    Dimensions: NotRequired[List[MetricDimensionTypeDef]],  # (1)
    Statistic: NotRequired[MetricStatisticType],  # (2)
    Unit: NotRequired[str],
    Period: NotRequired[int],
    Metrics: NotRequired[List[TargetTrackingMetricDataQueryOutputTypeDef]],  # (3)
  1. See List[MetricDimensionTypeDef]
  2. See MetricStatisticType
  3. See List[TargetTrackingMetricDataQueryOutputTypeDef]

PredictiveScalingCustomizedCapacityMetricTypeDef#

# PredictiveScalingCustomizedCapacityMetricTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedCapacityMetricTypeDef


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


# PredictiveScalingCustomizedCapacityMetricTypeDef definition

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

PredictiveScalingCustomizedLoadMetricTypeDef#

# PredictiveScalingCustomizedLoadMetricTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedLoadMetricTypeDef


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


# PredictiveScalingCustomizedLoadMetricTypeDef definition

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

PredictiveScalingCustomizedScalingMetricTypeDef#

# PredictiveScalingCustomizedScalingMetricTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingCustomizedScalingMetricTypeDef


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


# PredictiveScalingCustomizedScalingMetricTypeDef definition

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

CustomizedMetricSpecificationTypeDef#

# CustomizedMetricSpecificationTypeDef TypedDict 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[Sequence[MetricDimensionTypeDef]],  # (1)
    Statistic: NotRequired[MetricStatisticType],  # (2)
    Unit: NotRequired[str],
    Period: NotRequired[int],
    Metrics: NotRequired[Sequence[TargetTrackingMetricDataQueryTypeDef]],  # (3)
  1. See Sequence[MetricDimensionTypeDef]
  2. See MetricStatisticType
  3. See Sequence[TargetTrackingMetricDataQueryTypeDef]

LaunchTemplateOutputTypeDef#

# LaunchTemplateOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LaunchTemplateOutputTypeDef


def get_value() -> LaunchTemplateOutputTypeDef:
    return {
        "LaunchTemplateSpecification": ...,
    }


# LaunchTemplateOutputTypeDef definition

class LaunchTemplateOutputTypeDef(TypedDict):
    LaunchTemplateSpecification: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    Overrides: NotRequired[List[LaunchTemplateOverridesOutputTypeDef]],  # (2)
  1. See LaunchTemplateSpecificationTypeDef
  2. See List[LaunchTemplateOverridesOutputTypeDef]

LaunchTemplateTypeDef#

# LaunchTemplateTypeDef TypedDict 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 Sequence[LaunchTemplateOverridesTypeDef]

PredictiveScalingMetricSpecificationOutputTypeDef#

# PredictiveScalingMetricSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingMetricSpecificationOutputTypeDef


def get_value() -> PredictiveScalingMetricSpecificationOutputTypeDef:
    return {
        "TargetValue": ...,
    }


# PredictiveScalingMetricSpecificationOutputTypeDef definition

class PredictiveScalingMetricSpecificationOutputTypeDef(TypedDict):
    TargetValue: float,
    PredefinedMetricPairSpecification: NotRequired[PredictiveScalingPredefinedMetricPairTypeDef],  # (1)
    PredefinedScalingMetricSpecification: NotRequired[PredictiveScalingPredefinedScalingMetricTypeDef],  # (2)
    PredefinedLoadMetricSpecification: NotRequired[PredictiveScalingPredefinedLoadMetricTypeDef],  # (3)
    CustomizedScalingMetricSpecification: NotRequired[PredictiveScalingCustomizedScalingMetricOutputTypeDef],  # (4)
    CustomizedLoadMetricSpecification: NotRequired[PredictiveScalingCustomizedLoadMetricOutputTypeDef],  # (5)
    CustomizedCapacityMetricSpecification: NotRequired[PredictiveScalingCustomizedCapacityMetricOutputTypeDef],  # (6)
  1. See PredictiveScalingPredefinedMetricPairTypeDef
  2. See PredictiveScalingPredefinedScalingMetricTypeDef
  3. See PredictiveScalingPredefinedLoadMetricTypeDef
  4. See PredictiveScalingCustomizedScalingMetricOutputTypeDef
  5. See PredictiveScalingCustomizedLoadMetricOutputTypeDef
  6. See PredictiveScalingCustomizedCapacityMetricOutputTypeDef

TargetTrackingConfigurationOutputTypeDef#

# TargetTrackingConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingConfigurationOutputTypeDef


def get_value() -> TargetTrackingConfigurationOutputTypeDef:
    return {
        "PredefinedMetricSpecification": ...,
    }


# TargetTrackingConfigurationOutputTypeDef definition

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

PredictiveScalingMetricSpecificationTypeDef#

# PredictiveScalingMetricSpecificationTypeDef TypedDict 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 TypedDict usage example

from mypy_boto3_autoscaling.type_defs import TargetTrackingConfigurationTypeDef


def get_value() -> TargetTrackingConfigurationTypeDef:
    return {
        "PredefinedMetricSpecification": ...,
    }


# TargetTrackingConfigurationTypeDef definition

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

MixedInstancesPolicyOutputTypeDef#

# MixedInstancesPolicyOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import MixedInstancesPolicyOutputTypeDef


def get_value() -> MixedInstancesPolicyOutputTypeDef:
    return {
        "LaunchTemplate": ...,
    }


# MixedInstancesPolicyOutputTypeDef definition

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

MixedInstancesPolicyTypeDef#

# MixedInstancesPolicyTypeDef TypedDict 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

LoadForecastTypeDef#

# LoadForecastTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import LoadForecastTypeDef


def get_value() -> LoadForecastTypeDef:
    return {
        "Timestamps": ...,
    }


# LoadForecastTypeDef definition

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

PredictiveScalingConfigurationOutputTypeDef#

# PredictiveScalingConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingConfigurationOutputTypeDef


def get_value() -> PredictiveScalingConfigurationOutputTypeDef:
    return {
        "MetricSpecifications": ...,
    }


# PredictiveScalingConfigurationOutputTypeDef definition

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

PredictiveScalingConfigurationTypeDef#

# PredictiveScalingConfigurationTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PredictiveScalingConfigurationTypeDef


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


# PredictiveScalingConfigurationTypeDef definition

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

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupTypeDef


def get_value() -> AutoScalingGroupTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# AutoScalingGroupTypeDef definition

class AutoScalingGroupTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MinSize: int,
    MaxSize: int,
    DesiredCapacity: int,
    DefaultCooldown: int,
    AvailabilityZones: List[str],
    HealthCheckType: str,
    CreatedTime: datetime.datetime,
    AutoScalingGroupARN: NotRequired[str],
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyOutputTypeDef],  # (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)
    InstanceMaintenancePolicy: NotRequired[InstanceMaintenancePolicyTypeDef],  # (9)
    AvailabilityZoneDistribution: NotRequired[AvailabilityZoneDistributionTypeDef],  # (10)
    AvailabilityZoneImpairmentPolicy: NotRequired[AvailabilityZoneImpairmentPolicyTypeDef],  # (11)
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationOutputTypeDef],  # (12)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyOutputTypeDef
  3. See List[InstanceTypeDef]
  4. See List[SuspendedProcessTypeDef]
  5. See List[EnabledMetricTypeDef]
  6. See List[TagDescriptionTypeDef]
  7. See WarmPoolConfigurationTypeDef
  8. See List[TrafficSourceIdentifierTypeDef]
  9. See InstanceMaintenancePolicyTypeDef
  10. See AvailabilityZoneDistributionTypeDef
  11. See AvailabilityZoneImpairmentPolicyTypeDef
  12. See CapacityReservationSpecificationOutputTypeDef

DesiredConfigurationOutputTypeDef#

# DesiredConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DesiredConfigurationOutputTypeDef


def get_value() -> DesiredConfigurationOutputTypeDef:
    return {
        "LaunchTemplate": ...,
    }


# DesiredConfigurationOutputTypeDef definition

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

DesiredConfigurationTypeDef#

# DesiredConfigurationTypeDef TypedDict 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

GetPredictiveScalingForecastAnswerTypeDef#

# GetPredictiveScalingForecastAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastAnswerTypeDef


def get_value() -> GetPredictiveScalingForecastAnswerTypeDef:
    return {
        "LoadForecast": ...,
    }


# GetPredictiveScalingForecastAnswerTypeDef definition

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

ScalingPolicyTypeDef#

# ScalingPolicyTypeDef TypedDict 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[TargetTrackingConfigurationOutputTypeDef],  # (3)
    Enabled: NotRequired[bool],
    PredictiveScalingConfiguration: NotRequired[PredictiveScalingConfigurationOutputTypeDef],  # (4)
  1. See List[StepAdjustmentTypeDef]
  2. See List[AlarmTypeDef]
  3. See TargetTrackingConfigurationOutputTypeDef
  4. See PredictiveScalingConfigurationOutputTypeDef

AutoScalingGroupsTypeTypeDef#

# AutoScalingGroupsTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import AutoScalingGroupsTypeTypeDef


def get_value() -> AutoScalingGroupsTypeTypeDef:
    return {
        "AutoScalingGroups": ...,
    }


# AutoScalingGroupsTypeTypeDef definition

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

InstanceRefreshTypeDef#

# InstanceRefreshTypeDef TypedDict 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.datetime],
    EndTime: NotRequired[datetime.datetime],
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],
    ProgressDetails: NotRequired[InstanceRefreshProgressDetailsTypeDef],  # (2)
    Preferences: NotRequired[RefreshPreferencesOutputTypeDef],  # (3)
    DesiredConfiguration: NotRequired[DesiredConfigurationOutputTypeDef],  # (4)
    RollbackDetails: NotRequired[RollbackDetailsTypeDef],  # (5)
  1. See InstanceRefreshStatusType
  2. See InstanceRefreshProgressDetailsTypeDef
  3. See RefreshPreferencesOutputTypeDef
  4. See DesiredConfigurationOutputTypeDef
  5. See RollbackDetailsTypeDef

CreateAutoScalingGroupTypeTypeDef#

# CreateAutoScalingGroupTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import CreateAutoScalingGroupTypeTypeDef


def get_value() -> CreateAutoScalingGroupTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# CreateAutoScalingGroupTypeTypeDef definition

class CreateAutoScalingGroupTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MinSize: int,
    MaxSize: int,
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyUnionTypeDef],  # (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)
    InstanceMaintenancePolicy: NotRequired[InstanceMaintenancePolicyTypeDef],  # (6)
    AvailabilityZoneDistribution: NotRequired[AvailabilityZoneDistributionTypeDef],  # (7)
    AvailabilityZoneImpairmentPolicy: NotRequired[AvailabilityZoneImpairmentPolicyTypeDef],  # (8)
    SkipZonalShiftValidation: NotRequired[bool],
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationUnionTypeDef],  # (9)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyUnionTypeDef
  3. See Sequence[LifecycleHookSpecificationTypeDef]
  4. See Sequence[TagTypeDef]
  5. See Sequence[TrafficSourceIdentifierTypeDef]
  6. See InstanceMaintenancePolicyTypeDef
  7. See AvailabilityZoneDistributionTypeDef
  8. See AvailabilityZoneImpairmentPolicyTypeDef
  9. See CapacityReservationSpecificationUnionTypeDef

UpdateAutoScalingGroupTypeTypeDef#

# UpdateAutoScalingGroupTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import UpdateAutoScalingGroupTypeTypeDef


def get_value() -> UpdateAutoScalingGroupTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# UpdateAutoScalingGroupTypeTypeDef definition

class UpdateAutoScalingGroupTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    MixedInstancesPolicy: NotRequired[MixedInstancesPolicyUnionTypeDef],  # (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],
    InstanceMaintenancePolicy: NotRequired[InstanceMaintenancePolicyTypeDef],  # (3)
    AvailabilityZoneDistribution: NotRequired[AvailabilityZoneDistributionTypeDef],  # (4)
    AvailabilityZoneImpairmentPolicy: NotRequired[AvailabilityZoneImpairmentPolicyTypeDef],  # (5)
    SkipZonalShiftValidation: NotRequired[bool],
    CapacityReservationSpecification: NotRequired[CapacityReservationSpecificationUnionTypeDef],  # (6)
  1. See LaunchTemplateSpecificationTypeDef
  2. See MixedInstancesPolicyUnionTypeDef
  3. See InstanceMaintenancePolicyTypeDef
  4. See AvailabilityZoneDistributionTypeDef
  5. See AvailabilityZoneImpairmentPolicyTypeDef
  6. See CapacityReservationSpecificationUnionTypeDef

PoliciesTypeTypeDef#

# PoliciesTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PoliciesTypeTypeDef


def get_value() -> PoliciesTypeTypeDef:
    return {
        "ScalingPolicies": ...,
    }


# PoliciesTypeTypeDef definition

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

PutScalingPolicyTypeTypeDef#

# PutScalingPolicyTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import PutScalingPolicyTypeTypeDef


def get_value() -> PutScalingPolicyTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# PutScalingPolicyTypeTypeDef definition

class PutScalingPolicyTypeTypeDef(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[TargetTrackingConfigurationUnionTypeDef],  # (2)
    Enabled: NotRequired[bool],
    PredictiveScalingConfiguration: NotRequired[PredictiveScalingConfigurationUnionTypeDef],  # (3)
  1. See Sequence[StepAdjustmentTypeDef]
  2. See TargetTrackingConfigurationUnionTypeDef
  3. See PredictiveScalingConfigurationUnionTypeDef

DescribeInstanceRefreshesAnswerTypeDef#

# DescribeInstanceRefreshesAnswerTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesAnswerTypeDef


def get_value() -> DescribeInstanceRefreshesAnswerTypeDef:
    return {
        "InstanceRefreshes": ...,
    }


# DescribeInstanceRefreshesAnswerTypeDef definition

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

StartInstanceRefreshTypeTypeDef#

# StartInstanceRefreshTypeTypeDef TypedDict usage example

from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshTypeTypeDef


def get_value() -> StartInstanceRefreshTypeTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }


# StartInstanceRefreshTypeTypeDef definition

class StartInstanceRefreshTypeTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Strategy: NotRequired[RefreshStrategyType],  # (1)
    DesiredConfiguration: NotRequired[DesiredConfigurationUnionTypeDef],  # (2)
    Preferences: NotRequired[RefreshPreferencesUnionTypeDef],  # (3)
  1. See RefreshStrategyType
  2. See DesiredConfigurationUnionTypeDef
  3. See RefreshPreferencesUnionTypeDef