Actions for Systems Manager using AWS SDKs
The following code examples demonstrate how to perform individual Systems Manager actions with AWS SDKs. Each example includes a link to GitHub, where you can find instructions for setting up and running the code.
The following examples include only the most commonly used actions. For a complete list, see the AWS Systems Manager API Reference.
Examples
- AddTagsToResource
- CancelCommand
- CreateActivation
- CreateAssociation
- CreateAssociationBatch
- CreateDocument
- CreateMaintenanceWindow
- CreateOpsItem
- CreatePatchBaseline
- DeleteActivation
- DeleteAssociation
- DeleteDocument
- DeleteMaintenanceWindow
- DeleteOpsItem
- DeleteParameter
- DeletePatchBaseline
- DeregisterManagedInstance
- DeregisterPatchBaselineForPatchGroup
- DeregisterTargetFromMaintenanceWindow
- DeregisterTaskFromMaintenanceWindow
- DescribeActivations
- DescribeAssociation
- DescribeAssociationExecutionTargets
- DescribeAssociationExecutions
- DescribeAutomationExecutions
- DescribeAutomationStepExecutions
- DescribeAvailablePatches
- DescribeDocument
- DescribeDocumentPermission
- DescribeEffectiveInstanceAssociations
- DescribeEffectivePatchesForPatchBaseline
- DescribeInstanceAssociationsStatus
- DescribeInstanceInformation
- DescribeInstancePatchStates
- DescribeInstancePatchStatesForPatchGroup
- DescribeInstancePatches
- DescribeMaintenanceWindowExecutionTaskInvocations
- DescribeMaintenanceWindowExecutionTasks
- DescribeMaintenanceWindowExecutions
- DescribeMaintenanceWindowTargets
- DescribeMaintenanceWindowTasks
- DescribeMaintenanceWindows
- DescribeOpsItems
- DescribeParameters
- DescribePatchBaselines
- DescribePatchGroupState
- DescribePatchGroups
- GetAutomationExecution
- GetCommandInvocation
- GetConnectionStatus
- GetDefaultPatchBaseline
- GetDeployablePatchSnapshotForInstance
- GetDocument
- GetInventory
- GetInventorySchema
- GetMaintenanceWindow
- GetMaintenanceWindowExecution
- GetMaintenanceWindowExecutionTask
- GetParameter
- GetParameterHistory
- GetParameters
- GetPatchBaseline
- GetPatchBaselineForPatchGroup
- ListAssociationVersions
- ListAssociations
- ListCommandInvocations
- ListCommands
- ListComplianceItems
- ListComplianceSummaries
- ListDocumentVersions
- ListDocuments
- ListInventoryEntries
- ListResourceComplianceSummaries
- ListTagsForResource
- ModifyDocumentPermission
- PutComplianceItems
- PutInventory
- PutParameter
- RegisterDefaultPatchBaseline
- RegisterPatchBaselineForPatchGroup
- RegisterTargetWithMaintenanceWindow
- RegisterTaskWithMaintenanceWindow
- RemoveTagsFromResource
- SendCommand
- StartAutomationExecution
- StartSession
- StopAutomationExecution
- UpdateAssociation
- UpdateAssociationStatus
- UpdateDocument
- UpdateDocumentDefaultVersion
- UpdateMaintenanceWindow
- UpdateManagedInstanceRole
- UpdateOpsItem
- UpdatePatchBaseline