Struct aws_sdk_firehose::model::DeliveryStreamDescription
source · [−]#[non_exhaustive]pub struct DeliveryStreamDescription {
pub delivery_stream_name: Option<String>,
pub delivery_stream_arn: Option<String>,
pub delivery_stream_status: Option<DeliveryStreamStatus>,
pub failure_description: Option<FailureDescription>,
pub delivery_stream_encryption_configuration: Option<DeliveryStreamEncryptionConfiguration>,
pub delivery_stream_type: Option<DeliveryStreamType>,
pub version_id: Option<String>,
pub create_timestamp: Option<DateTime>,
pub last_update_timestamp: Option<DateTime>,
pub source: Option<SourceDescription>,
pub destinations: Option<Vec<DestinationDescription>>,
pub has_more_destinations: Option<bool>,
}
Expand description
Contains information about a delivery stream.
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.delivery_stream_name: Option<String>
The name of the delivery stream.
delivery_stream_arn: Option<String>
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
delivery_stream_status: Option<DeliveryStreamStatus>
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream
operation to delete it.
failure_description: Option<FailureDescription>
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream
, DeleteDeliveryStream
, StartDeliveryStreamEncryption
, StopDeliveryStreamEncryption
.
delivery_stream_encryption_configuration: Option<DeliveryStreamEncryptionConfiguration>
Indicates the server-side encryption (SSE) status for the delivery stream.
delivery_stream_type: Option<DeliveryStreamType>
The delivery stream type. This can be one of the following values:
-
DirectPut
: Provider applications access the delivery stream directly. -
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
version_id: Option<String>
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
create_timestamp: Option<DateTime>
The date and time that the delivery stream was created.
last_update_timestamp: Option<DateTime>
The date and time that the delivery stream was last updated.
source: Option<SourceDescription>
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a SourceDescription
object describing the source Kinesis data stream.
destinations: Option<Vec<DestinationDescription>>
The destinations.
has_more_destinations: Option<bool>
Indicates whether there are more destinations available to list.
Implementations
sourceimpl DeliveryStreamDescription
impl DeliveryStreamDescription
sourcepub fn delivery_stream_name(&self) -> Option<&str>
pub fn delivery_stream_name(&self) -> Option<&str>
The name of the delivery stream.
sourcepub fn delivery_stream_arn(&self) -> Option<&str>
pub fn delivery_stream_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
sourcepub fn delivery_stream_status(&self) -> Option<&DeliveryStreamStatus>
pub fn delivery_stream_status(&self) -> Option<&DeliveryStreamStatus>
The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream
operation to delete it.
sourcepub fn failure_description(&self) -> Option<&FailureDescription>
pub fn failure_description(&self) -> Option<&FailureDescription>
Provides details in case one of the following operations fails due to an error related to KMS: CreateDeliveryStream
, DeleteDeliveryStream
, StartDeliveryStreamEncryption
, StopDeliveryStreamEncryption
.
sourcepub fn delivery_stream_encryption_configuration(
&self
) -> Option<&DeliveryStreamEncryptionConfiguration>
pub fn delivery_stream_encryption_configuration(
&self
) -> Option<&DeliveryStreamEncryptionConfiguration>
Indicates the server-side encryption (SSE) status for the delivery stream.
sourcepub fn delivery_stream_type(&self) -> Option<&DeliveryStreamType>
pub fn delivery_stream_type(&self) -> Option<&DeliveryStreamType>
The delivery stream type. This can be one of the following values:
-
DirectPut
: Provider applications access the delivery stream directly. -
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream as a source.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Each time the destination is updated for a delivery stream, the version ID is changed, and the current version ID is required when updating the destination. This is so that the service knows it is applying the changes to the correct version of the delivery stream.
sourcepub fn create_timestamp(&self) -> Option<&DateTime>
pub fn create_timestamp(&self) -> Option<&DateTime>
The date and time that the delivery stream was created.
sourcepub fn last_update_timestamp(&self) -> Option<&DateTime>
pub fn last_update_timestamp(&self) -> Option<&DateTime>
The date and time that the delivery stream was last updated.
sourcepub fn source(&self) -> Option<&SourceDescription>
pub fn source(&self) -> Option<&SourceDescription>
If the DeliveryStreamType
parameter is KinesisStreamAsSource
, a SourceDescription
object describing the source Kinesis data stream.
sourcepub fn destinations(&self) -> Option<&[DestinationDescription]>
pub fn destinations(&self) -> Option<&[DestinationDescription]>
The destinations.
sourcepub fn has_more_destinations(&self) -> Option<bool>
pub fn has_more_destinations(&self) -> Option<bool>
Indicates whether there are more destinations available to list.
sourceimpl DeliveryStreamDescription
impl DeliveryStreamDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeliveryStreamDescription
Trait Implementations
sourceimpl Clone for DeliveryStreamDescription
impl Clone for DeliveryStreamDescription
sourcefn clone(&self) -> DeliveryStreamDescription
fn clone(&self) -> DeliveryStreamDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeliveryStreamDescription
impl Debug for DeliveryStreamDescription
sourceimpl PartialEq<DeliveryStreamDescription> for DeliveryStreamDescription
impl PartialEq<DeliveryStreamDescription> for DeliveryStreamDescription
sourcefn eq(&self, other: &DeliveryStreamDescription) -> bool
fn eq(&self, other: &DeliveryStreamDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeliveryStreamDescription) -> bool
fn ne(&self, other: &DeliveryStreamDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for DeliveryStreamDescription
Auto Trait Implementations
impl RefUnwindSafe for DeliveryStreamDescription
impl Send for DeliveryStreamDescription
impl Sync for DeliveryStreamDescription
impl Unpin for DeliveryStreamDescription
impl UnwindSafe for DeliveryStreamDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more