Module Values.CreateUsageReportSubscriptionResultSource

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

Sourcetype nonrec t = {
  1. s3BucketName : String_.t option;
    (*

    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.

    *)
  2. schedule : UsageReportSchedule.t option;
    (*

    The schedule for generating usage reports.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidAccountStatusException of InvalidAccountStatusException.t
  2. | `InvalidRoleException of InvalidRoleException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?s3BucketName:??? -> ?schedule:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidAccountStatusException of InvalidAccountStatusException.t | `InvalidRoleException of InvalidRoleException.t | `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidAccountStatusException of InvalidAccountStatusException.t | `InvalidRoleException of InvalidRoleException.t | `LimitExceededException of LimitExceededException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t