Skip to content

Typed dictionaries

Index > ApplicationAutoScaling > Typed dictionaries

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

AlarmTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import AlarmTypeDef

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

MetricDimensionTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import MetricDimensionTypeDef

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

DeleteScalingPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DeleteScalingPolicyRequestRequestTypeDef

def get_value() -> DeleteScalingPolicyRequestRequestTypeDef:
    return {
        "PolicyName": ...,
        "ServiceNamespace": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
    }
Definition
class DeleteScalingPolicyRequestRequestTypeDef(TypedDict):
    PolicyName: str,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType

DeleteScheduledActionRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DeleteScheduledActionRequestRequestTypeDef

def get_value() -> DeleteScheduledActionRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
        "ScheduledActionName": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
    }
Definition
class DeleteScheduledActionRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ScheduledActionName: str,
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType

DeregisterScalableTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DeregisterScalableTargetRequestRequestTypeDef

def get_value() -> DeregisterScalableTargetRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
    }
Definition
class DeregisterScalableTargetRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import PaginatorConfigTypeDef

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

DescribeScalableTargetsRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalableTargetsRequestRequestTypeDef

def get_value() -> DescribeScalableTargetsRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScalableTargetsRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceIds: NotRequired[Sequence[str]],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ServiceNamespaceType
  2. See ScalableDimensionType

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_application_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,

DescribeScalingActivitiesRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalingActivitiesRequestRequestTypeDef

def get_value() -> DescribeScalingActivitiesRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScalingActivitiesRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: NotRequired[str],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
    IncludeNotScaledActivities: NotRequired[bool],
  1. See ServiceNamespaceType
  2. See ScalableDimensionType

DescribeScalingPoliciesRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalingPoliciesRequestRequestTypeDef

def get_value() -> DescribeScalingPoliciesRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScalingPoliciesRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    PolicyNames: NotRequired[Sequence[str]],
    ResourceId: NotRequired[str],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ServiceNamespaceType
  2. See ScalableDimensionType

DescribeScheduledActionsRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScheduledActionsRequestRequestTypeDef

def get_value() -> DescribeScheduledActionsRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScheduledActionsRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ScheduledActionNames: NotRequired[Sequence[str]],
    ResourceId: NotRequired[str],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],
  1. See ServiceNamespaceType
  2. See ScalableDimensionType

NotScaledReasonTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import NotScaledReasonTypeDef

def get_value() -> NotScaledReasonTypeDef:
    return {
        "Code": ...,
    }
Definition
class NotScaledReasonTypeDef(TypedDict):
    Code: str,
    MaxCapacity: NotRequired[int],
    MinCapacity: NotRequired[int],
    CurrentCapacity: NotRequired[int],

PredefinedMetricSpecificationTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import PredefinedMetricSpecificationTypeDef

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

ScalableTargetActionTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import ScalableTargetActionTypeDef

def get_value() -> ScalableTargetActionTypeDef:
    return {
        "MinCapacity": ...,
    }
Definition
class ScalableTargetActionTypeDef(TypedDict):
    MinCapacity: NotRequired[int],
    MaxCapacity: NotRequired[int],

SuspendedStateTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import SuspendedStateTypeDef

def get_value() -> SuspendedStateTypeDef:
    return {
        "DynamicScalingInSuspended": ...,
    }
Definition
class SuspendedStateTypeDef(TypedDict):
    DynamicScalingInSuspended: NotRequired[bool],
    DynamicScalingOutSuspended: NotRequired[bool],
    ScheduledScalingSuspended: NotRequired[bool],

StepAdjustmentTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import StepAdjustmentTypeDef

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

CustomizedMetricSpecificationTypeDef

Usage Example
from mypy_boto3_application_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

DescribeScalableTargetsRequestDescribeScalableTargetsPaginateTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalableTargetsRequestDescribeScalableTargetsPaginateTypeDef

def get_value() -> DescribeScalableTargetsRequestDescribeScalableTargetsPaginateTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScalableTargetsRequestDescribeScalableTargetsPaginateTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceIds: NotRequired[Sequence[str]],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef

DescribeScalingActivitiesRequestDescribeScalingActivitiesPaginateTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalingActivitiesRequestDescribeScalingActivitiesPaginateTypeDef

