pub struct CreateLifecyclePolicyRequest {
pub description: String,
pub execution_role_arn: String,
pub policy_details: PolicyDetails,
pub state: String,
pub tags: Option<HashMap<String, String>>,
}Fields§
§description: StringA description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are supported.
execution_role_arn: StringThe Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
policy_details: PolicyDetailsThe configuration details of the lifecycle policy.
state: StringThe desired activation state of the lifecycle policy after creation.
The tags to apply to the lifecycle policy during creation.
Trait Implementations§
Source§impl Clone for CreateLifecyclePolicyRequest
impl Clone for CreateLifecyclePolicyRequest
Source§fn clone(&self) -> CreateLifecyclePolicyRequest
fn clone(&self) -> CreateLifecyclePolicyRequest
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 Debug for CreateLifecyclePolicyRequest
impl Debug for CreateLifecyclePolicyRequest
Source§impl Default for CreateLifecyclePolicyRequest
impl Default for CreateLifecyclePolicyRequest
Source§fn default() -> CreateLifecyclePolicyRequest
fn default() -> CreateLifecyclePolicyRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateLifecyclePolicyRequest
impl PartialEq for CreateLifecyclePolicyRequest
Source§fn eq(&self, other: &CreateLifecyclePolicyRequest) -> bool
fn eq(&self, other: &CreateLifecyclePolicyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateLifecyclePolicyRequest
Auto Trait Implementations§
impl Freeze for CreateLifecyclePolicyRequest
impl RefUnwindSafe for CreateLifecyclePolicyRequest
impl Send for CreateLifecyclePolicyRequest
impl Sync for CreateLifecyclePolicyRequest
impl Unpin for CreateLifecyclePolicyRequest
impl UnwindSafe for CreateLifecyclePolicyRequest
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