Struct aws_sdk_resiliencehub::operation::create_app::CreateAppInput   
source · #[non_exhaustive]pub struct CreateAppInput {
    pub name: Option<String>,
    pub description: Option<String>,
    pub policy_arn: Option<String>,
    pub tags: Option<HashMap<String, String>>,
    pub client_token: Option<String>,
    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.name: Option<String>Name of the application.
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.
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
client_token: Option<String>Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
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 the 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 only Drift detected and Scheduled assessment failure events notification.
Implementations§
source§impl CreateAppInput
 
impl CreateAppInput
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.
Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
sourcepub fn client_token(&self) -> Option<&str>
 
pub fn client_token(&self) -> Option<&str>
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
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 the 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 only Drift detected and Scheduled assessment failure events notification.
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 CreateAppInput
 
impl CreateAppInput
sourcepub fn builder() -> CreateAppInputBuilder
 
pub fn builder() -> CreateAppInputBuilder
Creates a new builder-style object to manufacture CreateAppInput.
Trait Implementations§
source§impl Clone for CreateAppInput
 
impl Clone for CreateAppInput
source§fn clone(&self) -> CreateAppInput
 
fn clone(&self) -> CreateAppInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateAppInput
 
impl Debug for CreateAppInput
source§impl PartialEq for CreateAppInput
 
impl PartialEq for CreateAppInput
source§fn eq(&self, other: &CreateAppInput) -> bool
 
fn eq(&self, other: &CreateAppInput) -> bool
self and other values to be equal, and is used
by ==.