Struct aws_sdk_resiliencehub::operation::update_app::UpdateAppInput
source · #[non_exhaustive]pub struct UpdateAppInput {
pub app_arn: Option<String>,
pub description: Option<String>,
pub policy_arn: Option<String>,
pub clear_resiliency_policy_arn: Option<bool>,
pub assessment_schedule: Option<AppAssessmentScheduleType>,
pub permission_model: Option<PermissionModel>,
pub event_subscriptions: Option<Vec<EventSubscription>>,
}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.
description: Option<String>The optional description for an app.
policy_arn: Option<String>Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
clear_resiliency_policy_arn: Option<bool>Specifies if the resiliency policy ARN should be cleared.
assessment_schedule: Option<AppAssessmentScheduleType>Assessment execution schedule with 'Daily' or 'Disabled' values.
permission_model: Option<PermissionModel>Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.
event_subscriptions: Option<Vec<EventSubscription>>The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.
Implementations§
source§impl UpdateAppInput
impl UpdateAppInput
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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The optional description for an app.
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
sourcepub fn clear_resiliency_policy_arn(&self) -> Option<bool>
pub fn clear_resiliency_policy_arn(&self) -> Option<bool>
Specifies if the resiliency policy ARN should be cleared.
sourcepub fn assessment_schedule(&self) -> Option<&AppAssessmentScheduleType>
pub fn assessment_schedule(&self) -> Option<&AppAssessmentScheduleType>
Assessment execution schedule with 'Daily' or 'Disabled' values.
sourcepub fn permission_model(&self) -> Option<&PermissionModel>
pub fn permission_model(&self) -> Option<&PermissionModel>
Defines the roles and credentials that Resilience Hub would use while creating an application, importing its resources, and running an assessment.
sourcepub fn event_subscriptions(&self) -> &[EventSubscription]
pub fn event_subscriptions(&self) -> &[EventSubscription]
The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_subscriptions.is_none().
source§impl UpdateAppInput
impl UpdateAppInput
sourcepub fn builder() -> UpdateAppInputBuilder
pub fn builder() -> UpdateAppInputBuilder
Creates a new builder-style object to manufacture UpdateAppInput.
Trait Implementations§
source§impl Clone for UpdateAppInput
impl Clone for UpdateAppInput
source§fn clone(&self) -> UpdateAppInput
fn clone(&self) -> UpdateAppInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateAppInput
impl Debug for UpdateAppInput
source§impl PartialEq for UpdateAppInput
impl PartialEq for UpdateAppInput
source§fn eq(&self, other: &UpdateAppInput) -> bool
fn eq(&self, other: &UpdateAppInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateAppInput
Auto Trait Implementations§
impl Freeze for UpdateAppInput
impl RefUnwindSafe for UpdateAppInput
impl Send for UpdateAppInput
impl Sync for UpdateAppInput
impl Unpin for UpdateAppInput
impl UnwindSafe for UpdateAppInput
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