Module Values.CreateReportPlanInputSource

Creates a report plan. A report plan is a document that contains information about the contents of the report and where Backup will deliver it. If you call CreateReportPlan with a plan that already exists, you receive an AlreadyExistsException exception.

Sourcetype nonrec t = {
  1. reportPlanName : ReportPlanName.t;
    (*

    The unique name of the report plan. The name must be between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).

    *)
  2. reportPlanDescription : ReportPlanDescription.t option;
    (*

    An optional description of the report plan with a maximum of 1,024 characters.

    *)
  3. reportDeliveryChannel : ReportDeliveryChannel.t;
    (*

    A structure that contains information about where and how to deliver your reports, specifically your Amazon S3 bucket name, S3 key prefix, and the formats of your reports.

    *)
  4. reportSetting : ReportSetting.t;
    (*

    Identifies the report template for the report. Reports are built using a report template. The report templates are: RESOURCE_COMPLIANCE_REPORT | CONTROL_COMPLIANCE_REPORT | BACKUP_JOB_REPORT | COPY_JOB_REPORT | RESTORE_JOB_REPORT | SCAN_JOB_REPORT If the report template is RESOURCE_COMPLIANCE_REPORT or CONTROL_COMPLIANCE_REPORT, this API resource also describes the report coverage by Amazon Web Services Regions and frameworks.

    *)
  5. reportPlanTags : StringMap.t option;
    (*

    The tags to assign to the report plan.

    *)
  6. idempotencyToken : string option;
    (*

    A customer-chosen string that you can use to distinguish between otherwise identical calls to CreateReportPlanInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.

    *)
}
Sourceval context_ : string
Sourceval make : ?reportPlanDescription:??? -> ?reportPlanTags:??? -> ?idempotencyToken:??? -> reportPlanName:ReportPlanName.t -> reportDeliveryChannel:ReportDeliveryChannel.t -> reportSetting:ReportSetting.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of string ] * [> `String of string ]) list | `String of ReportPlanName.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of string ] list | `String of string ]) list ]) 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