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