libZSservicesZSamazonka-appstreamZSamazonka-appstream
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppStream.CreateUsageReportSubscription

Description

Creates a usage report subscription. Usage reports are generated daily.

Synopsis

Creating a Request

data CreateUsageReportSubscription Source #

See: newCreateUsageReportSubscription smart constructor.

Instances

Instances details
Eq CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Read CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Show CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Generic CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Associated Types

type Rep CreateUsageReportSubscription :: Type -> Type #

NFData CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Hashable CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

ToJSON CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

AWSRequest CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

ToHeaders CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

ToPath CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

ToQuery CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

type Rep CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

type Rep CreateUsageReportSubscription = D1 ('MetaData "CreateUsageReportSubscription" "Amazonka.AppStream.CreateUsageReportSubscription" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CreateUsageReportSubscription'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse CreateUsageReportSubscription Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

newCreateUsageReportSubscription :: CreateUsageReportSubscription Source #

Create a value of CreateUsageReportSubscription with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data CreateUsageReportSubscriptionResponse Source #

Constructors

CreateUsageReportSubscriptionResponse' 

Fields

  • schedule :: Maybe UsageReportSchedule

    The schedule for generating usage reports.

  • s3BucketName :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateUsageReportSubscriptionResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Read CreateUsageReportSubscriptionResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Show CreateUsageReportSubscriptionResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

Generic CreateUsageReportSubscriptionResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

NFData CreateUsageReportSubscriptionResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

type Rep CreateUsageReportSubscriptionResponse Source # 
Instance details

Defined in Amazonka.AppStream.CreateUsageReportSubscription

type Rep CreateUsageReportSubscriptionResponse = D1 ('MetaData "CreateUsageReportSubscriptionResponse" "Amazonka.AppStream.CreateUsageReportSubscription" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" 'False) (C1 ('MetaCons "CreateUsageReportSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schedule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageReportSchedule)) :*: (S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateUsageReportSubscriptionResponse Source #

Create a value of CreateUsageReportSubscriptionResponse 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:schedule:CreateUsageReportSubscriptionResponse', createUsageReportSubscriptionResponse_schedule - The schedule for generating usage reports.

$sel:s3BucketName:CreateUsageReportSubscriptionResponse', createUsageReportSubscriptionResponse_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.

$sel:httpStatus:CreateUsageReportSubscriptionResponse', createUsageReportSubscriptionResponse_httpStatus - The response's http status code.

Response Lenses

createUsageReportSubscriptionResponse_s3BucketName :: Lens' CreateUsageReportSubscriptionResponse (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.