Module Values.DescribeBackupJobOutputSource

Returns backup job details for the specified BackupJobId.

Sourcetype nonrec t = {
  1. accountId : AccountId.t option;
    (*

    Returns the account ID that owns the backup job.

    *)
  2. backupJobId : string option;
    (*

    Uniquely identifies a request to Backup to back up a resource.

    *)
  3. backupVaultName : BackupVaultName.t option;
    (*

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created.

    *)
  4. recoveryPointLifecycle : Lifecycle.t option;
  5. backupVaultArn : ARN.t option;
    (*

    An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.

    *)
  6. vaultType : string option;
    (*

    The type of backup vault where the recovery point is stored. Valid values are BACKUP_VAULT for standard backup vaults and LOGICALLY_AIR_GAPPED_BACKUP_VAULT for logically air-gapped vaults.

    *)
  7. vaultLockState : string option;
    (*

    The lock state of the backup vault. For logically air-gapped vaults, this indicates whether the vault is locked in compliance mode. Valid values include LOCKED and UNLOCKED.

    *)
  8. recoveryPointArn : ARN.t option;
    (*

    An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

    *)
  9. encryptionKeyArn : ARN.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key used to encrypt the backup. This can be a customer-managed key or an Amazon Web Services managed key, depending on the vault configuration.

    *)
  10. isEncrypted : bool option;
    (*

    A boolean value indicating whether the backup is encrypted. All backups in Backup are encrypted, but this field indicates the encryption status for transparency.

    *)
  11. resourceArn : ARN.t option;
    (*

    An ARN that uniquely identifies a saved resource. The format of the ARN depends on the resource type.

    *)
  12. creationDate : string option;
    (*

    The date and time that a backup job 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.

    *)
  13. completionDate : string option;
    (*

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

    *)
  14. state : BackupJobState.t option;
    (*

    The current state of a backup job.

    *)
  15. statusMessage : string option;
    (*

    A detailed message explaining the status of the job to back up a resource.

    *)
  16. percentDone : string option;
    (*

    Contains an estimated percentage that is complete of a job at the time the job status was queried.

    *)
  17. backupSizeInBytes : Long.t option;
    (*

    The size, in bytes, of a backup (recovery point). This value can render differently depending on the resource type as Backup pulls in data information from other Amazon Web Services services. For example, the value returned may show a value of 0, which may differ from the anticipated value. The expected behavior for values by resource type are described as follows: Amazon Aurora, Amazon DocumentDB, and Amazon Neptune do not have this value populate from the operation GetBackupJobStatus. For Amazon DynamoDB with advanced features, this value refers to the size of the recovery point (backup). Amazon EC2 and Amazon EBS show volume size (provisioned storage) returned as part of this value. Amazon EBS does not return backup size information; snapshot size will have the same value as the original resource that was backed up. For Amazon EFS, this value refers to the delta bytes transferred during a backup. For Amazon EKS, this value refers to the size of your nested EKS recovery point. Amazon FSx does not populate this value from the operation GetBackupJobStatus for FSx file systems. An Amazon RDS instance will show as 0. For virtual machines running VMware, this value is passed to Backup through an asynchronous workflow, which can mean this displayed value can under-represent the actual backup size.

    *)
  18. iamRoleArn : IAMRoleArn.t option;
    (*

    Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

    *)
  19. createdBy : RecoveryPointCreator.t option;
    (*

    Contains identifying information about the creation of a backup job, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

    *)
  20. resourceType : ResourceType.t option;
    (*

    The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.

    *)
  21. bytesTransferred : Long.t option;
    (*

    The size in bytes transferred to a backup vault at the time that the job status was queried.

    *)
  22. expectedCompletionDate : string option;
    (*

    The date and time that a job to back up resources is expected to be completed, in Unix format and Coordinated Universal Time (UTC). The value of ExpectedCompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    *)
  23. startBy : string option;
    (*

    Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled time were 6:00 PM and the start window is 2 hours, the StartBy time would be 8:00 PM on the date specified. The value of StartBy is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    *)
  24. backupOptions : BackupOptions.t option;
    (*

    Represents the options specified as part of backup plan or on-demand backup job.

    *)
  25. backupType : string option;
    (*

    Represents the actual backup type selected for a backup job. For example, if a successful Windows Volume Shadow Copy Service (VSS) backup was taken, BackupType returns "WindowsVSS". If BackupType is empty, then the backup type was a regular backup.

    *)
  26. parentJobId : string option;
    (*

    This returns the parent (composite) resource backup job ID.

    *)
  27. isParent : bool option;
    (*

    This returns the boolean value that a backup job is a parent (composite) job.

    *)
  28. numberOfChildJobs : Long.t option;
    (*

    This returns the number of child (nested) backup jobs.

    *)
  29. childJobsInState : BackupJobChildJobsInState.t option;
    (*

    This returns the statistics of the included child (nested) backup jobs.

    *)
  30. resourceName : string option;
    (*

    The non-unique name of the resource that belongs to the specified backup.

    *)
  31. initiationDate : string option;
    (*

    The date a backup job was initiated.

    *)
  32. messageCategory : string option;
    (*

    The job count for the specified message category. Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and INVALIDPARAMETERS. View Monitoring for a list of accepted MessageCategory strings.

    *)
}
Sourcetype nonrec error = [
  1. | `DependencyFailureException of DependencyFailureException.t
  2. | `InvalidParameterValueException of InvalidParameterValueException.t
  3. | `MissingParameterValueException of MissingParameterValueException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceUnavailableException of ServiceUnavailableException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?accountId:??? -> ?backupJobId:??? -> ?backupVaultName:??? -> ?recoveryPointLifecycle:??? -> ?backupVaultArn:??? -> ?vaultType:??? -> ?vaultLockState:??? -> ?recoveryPointArn:??? -> ?encryptionKeyArn:??? -> ?isEncrypted:??? -> ?resourceArn:??? -> ?creationDate:??? -> ?completionDate:??? -> ?state:??? -> ?statusMessage:??? -> ?percentDone:??? -> ?backupSizeInBytes:??? -> ?iamRoleArn:??? -> ?createdBy:??? -> ?resourceType:??? -> ?bytesTransferred:??? -> ?expectedCompletionDate:??? -> ?startBy:??? -> ?backupOptions:??? -> ?backupType:??? -> ?parentJobId:??? -> ?isParent:??? -> ?numberOfChildJobs:??? -> ?childJobsInState:??? -> ?resourceName:??? -> ?initiationDate:??? -> ?messageCategory:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DependencyFailureException of DependencyFailureException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `MissingParameterValueException of MissingParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DependencyFailureException of DependencyFailureException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `MissingParameterValueException of MissingParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.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 * [> `Boolean of bool | `Enum of string | `Long of Long.t | `Map of ([> `Enum of string | `String of BackupOptionKey.t ] * [> `Long of Long.t | `String of BackupOptionValue.t ]) list | `String of AccountId.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Long of Long.t | `String of string ]) list | `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