Skip to content

Type definitions#

Index > Shield > Type definitions

Auto-generated documentation for Shield type annotations stubs module types-boto3-shield.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ResponseActionOutputTypeDef#

# ResponseActionOutputTypeDef definition

class ResponseActionOutputTypeDef(TypedDict):
    Block: NotRequired[dict[str, Any]],
    Count: NotRequired[dict[str, Any]],

AssociateDRTLogBucketRequestRequestTypeDef#

# AssociateDRTLogBucketRequestRequestTypeDef definition

class AssociateDRTLogBucketRequestRequestTypeDef(TypedDict):
    LogBucket: str,

AssociateDRTRoleRequestRequestTypeDef#

# AssociateDRTRoleRequestRequestTypeDef definition

class AssociateDRTRoleRequestRequestTypeDef(TypedDict):
    RoleArn: str,

AssociateHealthCheckRequestRequestTypeDef#

# AssociateHealthCheckRequestRequestTypeDef definition

class AssociateHealthCheckRequestRequestTypeDef(TypedDict):
    ProtectionId: str,
    HealthCheckArn: str,

EmergencyContactTypeDef#

# EmergencyContactTypeDef definition

class EmergencyContactTypeDef(TypedDict):
    EmailAddress: str,
    PhoneNumber: NotRequired[str],
    ContactNotes: NotRequired[str],

MitigationTypeDef#

# MitigationTypeDef definition

class MitigationTypeDef(TypedDict):
    MitigationName: NotRequired[str],

SummarizedCounterTypeDef#

# SummarizedCounterTypeDef definition

class SummarizedCounterTypeDef(TypedDict):
    Name: NotRequired[str],
    Max: NotRequired[float],
    Average: NotRequired[float],
    Sum: NotRequired[float],
    N: NotRequired[int],
    Unit: NotRequired[str],

ContributorTypeDef#

# ContributorTypeDef definition

class ContributorTypeDef(TypedDict):
    Name: NotRequired[str],
    Value: NotRequired[int],

AttackVectorDescriptionTypeDef#

# AttackVectorDescriptionTypeDef definition

class AttackVectorDescriptionTypeDef(TypedDict):
    VectorType: str,

AttackVolumeStatisticsTypeDef#

# AttackVolumeStatisticsTypeDef definition

class AttackVolumeStatisticsTypeDef(TypedDict):
    Max: float,

TagTypeDef#

# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

DeleteProtectionGroupRequestRequestTypeDef#

# DeleteProtectionGroupRequestRequestTypeDef definition

class DeleteProtectionGroupRequestRequestTypeDef(TypedDict):
    ProtectionGroupId: str,

DeleteProtectionRequestRequestTypeDef#

# DeleteProtectionRequestRequestTypeDef definition

class DeleteProtectionRequestRequestTypeDef(TypedDict):
    ProtectionId: str,

DescribeAttackRequestRequestTypeDef#

# DescribeAttackRequestRequestTypeDef definition

class DescribeAttackRequestRequestTypeDef(TypedDict):
    AttackId: str,

TimeRangeOutputTypeDef#

# TimeRangeOutputTypeDef definition

class TimeRangeOutputTypeDef(TypedDict):
    FromInclusive: NotRequired[datetime],
    ToExclusive: NotRequired[datetime],

DescribeProtectionGroupRequestRequestTypeDef#

# DescribeProtectionGroupRequestRequestTypeDef definition

class DescribeProtectionGroupRequestRequestTypeDef(TypedDict):
    ProtectionGroupId: str,

ProtectionGroupTypeDef#

# ProtectionGroupTypeDef definition

class ProtectionGroupTypeDef(TypedDict):
    ProtectionGroupId: str,
    Aggregation: ProtectionGroupAggregationType,  # (1)
    Pattern: ProtectionGroupPatternType,  # (2)
    Members: list[str],
    ResourceType: NotRequired[ProtectedResourceTypeType],  # (3)
    ProtectionGroupArn: NotRequired[str],
  1. See ProtectionGroupAggregationType
  2. See ProtectionGroupPatternType
  3. See ProtectedResourceTypeType

DescribeProtectionRequestRequestTypeDef#

# DescribeProtectionRequestRequestTypeDef definition

class DescribeProtectionRequestRequestTypeDef(TypedDict):
    ProtectionId: NotRequired[str],
    ResourceArn: NotRequired[str],

DisableApplicationLayerAutomaticResponseRequestRequestTypeDef#

# DisableApplicationLayerAutomaticResponseRequestRequestTypeDef definition

class DisableApplicationLayerAutomaticResponseRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

DisassociateDRTLogBucketRequestRequestTypeDef#

# DisassociateDRTLogBucketRequestRequestTypeDef definition

class DisassociateDRTLogBucketRequestRequestTypeDef(TypedDict):
    LogBucket: str,

DisassociateHealthCheckRequestRequestTypeDef#

# DisassociateHealthCheckRequestRequestTypeDef definition

class DisassociateHealthCheckRequestRequestTypeDef(TypedDict):
    ProtectionId: str,
    HealthCheckArn: str,

ResponseActionTypeDef#

# ResponseActionTypeDef definition

class ResponseActionTypeDef(TypedDict):
    Block: NotRequired[Mapping[str, Any]],
    Count: NotRequired[Mapping[str, Any]],

InclusionProtectionFiltersTypeDef#

# InclusionProtectionFiltersTypeDef definition

class InclusionProtectionFiltersTypeDef(TypedDict):
    ResourceArns: NotRequired[Sequence[str]],
    ProtectionNames: NotRequired[Sequence[str]],
    ResourceTypes: NotRequired[Sequence[ProtectedResourceTypeType]],  # (1)
  1. See ProtectedResourceTypeType

InclusionProtectionGroupFiltersTypeDef#

# InclusionProtectionGroupFiltersTypeDef definition

class InclusionProtectionGroupFiltersTypeDef(TypedDict):
    ProtectionGroupIds: NotRequired[Sequence[str]],
    Patterns: NotRequired[Sequence[ProtectionGroupPatternType]],  # (1)
    ResourceTypes: NotRequired[Sequence[ProtectedResourceTypeType]],  # (2)
    Aggregations: NotRequired[Sequence[ProtectionGroupAggregationType]],  # (3)
  1. See ProtectionGroupPatternType
  2. See ProtectedResourceTypeType
  3. See ProtectionGroupAggregationType

LimitTypeDef#

# LimitTypeDef definition

class LimitTypeDef(TypedDict):
    Type: NotRequired[str],
    Max: NotRequired[int],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListResourcesInProtectionGroupRequestRequestTypeDef#

# ListResourcesInProtectionGroupRequestRequestTypeDef definition

class ListResourcesInProtectionGroupRequestRequestTypeDef(TypedDict):
    ProtectionGroupId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,

ProtectionGroupArbitraryPatternLimitsTypeDef#

# ProtectionGroupArbitraryPatternLimitsTypeDef definition

class ProtectionGroupArbitraryPatternLimitsTypeDef(TypedDict):
    MaxMembers: int,

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

UpdateProtectionGroupRequestRequestTypeDef#

# UpdateProtectionGroupRequestRequestTypeDef definition

class UpdateProtectionGroupRequestRequestTypeDef(TypedDict):
    ProtectionGroupId: str,
    Aggregation: ProtectionGroupAggregationType,  # (1)
    Pattern: ProtectionGroupPatternType,  # (2)
    ResourceType: NotRequired[ProtectedResourceTypeType],  # (3)
    Members: NotRequired[Sequence[str]],
  1. See ProtectionGroupAggregationType
  2. See ProtectionGroupPatternType
  3. See ProtectedResourceTypeType

UpdateSubscriptionRequestRequestTypeDef#

# UpdateSubscriptionRequestRequestTypeDef definition

class UpdateSubscriptionRequestRequestTypeDef(TypedDict):
    AutoRenew: NotRequired[AutoRenewType],  # (1)
  1. See AutoRenewType

ApplicationLayerAutomaticResponseConfigurationTypeDef#

# ApplicationLayerAutomaticResponseConfigurationTypeDef definition

class ApplicationLayerAutomaticResponseConfigurationTypeDef(TypedDict):
    Status: ApplicationLayerAutomaticResponseStatusType,  # (1)
    Action: ResponseActionOutputTypeDef,  # (2)
  1. See ApplicationLayerAutomaticResponseStatusType
  2. See ResponseActionOutputTypeDef

AssociateProactiveEngagementDetailsRequestRequestTypeDef#

# AssociateProactiveEngagementDetailsRequestRequestTypeDef definition

class AssociateProactiveEngagementDetailsRequestRequestTypeDef(TypedDict):
    EmergencyContactList: Sequence[EmergencyContactTypeDef],  # (1)
  1. See EmergencyContactTypeDef

UpdateEmergencyContactSettingsRequestRequestTypeDef#

# UpdateEmergencyContactSettingsRequestRequestTypeDef definition

