Struct aws_sdk_eks::types::Update
source · #[non_exhaustive]pub struct Update {
pub id: Option<String>,
pub status: Option<UpdateStatus>,
pub type: Option<UpdateType>,
pub params: Option<Vec<UpdateParam>>,
pub created_at: Option<DateTime>,
pub errors: Option<Vec<ErrorDetail>>,
}
Expand description
An object representing an asynchronous update.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
A UUID that is used to track the update.
status: Option<UpdateStatus>
The current status of the update.
type: Option<UpdateType>
The type of the update.
params: Option<Vec<UpdateParam>>
A key-value map that contains the parameters associated with the update.
created_at: Option<DateTime>
The Unix epoch timestamp at object creation.
errors: Option<Vec<ErrorDetail>>
Any errors associated with a Failed
update.
Implementations§
source§impl Update
impl Update
sourcepub fn status(&self) -> Option<&UpdateStatus>
pub fn status(&self) -> Option<&UpdateStatus>
The current status of the update.
sourcepub fn type(&self) -> Option<&UpdateType>
pub fn type(&self) -> Option<&UpdateType>
The type of the update.
sourcepub fn params(&self) -> &[UpdateParam]
pub fn params(&self) -> &[UpdateParam]
A key-value map that contains the parameters associated with the update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .params.is_none()
.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The Unix epoch timestamp at object creation.
sourcepub fn errors(&self) -> &[ErrorDetail]
pub fn errors(&self) -> &[ErrorDetail]
Any errors associated with a Failed
update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none()
.