Skip to content

Typed dictionaries

Index > AutoScaling > Typed dictionaries

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

AcceleratorCountRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AcceleratorCountRequestTypeDef

def get_value() -> AcceleratorCountRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class AcceleratorCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

AcceleratorTotalMemoryMiBRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AcceleratorTotalMemoryMiBRequestTypeDef

def get_value() -> AcceleratorTotalMemoryMiBRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class AcceleratorTotalMemoryMiBRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

ActivityTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ActivityTypeDef

def get_value() -> ActivityTypeDef:
    return {
        "ActivityId": ...,
        "AutoScalingGroupName": ...,
        "Cause": ...,
        "StartTime": ...,
        "StatusCode": ...,
    }
Definition
class ActivityTypeDef(TypedDict):
    ActivityId: str,
    AutoScalingGroupName: str,
    Cause: str,
    StartTime: datetime,
    StatusCode: ScalingActivityStatusCodeType,  # (1)
    Description: NotRequired[str],
    EndTime: NotRequired[datetime],
    StatusMessage: NotRequired[str],
    Progress: NotRequired[int],
    Details: NotRequired[str],
    AutoScalingGroupState: NotRequired[str],
    AutoScalingGroupARN: NotRequired[str],
  1. See ScalingActivityStatusCodeType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

AdjustmentTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AdjustmentTypeTypeDef

def get_value() -> AdjustmentTypeTypeDef:
    return {
        "AdjustmentType": ...,
    }
Definition
class AdjustmentTypeTypeDef(TypedDict):
    AdjustmentType: NotRequired[str],

AlarmTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AlarmTypeDef

def get_value() -> AlarmTypeDef:
    return {
        "AlarmName": ...,
    }
Definition
class AlarmTypeDef(TypedDict):
    AlarmName: NotRequired[str],
    AlarmARN: NotRequired[str],

AttachInstancesQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AttachInstancesQueryRequestTypeDef

def get_value() -> AttachInstancesQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class AttachInstancesQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceIds: NotRequired[Sequence[str]],

AttachLoadBalancerTargetGroupsTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AttachLoadBalancerTargetGroupsTypeRequestTypeDef

def get_value() -> AttachLoadBalancerTargetGroupsTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TargetGroupARNs": ...,
    }
Definition
class AttachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TargetGroupARNs: Sequence[str],

AttachLoadBalancersTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AttachLoadBalancersTypeRequestTypeDef

def get_value() -> AttachLoadBalancersTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "LoadBalancerNames": ...,
    }
Definition
class AttachLoadBalancersTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LoadBalancerNames: Sequence[str],

FilterTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import FilterTypeDef

def get_value() -> FilterTypeDef:
    return {
        "Name": ...,
    }
Definition
class FilterTypeDef(TypedDict):
    Name: NotRequired[str],
    Values: NotRequired[Sequence[str]],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

EnabledMetricTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import EnabledMetricTypeDef

def get_value() -> EnabledMetricTypeDef:
    return {
        "Metric": ...,
    }
Definition
class EnabledMetricTypeDef(TypedDict):
    Metric: NotRequired[str],
    Granularity: NotRequired[str],

LaunchTemplateSpecificationTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchTemplateSpecificationTypeDef

def get_value() -> LaunchTemplateSpecificationTypeDef:
    return {
        "LaunchTemplateId": ...,
    }
Definition
class LaunchTemplateSpecificationTypeDef(TypedDict):
    LaunchTemplateId: NotRequired[str],
    LaunchTemplateName: NotRequired[str],
    Version: NotRequired[str],

SuspendedProcessTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import SuspendedProcessTypeDef

def get_value() -> SuspendedProcessTypeDef:
    return {
        "ProcessName": ...,
    }
Definition
class SuspendedProcessTypeDef(TypedDict):
    ProcessName: NotRequired[str],
    SuspensionReason: NotRequired[str],

TagDescriptionTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import TagDescriptionTypeDef

def get_value() -> TagDescriptionTypeDef:
    return {
        "ResourceId": ...,
    }
Definition
class TagDescriptionTypeDef(TypedDict):
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[str],
    Key: NotRequired[str],
    Value: NotRequired[str],
    PropagateAtLaunch: NotRequired[bool],

BaselineEbsBandwidthMbpsRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import BaselineEbsBandwidthMbpsRequestTypeDef

def get_value() -> BaselineEbsBandwidthMbpsRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class BaselineEbsBandwidthMbpsRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

FailedScheduledUpdateGroupActionRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import FailedScheduledUpdateGroupActionRequestTypeDef

def get_value() -> FailedScheduledUpdateGroupActionRequestTypeDef:
    return {
        "ScheduledActionName": ...,
    }
Definition
class FailedScheduledUpdateGroupActionRequestTypeDef(TypedDict):
    ScheduledActionName: str,
    ErrorCode: NotRequired[str],
    ErrorMessage: NotRequired[str],

BatchDeleteScheduledActionTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionTypeRequestTypeDef

def get_value() -> BatchDeleteScheduledActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledActionNames": ...,
    }