def get_value() -> DescribeScalingActivitiesRequestDescribeScalingActivitiesPaginateTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScalingActivitiesRequestDescribeScalingActivitiesPaginateTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: NotRequired[str],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    IncludeNotScaledActivities: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef

DescribeScalingPoliciesRequestDescribeScalingPoliciesPaginateTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalingPoliciesRequestDescribeScalingPoliciesPaginateTypeDef

def get_value() -> DescribeScalingPoliciesRequestDescribeScalingPoliciesPaginateTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScalingPoliciesRequestDescribeScalingPoliciesPaginateTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    PolicyNames: NotRequired[Sequence[str]],
    ResourceId: NotRequired[str],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef

DescribeScheduledActionsRequestDescribeScheduledActionsPaginateTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScheduledActionsRequestDescribeScheduledActionsPaginateTypeDef

def get_value() -> DescribeScheduledActionsRequestDescribeScheduledActionsPaginateTypeDef:
    return {
        "ServiceNamespace": ...,
    }
Definition
class DescribeScheduledActionsRequestDescribeScheduledActionsPaginateTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ScheduledActionNames: NotRequired[Sequence[str]],
    ResourceId: NotRequired[str],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PaginatorConfigTypeDef

PutScalingPolicyResponseTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import PutScalingPolicyResponseTypeDef

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

ScalingActivityTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import ScalingActivityTypeDef

def get_value() -> ScalingActivityTypeDef:
    return {
        "ActivityId": ...,
        "ServiceNamespace": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
        "Description": ...,
        "Cause": ...,
        "StartTime": ...,
        "StatusCode": ...,
    }
Definition
class ScalingActivityTypeDef(TypedDict):
    ActivityId: str,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
    Description: str,
    Cause: str,
    StartTime: datetime,
    StatusCode: ScalingActivityStatusCodeType,  # (3)
    EndTime: NotRequired[datetime],
    StatusMessage: NotRequired[str],
    Details: NotRequired[str],
    NotScaledReasons: NotRequired[List[NotScaledReasonTypeDef]],  # (4)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See ScalingActivityStatusCodeType
  4. See NotScaledReasonTypeDef

PutScheduledActionRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import PutScheduledActionRequestRequestTypeDef

def get_value() -> PutScheduledActionRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
        "ScheduledActionName": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
    }
