Struct aws_sdk_cloudtrail::operation::get_channel::GetChannelOutput
source · #[non_exhaustive]pub struct GetChannelOutput {
pub channel_arn: Option<String>,
pub name: Option<String>,
pub source: Option<String>,
pub source_config: Option<SourceConfig>,
pub destinations: Option<Vec<Destination>>,
pub ingestion_status: Option<IngestionStatus>,
/* private fields */
}
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.channel_arn: Option<String>
The ARN of an channel returned by a GetChannel
request.
name: Option<String>
The name of the CloudTrail channel. For service-linked channels, the name is aws-service-channel/service-name/custom-suffix
where service-name
represents the name of the Amazon Web Services service that created the channel and custom-suffix
represents the suffix generated by the Amazon Web Services service.
source: Option<String>
The source for the CloudTrail channel.
source_config: Option<SourceConfig>
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all Regions or a single Region.
destinations: Option<Vec<Destination>>
The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
ingestion_status: Option<IngestionStatus>
A table showing information about the most recent successful and failed attempts to ingest events.
Implementations§
source§impl GetChannelOutput
impl GetChannelOutput
sourcepub fn channel_arn(&self) -> Option<&str>
pub fn channel_arn(&self) -> Option<&str>
The ARN of an channel returned by a GetChannel
request.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the CloudTrail channel. For service-linked channels, the name is aws-service-channel/service-name/custom-suffix
where service-name
represents the name of the Amazon Web Services service that created the channel and custom-suffix
represents the suffix generated by the Amazon Web Services service.
sourcepub fn source_config(&self) -> Option<&SourceConfig>
pub fn source_config(&self) -> Option<&SourceConfig>
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all Regions or a single Region.
sourcepub fn destinations(&self) -> &[Destination]
pub fn destinations(&self) -> &[Destination]
The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .destinations.is_none()
.
sourcepub fn ingestion_status(&self) -> Option<&IngestionStatus>
pub fn ingestion_status(&self) -> Option<&IngestionStatus>
A table showing information about the most recent successful and failed attempts to ingest events.
source§impl GetChannelOutput
impl GetChannelOutput
sourcepub fn builder() -> GetChannelOutputBuilder
pub fn builder() -> GetChannelOutputBuilder
Creates a new builder-style object to manufacture GetChannelOutput
.
Trait Implementations§
source§impl Clone for GetChannelOutput
impl Clone for GetChannelOutput
source§fn clone(&self) -> GetChannelOutput
fn clone(&self) -> GetChannelOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetChannelOutput
impl Debug for GetChannelOutput
source§impl PartialEq for GetChannelOutput
impl PartialEq for GetChannelOutput
source§fn eq(&self, other: &GetChannelOutput) -> bool
fn eq(&self, other: &GetChannelOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetChannelOutput
impl RequestId for GetChannelOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetChannelOutput
Auto Trait Implementations§
impl Freeze for GetChannelOutput
impl RefUnwindSafe for GetChannelOutput
impl Send for GetChannelOutput
impl Sync for GetChannelOutput
impl Unpin for GetChannelOutput
impl UnwindSafe for GetChannelOutput
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