Module Values.CreateBackupPlanInputSource

Creates a backup plan using a backup plan name and backup rules. A backup plan is a document that contains information that Backup uses to schedule tasks that create recovery points for resources. If you call CreateBackupPlan with a plan that already exists, you receive an AlreadyExistsException exception.

Sourcetype nonrec t = {
  1. backupPlan : BackupPlanInput.t;
    (*

    The body of a backup plan. Includes a BackupPlanName and one or more sets of Rules.

    *)
  2. backupPlanTags : Tags.t option;
    (*

    The tags to assign to the backup plan.

    *)
  3. creatorRequestId : string option;
    (*

    Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.

    *)
}
Sourceval context_ : string
Sourceval make : ?backupPlanTags:??? -> ?creatorRequestId:??? -> backupPlan:BackupPlanInput.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of string | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of ResourceType.t | `Structure of (string * [> `Enum of string | `List of [> `String of ResourceType.t ] list | `String of ARN.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Long of Long.t ]) list ]) list ] list | `Long of WindowMinutes.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of BackupRuleName.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Long of Long.t ]) list ]) list ] list | `String of BackupPlanName.t ]) 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