Skip to content

Type definitions#

Index > SSMIncidents > Type definitions

Auto-generated documentation for SSMIncidents type annotations stubs module mypy-boto3-ssm-incidents.

TimestampTypeDef#

# TimestampTypeDef Union usage example

from mypy_boto3_ssm_incidents.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime.datetime,
    str,
]

ChatChannelUnionTypeDef#

# ChatChannelUnionTypeDef Union usage example

from mypy_boto3_ssm_incidents.type_defs import ChatChannelUnionTypeDef


def get_value() -> ChatChannelUnionTypeDef:
    return ...


# ChatChannelUnionTypeDef definition

ChatChannelUnionTypeDef = Union[
    ChatChannelTypeDef,  # (1)
    ChatChannelOutputTypeDef,  # (2)
]
  1. See ChatChannelTypeDef
  2. See ChatChannelOutputTypeDef

SsmAutomationUnionTypeDef#

# SsmAutomationUnionTypeDef Union usage example

from mypy_boto3_ssm_incidents.type_defs import SsmAutomationUnionTypeDef


def get_value() -> SsmAutomationUnionTypeDef:
    return ...


# SsmAutomationUnionTypeDef definition

SsmAutomationUnionTypeDef = Union[
    SsmAutomationTypeDef,  # (1)
    SsmAutomationOutputTypeDef,  # (2)
]
  1. See SsmAutomationTypeDef
  2. See SsmAutomationOutputTypeDef

IncidentTemplateUnionTypeDef#

# IncidentTemplateUnionTypeDef Union usage example

from mypy_boto3_ssm_incidents.type_defs import IncidentTemplateUnionTypeDef


def get_value() -> IncidentTemplateUnionTypeDef:
    return ...


# IncidentTemplateUnionTypeDef definition

IncidentTemplateUnionTypeDef = Union[
    IncidentTemplateTypeDef,  # (1)
    IncidentTemplateOutputTypeDef,  # (2)
]
  1. See IncidentTemplateTypeDef
  2. See IncidentTemplateOutputTypeDef

ActionUnionTypeDef#

# ActionUnionTypeDef Union usage example

from mypy_boto3_ssm_incidents.type_defs import ActionUnionTypeDef


def get_value() -> ActionUnionTypeDef:
    return ...


# ActionUnionTypeDef definition

ActionUnionTypeDef = Union[
    ActionTypeDef,  # (1)
    ActionOutputTypeDef,  # (2)
]
  1. See ActionTypeDef
  2. See ActionOutputTypeDef

AddRegionActionTypeDef#

# AddRegionActionTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import AddRegionActionTypeDef


def get_value() -> AddRegionActionTypeDef:
    return {
        "regionName": ...,
    }


# AddRegionActionTypeDef definition

class AddRegionActionTypeDef(TypedDict):
    regionName: str,
    sseKmsKeyId: NotRequired[str],

AttributeValueListTypeDef#

# AttributeValueListTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import AttributeValueListTypeDef


def get_value() -> AttributeValueListTypeDef:
    return {
        "integerValues": ...,
    }


# AttributeValueListTypeDef definition

class AttributeValueListTypeDef(TypedDict):
    integerValues: NotRequired[Sequence[int]],
    stringValues: NotRequired[Sequence[str]],

AutomationExecutionTypeDef#

# AutomationExecutionTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import AutomationExecutionTypeDef


def get_value() -> AutomationExecutionTypeDef:
    return {
        "ssmExecutionArn": ...,
    }


# AutomationExecutionTypeDef definition

class AutomationExecutionTypeDef(TypedDict):
    ssmExecutionArn: NotRequired[str],

BatchGetIncidentFindingsErrorTypeDef#

# BatchGetIncidentFindingsErrorTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import BatchGetIncidentFindingsErrorTypeDef


def get_value() -> BatchGetIncidentFindingsErrorTypeDef:
    return {
        "code": ...,
    }


# BatchGetIncidentFindingsErrorTypeDef definition

class BatchGetIncidentFindingsErrorTypeDef(TypedDict):
    code: str,
    findingId: str,
    message: str,

BatchGetIncidentFindingsInputTypeDef#

# BatchGetIncidentFindingsInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import BatchGetIncidentFindingsInputTypeDef


def get_value() -> BatchGetIncidentFindingsInputTypeDef:
    return {
        "findingIds": ...,
    }


# BatchGetIncidentFindingsInputTypeDef definition

class BatchGetIncidentFindingsInputTypeDef(TypedDict):
    findingIds: Sequence[str],
    incidentRecordArn: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

ChatChannelOutputTypeDef#

# ChatChannelOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ChatChannelOutputTypeDef


def get_value() -> ChatChannelOutputTypeDef:
    return {
        "chatbotSns": ...,
    }


# ChatChannelOutputTypeDef definition

class ChatChannelOutputTypeDef(TypedDict):
    chatbotSns: NotRequired[List[str]],
    empty: NotRequired[Dict[str, Any]],

ChatChannelTypeDef#

# ChatChannelTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ChatChannelTypeDef


def get_value() -> ChatChannelTypeDef:
    return {
        "chatbotSns": ...,
    }


# ChatChannelTypeDef definition

class ChatChannelTypeDef(TypedDict):
    chatbotSns: NotRequired[Sequence[str]],
    empty: NotRequired[Mapping[str, Any]],

CloudFormationStackUpdateTypeDef#

# CloudFormationStackUpdateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CloudFormationStackUpdateTypeDef


def get_value() -> CloudFormationStackUpdateTypeDef:
    return {
        "endTime": ...,
    }


# CloudFormationStackUpdateTypeDef definition

class CloudFormationStackUpdateTypeDef(TypedDict):
    stackArn: str,
    startTime: datetime.datetime,
    endTime: NotRequired[datetime.datetime],

CodeDeployDeploymentTypeDef#

# CodeDeployDeploymentTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CodeDeployDeploymentTypeDef


def get_value() -> CodeDeployDeploymentTypeDef:
    return {
        "deploymentGroupArn": ...,
    }


# CodeDeployDeploymentTypeDef definition

class CodeDeployDeploymentTypeDef(TypedDict):
    deploymentGroupArn: str,
    deploymentId: str,
    startTime: datetime.datetime,
    endTime: NotRequired[datetime.datetime],

