pub struct S3DestinationConfiguration {
pub bucket: String,
pub glue_configuration: Option<GlueConfiguration>,
pub key: String,
pub role_arn: String,
}
Expand description
Configuration information for delivery of dataset contents to Amazon Simple Storage Service (Amazon S3).
Fields
bucket: String
The name of the S3 bucket to which dataset contents are delivered.
glue_configuration: Option<GlueConfiguration>
Configuration information for coordination with AWS Glue, a fully managed extract, transform and load (ETL) service.
key: String
The key of the dataset contents object in an S3 bucket. Each object has a key that is a unique identifier. Each object has exactly one key.
You can create a unique key with the following options:
-
Use
!{iotanalytics:scheduleTime}
to insert the time of a scheduled SQL query run. -
Use
!{iotanalytics:versionId}
to insert a unique hash that identifies a dataset content. -
Use
!{iotanalytics:creationTime}
to insert the creation time of a dataset content.
The following example creates a unique key for a CSV file: dataset/mydataset/!{iotanalytics:scheduleTime}/!{iotanalytics:versionId}.csv
If you don't use !{iotanalytics:versionId}
to specify the key, you might get duplicate keys. For example, you might have two dataset contents with the same scheduleTime
but different versionId
s. This means that one dataset content overwrites the other.
role_arn: String
The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 and AWS Glue resources.
Trait Implementations
sourceimpl Clone for S3DestinationConfiguration
impl Clone for S3DestinationConfiguration
sourcefn clone(&self) -> S3DestinationConfiguration
fn clone(&self) -> S3DestinationConfiguration
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 S3DestinationConfiguration
impl Debug for S3DestinationConfiguration
sourceimpl Default for S3DestinationConfiguration
impl Default for S3DestinationConfiguration
sourcefn default() -> S3DestinationConfiguration
fn default() -> S3DestinationConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for S3DestinationConfiguration
impl<'de> Deserialize<'de> for S3DestinationConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<S3DestinationConfiguration> for S3DestinationConfiguration
impl PartialEq<S3DestinationConfiguration> for S3DestinationConfiguration
sourcefn eq(&self, other: &S3DestinationConfiguration) -> bool
fn eq(&self, other: &S3DestinationConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3DestinationConfiguration) -> bool
fn ne(&self, other: &S3DestinationConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for S3DestinationConfiguration
Auto Trait Implementations
impl RefUnwindSafe for S3DestinationConfiguration
impl Send for S3DestinationConfiguration
impl Sync for S3DestinationConfiguration
impl Unpin for S3DestinationConfiguration
impl UnwindSafe for S3DestinationConfiguration
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