Module Smaws_Client_BedrockDataAutomationRuntime.Types

type nonrec timestamp_segment = {
  1. end_time_millis : Smaws_Lib.Smithy_api.Types.long;
    (*

    End timestamp in milliseconds

    *)
  2. start_time_millis : Smaws_Lib.Smithy_api.Types.long;
    (*

    Start timestamp in milliseconds

    *)
}

Timestamp segment

type nonrec video_segment_configuration =
  1. | TimestampSegment of timestamp_segment
    (*

    Timestamp segment

    *)

Delimits the segment of the input that will be processed

type nonrec video_asset_processing_configuration = {
  1. segment_configuration : video_segment_configuration option;
    (*

    Delimits the segment of the input that will be processed

    *)
}

Video asset processing configuration

type nonrec non_blank_string = string
type nonrec validation_exception = {
  1. message : non_blank_string option;
}

This exception will be thrown when customer provided invalid parameters.

type nonrec untag_resource_response = unit
type nonrec taggable_resource_arn = string
type nonrec tag_key = string
type nonrec tag_key_list = tag_key list
type nonrec untag_resource_request = {
  1. tag_keys : tag_key_list;
  2. resource_ar_n : taggable_resource_arn;
}
type nonrec throttling_exception = {
  1. message : non_blank_string option;
}

This exception will be thrown when customer reached API TPS limit.

type nonrec resource_not_found_exception = {
  1. message : non_blank_string option;
}

This exception will be thrown when resource provided from customer not found.

type nonrec internal_server_exception = {
  1. message : non_blank_string option;
}

This exception is for any internal un-expected service errors.

type nonrec access_denied_exception = {
  1. message : non_blank_string option;
}

This exception will be thrown when customer does not have access to API.

type nonrec tag_value = string
type nonrec tag_resource_response = unit
type nonrec tag = {
  1. value : tag_value;
  2. key : tag_key;
}

Key value pair of a tag

type nonrec tag_list = tag list
type nonrec tag_resource_request = {
  1. tags : tag_list;
  2. resource_ar_n : taggable_resource_arn;
}
type nonrec service_quota_exceeded_exception = {
  1. message : non_blank_string option;
}

This exception will be thrown when service quota is exceeded.

type nonrec s3_uri = string
type nonrec sync_input_configuration = {
  1. s3_uri : s3_uri option;
    (*

    S3 URI of the input data

    *)
  2. bytes : Smaws_Lib.Smithy_api.Types.blob option;
    (*

    Input data as bytes

    *)
}

Input configuration for synchronous API

type nonrec service_unavailable_exception = {
  1. message : non_blank_string option;
}

This exception will be thrown when service is temporarily unavailable.

type nonrec semantic_modality =
  1. | VIDEO
  2. | AUDIO
  3. | IMAGE
  4. | DOCUMENT

Semantic modality enum

type nonrec custom_output_status =
  1. | NO_MATCH
  2. | MATCH

Custom output status enum

type nonrec output_segment = {
  1. standard_output : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    Standard output response

    *)
  2. custom_output : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    Custom output response

    *)
  3. custom_output_status : custom_output_status option;
    (*

    Status of blueprint match

    *)
}

Results for an output segment

type nonrec output_segment_list = output_segment list
type nonrec output_configuration = {
  1. s3_uri : s3_uri;
    (*

    S3 uri.

    *)
}

Output configuration.

type nonrec event_bridge_configuration = {
  1. event_bridge_enabled : Smaws_Lib.Smithy_api.Types.boolean_;
    (*

    Event bridge flag.

    *)
}

Event bridge configuration.

type nonrec notification_configuration = {
  1. event_bridge_configuration : event_bridge_configuration;
    (*

    Event bridge configuration.

    *)
}

Notification configuration.

type nonrec list_tags_for_resource_response = {
  1. tags : tag_list option;
}
type nonrec list_tags_for_resource_request = {
  1. resource_ar_n : taggable_resource_arn;
}
type nonrec kms_key_id = string
type nonrec invoke_data_automation_response = {
  1. output_segments : output_segment_list option;
    (*

    List of outputs for each logical sub-doc

    *)
  2. semantic_modality : semantic_modality;
    (*

    Detected semantic modality

    *)
  3. output_configuration : output_configuration option;
    (*

    Output configuration

    *)
}

Invoke Data Automation Response

type nonrec data_automation_arn = string
type nonrec data_automation_stage =
  1. | DEVELOPMENT
  2. | LIVE

Data automation stage.

type nonrec data_automation_configuration = {
  1. stage : data_automation_stage option;
    (*

    Data automation stage.

    *)
  2. data_automation_project_arn : data_automation_arn;
    (*

    Data automation project arn.

    *)
}

