pub struct UsageReportSubscription {
pub last_generated_report_date: Option<f64>,
pub s3_bucket_name: Option<String>,
pub schedule: Option<String>,
pub subscription_errors: Option<Vec<LastReportGenerationExecutionError>>,
}
Expand description
Describes information about the usage report subscription.
Fields§
§last_generated_report_date: Option<f64>
The time when the last usage report was generated.
s3_bucket_name: Option<String>
The Amazon S3 bucket where generated reports are stored.
If you enabled on-instance session scripts and Amazon S3 logging for your session script configuration, AppStream 2.0 created an S3 bucket to store the script output. The bucket is unique to your account and Region. When you enable usage reporting in this case, AppStream 2.0 uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, AppStream 2.0 creates a new S3 bucket.
schedule: Option<String>
The schedule for generating usage reports.
subscription_errors: Option<Vec<LastReportGenerationExecutionError>>
The errors that were returned if usage reports couldn't be generated.
Trait Implementations§
Source§impl Clone for UsageReportSubscription
impl Clone for UsageReportSubscription
Source§fn clone(&self) -> UsageReportSubscription
fn clone(&self) -> UsageReportSubscription
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 UsageReportSubscription
impl Debug for UsageReportSubscription
Source§impl Default for UsageReportSubscription
impl Default for UsageReportSubscription
Source§fn default() -> UsageReportSubscription
fn default() -> UsageReportSubscription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageReportSubscription
impl<'de> Deserialize<'de> for UsageReportSubscription
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 UsageReportSubscription
impl PartialEq for UsageReportSubscription
impl StructuralPartialEq for UsageReportSubscription
Auto Trait Implementations§
impl Freeze for UsageReportSubscription
impl RefUnwindSafe for UsageReportSubscription
impl Send for UsageReportSubscription
impl Sync for UsageReportSubscription
impl Unpin for UsageReportSubscription
impl UnwindSafe for UsageReportSubscription
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