Learn R Programming

paws (version 0.1.12)

ssm: Amazon Simple Systems Manager (SSM)

Description

AWS Systems Manager

AWS Systems Manager is a collection of capabilities that helps you automate management tasks such as collecting system inventory, applying operating system (OS) patches, automating the creation of Amazon Machine Images (AMIs), and configuring operating systems (OSs) and applications at scale. Systems Manager lets you remotely and securely manage the configuration of your managed instances. A managed instance is any Amazon Elastic Compute Cloud instance (EC2 instance), or any on-premises server or virtual machine (VM) in your hybrid environment that has been configured for Systems Manager.

This reference is intended to be used with the AWS Systems Manager User Guide.

To get started, verify prerequisites and configure managed instances. For more information, see Setting up AWS Systems Manager in the AWS Systems Manager User Guide.

For information about other API actions you can perform on EC2 instances, see the Amazon EC2 API Reference. For information about how to use a Query API, see Making API requests.

Usage

ssm(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- ssm(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

add_tags_to_resourceAdds or overwrites one or more tags for the specified resource
cancel_commandAttempts to cancel the command specified by the Command ID
cancel_maintenance_window_executionStops a maintenance window execution that is already in progress and cancels any tasks in the window that have not already starting running
create_activationGenerates an activation code and activation ID you can use to register your on-premises server or virtual machine (VM) with Systems Manager
create_associationA State Manager association defines the state that you want to maintain on your instances
create_association_batchAssociates the specified Systems Manager document with the specified instances or targets
create_documentCreates a Systems Manager (SSM) document
create_maintenance_windowCreates a new maintenance window
create_ops_itemCreates a new OpsItem
create_ops_metadataIf you create a new application in Application Manager, Systems Manager calls this API action to specify information about the new application, including the application type
create_patch_baselineCreates a patch baseline
create_resource_data_syncA resource data sync helps you view data from multiple sources in a single location
delete_activationDeletes an activation
delete_associationDisassociates the specified Systems Manager document from the specified instance
delete_documentDeletes the Systems Manager document and all instance associations to the document
delete_inventoryDelete a custom inventory type or the data associated with a custom Inventory type
delete_maintenance_windowDeletes a maintenance window
delete_ops_metadataDelete OpsMetadata related to an application
delete_parameterDelete a parameter from the system
delete_parametersDelete a list of parameters
delete_patch_baselineDeletes a patch baseline
delete_resource_data_syncDeletes a Resource Data Sync configuration
deregister_managed_instanceRemoves the server or virtual machine from the list of registered servers
deregister_patch_baseline_for_patch_groupRemoves a patch group from a patch baseline
deregister_target_from_maintenance_windowRemoves a target from a maintenance window
deregister_task_from_maintenance_windowRemoves a task from a maintenance window
describe_activationsDescribes details about the activation, such as the date and time the activation was created, its expiration date, the IAM role assigned to the instances in the activation, and the number of instances registered by using this activation
describe_associationDescribes the association for the specified target or instance
describe_association_executionsUse this API action to view all executions for a specific association ID
describe_association_execution_targetsUse this API action to view information about a specific execution of a specific association
describe_automation_executionsProvides details about all active and terminated Automation executions
describe_automation_step_executionsInformation about all active and terminated step executions in an Automation workflow
describe_available_patchesLists all patches eligible to be included in a patch baseline
describe_documentDescribes the specified Systems Manager document
describe_document_permissionDescribes the permissions for a Systems Manager document
describe_effective_instance_associationsAll associations for the instance(s)
describe_effective_patches_for_patch_baselineRetrieves the current effective patches (the patch and the approval state) for the specified patch baseline
describe_instance_associations_statusThe status of the associations for the instance(s)
describe_instance_informationDescribes one or more of your instances, including information about the operating system platform, the version of SSM Agent installed on the instance, instance status, and so on
describe_instance_patchesRetrieves information about the patches on the specified instance and their state relative to the patch baseline being used for the instance
describe_instance_patch_statesRetrieves the high-level patch state of one or more instances
describe_instance_patch_states_for_patch_groupRetrieves the high-level patch state for the instances in the specified patch group
describe_inventory_deletionsDescribes a specific delete inventory operation
describe_maintenance_window_executionsLists the executions of a maintenance window
describe_maintenance_window_execution_task_invocationsRetrieves the individual task executions (one per target) for a particular task run as part of a maintenance window execution
describe_maintenance_window_execution_tasksFor a given maintenance window execution, lists the tasks that were run
describe_maintenance_windowsRetrieves the maintenance windows in an AWS account
describe_maintenance_window_scheduleRetrieves information about upcoming executions of a maintenance window
describe_maintenance_windows_for_targetRetrieves information about the maintenance window targets or tasks that an instance is associated with
describe_maintenance_window_targetsLists the targets registered with the maintenance window
describe_maintenance_window_tasksLists the tasks in a maintenance window
describe_ops_itemsQuery a set of OpsItems
describe_parametersGet information about a parameter
describe_patch_baselinesLists the patch baselines in your AWS account
describe_patch_groupsLists all patch groups that have been registered with patch baselines
describe_patch_group_stateReturns high-level aggregated patch compliance state for a patch group
describe_patch_propertiesLists the properties of available patches organized by product, product family, classification, severity, and other properties of available patches
describe_sessionsRetrieves a list of all active sessions (both connected and disconnected) or terminated sessions from the past 30 days
get_automation_executionGet detailed information about a particular Automation execution
get_calendar_stateGets the state of the AWS Systems Manager Change Calendar at an optional, specified time
get_command_invocationReturns detailed information about command execution for an invocation or plugin
get_connection_statusRetrieves the Session Manager connection status for an instance to determine whether it is running and ready to receive Session Manager connections
get_default_patch_baselineRetrieves the default patch baseline
get_deployable_patch_snapshot_for_instanceRetrieves the current snapshot for the patch baseline the instance uses
get_documentGets the contents of the specified Systems Manager document
get_inventoryQuery inventory information
get_inventory_schemaReturn a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type
get_maintenance_windowRetrieves a maintenance window
get_maintenance_window_executionRetrieves details about a specific a maintenance window execution
get_maintenance_window_execution_taskRetrieves the details about a specific task run as part of a maintenance window execution
get_maintenance_window_execution_task_invocationRetrieves information about a specific task running on a specific target
get_maintenance_window_taskLists the tasks in a maintenance window
get_ops_itemGet information about an OpsItem by using the ID
get_ops_metadataView operational metadata related to an application in Application Manager
get_ops_summaryView a summary of OpsItems based on specified filters and aggregators
get_parameterGet information about a parameter by using the parameter name
get_parameter_historyRetrieves the history of all changes to a parameter
get_parametersGet details of a parameter
get_parameters_by_pathRetrieve information about one or more parameters in a specific hierarchy
get_patch_baselineRetrieves information about a patch baseline
get_patch_baseline_for_patch_groupRetrieves the patch baseline that should be used for the specified patch group
get_service_settingServiceSetting is an account-level setting for an AWS service
label_parameter_versionA parameter label is a user-defined alias to help you manage different versions of a parameter
list_associationsReturns all State Manager associations in the current AWS account and Region
list_association_versionsRetrieves all versions of an association for a specific association ID
list_command_invocationsAn invocation is copy of a command sent to a specific instance
list_commandsLists the commands requested by users of the AWS account
list_compliance_itemsFor a specified resource ID, this API action returns a list of compliance statuses for different resource types
list_compliance_summariesReturns a summary count of compliant and non-compliant resources for a compliance type
list_document_metadata_historyInformation about approval reviews for a version of an SSM document
list_documentsReturns all Systems Manager (SSM) documents in the current AWS account and Region
list_document_versionsList all versions for a document
list_inventory_entriesA list of inventory items returned by the request
list_ops_item_eventsReturns a list of all OpsItem events in the current AWS account and Region
list_ops_metadataSystems Manager calls this API action when displaying all Application Manager OpsMetadata objects or blobs
list_resource_compliance_summariesReturns a resource-level summary count
list_resource_data_syncLists your resource data sync configurations
list_tags_for_resourceReturns a list of the tags assigned to the specified resource
modify_document_permissionShares a Systems Manager document publicly or privately
put_compliance_itemsRegisters a compliance type and other compliance details on a designated resource
put_inventoryBulk update custom inventory items on one more instance
put_parameterAdd a parameter to the system
register_default_patch_baselineDefines the default patch baseline for the relevant operating system
register_patch_baseline_for_patch_groupRegisters a patch baseline for a patch group
register_target_with_maintenance_windowRegisters a target with a maintenance window
register_task_with_maintenance_windowAdds a new task to a maintenance window
remove_tags_from_resourceRemoves tag keys from the specified resource
reset_service_settingServiceSetting is an account-level setting for an AWS service
resume_sessionReconnects a session to an instance after it has been disconnected
send_automation_signalSends a signal to an Automation execution to change the current behavior or status of the execution
send_commandRuns commands on one or more managed instances
start_associations_onceUse this API action to run an association immediately and only one time
start_automation_executionInitiates execution of an Automation document
start_change_request_executionCreates a change request for Change Manager
start_sessionInitiates a connection to a target (for example, an instance) for a Session Manager session
stop_automation_executionStop an Automation that is currently running
terminate_sessionPermanently ends a session and closes the data connection between the Session Manager client and SSM Agent on the instance
update_associationUpdates an association
update_association_statusUpdates the status of the Systems Manager document associated with the specified instance
update_documentUpdates one or more values for an SSM document
update_document_default_versionSet the default version of a document
update_document_metadataUpdates information related to approval reviews for a specific version of a document
update_maintenance_windowUpdates an existing maintenance window
update_maintenance_window_targetModifies the target of an existing maintenance window
update_maintenance_window_taskModifies a task assigned to a maintenance window
update_managed_instance_roleChanges the Amazon Identity and Access Management (IAM) role that is assigned to the on-premises instance or virtual machines (VM)
update_ops_itemEdit or change an OpsItem
update_ops_metadataSystems Manager calls this API action when you edit OpsMetadata in Application Manager
update_patch_baselineModifies an existing patch baseline
update_resource_data_syncUpdate a resource data sync
update_service_settingServiceSetting is an account-level setting for an AWS service

Examples

Run this code
if (FALSE) {
svc <- ssm()
svc$add_tags_to_resource(
  Foo = 123
)
}

Run the code above in your browser using DataLab