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 ==
.