Definition
class BatchDeleteScheduledActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionNames: Sequence[str],

ScheduledUpdateGroupActionRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionRequestTypeDef

def get_value() -> ScheduledUpdateGroupActionRequestTypeDef:
    return {
        "ScheduledActionName": ...,
    }
Definition
class ScheduledUpdateGroupActionRequestTypeDef(TypedDict):
    ScheduledActionName: str,
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

EbsTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import EbsTypeDef

def get_value() -> EbsTypeDef:
    return {
        "SnapshotId": ...,
    }
Definition
class EbsTypeDef(TypedDict):
    SnapshotId: NotRequired[str],
    VolumeSize: NotRequired[int],
    VolumeType: NotRequired[str],
    DeleteOnTermination: NotRequired[bool],
    Iops: NotRequired[int],
    Encrypted: NotRequired[bool],
    Throughput: NotRequired[int],

CancelInstanceRefreshTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshTypeRequestTypeDef

def get_value() -> CancelInstanceRefreshTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class CancelInstanceRefreshTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,

CapacityForecastTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import CapacityForecastTypeDef

def get_value() -> CapacityForecastTypeDef:
    return {
        "Timestamps": ...,
        "Values": ...,
    }
Definition
class CapacityForecastTypeDef(TypedDict):
    Timestamps: List[datetime],
    Values: List[float],

CompleteLifecycleActionTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import CompleteLifecycleActionTypeRequestTypeDef

def get_value() -> CompleteLifecycleActionTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
        "LifecycleActionResult": ...,
    }
Definition
class CompleteLifecycleActionTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleActionResult: str,
    LifecycleActionToken: NotRequired[str],
    InstanceId: NotRequired[str],

LifecycleHookSpecificationTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LifecycleHookSpecificationTypeDef

def get_value() -> LifecycleHookSpecificationTypeDef:
    return {
        "LifecycleHookName": ...,
        "LifecycleTransition": ...,
    }
Definition
class LifecycleHookSpecificationTypeDef(TypedDict):
    LifecycleHookName: str,
    LifecycleTransition: str,
    NotificationMetadata: NotRequired[str],
    HeartbeatTimeout: NotRequired[int],
    DefaultResult: NotRequired[str],
    NotificationTargetARN: NotRequired[str],
    RoleARN: NotRequired[str],

TagTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: str,
    ResourceId: NotRequired[str],
    ResourceType: NotRequired[str],
    Value: NotRequired[str],
    PropagateAtLaunch: NotRequired[bool],

InstanceMetadataOptionsTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceMetadataOptionsTypeDef

def get_value() -> InstanceMetadataOptionsTypeDef:
    return {
        "HttpTokens": ...,
    }
Definition
class InstanceMetadataOptionsTypeDef(TypedDict):
    HttpTokens: NotRequired[InstanceMetadataHttpTokensStateType],  # (1)
    HttpPutResponseHopLimit: NotRequired[int],
    HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType],  # (2)
  1. See InstanceMetadataHttpTokensStateType
  2. See InstanceMetadataEndpointStateType

InstanceMonitoringTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceMonitoringTypeDef

def get_value() -> InstanceMonitoringTypeDef:
    return {
        "Enabled": ...,
    }
Definition
class InstanceMonitoringTypeDef(TypedDict):
    Enabled: NotRequired[bool],

MetricDimensionTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import MetricDimensionTypeDef

def get_value() -> MetricDimensionTypeDef:
    return {
        "Name": ...,
        "Value": ...,
    }
Definition
class MetricDimensionTypeDef(TypedDict):
    Name: str,
    Value: str,

DeleteAutoScalingGroupTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteAutoScalingGroupTypeRequestTypeDef

def get_value() -> DeleteAutoScalingGroupTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DeleteAutoScalingGroupTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ForceDelete: NotRequired[bool],

DeleteLifecycleHookTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteLifecycleHookTypeRequestTypeDef

def get_value() -> DeleteLifecycleHookTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
    }
Definition
class DeleteLifecycleHookTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,

DeleteNotificationConfigurationTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteNotificationConfigurationTypeRequestTypeDef

def get_value() -> DeleteNotificationConfigurationTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TopicARN": ...,
    }
Definition
class DeleteNotificationConfigurationTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TopicARN: str,

DeletePolicyTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DeletePolicyTypeRequestTypeDef

def get_value() -> DeletePolicyTypeRequestTypeDef:
    return {
        "PolicyName": ...,
    }
Definition
class DeletePolicyTypeRequestTypeDef(TypedDict):
    PolicyName: str,
    AutoScalingGroupName: NotRequired[str],

DeleteScheduledActionTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteScheduledActionTypeRequestTypeDef

def get_value() -> DeleteScheduledActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledActionName": ...,
    }
Definition
class DeleteScheduledActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionName: str,

DeleteWarmPoolTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteWarmPoolTypeRequestTypeDef

def get_value() -> DeleteWarmPoolTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DeleteWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ForceDelete: NotRequired[bool],

DescribeAutoScalingInstancesTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeRequestTypeDef

