You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AppStream::Types::UsageReportSubscription

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appstream/lib/aws-sdk-appstream/types.rb

Overview

Describes information about the usage report subscription.

Instance Attribute Summary collapse

Instance Attribute Details

#last_generated_report_dateTime

The time when the last usage report was generated.

Returns:

  • (Time)


3638
3639
3640
3641
3642
3643
3644
# File 'gems/aws-sdk-appstream/lib/aws-sdk-appstream/types.rb', line 3638

class UsageReportSubscription < Struct.new(
  :s3_bucket_name,
  :schedule,
  :last_generated_report_date,
  :subscription_errors)
  include Aws::Structure
end

#s3_bucket_nameString

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.

Returns:

  • (String)


3638
3639
3640
3641
3642
3643
3644
# File 'gems/aws-sdk-appstream/lib/aws-sdk-appstream/types.rb', line 3638

class UsageReportSubscription < Struct.new(
  :s3_bucket_name,
  :schedule,
  :last_generated_report_date,
  :subscription_errors)
  include Aws::Structure
end

#scheduleString

The schedule for generating usage reports.

Returns:

  • (String)


3638
3639
3640
3641
3642
3643
3644
# File 'gems/aws-sdk-appstream/lib/aws-sdk-appstream/types.rb', line 3638

class UsageReportSubscription < Struct.new(
  :s3_bucket_name,
  :schedule,
  :last_generated_report_date,
  :subscription_errors)
  include Aws::Structure
end

#subscription_errorsArray<Types::LastReportGenerationExecutionError>

The errors that were returned if usage reports couldn't be generated.



3638
3639
3640
3641
3642
3643
3644
# File 'gems/aws-sdk-appstream/lib/aws-sdk-appstream/types.rb', line 3638

class UsageReportSubscription < Struct.new(
  :s3_bucket_name,
  :schedule,
  :last_generated_report_date,
  :subscription_errors)
  include Aws::Structure
end