Struct aws_sdk_appfabric::types::IngestionDestination
source · #[non_exhaustive]pub struct IngestionDestination {
pub arn: String,
pub ingestion_arn: String,
pub processing_configuration: Option<ProcessingConfiguration>,
pub destination_configuration: Option<DestinationConfiguration>,
pub status: Option<IngestionDestinationStatus>,
pub status_reason: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
}
Expand description
Contains information about an ingestion destination.
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.arn: String
The Amazon Resource Name (ARN) of the ingestion destination.
ingestion_arn: String
The Amazon Resource Name (ARN) of the ingestion.
processing_configuration: Option<ProcessingConfiguration>
Contains information about how ingested data is processed.
destination_configuration: Option<DestinationConfiguration>
Contains information about the destination of ingested data.
status: Option<IngestionDestinationStatus>
The state of the ingestion destination.
The following states are possible:
-
Active
: The ingestion destination is active and is ready to be used. -
Failed
: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.
status_reason: Option<String>
The reason for the current status of the ingestion destination.
Only present when the status
of ingestion destination is Failed
.
created_at: Option<DateTime>
The timestamp of when the ingestion destination was created.
updated_at: Option<DateTime>
The timestamp of when the ingestion destination was last updated.
Implementations§
source§impl IngestionDestination
impl IngestionDestination
sourcepub fn ingestion_arn(&self) -> &str
pub fn ingestion_arn(&self) -> &str
The Amazon Resource Name (ARN) of the ingestion.
sourcepub fn processing_configuration(&self) -> Option<&ProcessingConfiguration>
pub fn processing_configuration(&self) -> Option<&ProcessingConfiguration>
Contains information about how ingested data is processed.
sourcepub fn destination_configuration(&self) -> Option<&DestinationConfiguration>
pub fn destination_configuration(&self) -> Option<&DestinationConfiguration>
Contains information about the destination of ingested data.
sourcepub fn status(&self) -> Option<&IngestionDestinationStatus>
pub fn status(&self) -> Option<&IngestionDestinationStatus>
The state of the ingestion destination.
The following states are possible:
-
Active
: The ingestion destination is active and is ready to be used. -
Failed
: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the current status of the ingestion destination.
Only present when the status
of ingestion destination is Failed
.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when the ingestion destination was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp of when the ingestion destination was last updated.
source§impl IngestionDestination
impl IngestionDestination
sourcepub fn builder() -> IngestionDestinationBuilder
pub fn builder() -> IngestionDestinationBuilder
Creates a new builder-style object to manufacture IngestionDestination
.
Trait Implementations§
source§impl Clone for IngestionDestination
impl Clone for IngestionDestination
source§fn clone(&self) -> IngestionDestination
fn clone(&self) -> IngestionDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IngestionDestination
impl Debug for IngestionDestination
source§impl PartialEq for IngestionDestination
impl PartialEq for IngestionDestination
source§fn eq(&self, other: &IngestionDestination) -> bool
fn eq(&self, other: &IngestionDestination) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IngestionDestination
Auto Trait Implementations§
impl Freeze for IngestionDestination
impl RefUnwindSafe for IngestionDestination
impl Send for IngestionDestination
impl Sync for IngestionDestination
impl Unpin for IngestionDestination
impl UnwindSafe for IngestionDestination
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