Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data UsageReportSubscription = UsageReportSubscription' {}
- newUsageReportSubscription :: UsageReportSubscription
- usageReportSubscription_lastGeneratedReportDate :: Lens' UsageReportSubscription (Maybe UTCTime)
- usageReportSubscription_schedule :: Lens' UsageReportSubscription (Maybe UsageReportSchedule)
- usageReportSubscription_subscriptionErrors :: Lens' UsageReportSubscription (Maybe [LastReportGenerationExecutionError])
- usageReportSubscription_s3BucketName :: Lens' UsageReportSubscription (Maybe Text)
Documentation
data UsageReportSubscription Source #
Describes information about the usage report subscription.
See: newUsageReportSubscription
smart constructor.
UsageReportSubscription' | |
|
Instances
newUsageReportSubscription :: UsageReportSubscription Source #
Create a value of UsageReportSubscription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:lastGeneratedReportDate:UsageReportSubscription'
, usageReportSubscription_lastGeneratedReportDate
- The time when the last usage report was generated.
$sel:schedule:UsageReportSubscription'
, usageReportSubscription_schedule
- The schedule for generating usage reports.
$sel:subscriptionErrors:UsageReportSubscription'
, usageReportSubscription_subscriptionErrors
- The errors that were returned if usage reports couldn't be generated.
$sel:s3BucketName:UsageReportSubscription'
, usageReportSubscription_s3BucketName
- 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.
usageReportSubscription_lastGeneratedReportDate :: Lens' UsageReportSubscription (Maybe UTCTime) Source #
The time when the last usage report was generated.
usageReportSubscription_schedule :: Lens' UsageReportSubscription (Maybe UsageReportSchedule) Source #
The schedule for generating usage reports.
usageReportSubscription_subscriptionErrors :: Lens' UsageReportSubscription (Maybe [LastReportGenerationExecutionError]) Source #
The errors that were returned if usage reports couldn't be generated.
usageReportSubscription_s3BucketName :: Lens' UsageReportSubscription (Maybe Text) Source #
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.