v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141381,185842.7 KB

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.

post/#X-Amz-Target=AmazonSSM.AssociateOpsItemRelatedItem

Headers

X-Amz-Target'AmazonSSM.AssociateOpsItemRelatedItem' required

Request body

OpsItemIdstring required

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

AssociationTypestring required

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

ResourceTypestring required
<p>The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:</p> <p> <code>AWS::SSMIncidents::IncidentRecord</code>: an Incident Manager incident. </p> <p> <code>AWS::SSM::Document</code>: a Systems Manager (SSM) document.</p>
ResourceUristring required

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

Response

Success

AssociationIdstring

The association ID.