Type definitions#
Index > ApplicationAutoScaling > Type definitions
Auto-generated documentation for ApplicationAutoScaling type annotations stubs module mypy-boto3-application-autoscaling.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
StepScalingPolicyConfigurationUnionTypeDef#
# StepScalingPolicyConfigurationUnionTypeDef definition
StepScalingPolicyConfigurationUnionTypeDef = Union[
StepScalingPolicyConfigurationTypeDef, # (1)
StepScalingPolicyConfigurationExtraOutputTypeDef, # (2)
]
TargetTrackingScalingPolicyConfigurationUnionTypeDef#
# TargetTrackingScalingPolicyConfigurationUnionTypeDef definition
TargetTrackingScalingPolicyConfigurationUnionTypeDef = Union[
TargetTrackingScalingPolicyConfigurationTypeDef, # (1)
TargetTrackingScalingPolicyConfigurationExtraOutputTypeDef, # (2)
]
- See TargetTrackingScalingPolicyConfigurationTypeDef
- See TargetTrackingScalingPolicyConfigurationExtraOutputTypeDef
AlarmTypeDef#
# AlarmTypeDef definition
class AlarmTypeDef(TypedDict):
AlarmName: str,
AlarmARN: str,
MetricDimensionTypeDef#
# MetricDimensionTypeDef definition
class MetricDimensionTypeDef(TypedDict):
Name: str,
Value: str,
DeleteScalingPolicyRequestRequestTypeDef#
# DeleteScalingPolicyRequestRequestTypeDef definition
class DeleteScalingPolicyRequestRequestTypeDef(TypedDict):
PolicyName: str,
ServiceNamespace: ServiceNamespaceType, # (1)
ResourceId: str,
ScalableDimension: ScalableDimensionType, # (2)
DeleteScheduledActionRequestRequestTypeDef#
# DeleteScheduledActionRequestRequestTypeDef definition
class DeleteScheduledActionRequestRequestTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
ScheduledActionName: str,
ResourceId: str,
ScalableDimension: ScalableDimensionType, # (2)
DeregisterScalableTargetRequestRequestTypeDef#
# DeregisterScalableTargetRequestRequestTypeDef definition
class DeregisterScalableTargetRequestRequestTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
ResourceId: str,
ScalableDimension: ScalableDimensionType, # (2)
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeScalableTargetsRequestRequestTypeDef#
# DescribeScalableTargetsRequestRequestTypeDef definition
class DescribeScalableTargetsRequestRequestTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
ResourceIds: NotRequired[Sequence[str]],
ScalableDimension: NotRequired[ScalableDimensionType], # (2)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DescribeScalingActivitiesRequestRequestTypeDef#
# DescribeScalingActivitiesRequestRequestTypeDef definition
class DescribeScalingActivitiesRequestRequestTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
ResourceId: NotRequired[str],
ScalableDimension: NotRequired[ScalableDimensionType], # (2)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
IncludeNotScaledActivities: NotRequired[bool],
DescribeScalingPoliciesRequestRequestTypeDef#
# DescribeScalingPoliciesRequestRequestTypeDef definition
class DescribeScalingPoliciesRequestRequestTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
PolicyNames: NotRequired[Sequence[str]],
ResourceId: NotRequired[str],
ScalableDimension: NotRequired[ScalableDimensionType], # (2)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
DescribeScheduledActionsRequestRequestTypeDef#
# DescribeScheduledActionsRequestRequestTypeDef definition
class DescribeScheduledActionsRequestRequestTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
ScheduledActionNames: NotRequired[Sequence[str]],
ResourceId: NotRequired[str],
ScalableDimension: NotRequired[ScalableDimensionType], # (2)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
NotScaledReasonTypeDef#
# NotScaledReasonTypeDef definition
class NotScaledReasonTypeDef(TypedDict):
Code: str,
MaxCapacity: NotRequired[int],
MinCapacity: NotRequired[int],
CurrentCapacity: NotRequired[int],
PredefinedMetricSpecificationTypeDef#
# PredefinedMetricSpecificationTypeDef definition
class PredefinedMetricSpecificationTypeDef(TypedDict):
PredefinedMetricType: MetricTypeType, # (1)
ResourceLabel: NotRequired[str],
- See MetricTypeType
ScalableTargetActionTypeDef#
# ScalableTargetActionTypeDef definition
class ScalableTargetActionTypeDef(TypedDict):
MinCapacity: NotRequired[int],
MaxCapacity: NotRequired[int],
SuspendedStateTypeDef#
# SuspendedStateTypeDef definition
class SuspendedStateTypeDef(TypedDict):
DynamicScalingInSuspended: NotRequired[bool],
DynamicScalingOutSuspended: NotRequired[bool],
ScheduledScalingSuspended: NotRequired[bool],
StepAdjustmentTypeDef#
# StepAdjustmentTypeDef definition
class StepAdjustmentTypeDef(TypedDict):
ScalingAdjustment: int,
MetricIntervalLowerBound: NotRequired[float],
MetricIntervalUpperBound: NotRequired[float],
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
Tags: Mapping[str, str],
TargetTrackingMetricDimensionTypeDef#
# TargetTrackingMetricDimensionTypeDef definition
class TargetTrackingMetricDimensionTypeDef(TypedDict):
Name: str,
Value: str,
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceARN: str,
TagKeys: Sequence[str],
DescribeScalableTargetsRequestDescribeScalableTargetsPaginateTypeDef#
# DescribeScalableTargetsRequestDescribeScalableTargetsPaginateTypeDef definition
class DescribeScalableTargetsRequestDescribeScalableTargetsPaginateTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
ResourceIds: NotRequired[Sequence[str]],
ScalableDimension: NotRequired[ScalableDimensionType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
DescribeScalingActivitiesRequestDescribeScalingActivitiesPaginateTypeDef#
# DescribeScalingActivitiesRequestDescribeScalingActivitiesPaginateTypeDef definition
class DescribeScalingActivitiesRequestDescribeScalingActivitiesPaginateTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
ResourceId: NotRequired[str],
ScalableDimension: NotRequired[ScalableDimensionType], # (2)
IncludeNotScaledActivities: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
DescribeScalingPoliciesRequestDescribeScalingPoliciesPaginateTypeDef#
# DescribeScalingPoliciesRequestDescribeScalingPoliciesPaginateTypeDef definition
class DescribeScalingPoliciesRequestDescribeScalingPoliciesPaginateTypeDef(TypedDict):
ServiceNamespace: ServiceNamespaceType, # (1)
PolicyNames: NotRequired[Sequence[str]],
ResourceId: NotRequired[str],
ScalableDimension: NotRequired[ScalableDimensionType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)