def get_value() -> DescribeAutoScalingInstancesTypeRequestTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class DescribeAutoScalingInstancesTypeRequestTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DescribeInstanceRefreshesTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesTypeRequestTypeDef

def get_value() -> DescribeInstanceRefreshesTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeInstanceRefreshesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceRefreshIds: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LifecycleHookTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LifecycleHookTypeDef

def get_value() -> LifecycleHookTypeDef:
    return {
        "LifecycleHookName": ...,
    }
Definition
class LifecycleHookTypeDef(TypedDict):
    LifecycleHookName: NotRequired[str],
    AutoScalingGroupName: NotRequired[str],
    LifecycleTransition: NotRequired[str],
    NotificationTargetARN: NotRequired[str],
    RoleARN: NotRequired[str],
    NotificationMetadata: NotRequired[str],
    HeartbeatTimeout: NotRequired[int],
    GlobalTimeout: NotRequired[int],
    DefaultResult: NotRequired[str],

DescribeLifecycleHooksTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksTypeRequestTypeDef

def get_value() -> DescribeLifecycleHooksTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeLifecycleHooksTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LifecycleHookNames: NotRequired[Sequence[str]],

DescribeLoadBalancerTargetGroupsRequestRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestRequestTypeDef

def get_value() -> DescribeLoadBalancerTargetGroupsRequestRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeLoadBalancerTargetGroupsRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LoadBalancerTargetGroupStateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LoadBalancerTargetGroupStateTypeDef

def get_value() -> LoadBalancerTargetGroupStateTypeDef:
    return {
        "LoadBalancerTargetGroupARN": ...,
    }
Definition
class LoadBalancerTargetGroupStateTypeDef(TypedDict):
    LoadBalancerTargetGroupARN: NotRequired[str],
    State: NotRequired[str],

DescribeLoadBalancersRequestRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestRequestTypeDef

def get_value() -> DescribeLoadBalancersRequestRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeLoadBalancersRequestRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

LoadBalancerStateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LoadBalancerStateTypeDef

def get_value() -> LoadBalancerStateTypeDef:
    return {
        "LoadBalancerName": ...,
    }
Definition
class LoadBalancerStateTypeDef(TypedDict):
    LoadBalancerName: NotRequired[str],
    State: NotRequired[str],

MetricCollectionTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import MetricCollectionTypeTypeDef

def get_value() -> MetricCollectionTypeTypeDef:
    return {
        "Metric": ...,
    }
Definition
class MetricCollectionTypeTypeDef(TypedDict):
    Metric: NotRequired[str],

MetricGranularityTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import MetricGranularityTypeTypeDef

def get_value() -> MetricGranularityTypeTypeDef:
    return {
        "Granularity": ...,
    }
Definition
class MetricGranularityTypeTypeDef(TypedDict):
    Granularity: NotRequired[str],

NotificationConfigurationTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import NotificationConfigurationTypeDef

def get_value() -> NotificationConfigurationTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class NotificationConfigurationTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    TopicARN: NotRequired[str],
    NotificationType: NotRequired[str],

DescribeNotificationConfigurationsTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeRequestTypeDef

def get_value() -> DescribeNotificationConfigurationsTypeRequestTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
Definition
class DescribeNotificationConfigurationsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribePoliciesTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeRequestTypeDef

def get_value() -> DescribePoliciesTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribePoliciesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    PolicyNames: NotRequired[Sequence[str]],
    PolicyTypes: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribeScalingActivitiesTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeRequestTypeDef

def get_value() -> DescribeScalingActivitiesTypeRequestTypeDef:
    return {
        "ActivityIds": ...,
    }
Definition
class DescribeScalingActivitiesTypeRequestTypeDef(TypedDict):
    ActivityIds: NotRequired[Sequence[str]],
    AutoScalingGroupName: NotRequired[str],
    IncludeDeletedGroups: NotRequired[bool],
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DescribeScheduledActionsTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeRequestTypeDef

def get_value() -> DescribeScheduledActionsTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeScheduledActionsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionNames: NotRequired[Sequence[str]],
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

DescribeWarmPoolTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolTypeRequestTypeDef

def get_value() -> DescribeWarmPoolTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeWarmPoolTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    MaxRecords: NotRequired[int],
    NextToken: NotRequired[str],

DetachInstancesQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DetachInstancesQueryRequestTypeDef

def get_value() -> DetachInstancesQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ShouldDecrementDesiredCapacity": ...,
    }
Definition
class DetachInstancesQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ShouldDecrementDesiredCapacity: bool,
    InstanceIds: NotRequired[Sequence[str]],

DetachLoadBalancerTargetGroupsTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DetachLoadBalancerTargetGroupsTypeRequestTypeDef

def get_value() -> DetachLoadBalancerTargetGroupsTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TargetGroupARNs": ...,
    }
Definition
class DetachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TargetGroupARNs: Sequence[str],

DetachLoadBalancersTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DetachLoadBalancersTypeRequestTypeDef

def get_value() -> DetachLoadBalancersTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "LoadBalancerNames": ...,
    }
