Struct aws_sdk_firehose::model::SchemaConfiguration
source ·
[−]#[non_exhaustive]pub struct SchemaConfiguration {
pub role_arn: Option<String>,
pub catalog_id: Option<String>,
pub database_name: Option<String>,
pub table_name: Option<String>,
pub region: Option<String>,
pub version_id: Option<String>,
}
Expand description
Specifies the schema to which you want Kinesis Data Firehose to configure your data before it writes it to Amazon S3. This parameter is required if Enabled
is set to true.
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.role_arn: Option<String>
The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the SchemaConfiguration
request parameter is used as part of invoking the CreateDeliveryStream
API, then the RoleARN
property is required and its value must be specified.
catalog_id: Option<String>
The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
database_name: Option<String>
Specifies the name of the AWS Glue database that contains the schema for the output data.
If the SchemaConfiguration
request parameter is used as part of invoking the CreateDeliveryStream
API, then the DatabaseName
property is required and its value must be specified.
table_name: Option<String>
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
If the SchemaConfiguration
request parameter is used as part of invoking the CreateDeliveryStream
API, then the TableName
property is required and its value must be specified.
region: Option<String>
If you don't specify an AWS Region, the default is the current Region.
version_id: Option<String>
Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to LATEST
, Kinesis Data Firehose uses the most recent version. This means that any updates to the table are automatically picked up.
Implementations
The role that Kinesis Data Firehose can use to access AWS Glue. This role must be in the same account you use for Kinesis Data Firehose. Cross-account roles aren't allowed.
If the SchemaConfiguration
request parameter is used as part of invoking the CreateDeliveryStream
API, then the RoleARN
property is required and its value must be specified.
The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
Specifies the name of the AWS Glue database that contains the schema for the output data.
If the SchemaConfiguration
request parameter is used as part of invoking the CreateDeliveryStream
API, then the DatabaseName
property is required and its value must be specified.
Specifies the AWS Glue table that contains the column information that constitutes your data schema.
If the SchemaConfiguration
request parameter is used as part of invoking the CreateDeliveryStream
API, then the TableName
property is required and its value must be specified.
If you don't specify an AWS Region, the default is the current Region.
Specifies the table version for the output data schema. If you don't specify this version ID, or if you set it to LATEST
, Kinesis Data Firehose uses the most recent version. This means that any updates to the table are automatically picked up.
Creates a new builder-style object to manufacture SchemaConfiguration
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 SchemaConfiguration
impl Send for SchemaConfiguration
impl Sync for SchemaConfiguration
impl Unpin for SchemaConfiguration
impl UnwindSafe for SchemaConfiguration
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