/AWS1/CL_APSUSAGERPTSUBSCRIP00¶
Describes information about the usage report subscription.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_s3bucketname TYPE /AWS1/APSSTRING /AWS1/APSSTRING¶
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, WorkSpaces Applications 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, WorkSpaces Applications uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, WorkSpaces Applications creates a new S3 bucket.
iv_schedule TYPE /AWS1/APSUSAGEREPORTSCHEDULE /AWS1/APSUSAGEREPORTSCHEDULE¶
The schedule for generating usage reports.
iv_lastgeneratedreportdate TYPE /AWS1/APSTIMESTAMP /AWS1/APSTIMESTAMP¶
The time when the last usage report was generated.
it_subscriptionerrors TYPE /AWS1/CL_APSLASTRPTGENERATIO00=>TT_LASTRPTGENERATIONEXECERRORS TT_LASTRPTGENERATIONEXECERRORS¶
The errors that were returned if usage reports couldn't be generated.
Queryable Attributes¶
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, WorkSpaces Applications 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, WorkSpaces Applications uses the same bucket to store your usage reports. If you haven't already enabled on-instance session scripts, when you enable usage reports, WorkSpaces Applications creates a new S3 bucket.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_S3BUCKETNAME() |
Getter for S3BUCKETNAME, with configurable default |
ASK_S3BUCKETNAME() |
Getter for S3BUCKETNAME w/ exceptions if field has no value |
HAS_S3BUCKETNAME() |
Determine if S3BUCKETNAME has a value |
Schedule¶
The schedule for generating usage reports.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCHEDULE() |
Getter for SCHEDULE, with configurable default |
ASK_SCHEDULE() |
Getter for SCHEDULE w/ exceptions if field has no value |
HAS_SCHEDULE() |
Determine if SCHEDULE has a value |
LastGeneratedReportDate¶
The time when the last usage report was generated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTGENERATEDREPORTDATE() |
Getter for LASTGENERATEDREPORTDATE, with configurable defaul |
ASK_LASTGENERATEDREPORTDATE() |
Getter for LASTGENERATEDREPORTDATE w/ exceptions if field ha |
HAS_LASTGENERATEDREPORTDATE() |
Determine if LASTGENERATEDREPORTDATE has a value |
SubscriptionErrors¶
The errors that were returned if usage reports couldn't be generated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUBSCRIPTIONERRORS() |
Getter for SUBSCRIPTIONERRORS, with configurable default |
ASK_SUBSCRIPTIONERRORS() |
Getter for SUBSCRIPTIONERRORS w/ exceptions if field has no |
HAS_SUBSCRIPTIONERRORS() |
Determine if SUBSCRIPTIONERRORS has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_USAGEREPORTSUBSCRIPTIONLIST¶
TYPES TT_USAGEREPORTSUBSCRIPTIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_APSUSAGERPTSUBSCRIP00 WITH DEFAULT KEY
.