#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for CreateDeliveryStreamInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn delivery_stream_name(self, input: impl Into<String>) -> Self
pub fn delivery_stream_name(self, input: impl Into<String>) -> Self
The name of the delivery stream. This name must be unique per AWS account in the same AWS Region. If the delivery streams are in different accounts or different Regions, you can have multiple delivery streams with the same name.
sourcepub fn set_delivery_stream_name(self, input: Option<String>) -> Self
pub fn set_delivery_stream_name(self, input: Option<String>) -> Self
The name of the delivery stream. This name must be unique per AWS account in the same AWS Region. If the delivery streams are in different accounts or different Regions, you can have multiple delivery streams with the same name.
sourcepub fn delivery_stream_type(self, input: DeliveryStreamType) -> Self
pub fn delivery_stream_type(self, input: DeliveryStreamType) -> Self
The delivery stream type. This parameter 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 set_delivery_stream_type(self, input: Option<DeliveryStreamType>) -> Self
pub fn set_delivery_stream_type(self, input: Option<DeliveryStreamType>) -> Self
The delivery stream type. This parameter 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 kinesis_stream_source_configuration(
self,
input: KinesisStreamSourceConfiguration
) -> Self
pub fn kinesis_stream_source_configuration(
self,
input: KinesisStreamSourceConfiguration
) -> Self
When a Kinesis data stream is used as the source for the delivery stream, a KinesisStreamSourceConfiguration
containing the Kinesis data stream Amazon Resource Name (ARN) and the role ARN for the source stream.
sourcepub fn set_kinesis_stream_source_configuration(
self,
input: Option<KinesisStreamSourceConfiguration>
) -> Self
pub fn set_kinesis_stream_source_configuration(
self,
input: Option<KinesisStreamSourceConfiguration>
) -> Self
When a Kinesis data stream is used as the source for the delivery stream, a KinesisStreamSourceConfiguration
containing the Kinesis data stream Amazon Resource Name (ARN) and the role ARN for the source stream.
sourcepub fn delivery_stream_encryption_configuration_input(
self,
input: DeliveryStreamEncryptionConfigurationInput
) -> Self
pub fn delivery_stream_encryption_configuration_input(
self,
input: DeliveryStreamEncryptionConfigurationInput
) -> Self
Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).
sourcepub fn set_delivery_stream_encryption_configuration_input(
self,
input: Option<DeliveryStreamEncryptionConfigurationInput>
) -> Self
pub fn set_delivery_stream_encryption_configuration_input(
self,
input: Option<DeliveryStreamEncryptionConfigurationInput>
) -> Self
Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).
sourcepub fn s3_destination_configuration(
self,
input: S3DestinationConfiguration
) -> Self
pub fn s3_destination_configuration(
self,
input: S3DestinationConfiguration
) -> Self
[Deprecated] The destination in Amazon S3. You can specify only one destination.
sourcepub fn set_s3_destination_configuration(
self,
input: Option<S3DestinationConfiguration>
) -> Self
pub fn set_s3_destination_configuration(
self,
input: Option<S3DestinationConfiguration>
) -> Self
[Deprecated] The destination in Amazon S3. You can specify only one destination.
sourcepub fn extended_s3_destination_configuration(
self,
input: ExtendedS3DestinationConfiguration
) -> Self
pub fn extended_s3_destination_configuration(
self,
input: ExtendedS3DestinationConfiguration
) -> Self
The destination in Amazon S3. You can specify only one destination.
sourcepub fn set_extended_s3_destination_configuration(
self,
input: Option<ExtendedS3DestinationConfiguration>
) -> Self
pub fn set_extended_s3_destination_configuration(
self,
input: Option<ExtendedS3DestinationConfiguration>
) -> Self
The destination in Amazon S3. You can specify only one destination.
sourcepub fn redshift_destination_configuration(
self,
input: RedshiftDestinationConfiguration
) -> Self
pub fn redshift_destination_configuration(
self,
input: RedshiftDestinationConfiguration
) -> Self
The destination in Amazon Redshift. You can specify only one destination.
sourcepub fn set_redshift_destination_configuration(
self,
input: Option<RedshiftDestinationConfiguration>
) -> Self
pub fn set_redshift_destination_configuration(
self,
input: Option<RedshiftDestinationConfiguration>
) -> Self
The destination in Amazon Redshift. You can specify only one destination.
sourcepub fn elasticsearch_destination_configuration(
self,
input: ElasticsearchDestinationConfiguration
) -> Self
pub fn elasticsearch_destination_configuration(
self,
input: ElasticsearchDestinationConfiguration
) -> Self
The destination in Amazon ES. You can specify only one destination.
sourcepub fn set_elasticsearch_destination_configuration(
self,
input: Option<ElasticsearchDestinationConfiguration>
) -> Self
pub fn set_elasticsearch_destination_configuration(
self,
input: Option<ElasticsearchDestinationConfiguration>
) -> Self
The destination in Amazon ES. You can specify only one destination.
pub fn amazonopensearchservice_destination_configuration(
self,
input: AmazonopensearchserviceDestinationConfiguration
) -> Self
pub fn set_amazonopensearchservice_destination_configuration(
self,
input: Option<AmazonopensearchserviceDestinationConfiguration>
) -> Self
sourcepub fn splunk_destination_configuration(
self,
input: SplunkDestinationConfiguration
) -> Self
pub fn splunk_destination_configuration(
self,
input: SplunkDestinationConfiguration
) -> Self
The destination in Splunk. You can specify only one destination.
sourcepub fn set_splunk_destination_configuration(
self,
input: Option<SplunkDestinationConfiguration>
) -> Self
pub fn set_splunk_destination_configuration(
self,
input: Option<SplunkDestinationConfiguration>
) -> Self
The destination in Splunk. You can specify only one destination.
sourcepub fn http_endpoint_destination_configuration(
self,
input: HttpEndpointDestinationConfiguration
) -> Self
pub fn http_endpoint_destination_configuration(
self,
input: HttpEndpointDestinationConfiguration
) -> Self
Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. You can specify only one destination.
sourcepub fn set_http_endpoint_destination_configuration(
self,
input: Option<HttpEndpointDestinationConfiguration>
) -> Self
pub fn set_http_endpoint_destination_configuration(
self,
input: Option<HttpEndpointDestinationConfiguration>
) -> Self
Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. You can specify only one destination.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A set of tags to assign to the delivery stream. A tag is a key-value pair that you can define and assign to AWS resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the delivery stream. For more information about tags, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
You can specify up to 50 tags when creating a delivery stream.
A set of tags to assign to the delivery stream. A tag is a key-value pair that you can define and assign to AWS resources. Tags are metadata. For example, you can add friendly names and descriptions or other types of information that can help you distinguish the delivery stream. For more information about tags, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
You can specify up to 50 tags when creating a delivery stream.
sourcepub fn build(self) -> Result<CreateDeliveryStreamInput, BuildError>
pub fn build(self) -> Result<CreateDeliveryStreamInput, BuildError>
Consumes the builder and constructs a CreateDeliveryStreamInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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