pub struct UpdateMitigationActionRequest {
pub action_name: String,
pub action_params: Option<MitigationActionParams>,
pub role_arn: Option<String>,
}Fields§
§action_name: StringThe friendly name for the mitigation action. You can't change the name by using UpdateMitigationAction. Instead, you must delete and re-create the mitigation action with the new name.
action_params: Option<MitigationActionParams>Defines the type of action and the parameters for that action.
role_arn: Option<String>The ARN of the IAM role that is used to apply the mitigation action.
Trait Implementations§
Source§impl Clone for UpdateMitigationActionRequest
impl Clone for UpdateMitigationActionRequest
Source§fn clone(&self) -> UpdateMitigationActionRequest
fn clone(&self) -> UpdateMitigationActionRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for UpdateMitigationActionRequest
impl Default for UpdateMitigationActionRequest
Source§fn default() -> UpdateMitigationActionRequest
fn default() -> UpdateMitigationActionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateMitigationActionRequest
impl PartialEq for UpdateMitigationActionRequest
Source§fn eq(&self, other: &UpdateMitigationActionRequest) -> bool
fn eq(&self, other: &UpdateMitigationActionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateMitigationActionRequest
Auto Trait Implementations§
impl Freeze for UpdateMitigationActionRequest
impl RefUnwindSafe for UpdateMitigationActionRequest
impl Send for UpdateMitigationActionRequest
impl Sync for UpdateMitigationActionRequest
impl Unpin for UpdateMitigationActionRequest
impl UnwindSafe for UpdateMitigationActionRequest
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
Mutably borrows from an owned value. Read more