pub struct ChannelStorage {
pub customer_managed_s3: Option<CustomerManagedChannelS3Storage>,
pub service_managed_s3: Option<ServiceManagedChannelS3Storage>,
}Expand description
Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
Fields§
§customer_managed_s3: Option<CustomerManagedChannelS3Storage>Use this to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
service_managed_s3: Option<ServiceManagedChannelS3Storage>Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
Trait Implementations§
Source§impl Clone for ChannelStorage
impl Clone for ChannelStorage
Source§fn clone(&self) -> ChannelStorage
fn clone(&self) -> ChannelStorage
Returns a duplicate 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 ChannelStorage
impl Debug for ChannelStorage
Source§impl Default for ChannelStorage
impl Default for ChannelStorage
Source§fn default() -> ChannelStorage
fn default() -> ChannelStorage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelStorage
impl<'de> Deserialize<'de> for ChannelStorage
Source§fn 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
Source§impl PartialEq for ChannelStorage
impl PartialEq for ChannelStorage
Source§impl Serialize for ChannelStorage
impl Serialize for ChannelStorage
impl StructuralPartialEq for ChannelStorage
Auto Trait Implementations§
impl Freeze for ChannelStorage
impl RefUnwindSafe for ChannelStorage
impl Send for ChannelStorage
impl Sync for ChannelStorage
impl Unpin for ChannelStorage
impl UnwindSafe for ChannelStorage
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