Data automation configuration.

type nonrec blueprint_arn = string
type nonrec blueprint_version = string
type nonrec blueprint_stage =
  1. | LIVE
  2. | DEVELOPMENT

Blueprint stage enum.

type nonrec blueprint = {
  1. stage : blueprint_stage option;
    (*

    Stage of blueprint.

    *)
  2. version : blueprint_version option;
    (*

    Version of blueprint.

    *)
  3. blueprint_arn : blueprint_arn;
    (*

    Arn of blueprint.

    *)
}

Structure for single blueprint entity.

type nonrec blueprint_list = blueprint list
type nonrec data_automation_profile_arn = string
type nonrec encryption_context_value = string
type nonrec encryption_context_key = string
type nonrec encryption_context_map = (encryption_context_key * encryption_context_value) list
type nonrec encryption_configuration = {
  1. kms_encryption_context : encryption_context_map option;
    (*

    KMS encryption context.

    *)
  2. kms_key_id : kms_key_id;
    (*

    Customer KMS key used for encryption

    *)
}

Encryption configuration.

type nonrec invoke_data_automation_request = {
  1. output_configuration : output_configuration option;
    (*

    Output configuration.

    *)
  2. encryption_configuration : encryption_configuration option;
    (*

    Encryption configuration.

    *)
  3. data_automation_profile_arn : data_automation_profile_arn;
    (*

    Data automation profile ARN

    *)
  4. blueprints : blueprint_list option;
    (*

    Blueprint list.

    *)
  5. data_automation_configuration : data_automation_configuration option;
    (*

    Data automation configuration.

    *)
  6. input_configuration : sync_input_configuration;
    (*

    Input configuration.

    *)
}

Invoke Data Automation Request

type nonrec invocation_arn = string
type nonrec invoke_data_automation_async_response = {
  1. invocation_arn : invocation_arn;
    (*

    ARN of the automation job

    *)
}

Invoke Data Automation Async Response

type nonrec idempotency_token = string
type nonrec asset_processing_configuration = {
  1. video : video_asset_processing_configuration option;
    (*

    Video asset processing configuration

    *)
}

Config containing asset processing related knobs for all modalities

type nonrec input_configuration = {
  1. asset_processing_configuration : asset_processing_configuration option;
    (*

    Asset processing configuration

    *)
  2. s3_uri : s3_uri;
    (*

    S3 uri.

    *)
}

Input configuration.

type nonrec invoke_data_automation_async_request = {
  1. tags : tag_list option;
    (*

    List of tags.

    *)
  2. data_automation_profile_arn : data_automation_profile_arn;
    (*

    Data automation profile ARN

    *)
  3. blueprints : blueprint_list option;
    (*

    Blueprint list.

    *)
  4. notification_configuration : notification_configuration option;
    (*

    Notification configuration.

    *)
  5. encryption_configuration : encryption_configuration option;
    (*

    Encryption configuration.

    *)
  6. data_automation_configuration : data_automation_configuration option;
    (*

    Data automation configuration.

    *)
  7. output_configuration : output_configuration;
    (*

    Output configuration.

    *)
  8. input_configuration : input_configuration;
    (*

    Input configuration.

    *)
  9. client_token : idempotency_token option;
    (*

    Idempotency token.

    *)
}

Invoke Data Automation Async Request

type nonrec automation_job_status =
  1. | CLIENT_ERROR
  2. | SERVICE_ERROR
  3. | SUCCESS
  4. | IN_PROGRESS
  5. | CREATED

List of status supported by automation jobs

type nonrec get_data_automation_status_response = {
  1. job_duration_in_seconds : Smaws_Lib.Smithy_api.Types.integer option;
    (*

    Job duration in seconds.

    *)
  2. job_completion_time : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    Job completion time.

    *)
  3. job_submission_time : Smaws_Lib.Smithy_api.Types.timestamp option;
    (*

    Job Submission time.

    *)
  4. output_configuration : output_configuration option;
    (*

    Output configuration.

    *)
  5. error_message : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    Error Message.

    *)
  6. error_type : Smaws_Lib.Smithy_api.Types.string_ option;
    (*

    Error Type.

    *)
  7. status : automation_job_status option;
    (*

    Job Status.

    *)
}

Response of GetDataAutomationStatus API.

type nonrec get_data_automation_status_request = {
  1. invocation_arn : invocation_arn;
    (*

    Invocation arn.

    *)
}

Structure for request of GetDataAutomationStatus API.

type nonrec automation_job_resource = Smaws_Lib.CoreTypes.Resource.t