SSMIncidents module#
Index > SSMIncidents
Auto-generated documentation for SSMIncidents type annotations stubs module mypy-boto3-ssm-incidents.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and SSMIncidents
.
From PyPI with pip#
Install boto3-stubs
for SSMIncidents
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[ssm-incidents]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[ssm-incidents]'
# standalone installation
python -m pip install mypy-boto3-ssm-incidents
How to uninstall#
python -m pip uninstall -y mypy-boto3-ssm-incidents
Usage#
Code samples can be found in Examples.
SSMIncidentsClient#
Type annotations and code completion for boto3.client("ssm-incidents")
as SSMIncidentsClient
boto3 documentation
# SSMIncidentsClient usage example
from boto3.session import Session
from mypy_boto3_ssm_incidents.client import SSMIncidentsClient
def get_client() -> SSMIncidentsClient:
return Session().client("ssm-incidents")
Paginators#
Type annotations and code completion for paginators
from boto3.client("ssm-incidents").get_paginator("...")
.
# GetResourcePoliciesPaginator usage example
from boto3.session import Session
from mypy_boto3_ssm_incidents.paginator import GetResourcePoliciesPaginator
def get_get_resource_policies_paginator() -> GetResourcePoliciesPaginator:
return Session().client("ssm-incidents").get_paginator("get_resource_policies"))
- GetResourcePoliciesPaginator
- ListIncidentFindingsPaginator
- ListIncidentRecordsPaginator
- ListRelatedItemsPaginator
- ListReplicationSetsPaginator
- ListResponsePlansPaginator
- ListTimelineEventsPaginator
Waiters#
Type annotations and code completion for waiters
from boto3.client("ssm-incidents").get_waiter("...")
.
# WaitForReplicationSetActiveWaiter usage example
from boto3.session import Session
from mypy_boto3_ssm_incidents.waiter import WaitForReplicationSetActiveWaiter
def get_wait_for_replication_set_active_waiter() -> WaitForReplicationSetActiveWaiter:
return Session().client("ssm-incidents").get_waiter("wait_for_replication_set_active")
Literals#
Type annotations for literals used in methods and schema.
# GetResourcePoliciesPaginatorName usage example
from mypy_boto3_ssm_incidents.literals import GetResourcePoliciesPaginatorName
def get_value() -> GetResourcePoliciesPaginatorName:
return "get_resource_policies"
- GetResourcePoliciesPaginatorName
- IncidentRecordStatusType
- ItemTypeType
- ListIncidentFindingsPaginatorName
- ListIncidentRecordsPaginatorName
- ListRelatedItemsPaginatorName
- ListReplicationSetsPaginatorName
- ListResponsePlansPaginatorName
- ListTimelineEventsPaginatorName
- RegionStatusType
- ReplicationSetStatusType
- SortOrderType
- SsmTargetAccountType
- TimelineEventSortType
- VariableTypeType
- WaitForReplicationSetActiveWaiterName
- WaitForReplicationSetDeletedWaiterName
- SSMIncidentsServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AddRegionActionTypeDef
- AttributeValueListTypeDef
- AutomationExecutionTypeDef
- BatchGetIncidentFindingsErrorTypeDef
- BatchGetIncidentFindingsInputRequestTypeDef
- ResponseMetadataTypeDef
- ChatChannelOutputTypeDef
- ChatChannelTypeDef
- CloudFormationStackUpdateTypeDef
- CodeDeployDeploymentTypeDef
- TimestampTypeDef
- RegionMapInputValueTypeDef
- EventReferenceTypeDef
- DeleteIncidentRecordInputRequestTypeDef
- DeleteRegionActionTypeDef
- DeleteReplicationSetInputRequestTypeDef
- DeleteResourcePolicyInputRequestTypeDef
- DeleteResponsePlanInputRequestTypeDef
- DeleteTimelineEventInputRequestTypeDef
- DynamicSsmParameterValueTypeDef
- FindingSummaryTypeDef
- GetIncidentRecordInputRequestTypeDef
- GetReplicationSetInputRequestTypeDef
- WaiterConfigTypeDef
- PaginatorConfigTypeDef
- GetResourcePoliciesInputRequestTypeDef
- ResourcePolicyTypeDef
- GetResponsePlanInputRequestTypeDef
- GetTimelineEventInputRequestTypeDef
- IncidentRecordSourceTypeDef
- NotificationTargetItemTypeDef
- PagerDutyIncidentDetailTypeDef
- ListIncidentFindingsInputRequestTypeDef
- ListRelatedItemsInputRequestTypeDef
- ListReplicationSetsInputRequestTypeDef
- ListResponsePlansInputRequestTypeDef
- ResponsePlanSummaryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- PagerDutyIncidentConfigurationTypeDef
- PutResourcePolicyInputRequestTypeDef
- RegionInfoTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateDeletionProtectionInputRequestTypeDef
- CreateReplicationSetOutputTypeDef
- CreateResponsePlanOutputTypeDef
- CreateTimelineEventOutputTypeDef
- ListReplicationSetsOutputTypeDef
- ListTagsForResourceResponseTypeDef
- PutResourcePolicyOutputTypeDef
- StartIncidentOutputTypeDef
- FindingDetailsTypeDef
- ConditionTypeDef
- TriggerDetailsTypeDef
- CreateReplicationSetInputRequestTypeDef
- CreateTimelineEventInputRequestTypeDef
- EventSummaryTypeDef
- TimelineEventTypeDef
- UpdateTimelineEventInputRequestTypeDef
- UpdateReplicationSetActionTypeDef
- SsmAutomationOutputTypeDef
- SsmAutomationTypeDef
- ListIncidentFindingsOutputTypeDef
- GetReplicationSetInputWaitForReplicationSetActiveWaitTypeDef
- GetReplicationSetInputWaitForReplicationSetDeletedWaitTypeDef
- GetResourcePoliciesInputGetResourcePoliciesPaginateTypeDef
- ListIncidentFindingsInputListIncidentFindingsPaginateTypeDef
- ListRelatedItemsInputListRelatedItemsPaginateTypeDef
- ListReplicationSetsInputListReplicationSetsPaginateTypeDef
- ListResponsePlansInputListResponsePlansPaginateTypeDef
- GetResourcePoliciesOutputTypeDef
- IncidentRecordSummaryTypeDef
- IncidentRecordTypeDef
- IncidentTemplateOutputTypeDef
- IncidentTemplateTypeDef
- UpdateIncidentRecordInputRequestTypeDef
- ItemValueTypeDef
- ListResponsePlansOutputTypeDef
- PagerDutyConfigurationTypeDef
- ReplicationSetTypeDef
- FindingTypeDef
- FilterTypeDef
- ListTimelineEventsOutputTypeDef
- GetTimelineEventOutputTypeDef
- UpdateReplicationSetInputRequestTypeDef
- ActionOutputTypeDef
- SsmAutomationUnionTypeDef
- ListIncidentRecordsOutputTypeDef
- GetIncidentRecordOutputTypeDef
- ItemIdentifierTypeDef
- IntegrationTypeDef
- GetReplicationSetOutputTypeDef
- BatchGetIncidentFindingsOutputTypeDef
- ListIncidentRecordsInputListIncidentRecordsPaginateTypeDef
- ListIncidentRecordsInputRequestTypeDef
- ListTimelineEventsInputListTimelineEventsPaginateTypeDef
- ListTimelineEventsInputRequestTypeDef
- ActionTypeDef
- RelatedItemTypeDef
- GetResponsePlanOutputTypeDef
- ActionUnionTypeDef
- UpdateResponsePlanInputRequestTypeDef
- ListRelatedItemsOutputTypeDef
- RelatedItemsUpdateTypeDef
- StartIncidentInputRequestTypeDef
- CreateResponsePlanInputRequestTypeDef
- UpdateRelatedItemsInputRequestTypeDef