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.

Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view information about an OpsItem. For more information, see Set up OpsCenter in the Amazon Web Services Systems Manager User Guide.

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational issues impacting the performance and health of their Amazon Web Services resources. For more information, see Amazon Web Services Systems Manager OpsCenter in the Amazon Web Services Systems Manager User Guide.

Note:

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

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

Syntax

C#
public abstract GetOpsItemResponse GetOpsItem(
         GetOpsItemRequest request
)

Parameters

request
Type: Amazon.SimpleSystemsManagement.Model.GetOpsItemRequest

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

Return Value


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

Exceptions

ExceptionCondition
InternalServerErrorException An error occurred on the server side.
OpsItemAccessDeniedException You don't have permission to view OpsItems in the specified account. Verify that your account is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations management account.
OpsItemNotFoundException The specified OpsItem ID doesn't exist. Verify the ID and try again.

Version Information

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

See Also