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
sourceimpl SchemaConfiguration
impl SchemaConfiguration
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
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.
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
The ID of the AWS Glue Data Catalog. If you don't supply this, the AWS account ID is used by default.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
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.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
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.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
If you don't specify an AWS Region, the default is the current Region.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
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.
sourceimpl SchemaConfiguration
impl SchemaConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SchemaConfiguration
Trait Implementations
sourceimpl Clone for SchemaConfiguration
impl Clone for SchemaConfiguration
sourcefn clone(&self) -> SchemaConfiguration
fn clone(&self) -> SchemaConfiguration
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 SchemaConfiguration
impl Debug for SchemaConfiguration
sourceimpl PartialEq<SchemaConfiguration> for SchemaConfiguration
impl PartialEq<SchemaConfiguration> for SchemaConfiguration
sourcefn eq(&self, other: &SchemaConfiguration) -> bool
fn eq(&self, other: &SchemaConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SchemaConfiguration) -> bool
fn ne(&self, other: &SchemaConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for SchemaConfiguration
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
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