pub struct StackEventDetails {
    pub client_request_token: Option<String>,
    pub event_id: String,
    pub logical_resource_id: String,
    pub physical_resource_id: Option<String>,
    pub resource_status_reason: Option<String>,
    pub resource_type: String,
    pub stack_id: String,
    pub stack_name: String,
    pub timestamp: DateTime<Utc>,
}
Expand description

Event details from the DescribeStackEvents API that are common for stack and resource events.

Fields§

§client_request_token: Option<String>

The token passed to the operation that generated this event.

All events triggerd by a given stack operation are assigne dthe same client request token, you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation. For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

§event_id: String

The unique ID of this event.

§logical_resource_id: String

The logical name of the resource specified in the template.

§physical_resource_id: Option<String>

The name or unique identifier associated with the physical instance of the resource.

This is unset when a physical resource does not exist, e.g. when creation is still in progress or has failed.

§resource_status_reason: Option<String>

Success/failure message associated with the resource.

§resource_type: String

Type of resource.

§stack_id: String

The unique ID of the instance of the stack.

§stack_name: String

The name associated with the stack.

§timestamp: DateTime<Utc>

Time the status was updated.

Implementations§

Get the token passed to the operation that generated this event.

All events triggerd by a given stack operation are assigne dthe same client request token, you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1.

In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation. For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.

Get the unique ID of this event.

Get the logical name of the resource specified in the template.

Get the name of unique identifier associated with the physical instance of the resource.

This is unset when a physical resource does not exist, e.g. when creation is still in progress or has failed.

Get the success/failure message associated with the resource.

Get the type of resource.

Get the unique ID of the instance of the stack.

Get the name associated with the stack.

Get the time the status was updated.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more