RegionMapInputValueTypeDef#

# RegionMapInputValueTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import RegionMapInputValueTypeDef


def get_value() -> RegionMapInputValueTypeDef:
    return {
        "sseKmsKeyId": ...,
    }


# RegionMapInputValueTypeDef definition

class RegionMapInputValueTypeDef(TypedDict):
    sseKmsKeyId: NotRequired[str],

EventReferenceTypeDef#

# EventReferenceTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import EventReferenceTypeDef


def get_value() -> EventReferenceTypeDef:
    return {
        "relatedItemId": ...,
    }


# EventReferenceTypeDef definition

class EventReferenceTypeDef(TypedDict):
    relatedItemId: NotRequired[str],
    resource: NotRequired[str],

DeleteIncidentRecordInputTypeDef#

# DeleteIncidentRecordInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import DeleteIncidentRecordInputTypeDef


def get_value() -> DeleteIncidentRecordInputTypeDef:
    return {
        "arn": ...,
    }


# DeleteIncidentRecordInputTypeDef definition

class DeleteIncidentRecordInputTypeDef(TypedDict):
    arn: str,

DeleteRegionActionTypeDef#

# DeleteRegionActionTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import DeleteRegionActionTypeDef


def get_value() -> DeleteRegionActionTypeDef:
    return {
        "regionName": ...,
    }


# DeleteRegionActionTypeDef definition

class DeleteRegionActionTypeDef(TypedDict):
    regionName: str,

DeleteReplicationSetInputTypeDef#

# DeleteReplicationSetInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import DeleteReplicationSetInputTypeDef


def get_value() -> DeleteReplicationSetInputTypeDef:
    return {
        "arn": ...,
    }


# DeleteReplicationSetInputTypeDef definition

class DeleteReplicationSetInputTypeDef(TypedDict):
    arn: str,

DeleteResourcePolicyInputTypeDef#

# DeleteResourcePolicyInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import DeleteResourcePolicyInputTypeDef


def get_value() -> DeleteResourcePolicyInputTypeDef:
    return {
        "policyId": ...,
    }


# DeleteResourcePolicyInputTypeDef definition

class DeleteResourcePolicyInputTypeDef(TypedDict):
    policyId: str,
    resourceArn: str,

DeleteResponsePlanInputTypeDef#

# DeleteResponsePlanInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import DeleteResponsePlanInputTypeDef


def get_value() -> DeleteResponsePlanInputTypeDef:
    return {
        "arn": ...,
    }


# DeleteResponsePlanInputTypeDef definition

class DeleteResponsePlanInputTypeDef(TypedDict):
    arn: str,

DeleteTimelineEventInputTypeDef#

# DeleteTimelineEventInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import DeleteTimelineEventInputTypeDef


def get_value() -> DeleteTimelineEventInputTypeDef:
    return {
        "eventId": ...,
    }


# DeleteTimelineEventInputTypeDef definition

class DeleteTimelineEventInputTypeDef(TypedDict):
    eventId: str,
    incidentRecordArn: str,

DynamicSsmParameterValueTypeDef#

# DynamicSsmParameterValueTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import DynamicSsmParameterValueTypeDef


def get_value() -> DynamicSsmParameterValueTypeDef:
    return {
        "variable": ...,
    }


# DynamicSsmParameterValueTypeDef definition

class DynamicSsmParameterValueTypeDef(TypedDict):
    variable: NotRequired[VariableTypeType],  # (1)
  1. See VariableTypeType

FindingSummaryTypeDef#

# FindingSummaryTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import FindingSummaryTypeDef


def get_value() -> FindingSummaryTypeDef:
    return {
        "id": ...,
    }


# FindingSummaryTypeDef definition

class FindingSummaryTypeDef(TypedDict):
    id: str,
    lastModifiedTime: datetime.datetime,

GetIncidentRecordInputTypeDef#

# GetIncidentRecordInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetIncidentRecordInputTypeDef


def get_value() -> GetIncidentRecordInputTypeDef:
    return {
        "arn": ...,
    }


# GetIncidentRecordInputTypeDef definition

class GetIncidentRecordInputTypeDef(TypedDict):
    arn: str,

GetReplicationSetInputTypeDef#

# GetReplicationSetInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetInputTypeDef


def get_value() -> GetReplicationSetInputTypeDef:
    return {
        "arn": ...,
    }


# GetReplicationSetInputTypeDef definition

class GetReplicationSetInputTypeDef(TypedDict):
    arn: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import WaiterConfigTypeDef


def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }


# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

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

GetResourcePoliciesInputTypeDef#

# GetResourcePoliciesInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetResourcePoliciesInputTypeDef


def get_value() -> GetResourcePoliciesInputTypeDef:
    return {
        "resourceArn": ...,
    }


# GetResourcePoliciesInputTypeDef definition

class GetResourcePoliciesInputTypeDef(TypedDict):
    resourceArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ResourcePolicyTypeDef#

# ResourcePolicyTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ResourcePolicyTypeDef


def get_value() -> ResourcePolicyTypeDef:
    return {
        "policyDocument": ...,
    }


# ResourcePolicyTypeDef definition

class ResourcePolicyTypeDef(TypedDict):
    policyDocument: str,
    policyId: str,
    ramResourceShareRegion: str,

GetResponsePlanInputTypeDef#

# GetResponsePlanInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetResponsePlanInputTypeDef


def get_value() -> GetResponsePlanInputTypeDef:
    return {
        "arn": ...,
    }


# GetResponsePlanInputTypeDef definition

class GetResponsePlanInputTypeDef(TypedDict):
    arn: str,

GetTimelineEventInputTypeDef#

# GetTimelineEventInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetTimelineEventInputTypeDef


def get_value() -> GetTimelineEventInputTypeDef:
    return {
        "eventId": ...,
    }


# GetTimelineEventInputTypeDef definition

class GetTimelineEventInputTypeDef(TypedDict):
    eventId: str,
    incidentRecordArn: str,

IncidentRecordSourceTypeDef#

# IncidentRecordSourceTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import IncidentRecordSourceTypeDef


def get_value() -> IncidentRecordSourceTypeDef:
    return {
        "createdBy": ...,
    }