Definition
class PutScheduledActionRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ScheduledActionName: str,
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
    Schedule: NotRequired[str],
    Timezone: NotRequired[str],
    StartTime: NotRequired[Union[datetime, str]],
    EndTime: NotRequired[Union[datetime, str]],
    ScalableTargetAction: NotRequired[ScalableTargetActionTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See ScalableTargetActionTypeDef

ScheduledActionTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import ScheduledActionTypeDef

def get_value() -> ScheduledActionTypeDef:
    return {
        "ScheduledActionName": ...,
        "ScheduledActionARN": ...,
        "ServiceNamespace": ...,
        "Schedule": ...,
        "ResourceId": ...,
        "CreationTime": ...,
    }
Definition
class ScheduledActionTypeDef(TypedDict):
    ScheduledActionName: str,
    ScheduledActionARN: str,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    Schedule: str,
    ResourceId: str,
    CreationTime: datetime,
    Timezone: NotRequired[str],
    ScalableDimension: NotRequired[ScalableDimensionType],  # (2)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    ScalableTargetAction: NotRequired[ScalableTargetActionTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See ScalableTargetActionTypeDef

RegisterScalableTargetRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import RegisterScalableTargetRequestRequestTypeDef

def get_value() -> RegisterScalableTargetRequestRequestTypeDef:
    return {
        "ServiceNamespace": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
    }
Definition
class RegisterScalableTargetRequestRequestTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
    MinCapacity: NotRequired[int],
    MaxCapacity: NotRequired[int],
    RoleARN: NotRequired[str],
    SuspendedState: NotRequired[SuspendedStateTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See SuspendedStateTypeDef

ScalableTargetTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import ScalableTargetTypeDef

def get_value() -> ScalableTargetTypeDef:
    return {
        "ServiceNamespace": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
        "MinCapacity": ...,
        "MaxCapacity": ...,
        "RoleARN": ...,
        "CreationTime": ...,
    }
Definition
class ScalableTargetTypeDef(TypedDict):
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
    MinCapacity: int,
    MaxCapacity: int,
    RoleARN: str,
    CreationTime: datetime,
    SuspendedState: NotRequired[SuspendedStateTypeDef],  # (3)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See SuspendedStateTypeDef

StepScalingPolicyConfigurationTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import StepScalingPolicyConfigurationTypeDef

def get_value() -> StepScalingPolicyConfigurationTypeDef:
    return {
        "AdjustmentType": ...,
    }
Definition
class StepScalingPolicyConfigurationTypeDef(TypedDict):
    AdjustmentType: NotRequired[AdjustmentTypeType],  # (1)
    StepAdjustments: NotRequired[List[StepAdjustmentTypeDef]],  # (2)
    MinAdjustmentMagnitude: NotRequired[int],
    Cooldown: NotRequired[int],
    MetricAggregationType: NotRequired[MetricAggregationTypeType],  # (3)
  1. See AdjustmentTypeType
  2. See StepAdjustmentTypeDef
  3. See MetricAggregationTypeType

TargetTrackingScalingPolicyConfigurationTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import TargetTrackingScalingPolicyConfigurationTypeDef

def get_value() -> TargetTrackingScalingPolicyConfigurationTypeDef:
    return {
        "TargetValue": ...,
    }
Definition
class TargetTrackingScalingPolicyConfigurationTypeDef(TypedDict):
    TargetValue: float,
    PredefinedMetricSpecification: NotRequired[PredefinedMetricSpecificationTypeDef],  # (1)
    CustomizedMetricSpecification: NotRequired[CustomizedMetricSpecificationTypeDef],  # (2)
    ScaleOutCooldown: NotRequired[int],
    ScaleInCooldown: NotRequired[int],
    DisableScaleIn: NotRequired[bool],
  1. See PredefinedMetricSpecificationTypeDef
  2. See CustomizedMetricSpecificationTypeDef

DescribeScalingActivitiesResponseTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalingActivitiesResponseTypeDef

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

DescribeScheduledActionsResponseTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScheduledActionsResponseTypeDef

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

DescribeScalableTargetsResponseTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalableTargetsResponseTypeDef

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

PutScalingPolicyRequestRequestTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import PutScalingPolicyRequestRequestTypeDef

def get_value() -> PutScalingPolicyRequestRequestTypeDef:
    return {
        "PolicyName": ...,
        "ServiceNamespace": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
    }
Definition
class PutScalingPolicyRequestRequestTypeDef(TypedDict):
    PolicyName: str,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
    PolicyType: NotRequired[PolicyTypeType],  # (3)
    StepScalingPolicyConfiguration: NotRequired[StepScalingPolicyConfigurationTypeDef],  # (4)
    TargetTrackingScalingPolicyConfiguration: NotRequired[TargetTrackingScalingPolicyConfigurationTypeDef],  # (5)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PolicyTypeType
  4. See StepScalingPolicyConfigurationTypeDef
  5. See TargetTrackingScalingPolicyConfigurationTypeDef

ScalingPolicyTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import ScalingPolicyTypeDef

def get_value() -> ScalingPolicyTypeDef:
    return {
        "PolicyARN": ...,
        "PolicyName": ...,
        "ServiceNamespace": ...,
        "ResourceId": ...,
        "ScalableDimension": ...,
        "PolicyType": ...,
        "CreationTime": ...,
    }
Definition
class ScalingPolicyTypeDef(TypedDict):
    PolicyARN: str,
    PolicyName: str,
    ServiceNamespace: ServiceNamespaceType,  # (1)
    ResourceId: str,
    ScalableDimension: ScalableDimensionType,  # (2)
    PolicyType: PolicyTypeType,  # (3)
    CreationTime: datetime,
    StepScalingPolicyConfiguration: NotRequired[StepScalingPolicyConfigurationTypeDef],  # (4)
    TargetTrackingScalingPolicyConfiguration: NotRequired[TargetTrackingScalingPolicyConfigurationTypeDef],  # (5)
    Alarms: NotRequired[List[AlarmTypeDef]],  # (6)
  1. See ServiceNamespaceType
  2. See ScalableDimensionType
  3. See PolicyTypeType
  4. See StepScalingPolicyConfigurationTypeDef
  5. See TargetTrackingScalingPolicyConfigurationTypeDef
  6. See AlarmTypeDef

DescribeScalingPoliciesResponseTypeDef

Usage Example
from mypy_boto3_application_autoscaling.type_defs import DescribeScalingPoliciesResponseTypeDef

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