Definition
class DetachLoadBalancersTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    LoadBalancerNames: Sequence[str],

DisableMetricsCollectionQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DisableMetricsCollectionQueryRequestTypeDef

def get_value() -> DisableMetricsCollectionQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DisableMetricsCollectionQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Metrics: NotRequired[Sequence[str]],

EnableMetricsCollectionQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import EnableMetricsCollectionQueryRequestTypeDef

def get_value() -> EnableMetricsCollectionQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "Granularity": ...,
    }
Definition
class EnableMetricsCollectionQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    Granularity: str,
    Metrics: NotRequired[Sequence[str]],

EnterStandbyQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import EnterStandbyQueryRequestTypeDef

def get_value() -> EnterStandbyQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ShouldDecrementDesiredCapacity": ...,
    }
Definition
class EnterStandbyQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ShouldDecrementDesiredCapacity: bool,
    InstanceIds: NotRequired[Sequence[str]],

ExecutePolicyTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ExecutePolicyTypeRequestTypeDef

def get_value() -> ExecutePolicyTypeRequestTypeDef:
    return {
        "PolicyName": ...,
    }
Definition
class ExecutePolicyTypeRequestTypeDef(TypedDict):
    PolicyName: str,
    AutoScalingGroupName: NotRequired[str],
    HonorCooldown: NotRequired[bool],
    MetricValue: NotRequired[float],
    BreachThreshold: NotRequired[float],

ExitStandbyQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ExitStandbyQueryRequestTypeDef

def get_value() -> ExitStandbyQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class ExitStandbyQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    InstanceIds: NotRequired[Sequence[str]],

GetPredictiveScalingForecastTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastTypeRequestTypeDef

def get_value() -> GetPredictiveScalingForecastTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "PolicyName": ...,
        "StartTime": ...,
        "EndTime": ...,
    }
Definition
class GetPredictiveScalingForecastTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PolicyName: str,
    StartTime: Union[datetime, str],
    EndTime: Union[datetime, str],

InstanceRefreshLivePoolProgressTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshLivePoolProgressTypeDef

def get_value() -> InstanceRefreshLivePoolProgressTypeDef:
    return {
        "PercentageComplete": ...,
    }
Definition
class InstanceRefreshLivePoolProgressTypeDef(TypedDict):
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],

InstanceRefreshWarmPoolProgressTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshWarmPoolProgressTypeDef

def get_value() -> InstanceRefreshWarmPoolProgressTypeDef:
    return {
        "PercentageComplete": ...,
    }
Definition
class InstanceRefreshWarmPoolProgressTypeDef(TypedDict):
    PercentageComplete: NotRequired[int],
    InstancesToUpdate: NotRequired[int],

RefreshPreferencesTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import RefreshPreferencesTypeDef

def get_value() -> RefreshPreferencesTypeDef:
    return {
        "MinHealthyPercentage": ...,
    }
Definition
class RefreshPreferencesTypeDef(TypedDict):
    MinHealthyPercentage: NotRequired[int],
    InstanceWarmup: NotRequired[int],
    CheckpointPercentages: NotRequired[List[int]],
    CheckpointDelay: NotRequired[int],
    SkipMatching: NotRequired[bool],

MemoryGiBPerVCpuRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import MemoryGiBPerVCpuRequestTypeDef

def get_value() -> MemoryGiBPerVCpuRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class MemoryGiBPerVCpuRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

MemoryMiBRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import MemoryMiBRequestTypeDef

def get_value() -> MemoryMiBRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class MemoryMiBRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

NetworkInterfaceCountRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import NetworkInterfaceCountRequestTypeDef

def get_value() -> NetworkInterfaceCountRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class NetworkInterfaceCountRequestTypeDef(TypedDict):
    Min: NotRequired[int],
    Max: NotRequired[int],

TotalLocalStorageGBRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import TotalLocalStorageGBRequestTypeDef

def get_value() -> TotalLocalStorageGBRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class TotalLocalStorageGBRequestTypeDef(TypedDict):
    Min: NotRequired[float],
    Max: NotRequired[float],

VCpuCountRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import VCpuCountRequestTypeDef

def get_value() -> VCpuCountRequestTypeDef:
    return {
        "Min": ...,
    }
Definition
class VCpuCountRequestTypeDef(TypedDict):
    Min: int,
    Max: NotRequired[int],

InstanceReusePolicyTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceReusePolicyTypeDef

def get_value() -> InstanceReusePolicyTypeDef:
    return {
        "ReuseOnScaleIn": ...,
    }
Definition
class InstanceReusePolicyTypeDef(TypedDict):
    ReuseOnScaleIn: NotRequired[bool],

InstancesDistributionTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import InstancesDistributionTypeDef

def get_value() -> InstancesDistributionTypeDef:
    return {
        "OnDemandAllocationStrategy": ...,
    }