# IncidentRecordSourceTypeDef definition

class IncidentRecordSourceTypeDef(TypedDict):
    createdBy: str,
    source: str,
    invokedBy: NotRequired[str],
    resourceArn: NotRequired[str],

NotificationTargetItemTypeDef#

# NotificationTargetItemTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import NotificationTargetItemTypeDef


def get_value() -> NotificationTargetItemTypeDef:
    return {
        "snsTopicArn": ...,
    }


# NotificationTargetItemTypeDef definition

class NotificationTargetItemTypeDef(TypedDict):
    snsTopicArn: NotRequired[str],

PagerDutyIncidentDetailTypeDef#

# PagerDutyIncidentDetailTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import PagerDutyIncidentDetailTypeDef


def get_value() -> PagerDutyIncidentDetailTypeDef:
    return {
        "autoResolve": ...,
    }


# PagerDutyIncidentDetailTypeDef definition

class PagerDutyIncidentDetailTypeDef(TypedDict):
    id: str,
    autoResolve: NotRequired[bool],
    secretId: NotRequired[str],

ListIncidentFindingsInputTypeDef#

# ListIncidentFindingsInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListIncidentFindingsInputTypeDef


def get_value() -> ListIncidentFindingsInputTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# ListIncidentFindingsInputTypeDef definition

class ListIncidentFindingsInputTypeDef(TypedDict):
    incidentRecordArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListRelatedItemsInputTypeDef#

# ListRelatedItemsInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListRelatedItemsInputTypeDef


def get_value() -> ListRelatedItemsInputTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# ListRelatedItemsInputTypeDef definition

class ListRelatedItemsInputTypeDef(TypedDict):
    incidentRecordArn: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListReplicationSetsInputTypeDef#

# ListReplicationSetsInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListReplicationSetsInputTypeDef


def get_value() -> ListReplicationSetsInputTypeDef:
    return {
        "maxResults": ...,
    }


# ListReplicationSetsInputTypeDef definition

class ListReplicationSetsInputTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ListResponsePlansInputTypeDef#

# ListResponsePlansInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListResponsePlansInputTypeDef


def get_value() -> ListResponsePlansInputTypeDef:
    return {
        "maxResults": ...,
    }


# ListResponsePlansInputTypeDef definition

class ListResponsePlansInputTypeDef(TypedDict):
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

ResponsePlanSummaryTypeDef#

# ResponsePlanSummaryTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ResponsePlanSummaryTypeDef


def get_value() -> ResponsePlanSummaryTypeDef:
    return {
        "arn": ...,
    }


# ResponsePlanSummaryTypeDef definition

class ResponsePlanSummaryTypeDef(TypedDict):
    arn: str,
    name: str,
    displayName: NotRequired[str],

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    resourceArn: str,

PagerDutyIncidentConfigurationTypeDef#

# PagerDutyIncidentConfigurationTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import PagerDutyIncidentConfigurationTypeDef


def get_value() -> PagerDutyIncidentConfigurationTypeDef:
    return {
        "serviceId": ...,
    }


# PagerDutyIncidentConfigurationTypeDef definition

class PagerDutyIncidentConfigurationTypeDef(TypedDict):
    serviceId: str,

PutResourcePolicyInputTypeDef#

# PutResourcePolicyInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import PutResourcePolicyInputTypeDef


def get_value() -> PutResourcePolicyInputTypeDef:
    return {
        "policy": ...,
    }


# PutResourcePolicyInputTypeDef definition

class PutResourcePolicyInputTypeDef(TypedDict):
    policy: str,
    resourceArn: str,

RegionInfoTypeDef#

# RegionInfoTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import RegionInfoTypeDef


def get_value() -> RegionInfoTypeDef:
    return {
        "sseKmsKeyId": ...,
    }


# RegionInfoTypeDef definition

class RegionInfoTypeDef(TypedDict):
    status: RegionStatusType,  # (1)
    statusUpdateDateTime: datetime.datetime,
    sseKmsKeyId: NotRequired[str],
    statusMessage: NotRequired[str],
  1. See RegionStatusType

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# TagResourceRequestTypeDef definition

class TagResourceRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# UntagResourceRequestTypeDef definition

class UntagResourceRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateDeletionProtectionInputTypeDef#

# UpdateDeletionProtectionInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UpdateDeletionProtectionInputTypeDef


def get_value() -> UpdateDeletionProtectionInputTypeDef:
    return {
        "arn": ...,
    }


# UpdateDeletionProtectionInputTypeDef definition

class UpdateDeletionProtectionInputTypeDef(TypedDict):
    arn: str,
    deletionProtected: bool,
    clientToken: NotRequired[str],

CreateReplicationSetOutputTypeDef#

# CreateReplicationSetOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CreateReplicationSetOutputTypeDef


def get_value() -> CreateReplicationSetOutputTypeDef:
    return {
        "arn": ...,
    }


# CreateReplicationSetOutputTypeDef definition

class CreateReplicationSetOutputTypeDef(TypedDict):
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateResponsePlanOutputTypeDef#

# CreateResponsePlanOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CreateResponsePlanOutputTypeDef


def get_value() -> CreateResponsePlanOutputTypeDef:
    return {
        "arn": ...,
    }


# CreateResponsePlanOutputTypeDef definition

class CreateResponsePlanOutputTypeDef(TypedDict):
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateTimelineEventOutputTypeDef#

# CreateTimelineEventOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CreateTimelineEventOutputTypeDef


def get_value() -> CreateTimelineEventOutputTypeDef:
    return {
        "eventId": ...,
    }


# CreateTimelineEventOutputTypeDef definition

class CreateTimelineEventOutputTypeDef(TypedDict):
    eventId: str,
    incidentRecordArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListReplicationSetsOutputTypeDef#

# ListReplicationSetsOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListReplicationSetsOutputTypeDef


def get_value() -> ListReplicationSetsOutputTypeDef:
    return {
        "nextToken": ...,
    }


# ListReplicationSetsOutputTypeDef definition

class ListReplicationSetsOutputTypeDef(TypedDict):
    replicationSetArns: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListTagsForResourceResponseTypeDef


def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "tags": ...,
    }


# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

PutResourcePolicyOutputTypeDef#

# PutResourcePolicyOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import PutResourcePolicyOutputTypeDef


def get_value() -> PutResourcePolicyOutputTypeDef:
    return {
        "policyId": ...,
    }


# PutResourcePolicyOutputTypeDef definition

class PutResourcePolicyOutputTypeDef(TypedDict):
    policyId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartIncidentOutputTypeDef#

# StartIncidentOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import StartIncidentOutputTypeDef


def get_value() -> StartIncidentOutputTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# StartIncidentOutputTypeDef definition

class StartIncidentOutputTypeDef(TypedDict):
    incidentRecordArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

FindingDetailsTypeDef#

# FindingDetailsTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import FindingDetailsTypeDef


def get_value() -> FindingDetailsTypeDef:
    return {
        "cloudFormationStackUpdate": ...,
    }


# FindingDetailsTypeDef definition

class FindingDetailsTypeDef(TypedDict):
    cloudFormationStackUpdate: NotRequired[CloudFormationStackUpdateTypeDef],  # (1)
    codeDeployDeployment: NotRequired[CodeDeployDeploymentTypeDef],  # (2)
  1. See CloudFormationStackUpdateTypeDef
  2. See CodeDeployDeploymentTypeDef

ConditionTypeDef#

# ConditionTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ConditionTypeDef


def get_value() -> ConditionTypeDef:
    return {
        "after": ...,
    }


# ConditionTypeDef definition

class ConditionTypeDef(TypedDict):
    after: NotRequired[TimestampTypeDef],
    before: NotRequired[TimestampTypeDef],
    equals: NotRequired[AttributeValueListTypeDef],  # (1)
  1. See AttributeValueListTypeDef

TriggerDetailsTypeDef#

# TriggerDetailsTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import TriggerDetailsTypeDef


def get_value() -> TriggerDetailsTypeDef:
    return {
        "rawData": ...,
    }


# TriggerDetailsTypeDef definition

class TriggerDetailsTypeDef(TypedDict):
    source: str,
    timestamp: TimestampTypeDef,
    rawData: NotRequired[str],
    triggerArn: NotRequired[str],

CreateReplicationSetInputTypeDef#

# CreateReplicationSetInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CreateReplicationSetInputTypeDef


def get_value() -> CreateReplicationSetInputTypeDef:
    return {
        "regions": ...,
    }


# CreateReplicationSetInputTypeDef definition

class CreateReplicationSetInputTypeDef(TypedDict):
    regions: Mapping[str, RegionMapInputValueTypeDef],  # (1)
    clientToken: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See Mapping[str, RegionMapInputValueTypeDef]

CreateTimelineEventInputTypeDef#

# CreateTimelineEventInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CreateTimelineEventInputTypeDef


def get_value() -> CreateTimelineEventInputTypeDef:
    return {
        "eventData": ...,
    }


# CreateTimelineEventInputTypeDef definition

class CreateTimelineEventInputTypeDef(TypedDict):
    eventData: str,
    eventTime: TimestampTypeDef,
    eventType: str,
    incidentRecordArn: str,
    clientToken: NotRequired[str],
    eventReferences: NotRequired[Sequence[EventReferenceTypeDef]],  # (1)
  1. See Sequence[EventReferenceTypeDef]

EventSummaryTypeDef#

# EventSummaryTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import EventSummaryTypeDef


def get_value() -> EventSummaryTypeDef:
    return {
        "eventId": ...,
    }


# EventSummaryTypeDef definition

class EventSummaryTypeDef(TypedDict):
    eventId: str,
    eventTime: datetime.datetime,
    eventType: str,
    eventUpdatedTime: datetime.datetime,
    incidentRecordArn: str,
    eventReferences: NotRequired[List[EventReferenceTypeDef]],  # (1)
  1. See List[EventReferenceTypeDef]

TimelineEventTypeDef#

# TimelineEventTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import TimelineEventTypeDef


def get_value() -> TimelineEventTypeDef:
    return {
        "eventData": ...,
    }


# TimelineEventTypeDef definition

class TimelineEventTypeDef(TypedDict):
    eventData: str,
    eventId: str,
    eventTime: datetime.datetime,
    eventType: str,
    eventUpdatedTime: datetime.datetime,
    incidentRecordArn: str,
    eventReferences: NotRequired[List[EventReferenceTypeDef]],  # (1)
  1. See List[EventReferenceTypeDef]

UpdateTimelineEventInputTypeDef#

# UpdateTimelineEventInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UpdateTimelineEventInputTypeDef


def get_value() -> UpdateTimelineEventInputTypeDef:
    return {
        "eventId": ...,
    }


# UpdateTimelineEventInputTypeDef definition

class UpdateTimelineEventInputTypeDef(TypedDict):
    eventId: str,
    incidentRecordArn: str,
    clientToken: NotRequired[str],
    eventData: NotRequired[str],
    eventReferences: NotRequired[Sequence[EventReferenceTypeDef]],  # (1)
    eventTime: NotRequired[TimestampTypeDef],
    eventType: NotRequired[str],
  1. See Sequence[EventReferenceTypeDef]

UpdateReplicationSetActionTypeDef#

# UpdateReplicationSetActionTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UpdateReplicationSetActionTypeDef


def get_value() -> UpdateReplicationSetActionTypeDef:
    return {
        "addRegionAction": ...,
    }


# UpdateReplicationSetActionTypeDef definition

class UpdateReplicationSetActionTypeDef(TypedDict):
    addRegionAction: NotRequired[AddRegionActionTypeDef],  # (1)
    deleteRegionAction: NotRequired[DeleteRegionActionTypeDef],  # (2)
  1. See AddRegionActionTypeDef
  2. See DeleteRegionActionTypeDef

SsmAutomationOutputTypeDef#

# SsmAutomationOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import SsmAutomationOutputTypeDef


def get_value() -> SsmAutomationOutputTypeDef:
    return {
        "documentName": ...,
    }


# SsmAutomationOutputTypeDef definition

class SsmAutomationOutputTypeDef(TypedDict):
    documentName: str,
    roleArn: str,
    documentVersion: NotRequired[str],
    dynamicParameters: NotRequired[Dict[str, DynamicSsmParameterValueTypeDef]],  # (1)
    parameters: NotRequired[Dict[str, List[str]]],
    targetAccount: NotRequired[SsmTargetAccountType],  # (2)
  1. See Dict[str, DynamicSsmParameterValueTypeDef]
  2. See SsmTargetAccountType