class UpdateEmergencyContactSettingsRequestRequestTypeDef(TypedDict):
    EmergencyContactList: NotRequired[Sequence[EmergencyContactTypeDef]],  # (1)
  1. See EmergencyContactTypeDef

SummarizedAttackVectorTypeDef#

# SummarizedAttackVectorTypeDef definition

class SummarizedAttackVectorTypeDef(TypedDict):
    VectorType: str,
    VectorCounters: NotRequired[list[SummarizedCounterTypeDef]],  # (1)
  1. See SummarizedCounterTypeDef

AttackPropertyTypeDef#

# AttackPropertyTypeDef definition

class AttackPropertyTypeDef(TypedDict):
    AttackLayer: NotRequired[AttackLayerType],  # (1)
    AttackPropertyIdentifier: NotRequired[AttackPropertyIdentifierType],  # (2)
    TopContributors: NotRequired[list[ContributorTypeDef]],  # (3)
    Unit: NotRequired[UnitType],  # (4)
    Total: NotRequired[int],
  1. See AttackLayerType
  2. See AttackPropertyIdentifierType
  3. See ContributorTypeDef
  4. See UnitType

AttackSummaryTypeDef#

# AttackSummaryTypeDef definition

class AttackSummaryTypeDef(TypedDict):
    AttackId: NotRequired[str],
    ResourceArn: NotRequired[str],
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    AttackVectors: NotRequired[list[AttackVectorDescriptionTypeDef]],  # (1)
  1. See AttackVectorDescriptionTypeDef

AttackVolumeTypeDef#

# AttackVolumeTypeDef definition

class AttackVolumeTypeDef(TypedDict):
    BitsPerSecond: NotRequired[AttackVolumeStatisticsTypeDef],  # (1)
    PacketsPerSecond: NotRequired[AttackVolumeStatisticsTypeDef],  # (1)
    RequestsPerSecond: NotRequired[AttackVolumeStatisticsTypeDef],  # (1)
  1. See AttackVolumeStatisticsTypeDef
  2. See AttackVolumeStatisticsTypeDef
  3. See AttackVolumeStatisticsTypeDef

CreateProtectionGroupRequestRequestTypeDef#

# CreateProtectionGroupRequestRequestTypeDef definition

class CreateProtectionGroupRequestRequestTypeDef(TypedDict):
    ProtectionGroupId: str,
    Aggregation: ProtectionGroupAggregationType,  # (1)
    Pattern: ProtectionGroupPatternType,  # (2)
    ResourceType: NotRequired[ProtectedResourceTypeType],  # (3)
    Members: NotRequired[Sequence[str]],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See ProtectionGroupAggregationType
  2. See ProtectionGroupPatternType
  3. See ProtectedResourceTypeType
  4. See TagTypeDef

CreateProtectionRequestRequestTypeDef#

# CreateProtectionRequestRequestTypeDef definition

class CreateProtectionRequestRequestTypeDef(TypedDict):
    Name: str,
    ResourceArn: str,
    Tags: NotRequired[Sequence[TagTypeDef]],  # (1)
  1. See TagTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

CreateProtectionResponseTypeDef#

# CreateProtectionResponseTypeDef definition

class CreateProtectionResponseTypeDef(TypedDict):
    ProtectionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeDRTAccessResponseTypeDef#

# DescribeDRTAccessResponseTypeDef definition

class DescribeDRTAccessResponseTypeDef(TypedDict):
    RoleArn: str,
    LogBucketList: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeEmergencyContactSettingsResponseTypeDef#

# DescribeEmergencyContactSettingsResponseTypeDef definition

