#[non_exhaustive]pub struct CloudTrailProperties {
pub trail_properties: Vec<TrailProperties>,
pub start_time: DateTime,
pub end_time: DateTime,
}
Expand description
Contains information about CloudTrail access.
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.trail_properties: Vec<TrailProperties>
A TrailProperties
object that contains settings for trail properties.
start_time: DateTime
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
end_time: DateTime
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.
Implementations§
source§impl CloudTrailProperties
impl CloudTrailProperties
sourcepub fn trail_properties(&self) -> &[TrailProperties]
pub fn trail_properties(&self) -> &[TrailProperties]
A TrailProperties
object that contains settings for trail properties.
sourcepub fn start_time(&self) -> &DateTime
pub fn start_time(&self) -> &DateTime
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.
source§impl CloudTrailProperties
impl CloudTrailProperties
sourcepub fn builder() -> CloudTrailPropertiesBuilder
pub fn builder() -> CloudTrailPropertiesBuilder
Creates a new builder-style object to manufacture CloudTrailProperties
.
Trait Implementations§
source§impl Clone for CloudTrailProperties
impl Clone for CloudTrailProperties
source§fn clone(&self) -> CloudTrailProperties
fn clone(&self) -> CloudTrailProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CloudTrailProperties
impl Debug for CloudTrailProperties
source§impl PartialEq for CloudTrailProperties
impl PartialEq for CloudTrailProperties
source§fn eq(&self, other: &CloudTrailProperties) -> bool
fn eq(&self, other: &CloudTrailProperties) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudTrailProperties
Auto Trait Implementations§
impl Freeze for CloudTrailProperties
impl RefUnwindSafe for CloudTrailProperties
impl Send for CloudTrailProperties
impl Sync for CloudTrailProperties
impl Unpin for CloudTrailProperties
impl UnwindSafe for CloudTrailProperties
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more