SSM module#
Index > SSM
Auto-generated documentation for SSM type annotations stubs module mypy-boto3-ssm.
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 SSM
.
From PyPI with pip#
Install boto3-stubs
for SSM
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[ssm]'
# 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]'
# standalone installation
python -m pip install mypy-boto3-ssm
How to uninstall#
python -m pip uninstall -y mypy-boto3-ssm
Usage#
Code samples can be found in Examples.
SSMClient#
Type annotations and code completion for boto3.client("ssm")
as SSMClient
boto3 documentation
# SSMClient usage example
from boto3.session import Session
from mypy_boto3_ssm.client import SSMClient
def get_client() -> SSMClient:
return Session().client("ssm")
Paginators#
Type annotations and code completion for paginators
from boto3.client("ssm").get_paginator("...")
.
# DescribeActivationsPaginator usage example
from boto3.session import Session
from mypy_boto3_ssm.paginator import DescribeActivationsPaginator
def get_describe_activations_paginator() -> DescribeActivationsPaginator:
return Session().client("ssm").get_paginator("describe_activations"))
- DescribeActivationsPaginator
- DescribeAssociationExecutionTargetsPaginator
- DescribeAssociationExecutionsPaginator
- DescribeAutomationExecutionsPaginator
- DescribeAutomationStepExecutionsPaginator
- DescribeAvailablePatchesPaginator
- DescribeEffectiveInstanceAssociationsPaginator
- DescribeEffectivePatchesForPatchBaselinePaginator
- DescribeInstanceAssociationsStatusPaginator
- DescribeInstanceInformationPaginator
- DescribeInstancePatchStatesPaginator
- DescribeInstancePatchStatesForPatchGroupPaginator
- DescribeInstancePatchesPaginator
- DescribeInstancePropertiesPaginator
- DescribeInventoryDeletionsPaginator
- DescribeMaintenanceWindowExecutionTaskInvocationsPaginator
- DescribeMaintenanceWindowExecutionTasksPaginator
- DescribeMaintenanceWindowExecutionsPaginator
- DescribeMaintenanceWindowSchedulePaginator
- DescribeMaintenanceWindowTargetsPaginator
- DescribeMaintenanceWindowTasksPaginator
- DescribeMaintenanceWindowsPaginator
- DescribeMaintenanceWindowsForTargetPaginator
- DescribeOpsItemsPaginator
- DescribeParametersPaginator
- DescribePatchBaselinesPaginator
- DescribePatchGroupsPaginator
- DescribePatchPropertiesPaginator
- DescribeSessionsPaginator
- GetInventoryPaginator
- GetInventorySchemaPaginator
- GetOpsSummaryPaginator
- GetParameterHistoryPaginator
- GetParametersByPathPaginator
- GetResourcePoliciesPaginator
- ListAssociationVersionsPaginator
- ListAssociationsPaginator
- ListCommandInvocationsPaginator
- ListCommandsPaginator
- ListComplianceItemsPaginator
- ListComplianceSummariesPaginator
- ListDocumentVersionsPaginator
- ListDocumentsPaginator
- ListOpsItemEventsPaginator
- ListOpsItemRelatedItemsPaginator
- ListOpsMetadataPaginator
- ListResourceComplianceSummariesPaginator
- ListResourceDataSyncPaginator
Waiters#
Type annotations and code completion for waiters
from boto3.client("ssm").get_waiter("...")
.
# CommandExecutedWaiter usage example
from boto3.session import Session
from mypy_boto3_ssm.waiter import CommandExecutedWaiter
def get_command_executed_waiter() -> CommandExecutedWaiter:
return Session().client("ssm").get_waiter("command_executed")
Literals#
Type annotations for literals used in methods and schema.
# AssociationComplianceSeverityType usage example
from mypy_boto3_ssm.literals import AssociationComplianceSeverityType
def get_value() -> AssociationComplianceSeverityType:
return "CRITICAL"
- AssociationComplianceSeverityType
- AssociationExecutionFilterKeyType
- AssociationExecutionTargetsFilterKeyType
- AssociationFilterKeyType
- AssociationFilterOperatorTypeType
- AssociationStatusNameType
- AssociationSyncComplianceType
- AttachmentHashTypeType
- AttachmentsSourceKeyType
- AutomationExecutionFilterKeyType
- AutomationExecutionStatusType
- AutomationSubtypeType
- AutomationTypeType
- CalendarStateType
- CommandExecutedWaiterName
- CommandFilterKeyType
- CommandInvocationStatusType
- CommandPluginStatusType
- CommandStatusType
- ComplianceQueryOperatorTypeType
- ComplianceSeverityType
- ComplianceStatusType
- ComplianceUploadTypeType
- ConnectionStatusType
- DescribeActivationsFilterKeysType
- DescribeActivationsPaginatorName
- DescribeAssociationExecutionTargetsPaginatorName
- DescribeAssociationExecutionsPaginatorName
- DescribeAutomationExecutionsPaginatorName
- DescribeAutomationStepExecutionsPaginatorName
- DescribeAvailablePatchesPaginatorName
- DescribeEffectiveInstanceAssociationsPaginatorName
- DescribeEffectivePatchesForPatchBaselinePaginatorName
- DescribeInstanceAssociationsStatusPaginatorName
- DescribeInstanceInformationPaginatorName
- DescribeInstancePatchStatesForPatchGroupPaginatorName
- DescribeInstancePatchStatesPaginatorName
- DescribeInstancePatchesPaginatorName
- DescribeInstancePropertiesPaginatorName
- DescribeInventoryDeletionsPaginatorName
- DescribeMaintenanceWindowExecutionTaskInvocationsPaginatorName
- DescribeMaintenanceWindowExecutionTasksPaginatorName
- DescribeMaintenanceWindowExecutionsPaginatorName
- DescribeMaintenanceWindowSchedulePaginatorName
- DescribeMaintenanceWindowTargetsPaginatorName
- DescribeMaintenanceWindowTasksPaginatorName
- DescribeMaintenanceWindowsForTargetPaginatorName
- DescribeMaintenanceWindowsPaginatorName
- DescribeOpsItemsPaginatorName
- DescribeParametersPaginatorName
- DescribePatchBaselinesPaginatorName
- DescribePatchGroupsPaginatorName
- DescribePatchPropertiesPaginatorName
- DescribeSessionsPaginatorName
- DocumentFilterKeyType
- DocumentFormatType
- DocumentHashTypeType
- DocumentMetadataEnumType
- DocumentParameterTypeType
- DocumentPermissionTypeType
- DocumentReviewActionType
- DocumentReviewCommentTypeType
- DocumentStatusType
- DocumentTypeType
- ExecutionModeType
- ExternalAlarmStateType
- FaultType
- GetInventoryPaginatorName
- GetInventorySchemaPaginatorName
- GetOpsSummaryPaginatorName
- GetParameterHistoryPaginatorName
- GetParametersByPathPaginatorName
- GetResourcePoliciesPaginatorName
- InstanceInformationFilterKeyType
- InstancePatchStateOperatorTypeType
- InstancePropertyFilterKeyType
- InstancePropertyFilterOperatorType
- InventoryAttributeDataTypeType
- InventoryDeletionStatusType
- InventoryQueryOperatorTypeType
- InventorySchemaDeleteOptionType
- LastResourceDataSyncStatusType
- ListAssociationVersionsPaginatorName
- ListAssociationsPaginatorName
- ListCommandInvocationsPaginatorName
- ListCommandsPaginatorName
- ListComplianceItemsPaginatorName
- ListComplianceSummariesPaginatorName
- ListDocumentVersionsPaginatorName
- ListDocumentsPaginatorName
- ListOpsItemEventsPaginatorName
- ListOpsItemRelatedItemsPaginatorName
- ListOpsMetadataPaginatorName
- ListResourceComplianceSummariesPaginatorName
- ListResourceDataSyncPaginatorName
- MaintenanceWindowExecutionStatusType
- MaintenanceWindowResourceTypeType
- MaintenanceWindowTaskCutoffBehaviorType
- MaintenanceWindowTaskTypeType
- NotificationEventType
- NotificationTypeType
- OperatingSystemType
- OpsFilterOperatorTypeType
- OpsItemDataTypeType
- OpsItemEventFilterKeyType
- OpsItemEventFilterOperatorType
- OpsItemFilterKeyType
- OpsItemFilterOperatorType
- OpsItemRelatedItemsFilterKeyType
- OpsItemRelatedItemsFilterOperatorType
- OpsItemStatusType
- ParameterTierType
- ParameterTypeType
- ParametersFilterKeyType
- PatchActionType
- PatchComplianceDataStateType
- PatchComplianceLevelType
- PatchDeploymentStatusType
- PatchFilterKeyType
- PatchOperationTypeType
- PatchPropertyType
- PatchSetType
- PingStatusType
- PlatformTypeType
- RebootOptionType
- ResourceDataSyncS3FormatType
- ResourceTypeForTaggingType
- ResourceTypeType
- ReviewStatusType
- SessionFilterKeyType
- SessionStateType
- SessionStatusType
- SignalTypeType
- SourceTypeType
- StepExecutionFilterKeyType
- StopTypeType
- SSMServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- WaiterName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AccountSharingInfoTypeDef
- TagTypeDef
- AlarmTypeDef
- AlarmStateInformationTypeDef
- AssociateOpsItemRelatedItemRequestRequestTypeDef
- ResponseMetadataTypeDef
- AssociationOverviewTypeDef
- AssociationStatusOutputTypeDef
- TargetOutputTypeDef
- AssociationExecutionFilterTypeDef
- OutputSourceTypeDef
- AssociationExecutionTargetsFilterTypeDef
- AssociationFilterTypeDef
- TimestampTypeDef
- AttachmentContentTypeDef
- AttachmentInformationTypeDef
- AttachmentsSourceTypeDef
- AutomationExecutionFilterTypeDef
- ResolvedTargetsTypeDef
- ProgressCountersTypeDef
- PatchSourceTypeDef
- BlobTypeDef
- CancelCommandRequestRequestTypeDef
- CancelMaintenanceWindowExecutionRequestRequestTypeDef
- CloudWatchOutputConfigTypeDef
- CommandFilterTypeDef
- CommandPluginTypeDef
- NotificationConfigOutputTypeDef
- ComplianceExecutionSummaryExtraOutputTypeDef
- ComplianceExecutionSummaryOutputTypeDef
- ComplianceItemEntryTypeDef
- ComplianceStringFilterTypeDef
- SeveritySummaryTypeDef
- RegistrationMetadataItemTypeDef
- TargetTypeDef
- DocumentRequiresTypeDef
- OpsItemDataValueTypeDef
- OpsItemNotificationTypeDef
- RelatedOpsItemTypeDef
- MetadataValueTypeDef
- DeleteActivationRequestRequestTypeDef
- DeleteAssociationRequestRequestTypeDef
- DeleteDocumentRequestRequestTypeDef
- DeleteInventoryRequestRequestTypeDef
- DeleteMaintenanceWindowRequestRequestTypeDef
- DeleteOpsItemRequestRequestTypeDef
- DeleteOpsMetadataRequestRequestTypeDef
- DeleteParameterRequestRequestTypeDef
- DeleteParametersRequestRequestTypeDef
- DeletePatchBaselineRequestRequestTypeDef
- DeleteResourceDataSyncRequestRequestTypeDef
- DeleteResourcePolicyRequestRequestTypeDef
- DeregisterManagedInstanceRequestRequestTypeDef
- DeregisterPatchBaselineForPatchGroupRequestRequestTypeDef
- DeregisterTargetFromMaintenanceWindowRequestRequestTypeDef
- DeregisterTaskFromMaintenanceWindowRequestRequestTypeDef
- DescribeActivationsFilterTypeDef
- PaginatorConfigTypeDef
- DescribeAssociationRequestRequestTypeDef
- StepExecutionFilterTypeDef
- PatchOrchestratorFilterTypeDef
- PatchTypeDef
- DescribeDocumentPermissionRequestRequestTypeDef
- DescribeDocumentRequestRequestTypeDef
- DescribeEffectiveInstanceAssociationsRequestRequestTypeDef
- InstanceAssociationTypeDef
- DescribeEffectivePatchesForPatchBaselineRequestRequestTypeDef
- DescribeInstanceAssociationsStatusRequestRequestTypeDef
- InstanceInformationFilterTypeDef
- InstanceInformationStringFilterTypeDef
- InstancePatchStateFilterTypeDef
- InstancePatchStateTypeDef
- DescribeInstancePatchStatesRequestRequestTypeDef
- PatchComplianceDataTypeDef
- InstancePropertyFilterTypeDef
- InstancePropertyStringFilterTypeDef
- DescribeInventoryDeletionsRequestRequestTypeDef
- MaintenanceWindowFilterTypeDef
- MaintenanceWindowExecutionTaskInvocationIdentityTypeDef
- MaintenanceWindowExecutionTypeDef
- ScheduledWindowExecutionTypeDef
- MaintenanceWindowIdentityForTargetTypeDef
- MaintenanceWindowIdentityTypeDef
- OpsItemFilterTypeDef
- ParameterStringFilterTypeDef
- ParametersFilterTypeDef
- PatchBaselineIdentityTypeDef
- DescribePatchGroupStateRequestRequestTypeDef
- DescribePatchPropertiesRequestRequestTypeDef
- SessionFilterTypeDef
- DisassociateOpsItemRelatedItemRequestRequestTypeDef
- DocumentDefaultVersionDescriptionTypeDef
- DocumentParameterTypeDef
- ReviewInformationTypeDef
- DocumentFilterTypeDef
- DocumentKeyValuesFilterTypeDef
- DocumentReviewCommentSourceTypeDef
- DocumentVersionInfoTypeDef
- PatchStatusTypeDef
- FailureDetailsTypeDef
- GetAutomationExecutionRequestRequestTypeDef
- GetCalendarStateRequestRequestTypeDef
- WaiterConfigTypeDef
- GetCommandInvocationRequestRequestTypeDef
- GetConnectionStatusRequestRequestTypeDef
- GetDefaultPatchBaselineRequestRequestTypeDef
- GetDocumentRequestRequestTypeDef
- InventoryFilterTypeDef
- ResultAttributeTypeDef
- GetInventorySchemaRequestRequestTypeDef
- GetMaintenanceWindowExecutionRequestRequestTypeDef
- GetMaintenanceWindowExecutionTaskInvocationRequestRequestTypeDef
- GetMaintenanceWindowExecutionTaskRequestRequestTypeDef
- MaintenanceWindowTaskParameterValueExpressionOutputTypeDef
- GetMaintenanceWindowRequestRequestTypeDef
- GetMaintenanceWindowTaskRequestRequestTypeDef
- LoggingInfoTypeDef
- GetOpsItemRequestRequestTypeDef
- GetOpsMetadataRequestRequestTypeDef
- OpsFilterTypeDef
- OpsResultAttributeTypeDef
- GetParameterHistoryRequestRequestTypeDef
- GetParameterRequestRequestTypeDef
- ParameterTypeDef
- GetParametersRequestRequestTypeDef
- GetPatchBaselineForPatchGroupRequestRequestTypeDef
- GetPatchBaselineRequestRequestTypeDef
- PatchSourceOutputTypeDef
- GetResourcePoliciesRequestRequestTypeDef
- GetResourcePoliciesResponseEntryTypeDef
- GetServiceSettingRequestRequestTypeDef
- ServiceSettingTypeDef
- InstanceAggregatedAssociationOverviewTypeDef
- S3OutputLocationTypeDef
- S3OutputUrlTypeDef
- InventoryDeletionSummaryItemTypeDef
- InventoryItemAttributeTypeDef
- InventoryItemTypeDef
- InventoryResultItemTypeDef
- LabelParameterVersionRequestRequestTypeDef
- ListAssociationVersionsRequestRequestTypeDef
- ListDocumentMetadataHistoryRequestRequestTypeDef
- ListDocumentVersionsRequestRequestTypeDef
- OpsItemEventFilterTypeDef
- OpsItemRelatedItemsFilterTypeDef
- OpsMetadataFilterTypeDef
- OpsMetadataTypeDef
- ListResourceDataSyncRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- MaintenanceWindowAutomationParametersOutputTypeDef
- MaintenanceWindowAutomationParametersTypeDef
- MaintenanceWindowLambdaParametersOutputTypeDef
- NotificationConfigTypeDef
- MaintenanceWindowStepFunctionsParametersTypeDef
- MaintenanceWindowTaskParameterValueExpressionExtraOutputTypeDef
- MaintenanceWindowTaskParameterValueExpressionTypeDef
- ModifyDocumentPermissionRequestRequestTypeDef
- NotificationConfigExtraOutputTypeDef
- OpsEntityItemTypeDef
- OpsItemIdentityTypeDef
- ParameterInlinePolicyTypeDef
- ParentStepDetailsTypeDef
- PatchFilterOutputTypeDef
- PatchFilterTypeDef
- PutResourcePolicyRequestRequestTypeDef
- RegisterDefaultPatchBaselineRequestRequestTypeDef
- RegisterPatchBaselineForPatchGroupRequestRequestTypeDef
- RemoveTagsFromResourceRequestRequestTypeDef
- ResetServiceSettingRequestRequestTypeDef
- ResourceDataSyncOrganizationalUnitTypeDef
- ResourceDataSyncDestinationDataSharingTypeDef
- ResumeSessionRequestRequestTypeDef
- TargetExtraOutputTypeDef
- SendAutomationSignalRequestRequestTypeDef
- SessionManagerOutputUrlTypeDef
- StartAssociationsOnceRequestRequestTypeDef
- StartSessionRequestRequestTypeDef
- StopAutomationExecutionRequestRequestTypeDef
- TerminateSessionRequestRequestTypeDef
- UnlabelParameterVersionRequestRequestTypeDef
- UpdateDocumentDefaultVersionRequestRequestTypeDef
- UpdateMaintenanceWindowRequestRequestTypeDef
- UpdateManagedInstanceRoleRequestRequestTypeDef
- UpdateServiceSettingRequestRequestTypeDef
- ActivationTypeDef
- AddTagsToResourceRequestRequestTypeDef
- CreateMaintenanceWindowRequestRequestTypeDef
- PutParameterRequestRequestTypeDef
- AlarmConfigurationExtraOutputTypeDef
- AlarmConfigurationOutputTypeDef
- AlarmConfigurationTypeDef
- AssociateOpsItemRelatedItemResponseTypeDef
- CancelMaintenanceWindowExecutionResultTypeDef
- CreateActivationResultTypeDef
- CreateMaintenanceWindowResultTypeDef
- CreateOpsItemResponseTypeDef
- CreateOpsMetadataResultTypeDef
- CreatePatchBaselineResultTypeDef
- DeleteMaintenanceWindowResultTypeDef
- DeleteParametersResultTypeDef
- DeletePatchBaselineResultTypeDef
- DeregisterPatchBaselineForPatchGroupResultTypeDef
- DeregisterTargetFromMaintenanceWindowResultTypeDef
- DeregisterTaskFromMaintenanceWindowResultTypeDef
- DescribeDocumentPermissionResponseTypeDef
- DescribePatchGroupStateResultTypeDef
- DescribePatchPropertiesResultTypeDef
- GetCalendarStateResponseTypeDef
- GetConnectionStatusResponseTypeDef
- GetDefaultPatchBaselineResultTypeDef
- GetDeployablePatchSnapshotForInstanceResultTypeDef
- GetMaintenanceWindowExecutionResultTypeDef
- GetMaintenanceWindowExecutionTaskInvocationResultTypeDef
- GetMaintenanceWindowResultTypeDef
- GetPatchBaselineForPatchGroupResultTypeDef
- LabelParameterVersionResultTypeDef
- ListInventoryEntriesResultTypeDef
- ListTagsForResourceResultTypeDef
- PutInventoryResultTypeDef
- PutParameterResultTypeDef
- PutResourcePolicyResponseTypeDef
- RegisterDefaultPatchBaselineResultTypeDef
- RegisterPatchBaselineForPatchGroupResultTypeDef
- RegisterTargetWithMaintenanceWindowResultTypeDef
- RegisterTaskWithMaintenanceWindowResultTypeDef
- ResumeSessionResponseTypeDef
- StartAutomationExecutionResultTypeDef
- StartChangeRequestExecutionResultTypeDef
- StartSessionResponseTypeDef
- TerminateSessionResponseTypeDef
- UnlabelParameterVersionResultTypeDef
- UpdateMaintenanceWindowResultTypeDef
- UpdateOpsMetadataResultTypeDef
- AssociationTypeDef
- MaintenanceWindowTargetTypeDef
- UpdateMaintenanceWindowTargetResultTypeDef
- DescribeAssociationExecutionsRequestRequestTypeDef
- AssociationExecutionTargetTypeDef
- DescribeAssociationExecutionTargetsRequestRequestTypeDef
- ListAssociationsRequestRequestTypeDef
- AssociationStatusTypeDef
- ComplianceExecutionSummaryTypeDef
- UpdateDocumentRequestRequestTypeDef
- DescribeAutomationExecutionsRequestRequestTypeDef
- MaintenanceWindowLambdaParametersTypeDef
- GetCommandInvocationResultTypeDef
- ListCommandInvocationsRequestRequestTypeDef
- ListCommandsRequestRequestTypeDef
- CommandInvocationTypeDef
- MaintenanceWindowRunCommandParametersOutputTypeDef
- ComplianceItemTypeDef
- ListComplianceItemsRequestRequestTypeDef
- ListComplianceSummariesRequestRequestTypeDef
- ListResourceComplianceSummariesRequestRequestTypeDef
- CompliantSummaryTypeDef
- NonCompliantSummaryTypeDef
- CreateActivationRequestRequestTypeDef
- CreateDocumentRequestRequestTypeDef
- DocumentIdentifierTypeDef
- GetDocumentResultTypeDef
- OpsItemSummaryTypeDef
- CreateOpsItemRequestRequestTypeDef
- OpsItemTypeDef
- UpdateOpsItemRequestRequestTypeDef
- CreateOpsMetadataRequestRequestTypeDef
- GetOpsMetadataResultTypeDef
- UpdateOpsMetadataRequestRequestTypeDef
- DescribeActivationsRequestRequestTypeDef
- DescribeActivationsRequestDescribeActivationsPaginateTyp