Module Values.GetSegmentSnapshotResponseSource

Retrieve the latest status of a segment snapshot.

Sourcetype nonrec t = {
  1. snapshotId : Uuid.t option;
    (*

    The unique identifier of the segment snapshot.

    *)
  2. status : SegmentSnapshotStatus.t option;
    (*

    The status of the asynchronous job for exporting the segment snapshot.

    *)
  3. statusMessage : String1To1000.t option;
    (*

    The status message of the asynchronous job for exporting the segment snapshot.

    *)
  4. dataFormat : DataFormat.t option;
    (*

    The format in which the segment will be exported.

    *)
  5. encryptionKey : EncryptionKey.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key used to encrypt the exported segment.

    *)
  6. roleArn : RoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM role that allows Customer Profiles service principal to assume the role for conducting KMS and S3 operations.

    *)
  7. destinationUri : String1To255.t option;
    (*

    The destination to which the segment will be exported. This field must be provided if the request is not submitted from the Amazon Connect Admin Website.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?snapshotId:??? -> ?status:??? -> ?statusMessage:??? -> ?dataFormat:??? -> ?encryptionKey:??? -> ?roleArn:??? -> ?destinationUri:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Uuid.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