AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to AssociateOpsItemRelatedItemAsync.

Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z

Syntax

C#
public virtual AssociateOpsItemRelatedItemResponse AssociateOpsItemRelatedItem(
         AssociateOpsItemRelatedItemRequest request
)

Parameters

request
Type: Amazon.SimpleSystemsManagement.Model.AssociateOpsItemRelatedItemRequest

Container for the necessary parameters to execute the AssociateOpsItemRelatedItem service method.

Return Value


The response from the AssociateOpsItemRelatedItem service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
InternalServerErrorException An error occurred on the server side.
OpsItemConflictException The specified OpsItem is in the process of being deleted.
OpsItemInvalidParameterException A specified parameter argument isn't valid. Verify the available arguments and try again.
OpsItemLimitExceededException The request caused OpsItems to exceed one or more quotas.
OpsItemNotFoundException The specified OpsItem ID doesn't exist. Verify the ID and try again.
OpsItemRelatedItemAlreadyExistsException The Amazon Resource Name (ARN) is already associated with the OpsItem.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also