Ações para o Systems Manager usando SDKs da AWS
Os exemplos de código a seguir demonstram como realizar ações específicas do Systems Manager com AWS SDKs. Cada exemplo inclui um link para o GitHub, em que é possível encontrar instruções para configurar e executar o código.
Os exemplos a seguir incluem apenas as ações mais utilizadas. Para obter uma lista completa, consulte a Referência de APIs do AWS Systems Manager.
Exemplos
- 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