Module Values.StartSnapshotResponseSource

Creates a new Amazon EBS snapshot. The new snapshot enters the pending state after the request completes. After creating the snapshot, use PutSnapshotBlock to write blocks of data to the snapshot. You should always retry requests that receive server (5xx) error responses, and ThrottlingException and RequestThrottledException client error responses. For more information see Error retries in the Amazon Elastic Compute Cloud User Guide.

Sourcetype nonrec t = {
  1. description : Description.t option;
    (*

    The description of the snapshot.

    *)
  2. snapshotId : SnapshotId.t option;
    (*

    The ID of the snapshot.

    *)
  3. ownerId : OwnerId.t option;
    (*

    The Amazon Web Services account ID of the snapshot owner.

    *)
  4. status : Status.t option;
    (*

    The status of the snapshot.

    *)
  5. startTime : TimeStamp.t option;
    (*

    The timestamp when the snapshot was created.

    *)
  6. volumeSize : VolumeSize.t option;
    (*

    The size of the volume, in GiB.

    *)
  7. blockSize : BlockSize.t option;
    (*

    The size of the blocks in the snapshot, in bytes.

    *)
  8. tags : Tags.t option;
    (*

    The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

    *)
  9. parentSnapshotId : SnapshotId.t option;
    (*

    The ID of the parent snapshot.

    *)
  10. kmsKeyArn : KmsKeyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.

    *)
  11. sseType : SSEType.t option;
    (*

    Reserved for future use.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConcurrentLimitExceededException of ConcurrentLimitExceededException.t
  3. | `ConflictException of ConflictException.t
  4. | `InternalServerException of InternalServerException.t
  5. | `RequestThrottledException of RequestThrottledException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?description:??? -> ?snapshotId:??? -> ?ownerId:??? -> ?status:??? -> ?startTime:??? -> ?volumeSize:??? -> ?blockSize:??? -> ?tags:??? -> ?parentSnapshotId:??? -> ?kmsKeyArn:??? -> ?sseType:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConcurrentLimitExceededException of ConcurrentLimitExceededException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `RequestThrottledException of RequestThrottledException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConcurrentLimitExceededException of ConcurrentLimitExceededException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `RequestThrottledException of RequestThrottledException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of BlockSize.t | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `Long of VolumeSize.t | `String of Description.t | `Timestamp of TimeStamp.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