Skip to content

Type definitions#

Index > SSMContacts > Type definitions

Auto-generated documentation for SSMContacts type annotations stubs module mypy-boto3-ssm-contacts.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

RecurrenceSettingsUnionTypeDef#

# RecurrenceSettingsUnionTypeDef definition

RecurrenceSettingsUnionTypeDef = Union[
    RecurrenceSettingsTypeDef,  # (1)
    RecurrenceSettingsExtraOutputTypeDef,  # (2)
]
  1. See RecurrenceSettingsTypeDef
  2. See RecurrenceSettingsExtraOutputTypeDef

PlanUnionTypeDef#

# PlanUnionTypeDef definition

PlanUnionTypeDef = Union[
    PlanTypeDef,  # (1)
    PlanOutputTypeDef,  # (2)
]
  1. See PlanTypeDef
  2. See PlanOutputTypeDef

AcceptPageRequestRequestTypeDef#

# AcceptPageRequestRequestTypeDef definition

class AcceptPageRequestRequestTypeDef(TypedDict):
    PageId: str,
    AcceptType: AcceptTypeType,  # (1)
    AcceptCode: str,
    ContactChannelId: NotRequired[str],
    Note: NotRequired[str],
    AcceptCodeValidation: NotRequired[AcceptCodeValidationType],  # (2)
  1. See AcceptTypeType
  2. See AcceptCodeValidationType

ActivateContactChannelRequestRequestTypeDef#

# ActivateContactChannelRequestRequestTypeDef definition

class ActivateContactChannelRequestRequestTypeDef(TypedDict):
    ContactChannelId: str,
    ActivationCode: str,

ChannelTargetInfoTypeDef#

# ChannelTargetInfoTypeDef definition

class ChannelTargetInfoTypeDef(TypedDict):
    ContactChannelId: str,
    RetryIntervalInMinutes: NotRequired[int],

ContactChannelAddressTypeDef#

# ContactChannelAddressTypeDef definition

class ContactChannelAddressTypeDef(TypedDict):
    SimpleAddress: NotRequired[str],

ContactTargetInfoTypeDef#

# ContactTargetInfoTypeDef definition

class ContactTargetInfoTypeDef(TypedDict):
    IsEssential: bool,
    ContactId: NotRequired[str],

ContactTypeDef#

# ContactTypeDef definition

class ContactTypeDef(TypedDict):
    ContactArn: str,
    Alias: str,
    Type: ContactTypeType,  # (1)
    DisplayName: NotRequired[str],
  1. See ContactTypeType

HandOffTimeTypeDef#

# HandOffTimeTypeDef definition

class HandOffTimeTypeDef(TypedDict):
    HourOfDay: int,
    MinuteOfHour: int,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

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

TagTypeDef#

# TagTypeDef definition

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

DeactivateContactChannelRequestRequestTypeDef#

# DeactivateContactChannelRequestRequestTypeDef definition

class DeactivateContactChannelRequestRequestTypeDef(TypedDict):
    ContactChannelId: str,

DeleteContactChannelRequestRequestTypeDef#

# DeleteContactChannelRequestRequestTypeDef definition

class DeleteContactChannelRequestRequestTypeDef(TypedDict):
    ContactChannelId: str,

DeleteContactRequestRequestTypeDef#

# DeleteContactRequestRequestTypeDef definition

class DeleteContactRequestRequestTypeDef(TypedDict):
    ContactId: str,

DeleteRotationOverrideRequestRequestTypeDef#

# DeleteRotationOverrideRequestRequestTypeDef definition

class DeleteRotationOverrideRequestRequestTypeDef(TypedDict):
    RotationId: str,
    RotationOverrideId: str,

DeleteRotationRequestRequestTypeDef#

# DeleteRotationRequestRequestTypeDef definition

class DeleteRotationRequestRequestTypeDef(TypedDict):
    RotationId: str,

DescribeEngagementRequestRequestTypeDef#

# DescribeEngagementRequestRequestTypeDef definition

class DescribeEngagementRequestRequestTypeDef(TypedDict):
    EngagementId: str,

DescribePageRequestRequestTypeDef#

# DescribePageRequestRequestTypeDef definition

class DescribePageRequestRequestTypeDef(TypedDict):
    PageId: str,

EngagementTypeDef#

# EngagementTypeDef definition

class EngagementTypeDef(TypedDict):
    EngagementArn: str,
    ContactArn: str,
    Sender: str,
    IncidentId: NotRequired[str],
    StartTime: NotRequired[datetime],
    StopTime: NotRequired[datetime],

GetContactChannelRequestRequestTypeDef#

# GetContactChannelRequestRequestTypeDef definition

class GetContactChannelRequestRequestTypeDef(TypedDict):
    ContactChannelId: str,

GetContactPolicyRequestRequestTypeDef#

# GetContactPolicyRequestRequestTypeDef definition

class GetContactPolicyRequestRequestTypeDef(TypedDict):
    ContactArn: str,

GetContactRequestRequestTypeDef#

# GetContactRequestRequestTypeDef definition

