pub struct S3ReferenceDataSource {
pub bucket_arn: String,
pub file_key: String,
pub reference_role_arn: String,
}
Expand description
Identifies the S3 bucket and object that contains the reference data. Also identifies the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf.
An Amazon Kinesis Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
Fields
bucket_arn: String
Amazon Resource Name (ARN) of the S3 bucket.
file_key: String
Object key name containing reference data.
reference_role_arn: String
ARN of the IAM role that the service can assume to read data on your behalf. This role must have permission for the s3:GetObject
action on the object and trust policy that allows Amazon Kinesis Analytics service principal to assume this role.
Trait Implementations
sourceimpl Clone for S3ReferenceDataSource
impl Clone for S3ReferenceDataSource
sourcefn clone(&self) -> S3ReferenceDataSource
fn clone(&self) -> S3ReferenceDataSource
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 S3ReferenceDataSource
impl Debug for S3ReferenceDataSource
sourceimpl Default for S3ReferenceDataSource
impl Default for S3ReferenceDataSource
sourcefn default() -> S3ReferenceDataSource
fn default() -> S3ReferenceDataSource
Returns the “default value” for a type. Read more
sourceimpl PartialEq<S3ReferenceDataSource> for S3ReferenceDataSource
impl PartialEq<S3ReferenceDataSource> for S3ReferenceDataSource
sourcefn eq(&self, other: &S3ReferenceDataSource) -> bool
fn eq(&self, other: &S3ReferenceDataSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3ReferenceDataSource) -> bool
fn ne(&self, other: &S3ReferenceDataSource) -> bool
This method tests for !=
.
sourceimpl Serialize for S3ReferenceDataSource
impl Serialize for S3ReferenceDataSource
impl StructuralPartialEq for S3ReferenceDataSource
Auto Trait Implementations
impl RefUnwindSafe for S3ReferenceDataSource
impl Send for S3ReferenceDataSource
impl Sync for S3ReferenceDataSource
impl Unpin for S3ReferenceDataSource
impl UnwindSafe for S3ReferenceDataSource
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