Smaws_Client_SSM.AssociateOpsItemRelatedItemAssociates 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 tools in Amazon Web Services Systems Manager.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `OpsItemConflictException of Types.ops_item_conflict_exception
| `OpsItemInvalidParameterException of
Types.ops_item_invalid_parameter_exception
| `OpsItemLimitExceededException of Types.ops_item_limit_exceeded_exception
| `OpsItemNotFoundException of Types.ops_item_not_found_exception
| `OpsItemRelatedItemAlreadyExistsException of
Types.ops_item_related_item_already_exists_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.associate_ops_item_related_item_request ->
(Types.associate_ops_item_related_item_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `OpsItemConflictException of Types.ops_item_conflict_exception
| `OpsItemInvalidParameterException of
Types.ops_item_invalid_parameter_exception
| `OpsItemLimitExceededException of Types.ops_item_limit_exceeded_exception
| `OpsItemNotFoundException of Types.ops_item_not_found_exception
| `OpsItemRelatedItemAlreadyExistsException of
Types.ops_item_related_item_already_exists_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.associate_ops_item_related_item_request ->
(Types.associate_ops_item_related_item_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `OpsItemConflictException of Types.ops_item_conflict_exception
| `OpsItemInvalidParameterException of
Types.ops_item_invalid_parameter_exception
| `OpsItemLimitExceededException of Types.ops_item_limit_exceeded_exception
| `OpsItemNotFoundException of Types.ops_item_not_found_exception
| `OpsItemRelatedItemAlreadyExistsException of
Types.ops_item_related_item_already_exists_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result