class GetContactRequestRequestTypeDef(TypedDict):
    ContactId: str,

GetRotationOverrideRequestRequestTypeDef#

# GetRotationOverrideRequestRequestTypeDef definition

class GetRotationOverrideRequestRequestTypeDef(TypedDict):
    RotationId: str,
    RotationOverrideId: str,

GetRotationRequestRequestTypeDef#

# GetRotationRequestRequestTypeDef definition

class GetRotationRequestRequestTypeDef(TypedDict):
    RotationId: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

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

ListContactChannelsRequestRequestTypeDef#

# ListContactChannelsRequestRequestTypeDef definition

class ListContactChannelsRequestRequestTypeDef(TypedDict):
    ContactId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListContactsRequestRequestTypeDef#

# ListContactsRequestRequestTypeDef definition

class ListContactsRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    AliasPrefix: NotRequired[str],
    Type: NotRequired[ContactTypeType],  # (1)
  1. See ContactTypeType

ListPageReceiptsRequestRequestTypeDef#

# ListPageReceiptsRequestRequestTypeDef definition

class ListPageReceiptsRequestRequestTypeDef(TypedDict):
    PageId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ReceiptTypeDef#

# ReceiptTypeDef definition

class ReceiptTypeDef(TypedDict):
    ReceiptType: ReceiptTypeType,  # (1)
    ReceiptTime: datetime,
    ContactChannelArn: NotRequired[str],
    ReceiptInfo: NotRequired[str],
  1. See ReceiptTypeType

ListPageResolutionsRequestRequestTypeDef#

# ListPageResolutionsRequestRequestTypeDef definition

class ListPageResolutionsRequestRequestTypeDef(TypedDict):
    PageId: str,
    NextToken: NotRequired[str],

ResolutionContactTypeDef#

# ResolutionContactTypeDef definition

class ResolutionContactTypeDef(TypedDict):
    ContactArn: str,
    Type: ContactTypeType,  # (1)
    StageIndex: NotRequired[int],
  1. See ContactTypeType

ListPagesByContactRequestRequestTypeDef#

# ListPagesByContactRequestRequestTypeDef definition

class ListPagesByContactRequestRequestTypeDef(TypedDict):
    ContactId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PageTypeDef#

# PageTypeDef definition

class PageTypeDef(TypedDict):
    PageArn: str,
    EngagementArn: str,
    ContactArn: str,
    Sender: str,
    IncidentId: NotRequired[str],
    SentTime: NotRequired[datetime],
    DeliveryTime: NotRequired[datetime],
    ReadTime: NotRequired[datetime],

ListPagesByEngagementRequestRequestTypeDef#

# ListPagesByEngagementRequestRequestTypeDef definition

class ListPagesByEngagementRequestRequestTypeDef(TypedDict):
    EngagementId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

RotationOverrideTypeDef#

# RotationOverrideTypeDef definition

class RotationOverrideTypeDef(TypedDict):
    RotationOverrideId: str,
    NewContactIds: List[str],
    StartTime: datetime,
    EndTime: datetime,
    CreateTime: datetime,

ListRotationsRequestRequestTypeDef#

# ListRotationsRequestRequestTypeDef definition

class ListRotationsRequestRequestTypeDef(TypedDict):
    RotationNamePrefix: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,

PutContactPolicyRequestRequestTypeDef#

# PutContactPolicyRequestRequestTypeDef definition

class PutContactPolicyRequestRequestTypeDef(TypedDict):
    ContactArn: str,
    Policy: str,

ShiftDetailsTypeDef#

# ShiftDetailsTypeDef definition

class ShiftDetailsTypeDef(TypedDict):
    OverriddenContactIds: List[str],

SendActivationCodeRequestRequestTypeDef#

# SendActivationCodeRequestRequestTypeDef definition

class SendActivationCodeRequestRequestTypeDef(TypedDict):
    ContactChannelId: str,

StartEngagementRequestRequestTypeDef#

# StartEngagementRequestRequestTypeDef definition

class StartEngagementRequestRequestTypeDef(TypedDict):
    ContactId: str,
    Sender: str,
    Subject: str,
    Content: str,
    PublicSubject: NotRequired[str],
    PublicContent: NotRequired[str],
    IncidentId: NotRequired[str],
    IdempotencyToken: NotRequired[str],

StopEngagementRequestRequestTypeDef#

# StopEngagementRequestRequestTypeDef definition

class StopEngagementRequestRequestTypeDef(TypedDict):
    EngagementId: str,
    Reason: NotRequired[str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

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

ContactChannelTypeDef#

# ContactChannelTypeDef definition

class ContactChannelTypeDef(TypedDict):
    ContactChannelArn: str,
    ContactArn: str,
    Name: str,
    DeliveryAddress: ContactChannelAddressTypeDef,  # (2)
    ActivationStatus: ActivationStatusType,  # (3)
    Type: NotRequired[ChannelTypeType],  # (1)
  1. See ChannelTypeType
  2. See ContactChannelAddressTypeDef
  3. See ActivationStatusType

CreateContactChannelRequestRequestTypeDef