pub struct GetTrailStatusRequest {
pub name: String,
}Expand description
The name of a trail about which you want the current status.
AWS API: cloudtrail.v1.GetTrailStatusRequest
Reference: https://docs.aws.amazon.com/awscloudtrail/latest/APIReference//GetTrailStatusRequest
Fields§
§name: StringSpecifies the name or the CloudTrail ARN of the trail for which you are requesting status. To get the status of a shadow trail (a replication of the trail in another Region), you must specify its ARN. The following is the format of a trail ARN: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail If the trail is an organization trail and you are a member account in the organization in Organizations, you must provide the full ARN of that trail, and not just the name.
Trait Implementations§
Source§impl Clone for GetTrailStatusRequest
impl Clone for GetTrailStatusRequest
Source§fn clone(&self) -> GetTrailStatusRequest
fn clone(&self) -> GetTrailStatusRequest
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 GetTrailStatusRequest
impl Debug for GetTrailStatusRequest
Source§impl Default for GetTrailStatusRequest
impl Default for GetTrailStatusRequest
Source§fn default() -> GetTrailStatusRequest
fn default() -> GetTrailStatusRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetTrailStatusRequest
impl<'de> Deserialize<'de> for GetTrailStatusRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetTrailStatusRequest
impl RefUnwindSafe for GetTrailStatusRequest
impl Send for GetTrailStatusRequest
impl Sync for GetTrailStatusRequest
impl Unpin for GetTrailStatusRequest
impl UnsafeUnpin for GetTrailStatusRequest
impl UnwindSafe for GetTrailStatusRequest
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