Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / ssm / associate-ops-item-related-item.rst
Size: Mime:
**To associate a related item**

The following ``associate-ops-item-related-item`` example associates a related item to the OpsItem. ::

    aws ssm associate-ops-item-related-item \
        --ops-item-id "oi-649fExample" \
        --association-type "RelatesTo" \
        --resource-type "AWS::SSMIncidents::IncidentRecord" \
        --resource-uri "arn:aws:ssm-incidents::111122223333:incident-record/Example-Response-Plan/c2bde883-f7d5-343a-b13a-bf5fe9ea689f"

Output::

    {
        "AssociationId": "61d7178d-a30d-4bc5-9b4e-a9e74EXAMPLE"
    }

For more information, see `Working with Incident Manager incidents in OpsCenter <https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-create-OpsItems-for-Incident-Manager.html>`__ in the *AWS Systems Manager User Guide*.