Struct aws_sdk_firehose::input::CreateDeliveryStreamInput
source ·
[−]#[non_exhaustive]pub struct CreateDeliveryStreamInput {
pub delivery_stream_name: Option<String>,
pub delivery_stream_type: Option<DeliveryStreamType>,
pub kinesis_stream_source_configuration: Option<KinesisStreamSourceConfiguration>,
pub delivery_stream_encryption_configuration_input: Option<DeliveryStreamEncryptionConfigurationInput>,
pub s3_destination_configuration: Option<S3DestinationConfiguration>,
pub extended_s3_destination_configuration: Option<ExtendedS3DestinationConfiguration>,
pub redshift_destination_configuration: Option<RedshiftDestinationConfiguration>,
pub elasticsearch_destination_configuration: Option<ElasticsearchDestinationConfiguration>,
pub amazonopensearchservice_destination_configuration: Option<AmazonopensearchserviceDestinationConfiguration>,
pub splunk_destination_configuration: Option<SplunkDestinationConfiguration>,
pub http_endpoint_destination_configuration: Option<HttpEndpointDestinationConfiguration>,
pub tags: Option<Vec<Tag>>,
}
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. 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.
delivery_stream_type: Option<DeliveryStreamType>
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.
kinesis_stream_source_configuration: Option<KinesisStreamSourceConfiguration>
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.
delivery_stream_encryption_configuration_input: Option<DeliveryStreamEncryptionConfigurationInput>
Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).
s3_destination_configuration: Option<S3DestinationConfiguration>
[Deprecated] The destination in Amazon S3. You can specify only one destination.
extended_s3_destination_configuration: Option<ExtendedS3DestinationConfiguration>
The destination in Amazon S3. You can specify only one destination.
redshift_destination_configuration: Option<RedshiftDestinationConfiguration>
The destination in Amazon Redshift. You can specify only one destination.
elasticsearch_destination_configuration: Option<ElasticsearchDestinationConfiguration>
The destination in Amazon ES. You can specify only one destination.
amazonopensearchservice_destination_configuration: Option<AmazonopensearchserviceDestinationConfiguration>
splunk_destination_configuration: Option<SplunkDestinationConfiguration>
The destination in Splunk. You can specify only one destination.
http_endpoint_destination_configuration: Option<HttpEndpointDestinationConfiguration>
Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. You can specify only one destination.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDeliveryStream, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDeliveryStream, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateDeliveryStream
>
Creates a new builder-style object to manufacture CreateDeliveryStreamInput
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.
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.
pub fn kinesis_stream_source_configuration(
&self
) -> Option<&KinesisStreamSourceConfiguration>
pub fn kinesis_stream_source_configuration(
&self
) -> Option<&KinesisStreamSourceConfiguration>
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.
Used to specify the type and Amazon Resource Name (ARN) of the KMS key needed for Server-Side Encryption (SSE).
[Deprecated] The destination in Amazon S3. You can specify only one destination.
pub fn extended_s3_destination_configuration(
&self
) -> Option<&ExtendedS3DestinationConfiguration>
pub fn extended_s3_destination_configuration(
&self
) -> Option<&ExtendedS3DestinationConfiguration>
The destination in Amazon S3. You can specify only one destination.
pub fn redshift_destination_configuration(
&self
) -> Option<&RedshiftDestinationConfiguration>
pub fn redshift_destination_configuration(
&self
) -> Option<&RedshiftDestinationConfiguration>
The destination in Amazon Redshift. You can specify only one destination.
pub fn elasticsearch_destination_configuration(
&self
) -> Option<&ElasticsearchDestinationConfiguration>
pub fn elasticsearch_destination_configuration(
&self
) -> Option<&ElasticsearchDestinationConfiguration>
The destination in Amazon ES. You can specify only one destination.
pub fn amazonopensearchservice_destination_configuration(
&self
) -> Option<&AmazonopensearchserviceDestinationConfiguration>
The destination in Splunk. You can specify only one destination.
pub fn http_endpoint_destination_configuration(
&self
) -> Option<&HttpEndpointDestinationConfiguration>
pub fn http_endpoint_destination_configuration(
&self
) -> Option<&HttpEndpointDestinationConfiguration>
Enables configuring Kinesis Firehose to deliver data to any HTTP endpoint destination. You can specify only one destination.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateDeliveryStreamInput
impl Send for CreateDeliveryStreamInput
impl Sync for CreateDeliveryStreamInput
impl Unpin for CreateDeliveryStreamInput
impl UnwindSafe for CreateDeliveryStreamInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more