Typed dictionaries
Index > AutoScaling > Typed dictionaries
Auto-generated documentation for AutoScaling type annotations stubs module mypy-boto3-autoscaling.
AcceleratorCountRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AcceleratorCountRequestTypeDef
def get_value() -> AcceleratorCountRequestTypeDef:
return {
"Min": ...,
}
Definition
class AcceleratorCountRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
AcceleratorTotalMemoryMiBRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AcceleratorTotalMemoryMiBRequestTypeDef
def get_value() -> AcceleratorTotalMemoryMiBRequestTypeDef:
return {
"Min": ...,
}
Definition
class AcceleratorTotalMemoryMiBRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
ActivityTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ActivityTypeDef
def get_value() -> ActivityTypeDef:
return {
"ActivityId": ...,
"AutoScalingGroupName": ...,
"Cause": ...,
"StartTime": ...,
"StatusCode": ...,
}
Definition
class ActivityTypeDef(TypedDict):
ActivityId: str,
AutoScalingGroupName: str,
Cause: str,
StartTime: datetime,
StatusCode: ScalingActivityStatusCodeType, # (1)
Description: NotRequired[str],
EndTime: NotRequired[datetime],
StatusMessage: NotRequired[str],
Progress: NotRequired[int],
Details: NotRequired[str],
AutoScalingGroupState: NotRequired[str],
AutoScalingGroupARN: NotRequired[str],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
AdjustmentTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AdjustmentTypeTypeDef
def get_value() -> AdjustmentTypeTypeDef:
return {
"AdjustmentType": ...,
}
AlarmTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AlarmTypeDef
def get_value() -> AlarmTypeDef:
return {
"AlarmName": ...,
}
AttachInstancesQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachInstancesQueryRequestTypeDef
def get_value() -> AttachInstancesQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class AttachInstancesQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
InstanceIds: NotRequired[Sequence[str]],
AttachLoadBalancerTargetGroupsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachLoadBalancerTargetGroupsTypeRequestTypeDef
def get_value() -> AttachLoadBalancerTargetGroupsTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TargetGroupARNs": ...,
}
Definition
class AttachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TargetGroupARNs: Sequence[str],
AttachLoadBalancersTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachLoadBalancersTypeRequestTypeDef
def get_value() -> AttachLoadBalancersTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"LoadBalancerNames": ...,
}
Definition
class AttachLoadBalancersTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
LoadBalancerNames: Sequence[str],
TrafficSourceIdentifierTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TrafficSourceIdentifierTypeDef
def get_value() -> TrafficSourceIdentifierTypeDef:
return {
"Identifier": ...,
}
FilterTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import FilterTypeDef
def get_value() -> FilterTypeDef:
return {
"Name": ...,
}
Definition
class FilterTypeDef(TypedDict):
Name: NotRequired[str],
Values: NotRequired[Sequence[str]],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
EnabledMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnabledMetricTypeDef
def get_value() -> EnabledMetricTypeDef:
return {
"Metric": ...,
}
Definition
class EnabledMetricTypeDef(TypedDict):
Metric: NotRequired[str],
Granularity: NotRequired[str],
LaunchTemplateSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchTemplateSpecificationTypeDef
def get_value() -> LaunchTemplateSpecificationTypeDef:
return {
"LaunchTemplateId": ...,
}
Definition
class LaunchTemplateSpecificationTypeDef(TypedDict):
LaunchTemplateId: NotRequired[str],
LaunchTemplateName: NotRequired[str],
Version: NotRequired[str],
SuspendedProcessTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SuspendedProcessTypeDef
def get_value() -> SuspendedProcessTypeDef:
return {
"ProcessName": ...,
}
Definition
class SuspendedProcessTypeDef(TypedDict):
ProcessName: NotRequired[str],
SuspensionReason: NotRequired[str],
TagDescriptionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TagDescriptionTypeDef
def get_value() -> TagDescriptionTypeDef:
return {
"ResourceId": ...,
}
Definition
class TagDescriptionTypeDef(TypedDict):
ResourceId: NotRequired[str],
ResourceType: NotRequired[str],
Key: NotRequired[str],
Value: NotRequired[str],
PropagateAtLaunch: NotRequired[bool],
BaselineEbsBandwidthMbpsRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BaselineEbsBandwidthMbpsRequestTypeDef
def get_value() -> BaselineEbsBandwidthMbpsRequestTypeDef:
return {
"Min": ...,
}
Definition
class BaselineEbsBandwidthMbpsRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
FailedScheduledUpdateGroupActionRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import FailedScheduledUpdateGroupActionRequestTypeDef
def get_value() -> FailedScheduledUpdateGroupActionRequestTypeDef:
return {
"ScheduledActionName": ...,
}
Definition
class FailedScheduledUpdateGroupActionRequestTypeDef(TypedDict):
ScheduledActionName: str,
ErrorCode: NotRequired[str],
ErrorMessage: NotRequired[str],
BatchDeleteScheduledActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import BatchDeleteScheduledActionTypeRequestTypeDef
def get_value() -> BatchDeleteScheduledActionTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ScheduledActionNames": ...,
}
Definition
class BatchDeleteScheduledActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledActionNames: Sequence[str],
ScheduledUpdateGroupActionRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionRequestTypeDef
def get_value() -> ScheduledUpdateGroupActionRequestTypeDef:
return {
"ScheduledActionName": ...,
}
Definition
class ScheduledUpdateGroupActionRequestTypeDef(TypedDict):
ScheduledActionName: str,
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
Recurrence: NotRequired[str],
MinSize: NotRequired[int],
MaxSize: NotRequired[int],
DesiredCapacity: NotRequired[int],
TimeZone: NotRequired[str],
EbsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EbsTypeDef
def get_value() -> EbsTypeDef:
return {
"SnapshotId": ...,
}
Definition
class EbsTypeDef(TypedDict):
SnapshotId: NotRequired[str],
VolumeSize: NotRequired[int],
VolumeType: NotRequired[str],
DeleteOnTermination: NotRequired[bool],
Iops: NotRequired[int],
Encrypted: NotRequired[bool],
Throughput: NotRequired[int],
CancelInstanceRefreshTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshTypeRequestTypeDef
def get_value() -> CancelInstanceRefreshTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
CapacityForecastTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CapacityForecastTypeDef
def get_value() -> CapacityForecastTypeDef:
return {
"Timestamps": ...,
"Values": ...,
}
Definition
class CapacityForecastTypeDef(TypedDict):
Timestamps: List[datetime],
Values: List[float],
CompleteLifecycleActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CompleteLifecycleActionTypeRequestTypeDef
def get_value() -> CompleteLifecycleActionTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
"LifecycleActionResult": ...,
}
Definition
class CompleteLifecycleActionTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
LifecycleActionResult: str,
LifecycleActionToken: NotRequired[str],
InstanceId: NotRequired[str],
LifecycleHookSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LifecycleHookSpecificationTypeDef
def get_value() -> LifecycleHookSpecificationTypeDef:
return {
"LifecycleHookName": ...,
"LifecycleTransition": ...,
}
Definition
class LifecycleHookSpecificationTypeDef(TypedDict):
LifecycleHookName: str,
LifecycleTransition: str,
NotificationMetadata: NotRequired[str],
HeartbeatTimeout: NotRequired[int],
DefaultResult: NotRequired[str],
NotificationTargetARN: NotRequired[str],
RoleARN: NotRequired[str],
TagTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
Definition
class TagTypeDef(TypedDict):
Key: str,
ResourceId: NotRequired[str],
ResourceType: NotRequired[str],
Value: NotRequired[str],
PropagateAtLaunch: NotRequired[bool],
InstanceMetadataOptionsTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceMetadataOptionsTypeDef
def get_value() -> InstanceMetadataOptionsTypeDef:
return {
"HttpTokens": ...,
}
Definition
class InstanceMetadataOptionsTypeDef(TypedDict):
HttpTokens: NotRequired[InstanceMetadataHttpTokensStateType], # (1)
HttpPutResponseHopLimit: NotRequired[int],
HttpEndpoint: NotRequired[InstanceMetadataEndpointStateType], # (2)
InstanceMonitoringTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceMonitoringTypeDef
def get_value() -> InstanceMonitoringTypeDef:
return {
"Enabled": ...,
}
MetricDimensionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricDimensionTypeDef
def get_value() -> MetricDimensionTypeDef:
return {
"Name": ...,
"Value": ...,
}
DeleteAutoScalingGroupTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteAutoScalingGroupTypeRequestTypeDef
def get_value() -> DeleteAutoScalingGroupTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DeleteAutoScalingGroupTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ForceDelete: NotRequired[bool],
DeleteLifecycleHookTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteLifecycleHookTypeRequestTypeDef
def get_value() -> DeleteLifecycleHookTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
}
Definition
class DeleteLifecycleHookTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
DeleteNotificationConfigurationTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteNotificationConfigurationTypeRequestTypeDef
def get_value() -> DeleteNotificationConfigurationTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TopicARN": ...,
}
Definition
class DeleteNotificationConfigurationTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TopicARN: str,
DeletePolicyTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeletePolicyTypeRequestTypeDef
def get_value() -> DeletePolicyTypeRequestTypeDef:
return {
"PolicyName": ...,
}
Definition
class DeletePolicyTypeRequestTypeDef(TypedDict):
PolicyName: str,
AutoScalingGroupName: NotRequired[str],
DeleteScheduledActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteScheduledActionTypeRequestTypeDef
def get_value() -> DeleteScheduledActionTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ScheduledActionName": ...,
}
Definition
class DeleteScheduledActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledActionName: str,
DeleteWarmPoolTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DeleteWarmPoolTypeRequestTypeDef
def get_value() -> DeleteWarmPoolTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DeleteWarmPoolTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ForceDelete: NotRequired[bool],
DescribeAutoScalingInstancesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingInstancesTypeRequestTypeDef
def get_value() -> DescribeAutoScalingInstancesTypeRequestTypeDef:
return {
"InstanceIds": ...,
}
Definition
class DescribeAutoScalingInstancesTypeRequestTypeDef(TypedDict):
InstanceIds: NotRequired[Sequence[str]],
MaxRecords: NotRequired[int],
NextToken: NotRequired[str],
DescribeInstanceRefreshesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeInstanceRefreshesTypeRequestTypeDef
def get_value() -> DescribeInstanceRefreshesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeInstanceRefreshesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
InstanceRefreshIds: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
LifecycleHookTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LifecycleHookTypeDef
def get_value() -> LifecycleHookTypeDef:
return {
"LifecycleHookName": ...,
}
Definition
class LifecycleHookTypeDef(TypedDict):
LifecycleHookName: NotRequired[str],
AutoScalingGroupName: NotRequired[str],
LifecycleTransition: NotRequired[str],
NotificationTargetARN: NotRequired[str],
RoleARN: NotRequired[str],
NotificationMetadata: NotRequired[str],
HeartbeatTimeout: NotRequired[int],
GlobalTimeout: NotRequired[int],
DefaultResult: NotRequired[str],
DescribeLifecycleHooksTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHooksTypeRequestTypeDef
def get_value() -> DescribeLifecycleHooksTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLifecycleHooksTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
LifecycleHookNames: NotRequired[Sequence[str]],
DescribeLoadBalancerTargetGroupsRequestRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancerTargetGroupsRequestRequestTypeDef
def get_value() -> DescribeLoadBalancerTargetGroupsRequestRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLoadBalancerTargetGroupsRequestRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
LoadBalancerTargetGroupStateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LoadBalancerTargetGroupStateTypeDef
def get_value() -> LoadBalancerTargetGroupStateTypeDef:
return {
"LoadBalancerTargetGroupARN": ...,
}
Definition
class LoadBalancerTargetGroupStateTypeDef(TypedDict):
LoadBalancerTargetGroupARN: NotRequired[str],
State: NotRequired[str],
DescribeLoadBalancersRequestRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLoadBalancersRequestRequestTypeDef
def get_value() -> DescribeLoadBalancersRequestRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeLoadBalancersRequestRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
LoadBalancerStateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LoadBalancerStateTypeDef
def get_value() -> LoadBalancerStateTypeDef:
return {
"LoadBalancerName": ...,
}
Definition
class LoadBalancerStateTypeDef(TypedDict):
LoadBalancerName: NotRequired[str],
State: NotRequired[str],
MetricCollectionTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricCollectionTypeTypeDef
def get_value() -> MetricCollectionTypeTypeDef:
return {
"Metric": ...,
}
MetricGranularityTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MetricGranularityTypeTypeDef
def get_value() -> MetricGranularityTypeTypeDef:
return {
"Granularity": ...,
}
NotificationConfigurationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import NotificationConfigurationTypeDef
def get_value() -> NotificationConfigurationTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class NotificationConfigurationTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
TopicARN: NotRequired[str],
NotificationType: NotRequired[str],
DescribeNotificationConfigurationsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeNotificationConfigurationsTypeRequestTypeDef
def get_value() -> DescribeNotificationConfigurationsTypeRequestTypeDef:
return {
"AutoScalingGroupNames": ...,
}
Definition
class DescribeNotificationConfigurationsTypeRequestTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
DescribePoliciesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribePoliciesTypeRequestTypeDef
def get_value() -> DescribePoliciesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribePoliciesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
PolicyNames: NotRequired[Sequence[str]],
PolicyTypes: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
DescribeScalingActivitiesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScalingActivitiesTypeRequestTypeDef
def get_value() -> DescribeScalingActivitiesTypeRequestTypeDef:
return {
"ActivityIds": ...,
}
Definition
class DescribeScalingActivitiesTypeRequestTypeDef(TypedDict):
ActivityIds: NotRequired[Sequence[str]],
AutoScalingGroupName: NotRequired[str],
IncludeDeletedGroups: NotRequired[bool],
MaxRecords: NotRequired[int],
NextToken: NotRequired[str],
DescribeScheduledActionsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeScheduledActionsTypeRequestTypeDef
def get_value() -> DescribeScheduledActionsTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeScheduledActionsTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
ScheduledActionNames: NotRequired[Sequence[str]],
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
DescribeTrafficSourcesRequestRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTrafficSourcesRequestRequestTypeDef
def get_value() -> DescribeTrafficSourcesRequestRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TrafficSourceType": ...,
}
Definition
class DescribeTrafficSourcesRequestRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSourceType: str,
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
TrafficSourceStateTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TrafficSourceStateTypeDef
def get_value() -> TrafficSourceStateTypeDef:
return {
"TrafficSource": ...,
}
Definition
class TrafficSourceStateTypeDef(TypedDict):
TrafficSource: NotRequired[str],
State: NotRequired[str],
DescribeWarmPoolTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeWarmPoolTypeRequestTypeDef
def get_value() -> DescribeWarmPoolTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DescribeWarmPoolTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
MaxRecords: NotRequired[int],
NextToken: NotRequired[str],
DetachInstancesQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachInstancesQueryRequestTypeDef
def get_value() -> DetachInstancesQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ShouldDecrementDesiredCapacity": ...,
}
Definition
class DetachInstancesQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ShouldDecrementDesiredCapacity: bool,
InstanceIds: NotRequired[Sequence[str]],
DetachLoadBalancerTargetGroupsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachLoadBalancerTargetGroupsTypeRequestTypeDef
def get_value() -> DetachLoadBalancerTargetGroupsTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TargetGroupARNs": ...,
}
Definition
class DetachLoadBalancerTargetGroupsTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TargetGroupARNs: Sequence[str],
DetachLoadBalancersTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachLoadBalancersTypeRequestTypeDef
def get_value() -> DetachLoadBalancersTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"LoadBalancerNames": ...,
}
Definition
class DetachLoadBalancersTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
LoadBalancerNames: Sequence[str],
DisableMetricsCollectionQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DisableMetricsCollectionQueryRequestTypeDef
def get_value() -> DisableMetricsCollectionQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class DisableMetricsCollectionQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
Metrics: NotRequired[Sequence[str]],
EnableMetricsCollectionQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnableMetricsCollectionQueryRequestTypeDef
def get_value() -> EnableMetricsCollectionQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"Granularity": ...,
}
Definition
class EnableMetricsCollectionQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
Granularity: str,
Metrics: NotRequired[Sequence[str]],
EnterStandbyQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnterStandbyQueryRequestTypeDef
def get_value() -> EnterStandbyQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ShouldDecrementDesiredCapacity": ...,
}
Definition
class EnterStandbyQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ShouldDecrementDesiredCapacity: bool,
InstanceIds: NotRequired[Sequence[str]],
ExecutePolicyTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ExecutePolicyTypeRequestTypeDef
def get_value() -> ExecutePolicyTypeRequestTypeDef:
return {
"PolicyName": ...,
}
Definition
class ExecutePolicyTypeRequestTypeDef(TypedDict):
PolicyName: str,
AutoScalingGroupName: NotRequired[str],
HonorCooldown: NotRequired[bool],
MetricValue: NotRequired[float],
BreachThreshold: NotRequired[float],
ExitStandbyQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ExitStandbyQueryRequestTypeDef
def get_value() -> ExitStandbyQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class ExitStandbyQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
InstanceIds: NotRequired[Sequence[str]],
GetPredictiveScalingForecastTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import GetPredictiveScalingForecastTypeRequestTypeDef
def get_value() -> GetPredictiveScalingForecastTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"PolicyName": ...,
"StartTime": ...,
"EndTime": ...,
}
Definition
class GetPredictiveScalingForecastTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
PolicyName: str,
StartTime: Union[datetime, str],
EndTime: Union[datetime, str],
InstanceRefreshLivePoolProgressTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshLivePoolProgressTypeDef
def get_value() -> InstanceRefreshLivePoolProgressTypeDef:
return {
"PercentageComplete": ...,
}
Definition
class InstanceRefreshLivePoolProgressTypeDef(TypedDict):
PercentageComplete: NotRequired[int],
InstancesToUpdate: NotRequired[int],
InstanceRefreshWarmPoolProgressTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceRefreshWarmPoolProgressTypeDef
def get_value() -> InstanceRefreshWarmPoolProgressTypeDef:
return {
"PercentageComplete": ...,
}
Definition
class InstanceRefreshWarmPoolProgressTypeDef(TypedDict):
PercentageComplete: NotRequired[int],
InstancesToUpdate: NotRequired[int],
RefreshPreferencesTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import RefreshPreferencesTypeDef
def get_value() -> RefreshPreferencesTypeDef:
return {
"MinHealthyPercentage": ...,
}
Definition
class RefreshPreferencesTypeDef(TypedDict):
MinHealthyPercentage: NotRequired[int],
InstanceWarmup: NotRequired[int],
CheckpointPercentages: NotRequired[List[int]],
CheckpointDelay: NotRequired[int],
SkipMatching: NotRequired[bool],
MemoryGiBPerVCpuRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MemoryGiBPerVCpuRequestTypeDef
def get_value() -> MemoryGiBPerVCpuRequestTypeDef:
return {
"Min": ...,
}
Definition
class MemoryGiBPerVCpuRequestTypeDef(TypedDict):
Min: NotRequired[float],
Max: NotRequired[float],
MemoryMiBRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import MemoryMiBRequestTypeDef
def get_value() -> MemoryMiBRequestTypeDef:
return {
"Min": ...,
}
NetworkBandwidthGbpsRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import NetworkBandwidthGbpsRequestTypeDef
def get_value() -> NetworkBandwidthGbpsRequestTypeDef:
return {
"Min": ...,
}
Definition
class NetworkBandwidthGbpsRequestTypeDef(TypedDict):
Min: NotRequired[float],
Max: NotRequired[float],
NetworkInterfaceCountRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import NetworkInterfaceCountRequestTypeDef
def get_value() -> NetworkInterfaceCountRequestTypeDef:
return {
"Min": ...,
}
Definition
class NetworkInterfaceCountRequestTypeDef(TypedDict):
Min: NotRequired[int],
Max: NotRequired[int],
TotalLocalStorageGBRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TotalLocalStorageGBRequestTypeDef
def get_value() -> TotalLocalStorageGBRequestTypeDef:
return {
"Min": ...,
}
Definition
class TotalLocalStorageGBRequestTypeDef(TypedDict):
Min: NotRequired[float],
Max: NotRequired[float],
VCpuCountRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import VCpuCountRequestTypeDef
def get_value() -> VCpuCountRequestTypeDef:
return {
"Min": ...,
}
InstanceReusePolicyTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstanceReusePolicyTypeDef
def get_value() -> InstanceReusePolicyTypeDef:
return {
"ReuseOnScaleIn": ...,
}
InstancesDistributionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import InstancesDistributionTypeDef
def get_value() -> InstancesDistributionTypeDef:
return {
"OnDemandAllocationStrategy": ...,
}
Definition
class InstancesDistributionTypeDef(TypedDict):
OnDemandAllocationStrategy: NotRequired[str],
OnDemandBaseCapacity: NotRequired[int],
OnDemandPercentageAboveBaseCapacity: NotRequired[int],
SpotAllocationStrategy: NotRequired[str],
SpotInstancePools: NotRequired[int],
SpotMaxPrice: NotRequired[str],
LaunchConfigurationNameTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNameTypeRequestTypeDef
def get_value() -> LaunchConfigurationNameTypeRequestTypeDef:
return {
"LaunchConfigurationName": ...,
}
LaunchConfigurationNamesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import LaunchConfigurationNamesTypeRequestTypeDef
def get_value() -> LaunchConfigurationNamesTypeRequestTypeDef:
return {
"LaunchConfigurationNames": ...,
}
Definition
class LaunchConfigurationNamesTypeRequestTypeDef(TypedDict):
LaunchConfigurationNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
PredefinedMetricSpecificationTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredefinedMetricSpecificationTypeDef
def get_value() -> PredefinedMetricSpecificationTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredefinedMetricSpecificationTypeDef(TypedDict):
PredefinedMetricType: MetricTypeType, # (1)
ResourceLabel: NotRequired[str],
- See MetricTypeType
PredictiveScalingPredefinedLoadMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedLoadMetricTypeDef
def get_value() -> PredictiveScalingPredefinedLoadMetricTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredictiveScalingPredefinedLoadMetricTypeDef(TypedDict):
PredefinedMetricType: PredefinedLoadMetricTypeType, # (1)
ResourceLabel: NotRequired[str],
PredictiveScalingPredefinedMetricPairTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedMetricPairTypeDef
def get_value() -> PredictiveScalingPredefinedMetricPairTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredictiveScalingPredefinedMetricPairTypeDef(TypedDict):
PredefinedMetricType: PredefinedMetricPairTypeType, # (1)
ResourceLabel: NotRequired[str],
PredictiveScalingPredefinedScalingMetricTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PredictiveScalingPredefinedScalingMetricTypeDef
def get_value() -> PredictiveScalingPredefinedScalingMetricTypeDef:
return {
"PredefinedMetricType": ...,
}
Definition
class PredictiveScalingPredefinedScalingMetricTypeDef(TypedDict):
PredefinedMetricType: PredefinedScalingMetricTypeType, # (1)
ResourceLabel: NotRequired[str],
ProcessTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ProcessTypeTypeDef
def get_value() -> ProcessTypeTypeDef:
return {
"ProcessName": ...,
}
PutLifecycleHookTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutLifecycleHookTypeRequestTypeDef
def get_value() -> PutLifecycleHookTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
}
Definition
class PutLifecycleHookTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
LifecycleTransition: NotRequired[str],
RoleARN: NotRequired[str],
NotificationTargetARN: NotRequired[str],
NotificationMetadata: NotRequired[str],
HeartbeatTimeout: NotRequired[int],
DefaultResult: NotRequired[str],
PutNotificationConfigurationTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutNotificationConfigurationTypeRequestTypeDef
def get_value() -> PutNotificationConfigurationTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TopicARN": ...,
"NotificationTypes": ...,
}
Definition
class PutNotificationConfigurationTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TopicARN: str,
NotificationTypes: Sequence[str],
StepAdjustmentTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import StepAdjustmentTypeDef
def get_value() -> StepAdjustmentTypeDef:
return {
"ScalingAdjustment": ...,
}
Definition
class StepAdjustmentTypeDef(TypedDict):
ScalingAdjustment: int,
MetricIntervalLowerBound: NotRequired[float],
MetricIntervalUpperBound: NotRequired[float],
PutScheduledUpdateGroupActionTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PutScheduledUpdateGroupActionTypeRequestTypeDef
def get_value() -> PutScheduledUpdateGroupActionTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"ScheduledActionName": ...,
}
Definition
class PutScheduledUpdateGroupActionTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScheduledActionName: str,
Time: NotRequired[Union[datetime, str]],
StartTime: NotRequired[Union[datetime, str]],
EndTime: NotRequired[Union[datetime, str]],
Recurrence: NotRequired[str],
MinSize: NotRequired[int],
MaxSize: NotRequired[int],
DesiredCapacity: NotRequired[int],
TimeZone: NotRequired[str],
RecordLifecycleActionHeartbeatTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import RecordLifecycleActionHeartbeatTypeRequestTypeDef
def get_value() -> RecordLifecycleActionHeartbeatTypeRequestTypeDef:
return {
"LifecycleHookName": ...,
"AutoScalingGroupName": ...,
}
Definition
class RecordLifecycleActionHeartbeatTypeRequestTypeDef(TypedDict):
LifecycleHookName: str,
AutoScalingGroupName: str,
LifecycleActionToken: NotRequired[str],
InstanceId: NotRequired[str],
ScalingProcessQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScalingProcessQueryRequestTypeDef
def get_value() -> ScalingProcessQueryRequestTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class ScalingProcessQueryRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
ScalingProcesses: NotRequired[Sequence[str]],
ScheduledUpdateGroupActionTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ScheduledUpdateGroupActionTypeDef
def get_value() -> ScheduledUpdateGroupActionTypeDef:
return {
"AutoScalingGroupName": ...,
}
Definition
class ScheduledUpdateGroupActionTypeDef(TypedDict):
AutoScalingGroupName: NotRequired[str],
ScheduledActionName: NotRequired[str],
ScheduledActionARN: NotRequired[str],
Time: NotRequired[datetime],
StartTime: NotRequired[datetime],
EndTime: NotRequired[datetime],
Recurrence: NotRequired[str],
MinSize: NotRequired[int],
MaxSize: NotRequired[int],
DesiredCapacity: NotRequired[int],
TimeZone: NotRequired[str],
SetDesiredCapacityTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SetDesiredCapacityTypeRequestTypeDef
def get_value() -> SetDesiredCapacityTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"DesiredCapacity": ...,
}
Definition
class SetDesiredCapacityTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
DesiredCapacity: int,
HonorCooldown: NotRequired[bool],
SetInstanceHealthQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SetInstanceHealthQueryRequestTypeDef
def get_value() -> SetInstanceHealthQueryRequestTypeDef:
return {
"InstanceId": ...,
"HealthStatus": ...,
}
Definition
class SetInstanceHealthQueryRequestTypeDef(TypedDict):
InstanceId: str,
HealthStatus: str,
ShouldRespectGracePeriod: NotRequired[bool],
SetInstanceProtectionQueryRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import SetInstanceProtectionQueryRequestTypeDef
def get_value() -> SetInstanceProtectionQueryRequestTypeDef:
return {
"InstanceIds": ...,
"AutoScalingGroupName": ...,
"ProtectedFromScaleIn": ...,
}
Definition
class SetInstanceProtectionQueryRequestTypeDef(TypedDict):
InstanceIds: Sequence[str],
AutoScalingGroupName: str,
ProtectedFromScaleIn: bool,
TerminateInstanceInAutoScalingGroupTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import TerminateInstanceInAutoScalingGroupTypeRequestTypeDef
def get_value() -> TerminateInstanceInAutoScalingGroupTypeRequestTypeDef:
return {
"InstanceId": ...,
"ShouldDecrementDesiredCapacity": ...,
}
Definition
class TerminateInstanceInAutoScalingGroupTypeRequestTypeDef(TypedDict):
InstanceId: str,
ShouldDecrementDesiredCapacity: bool,
ActivitiesTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ActivitiesTypeTypeDef
def get_value() -> ActivitiesTypeTypeDef:
return {
"Activities": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ActivitiesTypeTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ActivityTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ActivityTypeTypeDef
def get_value() -> ActivityTypeTypeDef:
return {
"Activity": ...,
"ResponseMetadata": ...,
}
Definition
class ActivityTypeTypeDef(TypedDict):
Activity: ActivityTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CancelInstanceRefreshAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import CancelInstanceRefreshAnswerTypeDef
def get_value() -> CancelInstanceRefreshAnswerTypeDef:
return {
"InstanceRefreshId": ...,
"ResponseMetadata": ...,
}
Definition
class CancelInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAccountLimitsAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAccountLimitsAnswerTypeDef
def get_value() -> DescribeAccountLimitsAnswerTypeDef:
return {
"MaxNumberOfAutoScalingGroups": ...,
"MaxNumberOfLaunchConfigurations": ...,
"NumberOfAutoScalingGroups": ...,
"NumberOfLaunchConfigurations": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeAccountLimitsAnswerTypeDef(TypedDict):
MaxNumberOfAutoScalingGroups: int,
MaxNumberOfLaunchConfigurations: int,
NumberOfAutoScalingGroups: int,
NumberOfLaunchConfigurations: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAutoScalingNotificationTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAutoScalingNotificationTypesAnswerTypeDef
def get_value() -> DescribeAutoScalingNotificationTypesAnswerTypeDef:
return {
"AutoScalingNotificationTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeAutoScalingNotificationTypesAnswerTypeDef(TypedDict):
AutoScalingNotificationTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeLifecycleHookTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeLifecycleHookTypesAnswerTypeDef
def get_value() -> DescribeLifecycleHookTypesAnswerTypeDef:
return {
"LifecycleHookTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeLifecycleHookTypesAnswerTypeDef(TypedDict):
LifecycleHookTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeTerminationPolicyTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTerminationPolicyTypesAnswerTypeDef
def get_value() -> DescribeTerminationPolicyTypesAnswerTypeDef:
return {
"TerminationPolicyTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTerminationPolicyTypesAnswerTypeDef(TypedDict):
TerminationPolicyTypes: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DetachInstancesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachInstancesAnswerTypeDef
def get_value() -> DetachInstancesAnswerTypeDef:
return {
"Activities": ...,
"ResponseMetadata": ...,
}
Definition
class DetachInstancesAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
EmptyResponseMetadataTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EnterStandbyAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import EnterStandbyAnswerTypeDef
def get_value() -> EnterStandbyAnswerTypeDef:
return {
"Activities": ...,
"ResponseMetadata": ...,
}
Definition
class EnterStandbyAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ExitStandbyAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import ExitStandbyAnswerTypeDef
def get_value() -> ExitStandbyAnswerTypeDef:
return {
"Activities": ...,
"ResponseMetadata": ...,
}
Definition
class ExitStandbyAnswerTypeDef(TypedDict):
Activities: List[ActivityTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StartInstanceRefreshAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import StartInstanceRefreshAnswerTypeDef
def get_value() -> StartInstanceRefreshAnswerTypeDef:
return {
"InstanceRefreshId": ...,
"ResponseMetadata": ...,
}
Definition
class StartInstanceRefreshAnswerTypeDef(TypedDict):
InstanceRefreshId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeAdjustmentTypesAnswerTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeAdjustmentTypesAnswerTypeDef
def get_value() -> DescribeAdjustmentTypesAnswerTypeDef:
return {
"AdjustmentTypes": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeAdjustmentTypesAnswerTypeDef(TypedDict):
AdjustmentTypes: List[AdjustmentTypeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PolicyARNTypeTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import PolicyARNTypeTypeDef
def get_value() -> PolicyARNTypeTypeDef:
return {
"PolicyARN": ...,
"Alarms": ...,
"ResponseMetadata": ...,
}
Definition
class PolicyARNTypeTypeDef(TypedDict):
PolicyARN: str,
Alarms: List[AlarmTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See AlarmTypeDef
- See ResponseMetadataTypeDef
AttachTrafficSourcesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AttachTrafficSourcesTypeRequestTypeDef
def get_value() -> AttachTrafficSourcesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TrafficSources": ...,
}
Definition
class AttachTrafficSourcesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSources: Sequence[TrafficSourceIdentifierTypeDef], # (1)
DetachTrafficSourcesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DetachTrafficSourcesTypeRequestTypeDef
def get_value() -> DetachTrafficSourcesTypeRequestTypeDef:
return {
"AutoScalingGroupName": ...,
"TrafficSources": ...,
}
Definition
class DetachTrafficSourcesTypeRequestTypeDef(TypedDict):
AutoScalingGroupName: str,
TrafficSources: Sequence[TrafficSourceIdentifierTypeDef], # (1)
AutoScalingGroupNamesTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import AutoScalingGroupNamesTypeRequestTypeDef
def get_value() -> AutoScalingGroupNamesTypeRequestTypeDef:
return {
"AutoScalingGroupNames": ...,
}
Definition
class AutoScalingGroupNamesTypeRequestTypeDef(TypedDict):
AutoScalingGroupNames: NotRequired[Sequence[str]],
NextToken: NotRequired[str],
MaxRecords: NotRequired[int],
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
- See FilterTypeDef
DescribeTagsTypeRequestTypeDef
Usage Example
from mypy_boto3_autoscaling.type_defs import DescribeTagsTypeRequestTypeDef
def get_value() -> DescribeTagsTypeRequestTypeDef:
<