Definition
class InstancesDistributionTypeDef(TypedDict):
    OnDemandAllocationStrategy: NotRequired[str],
    OnDemandBaseCapacity: NotRequired[int],
    OnDemandPercentageAboveBaseCapacity: NotRequired[int],
    SpotAllocationStrategy: NotRequired[str],
    SpotInstancePools: NotRequired[int],
    SpotMaxPrice: NotRequired[str],

LaunchConfigurationNameTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNameTypeRequestTypeDef

def get_value() -> LaunchConfigurationNameTypeRequestTypeDef:
    return {
        "LaunchConfigurationName": ...,
    }
Definition
class LaunchConfigurationNameTypeRequestTypeDef(TypedDict):
    LaunchConfigurationName: str,

LaunchConfigurationNamesTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeRequestTypeDef

def get_value() -> LaunchConfigurationNamesTypeRequestTypeDef:
    return {
        "LaunchConfigurationNames": ...,
    }
Definition
class LaunchConfigurationNamesTypeRequestTypeDef(TypedDict):
    LaunchConfigurationNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],

PredefinedMetricSpecificationTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PredefinedMetricSpecificationTypeDef

def get_value() -> PredefinedMetricSpecificationTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
Definition
class PredefinedMetricSpecificationTypeDef(TypedDict):
    PredefinedMetricType: MetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See MetricTypeType

PredictiveScalingPredefinedLoadMetricTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedLoadMetricTypeDef

def get_value() -> PredictiveScalingPredefinedLoadMetricTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
Definition
class PredictiveScalingPredefinedLoadMetricTypeDef(TypedDict):
    PredefinedMetricType: PredefinedLoadMetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedLoadMetricTypeType

PredictiveScalingPredefinedMetricPairTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedMetricPairTypeDef

def get_value() -> PredictiveScalingPredefinedMetricPairTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
Definition
class PredictiveScalingPredefinedMetricPairTypeDef(TypedDict):
    PredefinedMetricType: PredefinedMetricPairTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedMetricPairTypeType

PredictiveScalingPredefinedScalingMetricTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedScalingMetricTypeDef

def get_value() -> PredictiveScalingPredefinedScalingMetricTypeDef:
    return {
        "PredefinedMetricType": ...,
    }
Definition
class PredictiveScalingPredefinedScalingMetricTypeDef(TypedDict):
    PredefinedMetricType: PredefinedScalingMetricTypeType,  # (1)
    ResourceLabel: NotRequired[str],
  1. See PredefinedScalingMetricTypeType

ProcessTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ProcessTypeTypeDef

def get_value() -> ProcessTypeTypeDef:
    return {
        "ProcessName": ...,
    }
Definition
class ProcessTypeTypeDef(TypedDict):
    ProcessName: str,

PutLifecycleHookTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PutLifecycleHookTypeRequestTypeDef

def get_value() -> PutLifecycleHookTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
    }
Definition
class PutLifecycleHookTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleTransition: NotRequired[str],
    RoleARN: NotRequired[str],
    NotificationTargetARN: NotRequired[str],
    NotificationMetadata: NotRequired[str],
    HeartbeatTimeout: NotRequired[int],
    DefaultResult: NotRequired[str],

PutNotificationConfigurationTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PutNotificationConfigurationTypeRequestTypeDef

def get_value() -> PutNotificationConfigurationTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "TopicARN": ...,
        "NotificationTypes": ...,
    }
Definition
class PutNotificationConfigurationTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    TopicARN: str,
    NotificationTypes: Sequence[str],

StepAdjustmentTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import StepAdjustmentTypeDef

def get_value() -> StepAdjustmentTypeDef:
    return {
        "ScalingAdjustment": ...,
    }
Definition
class StepAdjustmentTypeDef(TypedDict):
    ScalingAdjustment: int,
    MetricIntervalLowerBound: NotRequired[float],
    MetricIntervalUpperBound: NotRequired[float],

PutScheduledUpdateGroupActionTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PutScheduledUpdateGroupActionTypeRequestTypeDef

def get_value() -> PutScheduledUpdateGroupActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledActionName": ...,
    }
Definition
class PutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledActionName: str,
    Time: NotRequired[Union[datetime, str]],
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

RecordLifecycleActionHeartbeatTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import RecordLifecycleActionHeartbeatTypeRequestTypeDef

def get_value() -> RecordLifecycleActionHeartbeatTypeRequestTypeDef:
    return {
        "LifecycleHookName": ...,
        "AutoScalingGroupName": ...,
    }
Definition
class RecordLifecycleActionHeartbeatTypeRequestTypeDef(TypedDict):
    LifecycleHookName: str,
    AutoScalingGroupName: str,
    LifecycleActionToken: NotRequired[str],
    InstanceId: NotRequired[str],

ScalingProcessQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ScalingProcessQueryRequestTypeDef

def get_value() -> ScalingProcessQueryRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class ScalingProcessQueryRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScalingProcesses: NotRequired[Sequence[str]],

ScheduledUpdateGroupActionTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionTypeDef

def get_value() -> ScheduledUpdateGroupActionTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class ScheduledUpdateGroupActionTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionName: NotRequired[str],
    ScheduledActionARN: NotRequired[str],
    Time: NotRequired[datetime],
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    Recurrence: NotRequired[str],
    MinSize: NotRequired[int],
    MaxSize: NotRequired[int],
    DesiredCapacity: NotRequired[int],
    TimeZone: NotRequired[str],

SetDesiredCapacityTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import SetDesiredCapacityTypeRequestTypeDef

def get_value() -> SetDesiredCapacityTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "DesiredCapacity": ...,
    }
Definition
class SetDesiredCapacityTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    DesiredCapacity: int,
    HonorCooldown: NotRequired[bool],

SetInstanceHealthQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import SetInstanceHealthQueryRequestTypeDef

def get_value() -> SetInstanceHealthQueryRequestTypeDef:
    return {
        "InstanceId": ...,
        "HealthStatus": ...,
    }
Definition
class SetInstanceHealthQueryRequestTypeDef(TypedDict):
    InstanceId: str,
    HealthStatus: str,
    ShouldRespectGracePeriod: NotRequired[bool],

SetInstanceProtectionQueryRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import SetInstanceProtectionQueryRequestTypeDef

def get_value() -> SetInstanceProtectionQueryRequestTypeDef:
    return {
        "InstanceIds": ...,
        "AutoScalingGroupName": ...,
        "ProtectedFromScaleIn": ...,
    }
Definition
class SetInstanceProtectionQueryRequestTypeDef(TypedDict):
    InstanceIds: Sequence[str],
    AutoScalingGroupName: str,
    ProtectedFromScaleIn: bool,

TerminateInstanceInAutoScalingGroupTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import TerminateInstanceInAutoScalingGroupTypeRequestTypeDef

def get_value() -> TerminateInstanceInAutoScalingGroupTypeRequestTypeDef:
    return {
        "InstanceId": ...,
        "ShouldDecrementDesiredCapacity": ...,
    }
Definition
class TerminateInstanceInAutoScalingGroupTypeRequestTypeDef(TypedDict):
    InstanceId: str,
    ShouldDecrementDesiredCapacity: bool,

ActivitiesTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ActivitiesTypeTypeDef

def get_value() -> ActivitiesTypeTypeDef:
    return {
        "Activities": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ActivitiesTypeTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

ActivityTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ActivityTypeTypeDef

def get_value() -> ActivityTypeTypeDef:
    return {
        "Activity": ...,
        "ResponseMetadata": ...,
    }
Definition
class ActivityTypeTypeDef(TypedDict):
    Activity: ActivityTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

CancelInstanceRefreshAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshAnswerTypeDef

def get_value() -> CancelInstanceRefreshAnswerTypeDef:
    return {
        "InstanceRefreshId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CancelInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAccountLimitsAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAccountLimitsAnswerTypeDef

def get_value() -> DescribeAccountLimitsAnswerTypeDef:
    return {
        "MaxNumberOfAutoScalingGroups": ...,
        "MaxNumberOfLaunchConfigurations": ...,
        "NumberOfAutoScalingGroups": ...,
        "NumberOfLaunchConfigurations": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAccountLimitsAnswerTypeDef(TypedDict):
    MaxNumberOfAutoScalingGroups: int,
    MaxNumberOfLaunchConfigurations: int,
    NumberOfAutoScalingGroups: int,
    NumberOfLaunchConfigurations: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAutoScalingNotificationTypesAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingNotificationTypesAnswerTypeDef

def get_value() -> DescribeAutoScalingNotificationTypesAnswerTypeDef:
    return {
        "AutoScalingNotificationTypes": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAutoScalingNotificationTypesAnswerTypeDef(TypedDict):
    AutoScalingNotificationTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeLifecycleHookTypesAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHookTypesAnswerTypeDef

def get_value() -> DescribeLifecycleHookTypesAnswerTypeDef:
    return {
        "LifecycleHookTypes": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLifecycleHookTypesAnswerTypeDef(TypedDict):
    LifecycleHookTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeTerminationPolicyTypesAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTerminationPolicyTypesAnswerTypeDef

def get_value() -> DescribeTerminationPolicyTypesAnswerTypeDef:
    return {
        "TerminationPolicyTypes": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTerminationPolicyTypesAnswerTypeDef(TypedDict):
    TerminationPolicyTypes: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DetachInstancesAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DetachInstancesAnswerTypeDef

def get_value() -> DetachInstancesAnswerTypeDef:
    return {
        "Activities": ...,
        "ResponseMetadata": ...,
    }
Definition
class DetachInstancesAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EnterStandbyAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import EnterStandbyAnswerTypeDef

def get_value() -> EnterStandbyAnswerTypeDef:
    return {
        "Activities": ...,
        "ResponseMetadata": ...,
    }
Definition
class EnterStandbyAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

ExitStandbyAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import ExitStandbyAnswerTypeDef

def get_value() -> ExitStandbyAnswerTypeDef:
    return {
        "Activities": ...,
        "ResponseMetadata": ...,
    }
Definition
class ExitStandbyAnswerTypeDef(TypedDict):
    Activities: List[ActivityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ActivityTypeDef
  2. See ResponseMetadataTypeDef

StartInstanceRefreshAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshAnswerTypeDef

def get_value() -> StartInstanceRefreshAnswerTypeDef:
    return {
        "InstanceRefreshId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartInstanceRefreshAnswerTypeDef(TypedDict):
    InstanceRefreshId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeAdjustmentTypesAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAdjustmentTypesAnswerTypeDef

def get_value() -> DescribeAdjustmentTypesAnswerTypeDef:
    return {
        "AdjustmentTypes": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAdjustmentTypesAnswerTypeDef(TypedDict):
    AdjustmentTypes: List[AdjustmentTypeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AdjustmentTypeTypeDef
  2. See ResponseMetadataTypeDef

PolicyARNTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import PolicyARNTypeTypeDef

def get_value() -> PolicyARNTypeTypeDef:
    return {
        "PolicyARN": ...,
        "Alarms": ...,
        "ResponseMetadata": ...,
    }
Definition
class PolicyARNTypeTypeDef(TypedDict):
    PolicyARN: str,
    Alarms: List[AlarmTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AlarmTypeDef
  2. See ResponseMetadataTypeDef

AutoScalingGroupNamesTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeRequestTypeDef

def get_value() -> AutoScalingGroupNamesTypeRequestTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
Definition
class AutoScalingGroupNamesTypeRequestTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
  1. See FilterTypeDef

DescribeTagsTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeRequestTypeDef

def get_value() -> DescribeTagsTypeRequestTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeTagsTypeRequestTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    NextToken: NotRequired[str],
    MaxRecords: NotRequired[int],
  1. See FilterTypeDef

AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef

def get_value() -> AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
Definition
class AutoScalingGroupNamesTypeDescribeAutoScalingGroupsPaginateTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef

def get_value() -> DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef:
    return {
        "InstanceIds": ...,
    }
Definition
class DescribeAutoScalingInstancesTypeDescribeAutoScalingInstancesPaginateTypeDef(TypedDict):
    InstanceIds: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef

def get_value() -> DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeLoadBalancerTargetGroupsRequestDescribeLoadBalancerTargetGroupsPaginateTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef

def get_value() -> DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeLoadBalancersRequestDescribeLoadBalancersPaginateTypeDef(TypedDict):
    AutoScalingGroupName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef

def get_value() -> DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef:
    return {
        "AutoScalingGroupNames": ...,
    }
Definition
class DescribeNotificationConfigurationsTypeDescribeNotificationConfigurationsPaginateTypeDef(TypedDict):
    AutoScalingGroupNames: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribePoliciesTypeDescribePoliciesPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeDescribePoliciesPaginateTypeDef

def get_value() -> DescribePoliciesTypeDescribePoliciesPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribePoliciesTypeDescribePoliciesPaginateTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    PolicyNames: NotRequired[Sequence[str]],
    PolicyTypes: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef

def get_value() -> DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef:
    return {
        "ActivityIds": ...,
    }
Definition
class DescribeScalingActivitiesTypeDescribeScalingActivitiesPaginateTypeDef(TypedDict):
    ActivityIds: NotRequired[Sequence[str]],
    AutoScalingGroupName: NotRequired[str],
    IncludeDeletedGroups: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef

def get_value() -> DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef:
    return {
        "AutoScalingGroupName": ...,
    }
Definition
class DescribeScheduledActionsTypeDescribeScheduledActionsPaginateTypeDef(TypedDict):
    AutoScalingGroupName: NotRequired[str],
    ScheduledActionNames: NotRequired[Sequence[str]],
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeTagsTypeDescribeTagsPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeDescribeTagsPaginateTypeDef

def get_value() -> DescribeTagsTypeDescribeTagsPaginateTypeDef:
    return {
        "Filters": ...,
    }
Definition
class DescribeTagsTypeDescribeTagsPaginateTypeDef(TypedDict):
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef

def get_value() -> LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef:
    return {
        "LaunchConfigurationNames": ...,
    }
Definition
class LaunchConfigurationNamesTypeDescribeLaunchConfigurationsPaginateTypeDef(TypedDict):
    LaunchConfigurationNames: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

AutoScalingInstanceDetailsTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingInstanceDetailsTypeDef

def get_value() -> AutoScalingInstanceDetailsTypeDef:
    return {
        "InstanceId": ...,
        "AutoScalingGroupName": ...,
        "AvailabilityZone": ...,
        "LifecycleState": ...,
        "HealthStatus": ...,
        "ProtectedFromScaleIn": ...,
    }
Definition
class AutoScalingInstanceDetailsTypeDef(TypedDict):
    InstanceId: str,
    AutoScalingGroupName: str,
    AvailabilityZone: str,
    LifecycleState: str,
    HealthStatus: str,
    ProtectedFromScaleIn: bool,
    InstanceType: NotRequired[str],
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (1)
    WeightedCapacity: NotRequired[str],
  1. See LaunchTemplateSpecificationTypeDef

InstanceTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceTypeDef

def get_value() -> InstanceTypeDef:
    return {
        "InstanceId": ...,
        "AvailabilityZone": ...,
        "LifecycleState": ...,
        "HealthStatus": ...,
        "ProtectedFromScaleIn": ...,
    }
Definition
class InstanceTypeDef(TypedDict):
    InstanceId: str,
    AvailabilityZone: str,
    LifecycleState: LifecycleStateType,  # (1)
    HealthStatus: str,
    ProtectedFromScaleIn: bool,
    InstanceType: NotRequired[str],
    LaunchConfigurationName: NotRequired[str],
    LaunchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (2)
    WeightedCapacity: NotRequired[str],
  1. See LifecycleStateType
  2. See LaunchTemplateSpecificationTypeDef

TagsTypeTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import TagsTypeTypeDef

def get_value() -> TagsTypeTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class TagsTypeTypeDef(TypedDict):
    Tags: List[TagDescriptionTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagDescriptionTypeDef
  2. See ResponseMetadataTypeDef

BatchDeleteScheduledActionAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionAnswerTypeDef

def get_value() -> BatchDeleteScheduledActionAnswerTypeDef:
    return {
        "FailedScheduledActions": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchDeleteScheduledActionAnswerTypeDef(TypedDict):
    FailedScheduledActions: List[FailedScheduledUpdateGroupActionRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedScheduledUpdateGroupActionRequestTypeDef
  2. See ResponseMetadataTypeDef

BatchPutScheduledUpdateGroupActionAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionAnswerTypeDef

def get_value() -> BatchPutScheduledUpdateGroupActionAnswerTypeDef:
    return {
        "FailedScheduledUpdateGroupActions": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchPutScheduledUpdateGroupActionAnswerTypeDef(TypedDict):
    FailedScheduledUpdateGroupActions: List[FailedScheduledUpdateGroupActionRequestTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedScheduledUpdateGroupActionRequestTypeDef
  2. See ResponseMetadataTypeDef

BatchPutScheduledUpdateGroupActionTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import BatchPutScheduledUpdateGroupActionTypeRequestTypeDef

def get_value() -> BatchPutScheduledUpdateGroupActionTypeRequestTypeDef:
    return {
        "AutoScalingGroupName": ...,
        "ScheduledUpdateGroupActions": ...,
    }
Definition
class BatchPutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
    AutoScalingGroupName: str,
    ScheduledUpdateGroupActions: Sequence[ScheduledUpdateGroupActionRequestTypeDef],  # (1)
  1. See ScheduledUpdateGroupActionRequestTypeDef

BlockDeviceMappingTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import BlockDeviceMappingTypeDef

def get_value() -> BlockDeviceMappingTypeDef:
    return {
        "DeviceName": ...,
    }
Definition
class BlockDeviceMappingTypeDef(TypedDict):
    DeviceName: str,
    VirtualName: NotRequired[str],
    Ebs: NotRequired[EbsTypeDef],  # (1)
    NoDevice: NotRequired[bool],
  1. See EbsTypeDef

CreateOrUpdateTagsTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import CreateOrUpdateTagsTypeRequestTypeDef

def get_value() -> CreateOrUpdateTagsTypeRequestTypeDef:
    return {
        "Tags": ...,
    }
Definition
class CreateOrUpdateTagsTypeRequestTypeDef(TypedDict):
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

DeleteTagsTypeRequestTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteTagsTypeRequestTypeDef

def get_value() -> DeleteTagsTypeRequestTypeDef:
    return {
        "Tags": ...,
    }
Definition
class DeleteTagsTypeRequestTypeDef(TypedDict):
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CustomizedMetricSpecificationTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import CustomizedMetricSpecificationTypeDef

def get_value() -> CustomizedMetricSpecificationTypeDef:
    return {
        "MetricName": ...,
        "Namespace": ...,
        "Statistic": ...,
    }
Definition
class CustomizedMetricSpecificationTypeDef(TypedDict):
    MetricName: str,
    Namespace: str,
    Statistic: MetricStatisticType,  # (2)
    Dimensions: NotRequired[List[MetricDimensionTypeDef]],  # (1)
    Unit: NotRequired[str],
  1. See MetricDimensionTypeDef
  2. See MetricStatisticType

MetricTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import MetricTypeDef

def get_value() -> MetricTypeDef:
    return {
        "Namespace": ...,
        "MetricName": ...,
    }
Definition
class MetricTypeDef(TypedDict):
    Namespace: str,
    MetricName: str,
    Dimensions: NotRequired[List[MetricDimensionTypeDef]],  # (1)
  1. See MetricDimensionTypeDef

DescribeLifecycleHooksAnswerTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksAnswerTypeDef

def get_value() -> DescribeLifecycleHooksAnswerTypeDef:
    return {
        "LifecycleHooks": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeLifecycleHooksAnswerTypeDef(TypedDict):
    LifecycleHooks: List[LifecycleHookTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See LifecycleHookTypeDef
  2. See ResponseMetadataTypeDef

DescribeLoadBalancerTargetGroupsResponseTypeDef

Usage Example
from mypy_boto3_autoscaling.type_defs