Operation
public struct Operation : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let createDate: TimeStamp?
-
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
Declaration
Swift
public let errorCode: String?
-
If the value of Status is FAIL, the reason that the operation failed.
Declaration
Swift
public let errorMessage: String?
-
The ID of the operation that you want to get information about.
Declaration
Swift
public let id: String?
-
The status of the operation. Values include the following: SUBMITTED: This is the initial state immediately after you submit a request. PENDING: AWS Cloud Map is performing the operation. SUCCESS: The operation succeeded. FAIL: The operation failed. For the failure reason, see ErrorMessage.
Declaration
Swift
public let status: OperationStatus?
-
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.
Declaration
Swift
public let targets: [OperationTargetType : String]?
-
The name of the operation that is associated with the specified ID.
Declaration
Swift
public let type: OperationType?
-
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.
Declaration
Swift
public let updateDate: TimeStamp?
-
Undocumented
Declaration
Swift
public init(createDate: TimeStamp? = nil, errorCode: String? = nil, errorMessage: String? = nil, id: String? = nil, status: OperationStatus? = nil, targets: [OperationTargetType : String]? = nil, type: OperationType? = nil, updateDate: TimeStamp? = nil)