#[non_exhaustive]pub struct CustomerManagedS3Storage {
pub s3_resource_arn: String,
pub role_arn: String,
}Expand description
Contains information about a customer managed Amazon S3 bucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.s3_resource_arn: StringThe ARN of the Amazon S3 object. For more information about how to find the ARN for an Amazon S3 object, see Amazon S3 resources in the Amazon Simple Storage Service User Guide.
role_arn: StringThe ARN of the Identity and Access Management role that allows IoT SiteWise to send data to Amazon S3.
Implementations§
source§impl CustomerManagedS3Storage
impl CustomerManagedS3Storage
sourcepub fn s3_resource_arn(&self) -> &str
pub fn s3_resource_arn(&self) -> &str
The ARN of the Amazon S3 object. For more information about how to find the ARN for an Amazon S3 object, see Amazon S3 resources in the Amazon Simple Storage Service User Guide.
source§impl CustomerManagedS3Storage
impl CustomerManagedS3Storage
sourcepub fn builder() -> CustomerManagedS3StorageBuilder
pub fn builder() -> CustomerManagedS3StorageBuilder
Creates a new builder-style object to manufacture CustomerManagedS3Storage.
Trait Implementations§
source§impl Clone for CustomerManagedS3Storage
impl Clone for CustomerManagedS3Storage
source§fn clone(&self) -> CustomerManagedS3Storage
fn clone(&self) -> CustomerManagedS3Storage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CustomerManagedS3Storage
impl Debug for CustomerManagedS3Storage
source§impl PartialEq for CustomerManagedS3Storage
impl PartialEq for CustomerManagedS3Storage
source§fn eq(&self, other: &CustomerManagedS3Storage) -> bool
fn eq(&self, other: &CustomerManagedS3Storage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CustomerManagedS3Storage
Auto Trait Implementations§
impl RefUnwindSafe for CustomerManagedS3Storage
impl Send for CustomerManagedS3Storage
impl Sync for CustomerManagedS3Storage
impl Unpin for CustomerManagedS3Storage
impl UnwindSafe for CustomerManagedS3Storage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.