Struct aws_sdk_imagebuilder::operation::start_resource_state_update::StartResourceStateUpdateInput
source · #[non_exhaustive]pub struct StartResourceStateUpdateInput {
pub resource_arn: Option<String>,
pub state: Option<ResourceState>,
pub execution_role: Option<String>,
pub include_resources: Option<ResourceStateUpdateIncludeResources>,
pub exclusion_rules: Option<ResourceStateUpdateExclusionRules>,
pub update_at: Option<DateTime>,
pub client_token: Option<String>,
}
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.resource_arn: Option<String>
The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
state: Option<ResourceState>
Indicates the lifecycle action to take for this request.
execution_role: Option<String>
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
include_resources: Option<ResourceStateUpdateIncludeResources>
A list of image resources to update state for.
exclusion_rules: Option<ResourceStateUpdateExclusionRules>
Skip action on the image resource and associated resources if specified exclusion rules are met.
update_at: Option<DateTime>
The timestamp that indicates when resources are updated by a lifecycle action.
client_token: Option<String>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
Implementations§
source§impl StartResourceStateUpdateInput
impl StartResourceStateUpdateInput
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the Image Builder resource that is updated. The state update might also impact associated resources.
sourcepub fn state(&self) -> Option<&ResourceState>
pub fn state(&self) -> Option<&ResourceState>
Indicates the lifecycle action to take for this request.
sourcepub fn execution_role(&self) -> Option<&str>
pub fn execution_role(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the IAM role that’s used to update image state.
sourcepub fn include_resources(&self) -> Option<&ResourceStateUpdateIncludeResources>
pub fn include_resources(&self) -> Option<&ResourceStateUpdateIncludeResources>
A list of image resources to update state for.
sourcepub fn exclusion_rules(&self) -> Option<&ResourceStateUpdateExclusionRules>
pub fn exclusion_rules(&self) -> Option<&ResourceStateUpdateExclusionRules>
Skip action on the image resource and associated resources if specified exclusion rules are met.
sourcepub fn update_at(&self) -> Option<&DateTime>
pub fn update_at(&self) -> Option<&DateTime>
The timestamp that indicates when resources are updated by a lifecycle action.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
source§impl StartResourceStateUpdateInput
impl StartResourceStateUpdateInput
sourcepub fn builder() -> StartResourceStateUpdateInputBuilder
pub fn builder() -> StartResourceStateUpdateInputBuilder
Creates a new builder-style object to manufacture StartResourceStateUpdateInput
.
Trait Implementations§
source§impl Clone for StartResourceStateUpdateInput
impl Clone for StartResourceStateUpdateInput
source§fn clone(&self) -> StartResourceStateUpdateInput
fn clone(&self) -> StartResourceStateUpdateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for StartResourceStateUpdateInput
impl PartialEq for StartResourceStateUpdateInput
source§fn eq(&self, other: &StartResourceStateUpdateInput) -> bool
fn eq(&self, other: &StartResourceStateUpdateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartResourceStateUpdateInput
Auto Trait Implementations§
impl Freeze for StartResourceStateUpdateInput
impl RefUnwindSafe for StartResourceStateUpdateInput
impl Send for StartResourceStateUpdateInput
impl Sync for StartResourceStateUpdateInput
impl Unpin for StartResourceStateUpdateInput
impl UnwindSafe for StartResourceStateUpdateInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more