Module Values.CreateBackupPlanOutputSource

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. backupPlanId : string option;
    (*

    The ID of the backup plan.

    *)
  2. backupPlanArn : ARN.t option;
    (*

    An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.

    *)
  3. creationDate : string option;
    (*

    The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    *)
  4. versionId : string option;
    (*

    Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. They cannot be edited.

    *)
  5. advancedBackupSettings : AdvancedBackupSettings.t option;
    (*

    The settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.

    *)
}
Sourcetype nonrec error = [
  1. | `AlreadyExistsException of AlreadyExistsException.t
  2. | `InvalidParameterValueException of InvalidParameterValueException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `MissingParameterValueException of MissingParameterValueException.t
  5. | `ServiceUnavailableException of ServiceUnavailableException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?backupPlanId:??? -> ?backupPlanArn:??? -> ?creationDate:??? -> ?versionId:??? -> ?advancedBackupSettings:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AlreadyExistsException of AlreadyExistsException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `LimitExceededException of LimitExceededException.t | `MissingParameterValueException of MissingParameterValueException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AlreadyExistsException of AlreadyExistsException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `LimitExceededException of LimitExceededException.t | `MissingParameterValueException of MissingParameterValueException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Map of ([> `String of BackupOptionKey.t ] * [> `String of BackupOptionValue.t ]) list | `String of ResourceType.t ]) list ] list | `String of string | `Timestamp of string ]) 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