class DescribeEmergencyContactSettingsResponseTypeDef(TypedDict):
    EmergencyContactList: list[EmergencyContactTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EmergencyContactTypeDef
  2. See ResponseMetadataTypeDef

GetSubscriptionStateResponseTypeDef#

# GetSubscriptionStateResponseTypeDef definition

class GetSubscriptionStateResponseTypeDef(TypedDict):
    SubscriptionState: SubscriptionStateType,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubscriptionStateType
  2. See ResponseMetadataTypeDef

ListResourcesInProtectionGroupResponseTypeDef#

# ListResourcesInProtectionGroupResponseTypeDef definition

class ListResourcesInProtectionGroupResponseTypeDef(TypedDict):
    ResourceArns: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: list[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

DescribeProtectionGroupResponseTypeDef#

# DescribeProtectionGroupResponseTypeDef definition

class DescribeProtectionGroupResponseTypeDef(TypedDict):
    ProtectionGroup: ProtectionGroupTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProtectionGroupTypeDef
  2. See ResponseMetadataTypeDef

ListProtectionGroupsResponseTypeDef#

# ListProtectionGroupsResponseTypeDef definition

class ListProtectionGroupsResponseTypeDef(TypedDict):
    ProtectionGroups: list[ProtectionGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ProtectionGroupTypeDef
  2. See ResponseMetadataTypeDef

EnableApplicationLayerAutomaticResponseRequestRequestTypeDef#

# EnableApplicationLayerAutomaticResponseRequestRequestTypeDef definition

class EnableApplicationLayerAutomaticResponseRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Action: ResponseActionTypeDef,  # (1)
  1. See ResponseActionTypeDef

UpdateApplicationLayerAutomaticResponseRequestRequestTypeDef#

# UpdateApplicationLayerAutomaticResponseRequestRequestTypeDef definition

class UpdateApplicationLayerAutomaticResponseRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Action: ResponseActionTypeDef,  # (1)
  1. See ResponseActionTypeDef

ListProtectionsRequestRequestTypeDef#

# ListProtectionsRequestRequestTypeDef definition

class ListProtectionsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    InclusionFilters: NotRequired[InclusionProtectionFiltersTypeDef],  # (1)
  1. See InclusionProtectionFiltersTypeDef

ListProtectionGroupsRequestRequestTypeDef#

# ListProtectionGroupsRequestRequestTypeDef definition

class ListProtectionGroupsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    InclusionFilters: NotRequired[InclusionProtectionGroupFiltersTypeDef],  # (1)
  1. See InclusionProtectionGroupFiltersTypeDef

ProtectionLimitsTypeDef#

# ProtectionLimitsTypeDef definition

class ProtectionLimitsTypeDef(TypedDict):
    ProtectedResourceTypeLimits: list[LimitTypeDef],  # (1)
  1. See LimitTypeDef

ListProtectionsRequestPaginateTypeDef#

# ListProtectionsRequestPaginateTypeDef definition

class ListProtectionsRequestPaginateTypeDef(TypedDict):
    InclusionFilters: NotRequired[InclusionProtectionFiltersTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See InclusionProtectionFiltersTypeDef
  2. See PaginatorConfigTypeDef

ProtectionGroupPatternTypeLimitsTypeDef#

# ProtectionGroupPatternTypeLimitsTypeDef definition

class ProtectionGroupPatternTypeLimitsTypeDef(TypedDict):
    ArbitraryPatternLimits: ProtectionGroupArbitraryPatternLimitsTypeDef,  # (1)
  1. See ProtectionGroupArbitraryPatternLimitsTypeDef

TimeRangeTypeDef#

# TimeRangeTypeDef definition

class TimeRangeTypeDef(TypedDict):
    FromInclusive: NotRequired[TimestampTypeDef],
    ToExclusive: NotRequired[TimestampTypeDef],

ProtectionTypeDef#

# ProtectionTypeDef definition

class ProtectionTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    ResourceArn: NotRequired[str],
    HealthCheckIds: NotRequired[list[str]],
    ProtectionArn: NotRequired[str],
    ApplicationLayerAutomaticResponseConfiguration: NotRequired[ApplicationLayerAutomaticResponseConfigurationTypeDef],  # (1)
  1. See ApplicationLayerAutomaticResponseConfigurationTypeDef

SubResourceSummaryTypeDef#

# SubResourceSummaryTypeDef definition

class SubResourceSummaryTypeDef(TypedDict):
    Type: NotRequired[SubResourceTypeType],  # (1)
    Id: NotRequired[str],
    AttackVectors: NotRequired[list[SummarizedAttackVectorTypeDef]],  # (2)
    Counters: NotRequired[list[SummarizedCounterTypeDef]],  # (3)
  1. See SubResourceTypeType
  2. See SummarizedAttackVectorTypeDef
  3. See SummarizedCounterTypeDef

ListAttacksResponseTypeDef#

# ListAttacksResponseTypeDef definition

class ListAttacksResponseTypeDef(TypedDict):
    AttackSummaries: list[AttackSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See AttackSummaryTypeDef
  2. See ResponseMetadataTypeDef

AttackStatisticsDataItemTypeDef#

# AttackStatisticsDataItemTypeDef definition

class AttackStatisticsDataItemTypeDef(TypedDict):
    AttackCount: int,
    AttackVolume: NotRequired[AttackVolumeTypeDef],  # (1)
  1. See AttackVolumeTypeDef

ProtectionGroupLimitsTypeDef#

# ProtectionGroupLimitsTypeDef definition

class ProtectionGroupLimitsTypeDef(TypedDict):
    MaxProtectionGroups: int,
    PatternTypeLimits: ProtectionGroupPatternTypeLimitsTypeDef,  # (1)
  1. See ProtectionGroupPatternTypeLimitsTypeDef

ListAttacksRequestPaginateTypeDef#

# ListAttacksRequestPaginateTypeDef definition

class ListAttacksRequestPaginateTypeDef(TypedDict):
    ResourceArns: NotRequired[Sequence[str]],
    StartTime: NotRequired[TimeRangeTypeDef],  # (1)
    EndTime: NotRequired[TimeRangeTypeDef],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See TimeRangeTypeDef
  2. See TimeRangeTypeDef
  3. See PaginatorConfigTypeDef

ListAttacksRequestRequestTypeDef#

# ListAttacksRequestRequestTypeDef definition

class ListAttacksRequestRequestTypeDef(TypedDict):
    ResourceArns: NotRequired[Sequence[str]],
    StartTime: NotRequired[TimeRangeTypeDef],  # (1)
    EndTime: NotRequired[TimeRangeTypeDef],  # (1)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See TimeRangeTypeDef
  2. See TimeRangeTypeDef

DescribeProtectionResponseTypeDef#

# DescribeProtectionResponseTypeDef definition

class DescribeProtectionResponseTypeDef(TypedDict):
    Protection: ProtectionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ProtectionTypeDef
  2. See ResponseMetadataTypeDef

ListProtectionsResponseTypeDef#

# ListProtectionsResponseTypeDef definition

class ListProtectionsResponseTypeDef(TypedDict):
    Protections: list[ProtectionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ProtectionTypeDef
  2. See ResponseMetadataTypeDef

AttackDetailTypeDef#

# AttackDetailTypeDef definition

class AttackDetailTypeDef(TypedDict):
    AttackId: NotRequired[str],
    ResourceArn: NotRequired[str],
    SubResources: NotRequired[list[SubResourceSummaryTypeDef]],  # (1)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    AttackCounters: NotRequired[list[SummarizedCounterTypeDef]],  # (2)
    AttackProperties: NotRequired[list[AttackPropertyTypeDef]],  # (3)
    Mitigations: NotRequired[list[MitigationTypeDef]],  # (4)
  1. See SubResourceSummaryTypeDef
  2. See SummarizedCounterTypeDef
  3. See AttackPropertyTypeDef
  4. See MitigationTypeDef

DescribeAttackStatisticsResponseTypeDef#

# DescribeAttackStatisticsResponseTypeDef definition

class DescribeAttackStatisticsResponseTypeDef(TypedDict):
    TimeRange: TimeRangeOutputTypeDef,  # (1)
    DataItems: list[AttackStatisticsDataItemTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TimeRangeOutputTypeDef
  2. See AttackStatisticsDataItemTypeDef
  3. See ResponseMetadataTypeDef

SubscriptionLimitsTypeDef#

# SubscriptionLimitsTypeDef definition

class SubscriptionLimitsTypeDef(TypedDict):
    ProtectionLimits: ProtectionLimitsTypeDef,  # (1)
    ProtectionGroupLimits: ProtectionGroupLimitsTypeDef,  # (2)
  1. See ProtectionLimitsTypeDef
  2. See ProtectionGroupLimitsTypeDef

DescribeAttackResponseTypeDef#

# DescribeAttackResponseTypeDef definition

class DescribeAttackResponseTypeDef(TypedDict):
    Attack: AttackDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AttackDetailTypeDef
  2. See ResponseMetadataTypeDef

SubscriptionTypeDef#

# SubscriptionTypeDef definition

class SubscriptionTypeDef(TypedDict):
    SubscriptionLimits: SubscriptionLimitsTypeDef,  # (4)
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    TimeCommitmentInSeconds: NotRequired[int],
    AutoRenew: NotRequired[AutoRenewType],  # (1)
    Limits: NotRequired[list[LimitTypeDef]],  # (2)
    ProactiveEngagementStatus: NotRequired[ProactiveEngagementStatusType],  # (3)
    SubscriptionArn: NotRequired[str],
  1. See AutoRenewType
  2. See LimitTypeDef
  3. See ProactiveEngagementStatusType
  4. See SubscriptionLimitsTypeDef

DescribeSubscriptionResponseTypeDef#

# DescribeSubscriptionResponseTypeDef definition

class DescribeSubscriptionResponseTypeDef(TypedDict):
    Subscription: SubscriptionTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SubscriptionTypeDef
  2. See ResponseMetadataTypeDef