#[non_exhaustive]pub struct UpdateAppVersionInput {
pub app_arn: Option<String>,
pub additional_info: Option<HashMap<String, Vec<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.app_arn: Option<String>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
additional_info: Option<HashMap<String, Vec<String>>>Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
Implementations§
source§impl UpdateAppVersionInput
impl UpdateAppVersionInput
sourcepub fn app_arn(&self) -> Option<&str>
pub fn app_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
sourcepub fn additional_info(&self) -> Option<&HashMap<String, Vec<String>>>
pub fn additional_info(&self) -> Option<&HashMap<String, Vec<String>>>
Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
source§impl UpdateAppVersionInput
impl UpdateAppVersionInput
sourcepub fn builder() -> UpdateAppVersionInputBuilder
pub fn builder() -> UpdateAppVersionInputBuilder
Creates a new builder-style object to manufacture UpdateAppVersionInput.
Trait Implementations§
source§impl Clone for UpdateAppVersionInput
impl Clone for UpdateAppVersionInput
source§fn clone(&self) -> UpdateAppVersionInput
fn clone(&self) -> UpdateAppVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAppVersionInput
impl Debug for UpdateAppVersionInput
source§impl PartialEq for UpdateAppVersionInput
impl PartialEq for UpdateAppVersionInput
source§fn eq(&self, other: &UpdateAppVersionInput) -> bool
fn eq(&self, other: &UpdateAppVersionInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAppVersionInput
Auto Trait Implementations§
impl Freeze for UpdateAppVersionInput
impl RefUnwindSafe for UpdateAppVersionInput
impl Send for UpdateAppVersionInput
impl Sync for UpdateAppVersionInput
impl Unpin for UpdateAppVersionInput
impl UnwindSafe for UpdateAppVersionInput
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