Struct aws_sdk_appfabric::types::IngestionDestination
source · #[non_exhaustive]pub struct IngestionDestination {
pub arn: Option<String>,
pub ingestion_arn: Option<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: Option<String>
The Amazon Resource Name (ARN) of the ingestion destination.
ingestion_arn: Option<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) -> Option<&str>
pub fn ingestion_arn(&self) -> Option<&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<IngestionDestination> for IngestionDestination
impl PartialEq<IngestionDestination> 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 ==
.