#[non_exhaustive]pub struct GetTaskProtectionOutput { /* private fields */ }Implementations§
source§impl GetTaskProtectionOutput
impl GetTaskProtectionOutput
sourcepub fn protected_tasks(&self) -> Option<&[ProtectedTask]>
pub fn protected_tasks(&self) -> Option<&[ProtectedTask]>
A list of tasks with the following information.
-
taskArn: The task ARN. -
protectionEnabled: The protection status of the task. If scale-in protection is enabled for a task, the value istrue. Otherwise, it isfalse. -
expirationDate: The epoch time when protection for the task will expire.
source§impl GetTaskProtectionOutput
impl GetTaskProtectionOutput
sourcepub fn builder() -> GetTaskProtectionOutputBuilder
pub fn builder() -> GetTaskProtectionOutputBuilder
Creates a new builder-style object to manufacture GetTaskProtectionOutput.
Trait Implementations§
source§impl Clone for GetTaskProtectionOutput
impl Clone for GetTaskProtectionOutput
source§fn clone(&self) -> GetTaskProtectionOutput
fn clone(&self) -> GetTaskProtectionOutput
Returns a copy 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 GetTaskProtectionOutput
impl Debug for GetTaskProtectionOutput
source§impl PartialEq<GetTaskProtectionOutput> for GetTaskProtectionOutput
impl PartialEq<GetTaskProtectionOutput> for GetTaskProtectionOutput
source§fn eq(&self, other: &GetTaskProtectionOutput) -> bool
fn eq(&self, other: &GetTaskProtectionOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for GetTaskProtectionOutput
impl RequestId for GetTaskProtectionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.