[][src]Struct rusoto_servicediscovery::Operation

pub struct Operation {
    pub create_date: Option<f64>,
    pub error_code: Option<String>,
    pub error_message: Option<String>,
    pub id: Option<String>,
    pub status: Option<String>,
    pub targets: Option<HashMap<String, String>>,
    pub type_: Option<String>,
    pub update_date: Option<f64>,
}

A complex type that contains information about a specified operation.

Fields

create_date: Option<f64>

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.

error_code: Option<String>

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

  • ACCESSDENIED

  • CANNOTCREATEHOSTEDZONE

  • EXPIREDTOKEN

  • HOSTEDZONENOTFOUND

  • INTERNALFAILURE

  • INVALIDCHANGEBATCH

  • THROTTLEDREQUEST

error_message: Option<String>

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

id: Option<String>

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

status: Option<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.

targets: Option<HashMap<String, String>>

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.

type_: Option<String>

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

update_date: Option<f64>

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.

Trait Implementations

impl PartialEq<Operation> for Operation[src]

impl Default for Operation[src]

impl Clone for Operation[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Operation[src]

impl<'de> Deserialize<'de> for Operation[src]

Auto Trait Implementations

impl Send for Operation

impl Sync for Operation

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self