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.

A complex type that contains information about a specified operation.

Inheritance Hierarchy

System.Object
  Amazon.ServiceDiscovery.Model.Operation

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

Syntax

C#
public class Operation

The Operation type exposes the following members

Constructors

NameDescription
Public Method Operation()

Properties

NameTypeDescription
Public Property CreateDate System.DateTime

Gets and sets the property CreateDate.

The date and time that the request was submitted, in Unix date/time format and Coordinated Universal Time (UTC). The value of CreateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Public Property ErrorCode System.String

Gets and sets the property ErrorCode.

The code associated with ErrorMessage. Values for ErrorCode include the following:

  • ACCESS_DENIED

  • CANNOT_CREATE_HOSTED_ZONE

  • EXPIRED_TOKEN

  • HOSTED_ZONE_NOT_FOUND

  • INTERNAL_FAILURE

  • INVALID_CHANGE_BATCH

  • THROTTLED_REQUEST

Public Property ErrorMessage System.String

Gets and sets the property ErrorMessage.

If the value of Status is FAIL, the reason that the operation failed.

Public Property Id System.String

Gets and sets the property Id.

The ID of the operation that you want to get information about.

Public Property Status Amazon.ServiceDiscovery.OperationStatus

Gets and sets the property Status.

The status of the operation. Values include the following:

  • SUBMITTED: This is the initial state immediately after you submit a request.

  • PENDING: Route 53 is performing the operation.

  • SUCCESS: The operation succeeded.

  • FAIL: The operation failed. For the failure reason, see ErrorMessage.

Public Property Targets System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Targets.

The name of the target entity that is associated with the operation:

  • NAMESPACE: The namespace ID is returned in the ResourceId property.

  • SERVICE: The service ID is returned in the ResourceId property.

  • INSTANCE: The instance ID is returned in the ResourceId property.

Public Property Type Amazon.ServiceDiscovery.OperationType

Gets and sets the property Type.

The name of the operation that is associated with the specified ID.

Public Property UpdateDate System.DateTime

Gets and sets the property UpdateDate.

The date and time that the value of Status changed to the current value, in Unix date/time format and Coordinated Universal Time (UTC). The value of UpdateDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms