Skip to content

/AWS1/CL_SSM=>ASSOCIATEOPSITEMRELATEDITEM()

About AssociateOpsItemRelatedItem

Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.

Method Signature

IMPORTING

Required arguments:

IV_OPSITEMID TYPE /AWS1/SSMOPSITEMID /AWS1/SSMOPSITEMID

The ID of the OpsItem to which you want to associate a resource as a related item.

IV_ASSOCIATIONTYPE TYPE /AWS1/SSMOPSITEMRELATEDITEMA00 /AWS1/SSMOPSITEMRELATEDITEMA00

The type of association that you want to create between an OpsItem and a resource. OpsCenter supports IsParentOf and RelatesTo association types.

IV_RESOURCETYPE TYPE /AWS1/SSMOPSITEMRELATEDITEMA01 /AWS1/SSMOPSITEMRELATEDITEMA01

The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:

AWS::SSMIncidents::IncidentRecord: an Incident Manager incident.

AWS::SSM::Document: a Systems Manager (SSM) document.

IV_RESOURCEURI TYPE /AWS1/SSMOPSITEMRELATEDITEMA02 /AWS1/SSMOPSITEMRELATEDITEMA02

The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMASCOPSITEMRELATE01 /AWS1/CL_SSMASCOPSITEMRELATE01