Typed dictionaries#
Index > SSMIncidents > Typed dictionaries
Auto-generated documentation for SSMIncidents type annotations stubs module mypy-boto3-ssm-incidents.
AddRegionActionTypeDef#
# AddRegionActionTypeDef 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 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 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],
ChatChannelTypeDef#
# ChatChannelTypeDef 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]],
RegionMapInputValueTypeDef#
# RegionMapInputValueTypeDef 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],
CreateReplicationSetOutputTypeDef#
# CreateReplicationSetOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import CreateReplicationSetOutputTypeDef
def get_value() -> CreateReplicationSetOutputTypeDef:
return {
"arn": ...,
"ResponseMetadata": ...,
}
# CreateReplicationSetOutputTypeDef definition
class CreateReplicationSetOutputTypeDef(TypedDict):
arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateResponsePlanOutputTypeDef#
# CreateResponsePlanOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import CreateResponsePlanOutputTypeDef
def get_value() -> CreateResponsePlanOutputTypeDef:
return {
"arn": ...,
"ResponseMetadata": ...,
}
# CreateResponsePlanOutputTypeDef definition
class CreateResponsePlanOutputTypeDef(TypedDict):
arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EventReferenceTypeDef#
# EventReferenceTypeDef 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],
CreateTimelineEventOutputTypeDef#
# CreateTimelineEventOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import CreateTimelineEventOutputTypeDef
def get_value() -> CreateTimelineEventOutputTypeDef:
return {
"eventId": ...,
"incidentRecordArn": ...,
"ResponseMetadata": ...,
}
# CreateTimelineEventOutputTypeDef definition
class CreateTimelineEventOutputTypeDef(TypedDict):
eventId: str,
incidentRecordArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteIncidentRecordInputRequestTypeDef#
# DeleteIncidentRecordInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import DeleteIncidentRecordInputRequestTypeDef
def get_value() -> DeleteIncidentRecordInputRequestTypeDef:
return {
"arn": ...,
}
# DeleteIncidentRecordInputRequestTypeDef definition
class DeleteIncidentRecordInputRequestTypeDef(TypedDict):
arn: str,
DeleteRegionActionTypeDef#
# DeleteRegionActionTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import DeleteRegionActionTypeDef
def get_value() -> DeleteRegionActionTypeDef:
return {
"regionName": ...,
}
# DeleteRegionActionTypeDef definition
class DeleteRegionActionTypeDef(TypedDict):
regionName: str,
DeleteReplicationSetInputRequestTypeDef#
# DeleteReplicationSetInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import DeleteReplicationSetInputRequestTypeDef
def get_value() -> DeleteReplicationSetInputRequestTypeDef:
return {
"arn": ...,
}
# DeleteReplicationSetInputRequestTypeDef definition
class DeleteReplicationSetInputRequestTypeDef(TypedDict):
arn: str,
DeleteResourcePolicyInputRequestTypeDef#
# DeleteResourcePolicyInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import DeleteResourcePolicyInputRequestTypeDef
def get_value() -> DeleteResourcePolicyInputRequestTypeDef:
return {
"policyId": ...,
"resourceArn": ...,
}
# DeleteResourcePolicyInputRequestTypeDef definition
class DeleteResourcePolicyInputRequestTypeDef(TypedDict):
policyId: str,
resourceArn: str,
DeleteResponsePlanInputRequestTypeDef#
# DeleteResponsePlanInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import DeleteResponsePlanInputRequestTypeDef
def get_value() -> DeleteResponsePlanInputRequestTypeDef:
return {
"arn": ...,
}
# DeleteResponsePlanInputRequestTypeDef definition
class DeleteResponsePlanInputRequestTypeDef(TypedDict):
arn: str,
DeleteTimelineEventInputRequestTypeDef#
# DeleteTimelineEventInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import DeleteTimelineEventInputRequestTypeDef
def get_value() -> DeleteTimelineEventInputRequestTypeDef:
return {
"eventId": ...,
"incidentRecordArn": ...,
}
# DeleteTimelineEventInputRequestTypeDef definition
class DeleteTimelineEventInputRequestTypeDef(TypedDict):
eventId: str,
incidentRecordArn: str,
DynamicSsmParameterValueTypeDef#
# DynamicSsmParameterValueTypeDef 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)
- See VariableTypeType
GetIncidentRecordInputRequestTypeDef#
# GetIncidentRecordInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetIncidentRecordInputRequestTypeDef
def get_value() -> GetIncidentRecordInputRequestTypeDef:
return {
"arn": ...,
}
# GetIncidentRecordInputRequestTypeDef definition
class GetIncidentRecordInputRequestTypeDef(TypedDict):
arn: str,
GetReplicationSetInputRequestTypeDef#
# GetReplicationSetInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetInputRequestTypeDef
def get_value() -> GetReplicationSetInputRequestTypeDef:
return {
"arn": ...,
}
# GetReplicationSetInputRequestTypeDef definition
class GetReplicationSetInputRequestTypeDef(TypedDict):
arn: str,
WaiterConfigTypeDef#
# WaiterConfigTypeDef 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],
GetResourcePoliciesInputGetResourcePoliciesPaginateTypeDef#
# GetResourcePoliciesInputGetResourcePoliciesPaginateTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetResourcePoliciesInputGetResourcePoliciesPaginateTypeDef
def get_value() -> GetResourcePoliciesInputGetResourcePoliciesPaginateTypeDef:
return {
"resourceArn": ...,
}
# GetResourcePoliciesInputGetResourcePoliciesPaginateTypeDef definition
class GetResourcePoliciesInputGetResourcePoliciesPaginateTypeDef(TypedDict):
resourceArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetResourcePoliciesInputRequestTypeDef#
# GetResourcePoliciesInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetResourcePoliciesInputRequestTypeDef
def get_value() -> GetResourcePoliciesInputRequestTypeDef:
return {
"resourceArn": ...,
}
# GetResourcePoliciesInputRequestTypeDef definition
class GetResourcePoliciesInputRequestTypeDef(TypedDict):
resourceArn: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ResourcePolicyTypeDef#
# ResourcePolicyTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ResourcePolicyTypeDef
def get_value() -> ResourcePolicyTypeDef:
return {
"policyDocument": ...,
"policyId": ...,
"ramResourceShareRegion": ...,
}
# ResourcePolicyTypeDef definition
class ResourcePolicyTypeDef(TypedDict):
policyDocument: str,
policyId: str,
ramResourceShareRegion: str,
GetResponsePlanInputRequestTypeDef#
# GetResponsePlanInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetResponsePlanInputRequestTypeDef
def get_value() -> GetResponsePlanInputRequestTypeDef:
return {
"arn": ...,
}
# GetResponsePlanInputRequestTypeDef definition
class GetResponsePlanInputRequestTypeDef(TypedDict):
arn: str,
GetTimelineEventInputRequestTypeDef#
# GetTimelineEventInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetTimelineEventInputRequestTypeDef
def get_value() -> GetTimelineEventInputRequestTypeDef:
return {
"eventId": ...,
"incidentRecordArn": ...,
}
# GetTimelineEventInputRequestTypeDef definition
class GetTimelineEventInputRequestTypeDef(TypedDict):
eventId: str,
incidentRecordArn: str,
IncidentRecordSourceTypeDef#
# IncidentRecordSourceTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import IncidentRecordSourceTypeDef
def get_value() -> IncidentRecordSourceTypeDef:
return {
"createdBy": ...,
"source": ...,
}
# IncidentRecordSourceTypeDef definition
class IncidentRecordSourceTypeDef(TypedDict):
createdBy: str,
source: str,
invokedBy: NotRequired[str],
resourceArn: NotRequired[str],
NotificationTargetItemTypeDef#
# NotificationTargetItemTypeDef 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 usage example
from mypy_boto3_ssm_incidents.type_defs import PagerDutyIncidentDetailTypeDef
def get_value() -> PagerDutyIncidentDetailTypeDef:
return {
"id": ...,
}
# PagerDutyIncidentDetailTypeDef definition
class PagerDutyIncidentDetailTypeDef(TypedDict):
id: str,
autoResolve: NotRequired[bool],
secretId: NotRequired[str],
ListRelatedItemsInputListRelatedItemsPaginateTypeDef#
# ListRelatedItemsInputListRelatedItemsPaginateTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListRelatedItemsInputListRelatedItemsPaginateTypeDef
def get_value() -> ListRelatedItemsInputListRelatedItemsPaginateTypeDef:
return {
"incidentRecordArn": ...,
}
# ListRelatedItemsInputListRelatedItemsPaginateTypeDef definition
class ListRelatedItemsInputListRelatedItemsPaginateTypeDef(TypedDict):
incidentRecordArn: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListRelatedItemsInputRequestTypeDef#
# ListRelatedItemsInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListRelatedItemsInputRequestTypeDef
def get_value() -> ListRelatedItemsInputRequestTypeDef:
return {
"incidentRecordArn": ...,
}
# ListRelatedItemsInputRequestTypeDef definition
class ListRelatedItemsInputRequestTypeDef(TypedDict):
incidentRecordArn: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListReplicationSetsInputListReplicationSetsPaginateTypeDef#
# ListReplicationSetsInputListReplicationSetsPaginateTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListReplicationSetsInputListReplicationSetsPaginateTypeDef
def get_value() -> ListReplicationSetsInputListReplicationSetsPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListReplicationSetsInputListReplicationSetsPaginateTypeDef definition
class ListReplicationSetsInputListReplicationSetsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListReplicationSetsInputRequestTypeDef#
# ListReplicationSetsInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListReplicationSetsInputRequestTypeDef
def get_value() -> ListReplicationSetsInputRequestTypeDef:
return {
"maxResults": ...,
}
# ListReplicationSetsInputRequestTypeDef definition
class ListReplicationSetsInputRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListReplicationSetsOutputTypeDef#
# ListReplicationSetsOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListReplicationSetsOutputTypeDef
def get_value() -> ListReplicationSetsOutputTypeDef:
return {
"nextToken": ...,
"replicationSetArns": ...,
"ResponseMetadata": ...,
}
# ListReplicationSetsOutputTypeDef definition
class ListReplicationSetsOutputTypeDef(TypedDict):
nextToken: str,
replicationSetArns: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListResponsePlansInputListResponsePlansPaginateTypeDef#
# ListResponsePlansInputListResponsePlansPaginateTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListResponsePlansInputListResponsePlansPaginateTypeDef
def get_value() -> ListResponsePlansInputListResponsePlansPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListResponsePlansInputListResponsePlansPaginateTypeDef definition
class ListResponsePlansInputListResponsePlansPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListResponsePlansInputRequestTypeDef#
# ListResponsePlansInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListResponsePlansInputRequestTypeDef
def get_value() -> ListResponsePlansInputRequestTypeDef:
return {
"maxResults": ...,
}
# ListResponsePlansInputRequestTypeDef definition
class ListResponsePlansInputRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ResponsePlanSummaryTypeDef#
# ResponsePlanSummaryTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ResponsePlanSummaryTypeDef
def get_value() -> ResponsePlanSummaryTypeDef:
return {
"arn": ...,
"name": ...,
}
# ResponsePlanSummaryTypeDef definition
class ResponsePlanSummaryTypeDef(TypedDict):
arn: str,
name: str,
displayName: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
}
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PagerDutyIncidentConfigurationTypeDef#
# PagerDutyIncidentConfigurationTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import PagerDutyIncidentConfigurationTypeDef
def get_value() -> PagerDutyIncidentConfigurationTypeDef:
return {
"serviceId": ...,
}
# PagerDutyIncidentConfigurationTypeDef definition
class PagerDutyIncidentConfigurationTypeDef(TypedDict):
serviceId: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef 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],
PutResourcePolicyInputRequestTypeDef#
# PutResourcePolicyInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import PutResourcePolicyInputRequestTypeDef
def get_value() -> PutResourcePolicyInputRequestTypeDef:
return {
"policy": ...,
"resourceArn": ...,
}
# PutResourcePolicyInputRequestTypeDef definition
class PutResourcePolicyInputRequestTypeDef(TypedDict):
policy: str,
resourceArn: str,
PutResourcePolicyOutputTypeDef#
# PutResourcePolicyOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import PutResourcePolicyOutputTypeDef
def get_value() -> PutResourcePolicyOutputTypeDef:
return {
"policyId": ...,
"ResponseMetadata": ...,
}
# PutResourcePolicyOutputTypeDef definition
class PutResourcePolicyOutputTypeDef(TypedDict):
policyId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RegionInfoTypeDef#
# RegionInfoTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import RegionInfoTypeDef
def get_value() -> RegionInfoTypeDef:
return {
"status": ...,
"statusUpdateDateTime": ...,
}
# RegionInfoTypeDef definition
class RegionInfoTypeDef(TypedDict):
status: RegionStatusType, # (1)
statusUpdateDateTime: datetime,
sseKmsKeyId: NotRequired[str],
statusMessage: NotRequired[str],
- See RegionStatusType
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
TriggerDetailsTypeDef#
# TriggerDetailsTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import TriggerDetailsTypeDef
def get_value() -> TriggerDetailsTypeDef:
return {
"source": ...,
"timestamp": ...,
}
# TriggerDetailsTypeDef definition
class TriggerDetailsTypeDef(TypedDict):
source: str,
timestamp: Union[datetime, str],
rawData: NotRequired[str],
triggerArn: NotRequired[str],
StartIncidentOutputTypeDef#
# StartIncidentOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import StartIncidentOutputTypeDef
def get_value() -> StartIncidentOutputTypeDef:
return {
"incidentRecordArn": ...,
"ResponseMetadata": ...,
}
# StartIncidentOutputTypeDef definition
class StartIncidentOutputTypeDef(TypedDict):
incidentRecordArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tags": ...,
}
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tagKeys": ...,
}
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateDeletionProtectionInputRequestTypeDef#
# UpdateDeletionProtectionInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import UpdateDeletionProtectionInputRequestTypeDef
def get_value() -> UpdateDeletionProtectionInputRequestTypeDef:
return {
"arn": ...,
"deletionProtected": ...,
}
# UpdateDeletionProtectionInputRequestTypeDef definition
class UpdateDeletionProtectionInputRequestTypeDef(TypedDict):
arn: str,
deletionProtected: bool,
clientToken: NotRequired[str],
ConditionTypeDef#
# ConditionTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ConditionTypeDef
def get_value() -> ConditionTypeDef:
return {
"after": ...,
}
# ConditionTypeDef definition
class ConditionTypeDef(TypedDict):
after: NotRequired[Union[datetime, str]],
before: NotRequired[Union[datetime, str]],
equals: NotRequired[AttributeValueListTypeDef], # (1)
CreateReplicationSetInputRequestTypeDef#
# CreateReplicationSetInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import CreateReplicationSetInputRequestTypeDef
def get_value() -> CreateReplicationSetInputRequestTypeDef:
return {
"regions": ...,
}
# CreateReplicationSetInputRequestTypeDef definition
class CreateReplicationSetInputRequestTypeDef(TypedDict):
regions: Mapping[str, RegionMapInputValueTypeDef], # (1)
clientToken: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
CreateTimelineEventInputRequestTypeDef#
# CreateTimelineEventInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import CreateTimelineEventInputRequestTypeDef
def get_value() -> CreateTimelineEventInputRequestTypeDef:
return {
"eventData": ...,
"eventTime": ...,
"eventType": ...,
"incidentRecordArn": ...,
}
# CreateTimelineEventInputRequestTypeDef definition
class CreateTimelineEventInputRequestTypeDef(TypedDict):
eventData: str,
eventTime: Union[datetime, str],
eventType: str,
incidentRecordArn: str,
clientToken: NotRequired[str],
eventReferences: NotRequired[Sequence[EventReferenceTypeDef]], # (1)
EventSummaryTypeDef#
# EventSummaryTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import EventSummaryTypeDef
def get_value() -> EventSummaryTypeDef:
return {
"eventId": ...,
"eventTime": ...,
"eventType": ...,
"eventUpdatedTime": ...,
"incidentRecordArn": ...,
}
# EventSummaryTypeDef definition
class EventSummaryTypeDef(TypedDict):
eventId: str,
eventTime: datetime,
eventType: str,
eventUpdatedTime: datetime,
incidentRecordArn: str,
eventReferences: NotRequired[List[EventReferenceTypeDef]], # (1)
TimelineEventTypeDef#
# TimelineEventTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import TimelineEventTypeDef
def get_value() -> TimelineEventTypeDef:
return {
"eventData": ...,
"eventId": ...,
"eventTime": ...,
"eventType": ...,
"eventUpdatedTime": ...,
"incidentRecordArn": ...,
}
# TimelineEventTypeDef definition
class TimelineEventTypeDef(TypedDict):
eventData: str,
eventId: str,
eventTime: datetime,
eventType: str,
eventUpdatedTime: datetime,
incidentRecordArn: str,
eventReferences: NotRequired[List[EventReferenceTypeDef]], # (1)
UpdateTimelineEventInputRequestTypeDef#
# UpdateTimelineEventInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import UpdateTimelineEventInputRequestTypeDef
def get_value() -> UpdateTimelineEventInputRequestTypeDef:
return {
"eventId": ...,
"incidentRecordArn": ...,
}
# UpdateTimelineEventInputRequestTypeDef definition
class UpdateTimelineEventInputRequestTypeDef(TypedDict):
eventId: str,
incidentRecordArn: str,
clientToken: NotRequired[str],
eventData: NotRequired[str],
eventReferences: NotRequired[Sequence[EventReferenceTypeDef]], # (1)
eventTime: NotRequired[Union[datetime, str]],
eventType: NotRequired[str],
UpdateReplicationSetActionTypeDef#
# UpdateReplicationSetActionTypeDef 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)
SsmAutomationTypeDef#
# SsmAutomationTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import SsmAutomationTypeDef
def get_value() -> SsmAutomationTypeDef:
return {
"documentName": ...,
"roleArn": ...,
}
# 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)
GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef#
# GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef
def get_value() -> GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef:
return {
"arn": ...,
}
# GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef definition
class GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef(TypedDict):
arn: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef#
# GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef
def get_value() -> GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef:
return {
"arn": ...,
}
# GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef definition
class GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef(TypedDict):
arn: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
GetResourcePoliciesOutputTypeDef#
# GetResourcePoliciesOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetResourcePoliciesOutputTypeDef
def get_value() -> GetResourcePoliciesOutputTypeDef:
return {
"nextToken": ...,
"resourcePolicies": ...,
"ResponseMetadata": ...,
}
# GetResourcePoliciesOutputTypeDef definition
class GetResourcePoliciesOutputTypeDef(TypedDict):
nextToken: str,
resourcePolicies: List[ResourcePolicyTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
IncidentRecordSummaryTypeDef#
# IncidentRecordSummaryTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import IncidentRecordSummaryTypeDef
def get_value() -> IncidentRecordSummaryTypeDef:
return {
"arn": ...,
"creationTime": ...,
"impact": ...,
"incidentRecordSource": ...,
"status": ...,
"title": ...,
}
# IncidentRecordSummaryTypeDef definition
class IncidentRecordSummaryTypeDef(TypedDict):
arn: str,
creationTime: datetime,
impact: int,
incidentRecordSource: IncidentRecordSourceTypeDef, # (1)
status: IncidentRecordStatusType, # (2)
title: str,
resolvedTime: NotRequired[datetime],
IncidentRecordTypeDef#
# IncidentRecordTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import IncidentRecordTypeDef
def get_value() -> IncidentRecordTypeDef:
return {
"arn": ...,
"creationTime": ...,
"dedupeString": ...,
"impact": ...,
"incidentRecordSource": ...,
"lastModifiedBy": ...,
"lastModifiedTime": ...,
"status": ...,
"title": ...,
}
# IncidentRecordTypeDef definition
class IncidentRecordTypeDef(TypedDict):
arn: str,
creationTime: datetime,
dedupeString: str,
impact: int,
incidentRecordSource: IncidentRecordSourceTypeDef, # (3)
lastModifiedBy: str,
lastModifiedTime: datetime,
status: IncidentRecordStatusType, # (5)
title: str,
automationExecutions: NotRequired[List[AutomationExecutionTypeDef]], # (1)
chatChannel: NotRequired[ChatChannelTypeDef], # (2)
notificationTargets: NotRequired[List[NotificationTargetItemTypeDef]], # (4)
resolvedTime: NotRequired[datetime],
summary: NotRequired[str],
- See AutomationExecutionTypeDef
- See ChatChannelTypeDef
- See IncidentRecordSourceTypeDef
- See NotificationTargetItemTypeDef
- See IncidentRecordStatusType
IncidentTemplateTypeDef#
# IncidentTemplateTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import IncidentTemplateTypeDef
def get_value() -> IncidentTemplateTypeDef:
return {
"impact": ...,
"title": ...,
}
# 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],
UpdateIncidentRecordInputRequestTypeDef#
# UpdateIncidentRecordInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import UpdateIncidentRecordInputRequestTypeDef
def get_value() -> UpdateIncidentRecordInputRequestTypeDef:
return {
"arn": ...,
}
# UpdateIncidentRecordInputRequestTypeDef definition
class UpdateIncidentRecordInputRequestTypeDef(TypedDict):
arn: str,
chatChannel: NotRequired[ChatChannelTypeDef], # (1)
clientToken: NotRequired[str],
impact: NotRequired[int],
notificationTargets: NotRequired[Sequence[NotificationTargetItemTypeDef]], # (2)
status: NotRequired[IncidentRecordStatusType], # (3)
summary: NotRequired[str],
title: NotRequired[str],
ItemValueTypeDef#
# ItemValueTypeDef 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],
ListResponsePlansOutputTypeDef#
# ListResponsePlansOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListResponsePlansOutputTypeDef
def get_value() -> ListResponsePlansOutputTypeDef:
return {
"nextToken": ...,
"responsePlanSummaries": ...,
"ResponseMetadata": ...,
}
# ListResponsePlansOutputTypeDef definition
class ListResponsePlansOutputTypeDef(TypedDict):
nextToken: str,
responsePlanSummaries: List[ResponsePlanSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PagerDutyConfigurationTypeDef#
# PagerDutyConfigurationTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import PagerDutyConfigurationTypeDef
def get_value() -> PagerDutyConfigurationTypeDef:
return {
"name": ...,
"pagerDutyIncidentConfiguration": ...,
"secretId": ...,
}
# PagerDutyConfigurationTypeDef definition
class PagerDutyConfigurationTypeDef(TypedDict):
name: str,
pagerDutyIncidentConfiguration: PagerDutyIncidentConfigurationTypeDef, # (1)
secretId: str,
ReplicationSetTypeDef#
# ReplicationSetTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ReplicationSetTypeDef
def get_value() -> ReplicationSetTypeDef:
return {
"createdBy": ...,
"createdTime": ...,
"deletionProtected": ...,
"lastModifiedBy": ...,
"lastModifiedTime": ...,
"regionMap": ...,
"status": ...,
}
# ReplicationSetTypeDef definition
class ReplicationSetTypeDef(TypedDict):
createdBy: str,
createdTime: datetime,
deletionProtected: bool,
lastModifiedBy: str,
lastModifiedTime: datetime,
regionMap: Dict[str, RegionInfoTypeDef], # (1)
status: ReplicationSetStatusType, # (2)
arn: NotRequired[str],
FilterTypeDef#
# FilterTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import FilterTypeDef
def get_value() -> FilterTypeDef:
return {
"condition": ...,
"key": ...,
}
# FilterTypeDef definition
class FilterTypeDef(TypedDict):
condition: ConditionTypeDef, # (1)
key: str,
- See ConditionTypeDef
ListTimelineEventsOutputTypeDef#
# ListTimelineEventsOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListTimelineEventsOutputTypeDef
def get_value() -> ListTimelineEventsOutputTypeDef:
return {
"eventSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListTimelineEventsOutputTypeDef definition
class ListTimelineEventsOutputTypeDef(TypedDict):
eventSummaries: List[EventSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetTimelineEventOutputTypeDef#
# GetTimelineEventOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetTimelineEventOutputTypeDef
def get_value() -> GetTimelineEventOutputTypeDef:
return {
"event": ...,
"ResponseMetadata": ...,
}
# GetTimelineEventOutputTypeDef definition
class GetTimelineEventOutputTypeDef(TypedDict):
event: TimelineEventTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateReplicationSetInputRequestTypeDef#
# UpdateReplicationSetInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import UpdateReplicationSetInputRequestTypeDef
def get_value() -> UpdateReplicationSetInputRequestTypeDef:
return {
"actions": ...,
"arn": ...,
}
# UpdateReplicationSetInputRequestTypeDef definition
class UpdateReplicationSetInputRequestTypeDef(TypedDict):
actions: Sequence[UpdateReplicationSetActionTypeDef], # (1)
arn: str,
clientToken: NotRequired[str],
ActionTypeDef#
# ActionTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ActionTypeDef
def get_value() -> ActionTypeDef:
return {
"ssmAutomation": ...,
}
# ActionTypeDef definition
class ActionTypeDef(TypedDict):
ssmAutomation: NotRequired[SsmAutomationTypeDef], # (1)
ListIncidentRecordsOutputTypeDef#
# ListIncidentRecordsOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListIncidentRecordsOutputTypeDef
def get_value() -> ListIncidentRecordsOutputTypeDef:
return {
"incidentRecordSummaries": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListIncidentRecordsOutputTypeDef definition
class ListIncidentRecordsOutputTypeDef(TypedDict):
incidentRecordSummaries: List[IncidentRecordSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetIncidentRecordOutputTypeDef#
# GetIncidentRecordOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetIncidentRecordOutputTypeDef
def get_value() -> GetIncidentRecordOutputTypeDef:
return {
"incidentRecord": ...,
"ResponseMetadata": ...,
}
# GetIncidentRecordOutputTypeDef definition
class GetIncidentRecordOutputTypeDef(TypedDict):
incidentRecord: IncidentRecordTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ItemIdentifierTypeDef#
# ItemIdentifierTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ItemIdentifierTypeDef
def get_value() -> ItemIdentifierTypeDef:
return {
"type": ...,
"value": ...,
}
# ItemIdentifierTypeDef definition
class ItemIdentifierTypeDef(TypedDict):
type: ItemTypeType, # (1)
value: ItemValueTypeDef, # (2)
- See ItemTypeType
- See ItemValueTypeDef
IntegrationTypeDef#
# IntegrationTypeDef 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)
GetReplicationSetOutputTypeDef#
# GetReplicationSetOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetReplicationSetOutputTypeDef
def get_value() -> GetReplicationSetOutputTypeDef:
return {
"replicationSet": ...,
"ResponseMetadata": ...,
}
# GetReplicationSetOutputTypeDef definition
class GetReplicationSetOutputTypeDef(TypedDict):
replicationSet: ReplicationSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListIncidentRecordsInputListIncidentRecordsPaginateTypeDef#
# ListIncidentRecordsInputListIncidentRecordsPaginateTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListIncidentRecordsInputListIncidentRecordsPaginateTypeDef
def get_value() -> ListIncidentRecordsInputListIncidentRecordsPaginateTypeDef:
return {
"filters": ...,
}
# ListIncidentRecordsInputListIncidentRecordsPaginateTypeDef definition
class ListIncidentRecordsInputListIncidentRecordsPaginateTypeDef(TypedDict):
filters: NotRequired[Sequence[FilterTypeDef]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FilterTypeDef
- See PaginatorConfigTypeDef
ListIncidentRecordsInputRequestTypeDef#
# ListIncidentRecordsInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListIncidentRecordsInputRequestTypeDef
def get_value() -> ListIncidentRecordsInputRequestTypeDef:
return {
"filters": ...,
}
# ListIncidentRecordsInputRequestTypeDef definition
class ListIncidentRecordsInputRequestTypeDef(TypedDict):
filters: NotRequired[Sequence[FilterTypeDef]], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
- See FilterTypeDef
ListTimelineEventsInputListTimelineEventsPaginateTypeDef#
# ListTimelineEventsInputListTimelineEventsPaginateTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListTimelineEventsInputListTimelineEventsPaginateTypeDef
def get_value() -> ListTimelineEventsInputListTimelineEventsPaginateTypeDef:
return {
"incidentRecordArn": ...,
}
# ListTimelineEventsInputListTimelineEventsPaginateTypeDef definition
class ListTimelineEventsInputListTimelineEventsPaginateTypeDef(TypedDict):
incidentRecordArn: str,
filters: NotRequired[Sequence[FilterTypeDef]], # (1)
sortBy: NotRequired[TimelineEventSortType], # (2)
sortOrder: NotRequired[SortOrderType], # (3)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (4)
- See FilterTypeDef
- See TimelineEventSortType
- See SortOrderType
- See PaginatorConfigTypeDef
ListTimelineEventsInputRequestTypeDef#
# ListTimelineEventsInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListTimelineEventsInputRequestTypeDef
def get_value() -> ListTimelineEventsInputRequestTypeDef:
return {
"incidentRecordArn": ...,
}
# ListTimelineEventsInputRequestTypeDef definition
class ListTimelineEventsInputRequestTypeDef(TypedDict):
incidentRecordArn: str,
filters: NotRequired[Sequence[FilterTypeDef]], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
sortBy: NotRequired[TimelineEventSortType], # (2)
sortOrder: NotRequired[SortOrderType], # (3)
- See FilterTypeDef
- See TimelineEventSortType
- See SortOrderType
RelatedItemTypeDef#
# RelatedItemTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import RelatedItemTypeDef
def get_value() -> RelatedItemTypeDef:
return {
"identifier": ...,
}
# RelatedItemTypeDef definition
class RelatedItemTypeDef(TypedDict):
identifier: ItemIdentifierTypeDef, # (1)
generatedId: NotRequired[str],
title: NotRequired[str],
CreateResponsePlanInputRequestTypeDef#
# CreateResponsePlanInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import CreateResponsePlanInputRequestTypeDef
def get_value() -> CreateResponsePlanInputRequestTypeDef:
return {
"incidentTemplate": ...,
"name": ...,
}
# CreateResponsePlanInputRequestTypeDef definition
class CreateResponsePlanInputRequestTypeDef(TypedDict):
incidentTemplate: IncidentTemplateTypeDef, # (1)
name: str,
actions: NotRequired[Sequence[ActionTypeDef]], # (2)
chatChannel: NotRequired[ChatChannelTypeDef], # (3)
clientToken: NotRequired[str],
displayName: NotRequired[str],
engagements: NotRequired[Sequence[str]],
integrations: NotRequired[Sequence[IntegrationTypeDef]], # (4)
tags: NotRequired[Mapping[str, str]],
- See IncidentTemplateTypeDef
- See ActionTypeDef
- See ChatChannelTypeDef
- See IntegrationTypeDef
GetResponsePlanOutputTypeDef#
# GetResponsePlanOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import GetResponsePlanOutputTypeDef
def get_value() -> GetResponsePlanOutputTypeDef:
return {
"actions": ...,
"arn": ...,
"chatChannel": ...,
"displayName": ...,
"engagements": ...,
"incidentTemplate": ...,
"integrations": ...,
"name": ...,
"ResponseMetadata": ...,
}
# GetResponsePlanOutputTypeDef definition
class GetResponsePlanOutputTypeDef(TypedDict):
actions: List[ActionTypeDef], # (1)
arn: str,
chatChannel: ChatChannelTypeDef, # (2)
displayName: str,
engagements: List[str],
incidentTemplate: IncidentTemplateTypeDef, # (3)
integrations: List[IntegrationTypeDef], # (4)
name: str,
ResponseMetadata: ResponseMetadataTypeDef, # (5)
- See ActionTypeDef
- See ChatChannelTypeDef
- See IncidentTemplateTypeDef
- See IntegrationTypeDef
- See ResponseMetadataTypeDef
UpdateResponsePlanInputRequestTypeDef#
# UpdateResponsePlanInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import UpdateResponsePlanInputRequestTypeDef
def get_value() -> UpdateResponsePlanInputRequestTypeDef:
return {
"arn": ...,
}
# UpdateResponsePlanInputRequestTypeDef definition
class UpdateResponsePlanInputRequestTypeDef(TypedDict):
arn: str,
actions: NotRequired[Sequence[ActionTypeDef]], # (1)
chatChannel: NotRequired[ChatChannelTypeDef], # (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)
ListRelatedItemsOutputTypeDef#
# ListRelatedItemsOutputTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import ListRelatedItemsOutputTypeDef
def get_value() -> ListRelatedItemsOutputTypeDef:
return {
"nextToken": ...,
"relatedItems": ...,
"ResponseMetadata": ...,
}
# ListRelatedItemsOutputTypeDef definition
class ListRelatedItemsOutputTypeDef(TypedDict):
nextToken: str,
relatedItems: List[RelatedItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RelatedItemsUpdateTypeDef#
# RelatedItemsUpdateTypeDef 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)
StartIncidentInputRequestTypeDef#
# StartIncidentInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import StartIncidentInputRequestTypeDef
def get_value() -> StartIncidentInputRequestTypeDef:
return {
"responsePlanArn": ...,
}
# StartIncidentInputRequestTypeDef definition
class StartIncidentInputRequestTypeDef(TypedDict):
responsePlanArn: str,
clientToken: NotRequired[str],
impact: NotRequired[int],
relatedItems: NotRequired[Sequence[RelatedItemTypeDef]], # (1)
title: NotRequired[str],
triggerDetails: NotRequired[TriggerDetailsTypeDef], # (2)
UpdateRelatedItemsInputRequestTypeDef#
# UpdateRelatedItemsInputRequestTypeDef usage example
from mypy_boto3_ssm_incidents.type_defs import UpdateRelatedItemsInputRequestTypeDef
def get_value() -> UpdateRelatedItemsInputRequestTypeDef:
return {
"incidentRecordArn": ...,
"relatedItemsUpdate": ...,
}
# UpdateRelatedItemsInputRequestTypeDef definition
class UpdateRelatedItemsInputRequestTypeDef(TypedDict):
incidentRecordArn: str,
relatedItemsUpdate: RelatedItemsUpdateTypeDef, # (1)
clientToken: NotRequired[str],