Struct aws_sdk_cloudtrail::input::GetTrailStatusInput
source · [−]Expand description
The name of a trail about which you want the current status.
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>
Specifies 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
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTrailStatus, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetTrailStatus, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetTrailStatus
>
Creates a new builder-style object to manufacture GetTrailStatusInput
Specifies 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
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetTrailStatusInput
impl Send for GetTrailStatusInput
impl Sync for GetTrailStatusInput
impl Unpin for GetTrailStatusInput
impl UnwindSafe for GetTrailStatusInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more