SsmAutomationTypeDef#

# SsmAutomationTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import SsmAutomationTypeDef


def get_value() -> SsmAutomationTypeDef:
    return {
        "documentName": ...,
    }


# SsmAutomationTypeDef definition

class SsmAutomationTypeDef(TypedDict):
    documentName: str,
    roleArn: str,
    documentVersion: NotRequired[str],
    dynamicParameters: NotRequired[Mapping[str, DynamicSsmParameterValueTypeDef]],  # (1)
    parameters: NotRequired[Mapping[str, Sequence[str]]],
    targetAccount: NotRequired[SsmTargetAccountType],  # (2)
  1. See Mapping[str, DynamicSsmParameterValueTypeDef]
  2. See SsmTargetAccountType

ListIncidentFindingsOutputTypeDef#

# ListIncidentFindingsOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListIncidentFindingsOutputTypeDef


def get_value() -> ListIncidentFindingsOutputTypeDef:
    return {
        "findings": ...,
    }


# ListIncidentFindingsOutputTypeDef definition

class ListIncidentFindingsOutputTypeDef(TypedDict):
    findings: List[FindingSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[FindingSummaryTypeDef]
  2. See ResponseMetadataTypeDef

GetReplicationSetInputWaitExtraTypeDef#

# GetReplicationSetInputWaitExtraTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetInputWaitExtraTypeDef


def get_value() -> GetReplicationSetInputWaitExtraTypeDef:
    return {
        "arn": ...,
    }


# GetReplicationSetInputWaitExtraTypeDef definition

class GetReplicationSetInputWaitExtraTypeDef(TypedDict):
    arn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetReplicationSetInputWaitTypeDef#

# GetReplicationSetInputWaitTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetInputWaitTypeDef


def get_value() -> GetReplicationSetInputWaitTypeDef:
    return {
        "arn": ...,
    }


# GetReplicationSetInputWaitTypeDef definition

class GetReplicationSetInputWaitTypeDef(TypedDict):
    arn: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

GetResourcePoliciesInputPaginateTypeDef#

# GetResourcePoliciesInputPaginateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetResourcePoliciesInputPaginateTypeDef


def get_value() -> GetResourcePoliciesInputPaginateTypeDef:
    return {
        "resourceArn": ...,
    }


# GetResourcePoliciesInputPaginateTypeDef definition

class GetResourcePoliciesInputPaginateTypeDef(TypedDict):
    resourceArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListIncidentFindingsInputPaginateTypeDef#

# ListIncidentFindingsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListIncidentFindingsInputPaginateTypeDef


def get_value() -> ListIncidentFindingsInputPaginateTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# ListIncidentFindingsInputPaginateTypeDef definition

class ListIncidentFindingsInputPaginateTypeDef(TypedDict):
    incidentRecordArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListRelatedItemsInputPaginateTypeDef#

# ListRelatedItemsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListRelatedItemsInputPaginateTypeDef


def get_value() -> ListRelatedItemsInputPaginateTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# ListRelatedItemsInputPaginateTypeDef definition

class ListRelatedItemsInputPaginateTypeDef(TypedDict):
    incidentRecordArn: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListReplicationSetsInputPaginateTypeDef#

# ListReplicationSetsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListReplicationSetsInputPaginateTypeDef


def get_value() -> ListReplicationSetsInputPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListReplicationSetsInputPaginateTypeDef definition

class ListReplicationSetsInputPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListResponsePlansInputPaginateTypeDef#

# ListResponsePlansInputPaginateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListResponsePlansInputPaginateTypeDef


def get_value() -> ListResponsePlansInputPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListResponsePlansInputPaginateTypeDef definition

class ListResponsePlansInputPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetResourcePoliciesOutputTypeDef#

# GetResourcePoliciesOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetResourcePoliciesOutputTypeDef


def get_value() -> GetResourcePoliciesOutputTypeDef:
    return {
        "nextToken": ...,
    }


# GetResourcePoliciesOutputTypeDef definition

class GetResourcePoliciesOutputTypeDef(TypedDict):
    resourcePolicies: List[ResourcePolicyTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[ResourcePolicyTypeDef]
  2. See ResponseMetadataTypeDef

IncidentRecordSummaryTypeDef#

# IncidentRecordSummaryTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import IncidentRecordSummaryTypeDef


def get_value() -> IncidentRecordSummaryTypeDef:
    return {
        "arn": ...,
    }


# IncidentRecordSummaryTypeDef definition

class IncidentRecordSummaryTypeDef(TypedDict):
    arn: str,
    creationTime: datetime.datetime,
    impact: int,
    incidentRecordSource: IncidentRecordSourceTypeDef,  # (1)
    status: IncidentRecordStatusType,  # (2)
    title: str,
    resolvedTime: NotRequired[datetime.datetime],
  1. See IncidentRecordSourceTypeDef
  2. See IncidentRecordStatusType

IncidentRecordTypeDef#

# IncidentRecordTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import IncidentRecordTypeDef


def get_value() -> IncidentRecordTypeDef:
    return {
        "arn": ...,
    }


# IncidentRecordTypeDef definition

class IncidentRecordTypeDef(TypedDict):
    arn: str,
    creationTime: datetime.datetime,
    dedupeString: str,
    impact: int,
    incidentRecordSource: IncidentRecordSourceTypeDef,  # (3)
    lastModifiedBy: str,
    lastModifiedTime: datetime.datetime,
    status: IncidentRecordStatusType,  # (5)
    title: str,
    automationExecutions: NotRequired[List[AutomationExecutionTypeDef]],  # (1)
    chatChannel: NotRequired[ChatChannelOutputTypeDef],  # (2)
    notificationTargets: NotRequired[List[NotificationTargetItemTypeDef]],  # (4)
    resolvedTime: NotRequired[datetime.datetime],
    summary: NotRequired[str],
  1. See List[AutomationExecutionTypeDef]
  2. See ChatChannelOutputTypeDef
  3. See IncidentRecordSourceTypeDef
  4. See List[NotificationTargetItemTypeDef]
  5. See IncidentRecordStatusType

IncidentTemplateOutputTypeDef#

# IncidentTemplateOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import IncidentTemplateOutputTypeDef


def get_value() -> IncidentTemplateOutputTypeDef:
    return {
        "dedupeString": ...,
    }


# IncidentTemplateOutputTypeDef definition

class IncidentTemplateOutputTypeDef(TypedDict):
    impact: int,
    title: str,
    dedupeString: NotRequired[str],
    incidentTags: NotRequired[Dict[str, str]],
    notificationTargets: NotRequired[List[NotificationTargetItemTypeDef]],  # (1)
    summary: NotRequired[str],
  1. See List[NotificationTargetItemTypeDef]

IncidentTemplateTypeDef#

# IncidentTemplateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import IncidentTemplateTypeDef


def get_value() -> IncidentTemplateTypeDef:
    return {
        "dedupeString": ...,
    }


# IncidentTemplateTypeDef definition

class IncidentTemplateTypeDef(TypedDict):
    impact: int,
    title: str,
    dedupeString: NotRequired[str],
    incidentTags: NotRequired[Mapping[str, str]],
    notificationTargets: NotRequired[Sequence[NotificationTargetItemTypeDef]],  # (1)
    summary: NotRequired[str],
  1. See Sequence[NotificationTargetItemTypeDef]

ItemValueTypeDef#

# ItemValueTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ItemValueTypeDef


def get_value() -> ItemValueTypeDef:
    return {
        "arn": ...,
    }


# ItemValueTypeDef definition

class ItemValueTypeDef(TypedDict):
    arn: NotRequired[str],
    metricDefinition: NotRequired[str],
    pagerDutyIncidentDetail: NotRequired[PagerDutyIncidentDetailTypeDef],  # (1)
    url: NotRequired[str],
  1. See PagerDutyIncidentDetailTypeDef

ListResponsePlansOutputTypeDef#

# ListResponsePlansOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListResponsePlansOutputTypeDef


def get_value() -> ListResponsePlansOutputTypeDef:
    return {
        "nextToken": ...,
    }


# ListResponsePlansOutputTypeDef definition

class ListResponsePlansOutputTypeDef(TypedDict):
    responsePlanSummaries: List[ResponsePlanSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[ResponsePlanSummaryTypeDef]
  2. See ResponseMetadataTypeDef

PagerDutyConfigurationTypeDef#

# PagerDutyConfigurationTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import PagerDutyConfigurationTypeDef


def get_value() -> PagerDutyConfigurationTypeDef:
    return {
        "name": ...,
    }


# PagerDutyConfigurationTypeDef definition

class PagerDutyConfigurationTypeDef(TypedDict):
    name: str,
    pagerDutyIncidentConfiguration: PagerDutyIncidentConfigurationTypeDef,  # (1)
    secretId: str,
  1. See PagerDutyIncidentConfigurationTypeDef

ReplicationSetTypeDef#

# ReplicationSetTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ReplicationSetTypeDef


def get_value() -> ReplicationSetTypeDef:
    return {
        "arn": ...,
    }


# ReplicationSetTypeDef definition

class ReplicationSetTypeDef(TypedDict):
    createdBy: str,
    createdTime: datetime.datetime,
    deletionProtected: bool,
    lastModifiedBy: str,
    lastModifiedTime: datetime.datetime,
    regionMap: Dict[str, RegionInfoTypeDef],  # (1)
    status: ReplicationSetStatusType,  # (2)
    arn: NotRequired[str],
  1. See Dict[str, RegionInfoTypeDef]
  2. See ReplicationSetStatusType

UpdateIncidentRecordInputTypeDef#

# UpdateIncidentRecordInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UpdateIncidentRecordInputTypeDef


def get_value() -> UpdateIncidentRecordInputTypeDef:
    return {
        "arn": ...,
    }


# UpdateIncidentRecordInputTypeDef definition

class UpdateIncidentRecordInputTypeDef(TypedDict):
    arn: str,
    chatChannel: NotRequired[ChatChannelUnionTypeDef],  # (1)
    clientToken: NotRequired[str],
    impact: NotRequired[int],
    notificationTargets: NotRequired[Sequence[NotificationTargetItemTypeDef]],  # (2)
    status: NotRequired[IncidentRecordStatusType],  # (3)
    summary: NotRequired[str],
    title: NotRequired[str],
  1. See ChatChannelUnionTypeDef
  2. See Sequence[NotificationTargetItemTypeDef]
  3. See IncidentRecordStatusType

FindingTypeDef#

# FindingTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import FindingTypeDef


def get_value() -> FindingTypeDef:
    return {
        "creationTime": ...,
    }


# FindingTypeDef definition

class FindingTypeDef(TypedDict):
    creationTime: datetime.datetime,
    id: str,
    lastModifiedTime: datetime.datetime,
    details: NotRequired[FindingDetailsTypeDef],  # (1)
  1. See FindingDetailsTypeDef

FilterTypeDef#

# FilterTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import FilterTypeDef


def get_value() -> FilterTypeDef:
    return {
        "condition": ...,
    }


# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    condition: ConditionTypeDef,  # (1)
    key: str,
  1. See ConditionTypeDef

ListTimelineEventsOutputTypeDef#

# ListTimelineEventsOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListTimelineEventsOutputTypeDef


def get_value() -> ListTimelineEventsOutputTypeDef:
    return {
        "eventSummaries": ...,
    }


# ListTimelineEventsOutputTypeDef definition

class ListTimelineEventsOutputTypeDef(TypedDict):
    eventSummaries: List[EventSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[EventSummaryTypeDef]
  2. See ResponseMetadataTypeDef

GetTimelineEventOutputTypeDef#

# GetTimelineEventOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetTimelineEventOutputTypeDef


def get_value() -> GetTimelineEventOutputTypeDef:
    return {
        "event": ...,
    }


# GetTimelineEventOutputTypeDef definition

class GetTimelineEventOutputTypeDef(TypedDict):
    event: TimelineEventTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TimelineEventTypeDef
  2. See ResponseMetadataTypeDef

UpdateReplicationSetInputTypeDef#

# UpdateReplicationSetInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UpdateReplicationSetInputTypeDef


def get_value() -> UpdateReplicationSetInputTypeDef:
    return {
        "actions": ...,
    }


# UpdateReplicationSetInputTypeDef definition

class UpdateReplicationSetInputTypeDef(TypedDict):
    actions: Sequence[UpdateReplicationSetActionTypeDef],  # (1)
    arn: str,
    clientToken: NotRequired[str],
  1. See Sequence[UpdateReplicationSetActionTypeDef]

ActionOutputTypeDef#

# ActionOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ActionOutputTypeDef


def get_value() -> ActionOutputTypeDef:
    return {
        "ssmAutomation": ...,
    }


# ActionOutputTypeDef definition

class ActionOutputTypeDef(TypedDict):
    ssmAutomation: NotRequired[SsmAutomationOutputTypeDef],  # (1)
  1. See SsmAutomationOutputTypeDef

ListIncidentRecordsOutputTypeDef#

# ListIncidentRecordsOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListIncidentRecordsOutputTypeDef


def get_value() -> ListIncidentRecordsOutputTypeDef:
    return {
        "incidentRecordSummaries": ...,
    }


# ListIncidentRecordsOutputTypeDef definition

class ListIncidentRecordsOutputTypeDef(TypedDict):
    incidentRecordSummaries: List[IncidentRecordSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[IncidentRecordSummaryTypeDef]
  2. See ResponseMetadataTypeDef

GetIncidentRecordOutputTypeDef#

# GetIncidentRecordOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetIncidentRecordOutputTypeDef


def get_value() -> GetIncidentRecordOutputTypeDef:
    return {
        "incidentRecord": ...,
    }


# GetIncidentRecordOutputTypeDef definition

class GetIncidentRecordOutputTypeDef(TypedDict):
    incidentRecord: IncidentRecordTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IncidentRecordTypeDef
  2. See ResponseMetadataTypeDef

ItemIdentifierTypeDef#

# ItemIdentifierTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ItemIdentifierTypeDef


def get_value() -> ItemIdentifierTypeDef:
    return {
        "type": ...,
    }


# ItemIdentifierTypeDef definition

class ItemIdentifierTypeDef(TypedDict):
    type: ItemTypeType,  # (1)
    value: ItemValueTypeDef,  # (2)
  1. See ItemTypeType
  2. See ItemValueTypeDef

IntegrationTypeDef#

# IntegrationTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import IntegrationTypeDef


def get_value() -> IntegrationTypeDef:
    return {
        "pagerDutyConfiguration": ...,
    }


# IntegrationTypeDef definition

class IntegrationTypeDef(TypedDict):
    pagerDutyConfiguration: NotRequired[PagerDutyConfigurationTypeDef],  # (1)
  1. See PagerDutyConfigurationTypeDef

GetReplicationSetOutputTypeDef#

# GetReplicationSetOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetOutputTypeDef


def get_value() -> GetReplicationSetOutputTypeDef:
    return {
        "replicationSet": ...,
    }


# GetReplicationSetOutputTypeDef definition

class GetReplicationSetOutputTypeDef(TypedDict):
    replicationSet: ReplicationSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ReplicationSetTypeDef
  2. See ResponseMetadataTypeDef

BatchGetIncidentFindingsOutputTypeDef#

# BatchGetIncidentFindingsOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import BatchGetIncidentFindingsOutputTypeDef


def get_value() -> BatchGetIncidentFindingsOutputTypeDef:
    return {
        "errors": ...,
    }


# BatchGetIncidentFindingsOutputTypeDef definition

class BatchGetIncidentFindingsOutputTypeDef(TypedDict):
    errors: List[BatchGetIncidentFindingsErrorTypeDef],  # (1)
    findings: List[FindingTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See List[BatchGetIncidentFindingsErrorTypeDef]
  2. See List[FindingTypeDef]
  3. See ResponseMetadataTypeDef

ListIncidentRecordsInputPaginateTypeDef#

# ListIncidentRecordsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListIncidentRecordsInputPaginateTypeDef


def get_value() -> ListIncidentRecordsInputPaginateTypeDef:
    return {
        "filters": ...,
    }


# ListIncidentRecordsInputPaginateTypeDef definition

class ListIncidentRecordsInputPaginateTypeDef(TypedDict):
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See Sequence[FilterTypeDef]
  2. See PaginatorConfigTypeDef

ListIncidentRecordsInputTypeDef#

# ListIncidentRecordsInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListIncidentRecordsInputTypeDef


def get_value() -> ListIncidentRecordsInputTypeDef:
    return {
        "filters": ...,
    }


# ListIncidentRecordsInputTypeDef definition

class ListIncidentRecordsInputTypeDef(TypedDict):
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See Sequence[FilterTypeDef]

ListTimelineEventsInputPaginateTypeDef#

# ListTimelineEventsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListTimelineEventsInputPaginateTypeDef


def get_value() -> ListTimelineEventsInputPaginateTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# ListTimelineEventsInputPaginateTypeDef definition

class ListTimelineEventsInputPaginateTypeDef(TypedDict):
    incidentRecordArn: str,
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    sortBy: NotRequired[TimelineEventSortType],  # (2)
    sortOrder: NotRequired[SortOrderType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See Sequence[FilterTypeDef]
  2. See TimelineEventSortType
  3. See SortOrderType
  4. See PaginatorConfigTypeDef

ListTimelineEventsInputTypeDef#

# ListTimelineEventsInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListTimelineEventsInputTypeDef


def get_value() -> ListTimelineEventsInputTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# ListTimelineEventsInputTypeDef definition

class ListTimelineEventsInputTypeDef(TypedDict):
    incidentRecordArn: str,
    filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    sortBy: NotRequired[TimelineEventSortType],  # (2)
    sortOrder: NotRequired[SortOrderType],  # (3)
  1. See Sequence[FilterTypeDef]
  2. See TimelineEventSortType
  3. See SortOrderType

ActionTypeDef#

# ActionTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ActionTypeDef


def get_value() -> ActionTypeDef:
    return {
        "ssmAutomation": ...,
    }


# ActionTypeDef definition

class ActionTypeDef(TypedDict):
    ssmAutomation: NotRequired[SsmAutomationUnionTypeDef],  # (1)
  1. See SsmAutomationUnionTypeDef

RelatedItemTypeDef#

# RelatedItemTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import RelatedItemTypeDef


def get_value() -> RelatedItemTypeDef:
    return {
        "generatedId": ...,
    }


# RelatedItemTypeDef definition

class RelatedItemTypeDef(TypedDict):
    identifier: ItemIdentifierTypeDef,  # (1)
    generatedId: NotRequired[str],
    title: NotRequired[str],
  1. See ItemIdentifierTypeDef

GetResponsePlanOutputTypeDef#

# GetResponsePlanOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import GetResponsePlanOutputTypeDef


def get_value() -> GetResponsePlanOutputTypeDef:
    return {
        "actions": ...,
    }


# GetResponsePlanOutputTypeDef definition

class GetResponsePlanOutputTypeDef(TypedDict):
    actions: List[ActionOutputTypeDef],  # (1)
    arn: str,
    chatChannel: ChatChannelOutputTypeDef,  # (2)
    displayName: str,
    engagements: List[str],
    incidentTemplate: IncidentTemplateOutputTypeDef,  # (3)
    integrations: List[IntegrationTypeDef],  # (4)
    name: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See List[ActionOutputTypeDef]
  2. See ChatChannelOutputTypeDef
  3. See IncidentTemplateOutputTypeDef
  4. See List[IntegrationTypeDef]
  5. See ResponseMetadataTypeDef

ListRelatedItemsOutputTypeDef#

# ListRelatedItemsOutputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import ListRelatedItemsOutputTypeDef


def get_value() -> ListRelatedItemsOutputTypeDef:
    return {
        "nextToken": ...,
    }


# ListRelatedItemsOutputTypeDef definition

class ListRelatedItemsOutputTypeDef(TypedDict):
    relatedItems: List[RelatedItemTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See List[RelatedItemTypeDef]
  2. See ResponseMetadataTypeDef

RelatedItemsUpdateTypeDef#

# RelatedItemsUpdateTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import RelatedItemsUpdateTypeDef


def get_value() -> RelatedItemsUpdateTypeDef:
    return {
        "itemToAdd": ...,
    }


# RelatedItemsUpdateTypeDef definition

class RelatedItemsUpdateTypeDef(TypedDict):
    itemToAdd: NotRequired[RelatedItemTypeDef],  # (1)
    itemToRemove: NotRequired[ItemIdentifierTypeDef],  # (2)
  1. See RelatedItemTypeDef
  2. See ItemIdentifierTypeDef

StartIncidentInputTypeDef#

# StartIncidentInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import StartIncidentInputTypeDef


def get_value() -> StartIncidentInputTypeDef:
    return {
        "responsePlanArn": ...,
    }


# StartIncidentInputTypeDef definition

class StartIncidentInputTypeDef(TypedDict):
    responsePlanArn: str,
    clientToken: NotRequired[str],
    impact: NotRequired[int],
    relatedItems: NotRequired[Sequence[RelatedItemTypeDef]],  # (1)
    title: NotRequired[str],
    triggerDetails: NotRequired[TriggerDetailsTypeDef],  # (2)
  1. See Sequence[RelatedItemTypeDef]
  2. See TriggerDetailsTypeDef

CreateResponsePlanInputTypeDef#

# CreateResponsePlanInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import CreateResponsePlanInputTypeDef


def get_value() -> CreateResponsePlanInputTypeDef:
    return {
        "incidentTemplate": ...,
    }


# CreateResponsePlanInputTypeDef definition

class CreateResponsePlanInputTypeDef(TypedDict):
    incidentTemplate: IncidentTemplateUnionTypeDef,  # (1)
    name: str,
    actions: NotRequired[Sequence[ActionUnionTypeDef]],  # (2)
    chatChannel: NotRequired[ChatChannelUnionTypeDef],  # (3)
    clientToken: NotRequired[str],
    displayName: NotRequired[str],
    engagements: NotRequired[Sequence[str]],
    integrations: NotRequired[Sequence[IntegrationTypeDef]],  # (4)
    tags: NotRequired[Mapping[str, str]],
  1. See IncidentTemplateUnionTypeDef
  2. See Sequence[ActionUnionTypeDef]
  3. See ChatChannelUnionTypeDef
  4. See Sequence[IntegrationTypeDef]

UpdateResponsePlanInputTypeDef#

# UpdateResponsePlanInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UpdateResponsePlanInputTypeDef


def get_value() -> UpdateResponsePlanInputTypeDef:
    return {
        "arn": ...,
    }


# UpdateResponsePlanInputTypeDef definition

class UpdateResponsePlanInputTypeDef(TypedDict):
    arn: str,
    actions: NotRequired[Sequence[ActionUnionTypeDef]],  # (1)
    chatChannel: NotRequired[ChatChannelUnionTypeDef],  # (2)
    clientToken: NotRequired[str],
    displayName: NotRequired[str],
    engagements: NotRequired[Sequence[str]],
    incidentTemplateDedupeString: NotRequired[str],
    incidentTemplateImpact: NotRequired[int],
    incidentTemplateNotificationTargets: NotRequired[Sequence[NotificationTargetItemTypeDef]],  # (3)
    incidentTemplateSummary: NotRequired[str],
    incidentTemplateTags: NotRequired[Mapping[str, str]],
    incidentTemplateTitle: NotRequired[str],
    integrations: NotRequired[Sequence[IntegrationTypeDef]],  # (4)
  1. See Sequence[ActionUnionTypeDef]
  2. See ChatChannelUnionTypeDef
  3. See Sequence[NotificationTargetItemTypeDef]
  4. See Sequence[IntegrationTypeDef]

UpdateRelatedItemsInputTypeDef#

# UpdateRelatedItemsInputTypeDef TypedDict usage example

from mypy_boto3_ssm_incidents.type_defs import UpdateRelatedItemsInputTypeDef


def get_value() -> UpdateRelatedItemsInputTypeDef:
    return {
        "incidentRecordArn": ...,
    }


# UpdateRelatedItemsInputTypeDef definition

class UpdateRelatedItemsInputTypeDef(TypedDict):
    incidentRecordArn: str,
    relatedItemsUpdate: RelatedItemsUpdateTypeDef,  # (1)
    clientToken: NotRequired[str],
  1. See RelatedItemsUpdateTypeDef