Module Smaws_Client_HealthLake.Types

type nonrec validation_level =
  1. | MINIMAL
  2. | STRUCTURE_ONLY
  3. | STRICT
type nonrec string_ = string
type nonrec validation_exception = {
  1. message : string_ option;
}

The user input parameter was invalid.

type nonrec datastore_id = string
type nonrec datastore_arn = string
type nonrec datastore_name = string
type nonrec datastore_status =
  1. | UPDATE_FAILED
  2. | UPDATING
  3. | CREATE_FAILED
  4. | DELETED
  5. | DELETING
  6. | ACTIVE
  7. | CREATING
type nonrec timestamp = Smaws_Lib.CoreTypes.Timestamp.t
type nonrec fhir_version =
  1. | R4
type nonrec cmk_type =
  1. | AO_CMK
  2. | CM_CMK
type nonrec encryption_key_i_d = string
type nonrec kms_encryption_config = {
  1. kms_key_id : encryption_key_i_d option;
    (*

    The Key Management Service (KMS) encryption key id/alias used to encrypt the data store contents at rest.

    *)
  2. cmk_type : cmk_type;
    (*

    The type of customer-managed-key (CMK) used for encryption.

    *)
}

The customer-managed-key (CMK) used when creating a data store. If a customer-owned key is not specified, an AWS-owned key is used for encryption.

type nonrec sse_configuration = {
  1. kms_encryption_config : kms_encryption_config;
    (*

    The Key Management Service (KMS) encryption configuration used to provide details for data encryption.

    *)
}

The server-side encryption key configuration for a customer-provided encryption key.

type nonrec preload_data_type =
  1. | SYNTHEA
type nonrec preload_data_config = {
  1. preload_data_type : preload_data_type;
    (*

    The type of preloaded data. Only Synthea preloaded data is supported.

    *)
}

The input properties for the preloaded (Synthea) data store.

type nonrec authorization_strategy =
  1. | AWS_AUTH
  2. | SMART_ON_FHIR
  3. | SMARTV1
type nonrec boolean_ = bool
type nonrec configuration_metadata = string
type nonrec lambda_arn = string
type nonrec identity_provider_configuration = {
  1. idp_lambda_arn : lambda_arn option;
    (*

    The Amazon Resource Name (ARN) of the Lambda function to use to decode the access token created by the authorization server.

    *)
  2. metadata : configuration_metadata option;
    (*

    The JSON metadata elements to use in your identity provider configuration. Required elements are listed based on the launch specification of the SMART application. For more information on all possible elements, see Metadata in SMART's App Launch specification.

    authorization_endpoint: The URL to the OAuth2 authorization endpoint.

    grant_types_supported: An array of grant types that are supported at the token endpoint. You must provide at least one grant type option. Valid options are authorization_code and client_credentials.

    token_endpoint: The URL to the OAuth2 token endpoint.

    capabilities: An array of strings of the SMART capabilities that the authorization server supports.

    code_challenge_methods_supported: An array of strings of supported PKCE code challenge methods. You must include the S256 method in the array of PKCE code challenge methods.

    *)
  3. fine_grained_authorization_enabled : boolean_ option;
    (*

    The parameter to enable SMART on FHIR fine-grained authorization for the data store.

    *)
  4. authorization_strategy : authorization_strategy;
    (*

    The authorization strategy selected when the HealthLake data store is created.

    HealthLake provides support for both SMART on FHIR V1 and V2 as described below.

    • SMART_ON_FHIR_V1 – Support for only SMART on FHIR V1, which includes read (read/search) and write (create/update/delete) permissions.
    • SMART_ON_FHIR – Support for both SMART on FHIR V1 and V2, which includes create, read, update, delete, and search permissions.
    • AWS_AUTH – The default HealthLake authorization strategy; not affiliated with SMART on FHIR.
    *)
}

The identity provider configuration selected when the data store was created.

type nonrec error_message = string
type nonrec error_category =
  1. | NON_RETRYABLE_ERROR
  2. | RETRYABLE_ERROR
type nonrec error_cause = {
  1. error_category : error_category option;
    (*

    The error category for ErrorCause.

    *)
  2. error_message : error_message option;
    (*

    The error message text for ErrorCause.

    *)
}

The error information for CreateFHIRDatastore and DeleteFHIRDatastore actions.

type nonrec nlp_status =
  1. | DISABLING
  2. | ENABLING
  3. | DISABLED
  4. | ENABLED
type nonrec nlp_configuration = {
  1. status : nlp_status option;
    (*

    The status of the NLP configuration.

    *)
}

The natural language processing (NLP) configuration for a data store.

type nonrec analytics_status =
  1. | PAUSED
  2. | PAUSING
  3. | DISABLING
  4. | DISABLED
  5. | ENABLING
  6. | ENABLED
type nonrec analytics_configuration = {
  1. status : analytics_status option;
    (*

    The status of the analytics configuration.

    *)
}

The analytics configuration for a data store.

type nonrec default_profiles = string_ list
type nonrec profile_configuration = {
  1. default_profiles : default_profiles option;
    (*

    The list of default profiles for the data store.

    *)
}

The profile configuration for a data store.

type nonrec datastore_properties = {
  1. profile_configuration : profile_configuration option;
    (*

    The profile configuration for the data store.

    *)
  2. analytics_configuration : analytics_configuration option;
    (*

    The analytics configuration for the data store.

    *)
  3. nlp_configuration : nlp_configuration option;
    (*

    The natural language processing (NLP) configuration for the data store.

    *)
  4. error_cause : error_cause option;
    (*

    The error cause for the current data store operation.

    *)
  5. identity_provider_configuration : identity_provider_configuration option;
    (*

    The identity provider selected during data store creation.

    *)
  6. preload_data_config : preload_data_config option;
    (*

    The preloaded Synthea data configuration for the data store.

    *)
  7. sse_configuration : sse_configuration option;
    (*

    The server-side encryption key configuration for a customer provided encryption key.

    *)
  8. datastore_endpoint : string_;
    (*

    The AWS endpoint for the data store.

    *)
  9. datastore_type_version : fhir_version;
    (*

    The FHIR release version supported by the data store. Current support is for version R4.

    *)
  10. created_at : timestamp option;
    (*

    The time the data store was created.

    *)
  11. datastore_status : datastore_status;
    (*

    The data store status.

    *)
  12. datastore_name : datastore_name option;
    (*

    The data store name.

    *)
  13. datastore_arn : datastore_arn;
    (*

    The Amazon Resource Name (ARN) used in the creation of the data store.

    *)
  14. datastore_id : datastore_id;
    (*

    The data store identifier.

    *)
}

The data store properties.

type nonrec update_fhir_datastore_response = {
  1. datastore_properties : datastore_properties;
    (*

    The data store properties.

    *)
}
type nonrec update_fhir_datastore_request = {
  1. identity_provider_configuration : identity_provider_configuration option;
    (*

    The identity provider configuration for the data store.

    *)
  2. profile_configuration : profile_configuration option;
    (*

    The profile configuration for the data store.

    *)
  3. analytics_configuration : analytics_configuration option;
    (*

    The analytics configuration for the data store.

    *)
  4. nlp_configuration : nlp_configuration option;
    (*

    The natural language processing (NLP) configuration for the data store.

    *)
  5. datastore_name : datastore_name option;
    (*

    The data store name.

    *)
  6. datastore_id : datastore_id;
    (*

    The data store identifier.

    *)
}
type nonrec throttling_exception = {
  1. message : string_ option;
}

The user has exceeded their maximum number of allowed calls to the given API.

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

The requested data store was not found.

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

An unknown internal error occurred in the service.

type nonrec conflict_exception = {
  1. message : string_ option;
}

The data store is in a transition state and the user requested action cannot be performed.

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

Access is denied. Your account is not authorized to perform this operation.

type nonrec untag_resource_response = unit
type nonrec amazon_resource_name = 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;
    (*

    The keys for the tags to be removed from the data store.

    *)
  2. resource_ar_n : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the data store from which tags are being removed.

    *)
}
type nonrec tag_value = string
type nonrec tag_resource_response = unit
type nonrec tag = {
  1. value : tag_value;
    (*

    The value portion of a tag. Tag values are case-sensitive.

    *)
  2. key : tag_key;
    (*

    The key portion of a tag. Tag keys are case sensitive.

    *)
}

A label consisting of a user-defined key and value. The form for tags is {"Key", "Value"}

type nonrec tag_list = tag list
type nonrec tag_resource_request = {
  1. tags : tag_list;
    (*

    The user-specified key and value pair tags being added to a data store.

    *)
  2. resource_ar_n : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) that grants access to the data store tags are being added to.

    *)
}
type nonrec job_id = string
type nonrec job_status =
  1. | CANCEL_FAILED
  2. | CANCEL_COMPLETED
  3. | CANCEL_IN_PROGRESS
  4. | CANCEL_SUBMITTED
  5. | FAILED
  6. | COMPLETED
  7. | COMPLETED_WITH_ERRORS
  8. | IN_PROGRESS
  9. | QUEUED
  10. | SUBMITTED
type nonrec start_fhir_import_job_response = {
  1. datastore_id : datastore_id option;
    (*

    The data store identifier.

    *)
  2. job_status : job_status;
    (*

    The import job status.

    *)
  3. job_id : job_id;
    (*

    The import job identifier.

    *)
}
type nonrec job_name = string
type nonrec s3_uri = string
type nonrec input_data_config =
  1. | S3Uri of s3_uri
    (*

    The S3Uri is the user-specified S3 location of the FHIR data to be imported into AWS HealthLake.

    *)

The import job input properties.

type nonrec s3_configuration = {
  1. kms_key_id : encryption_key_i_d;
    (*

    The Key Management Service (KMS) key ID used to access the S3 bucket.

    *)
  2. s3_uri : s3_uri;
    (*

    The S3Uri is the user-specified S3 location of the FHIR data to be imported into AWS HealthLake.

    *)
}

The configuration of the S3 bucket for either an import or export job. This includes assigning access permissions.

type nonrec output_data_config =
  1. | S3Configuration of s3_configuration
    (*

    The output data configuration supplied when the export job was created.

    *)

The output data configuration supplied when the export job was created.

type nonrec iam_role_arn = string
type nonrec client_token_string = string
type nonrec start_fhir_import_job_request = {
  1. validation_level : validation_level option;
    (*

    The validation level of the import job.

    *)
  2. client_token : client_token_string option;
    (*

    The optional user-provided token used for ensuring API idempotency.

    *)
  3. data_access_role_arn : iam_role_arn;
    (*

    The Amazon Resource Name (ARN) that grants access permission to AWS HealthLake.

    *)
  4. datastore_id : datastore_id;
    (*

    The data store identifier.

    *)
  5. job_output_data_config : output_data_config;
  6. input_data_config : input_data_config;
    (*

    The input properties for the import job request.

    *)
  7. job_name : job_name option;
    (*

    The import job name.

    *)
}
type nonrec start_fhir_export_job_response = {
  1. datastore_id : datastore_id option;
    (*

    The data store identifier from which files are being exported.

    *)
  2. job_status : job_status;
    (*

    The export job status.

    *)
  3. job_id : job_id;
    (*

    The export job identifier.

    *)
}
type nonrec start_fhir_export_job_request = {
  1. client_token : client_token_string option;
    (*

    An optional user provided token used for ensuring API idempotency.

    *)
  2. data_access_role_arn : iam_role_arn;
    (*

    The Amazon Resource Name (ARN) used during initiation of the export job.

    *)
  3. datastore_id : datastore_id;
    (*

    The data store identifier from which files are being exported.

    *)
  4. output_data_config : output_data_config;
    (*

    The output data configuration supplied when the export job was started.

    *)
  5. job_name : job_name option;
    (*

    The export job name.

    *)
}
type nonrec next_token = string
type nonrec message = string
type nonrec max_results_integer = int
type nonrec list_tags_for_resource_response = {
  1. tags : tag_list option;
    (*

    Returns a list of tags associated with a data store.

    *)
}
type nonrec list_tags_for_resource_request = {
  1. resource_ar_n : amazon_resource_name;
    (*

    The Amazon Resource Name (ARN) of the data store to which tags are being added.

    *)
}
type nonrec generic_long = Smaws_Lib.CoreTypes.Int64.t
type nonrec generic_double = float
type nonrec job_progress_report = {
  1. throughput : generic_double option;
    (*

    The transaction rate the import job is processed at.

    *)
  2. total_number_of_files_read_with_customer_error : generic_long option;
    (*

    The number of files that failed to be read from the S3 input bucket due to customer error.

    *)
  3. total_number_of_resources_with_customer_error : generic_long option;
    (*

    The number of resources that failed due to customer error.

    *)
  4. total_number_of_resources_imported : generic_long option;
    (*

    The number of resources imported.

    *)
  5. total_number_of_resources_scanned : generic_long option;
    (*

    The number of resources scanned from the S3 input bucket.

    *)
  6. total_number_of_imported_files : generic_long option;
    (*

    The number of files imported.

    *)
  7. total_size_of_scanned_files_in_m_b : generic_double option;
    (*

    The size (in MB) of files scanned from the S3 input bucket.

    *)
  8. total_number_of_scanned_files : generic_long option;
    (*

    The number of files scanned from the S3 input bucket.

    *)
}

The progress report for the import job.

type nonrec import_job_properties = {
  1. validation_level : validation_level option;
    (*

    The validation level of the import job.

    *)
  2. message : message option;
    (*

    An explanation of any errors that might have occurred during the FHIR import job.

    *)
  3. data_access_role_arn : iam_role_arn option;
    (*

    The Amazon Resource Name (ARN) that grants AWS HealthLake access to the input data.

    *)
  4. job_progress_report : job_progress_report option;
    (*

    Displays the progress of the import job, including total resources scanned, total resources imported, and total size of data imported.

    *)
  5. job_output_data_config : output_data_config option;
  6. input_data_config : input_data_config;
    (*

    The input data configuration supplied when the import job was created.

    *)
  7. datastore_id : datastore_id;
    (*

    The data store identifier.

    *)
  8. end_time : timestamp option;
    (*

    The time the import job was completed.

    *)
  9. submit_time : timestamp;
    (*

    The time the import job was submitted for processing.

    *)
  10. job_status : job_status;
    (*

    The import job status.

    *)
  11. job_name : job_name option;
    (*

    The import job name.

    *)
  12. job_id : job_id;
    (*

    The import job identifier.

    *)
}

The import job properties.

type nonrec import_job_properties_list = import_job_properties list
type nonrec list_fhir_import_jobs_response = {
  1. next_token : next_token option;
    (*

    The pagination token used to identify the next page of results to return.

    *)
  2. import_job_properties_list : import_job_properties_list;
    (*

    The properties for listed import jobs.

    *)
}
type nonrec list_fhir_import_jobs_request = {
  1. submitted_after : timestamp option;
    (*

    Limits the response to FHIR import jobs submitted after a user-specified date.

    *)
  2. submitted_before : timestamp option;
    (*

    Limits the response to FHIR import jobs submitted before a user- specified date.

    *)
  3. job_status : job_status option;
    (*

    Limits the response to the import job with the specified job status.

    *)
  4. job_name : job_name option;
    (*

    Limits the response to the import job with the specified job name.

    *)
  5. max_results : max_results_integer option;
    (*

    Limits the number of results returned for ListFHIRImportJobs to a maximum quantity specified by the user.

    *)
  6. next_token : next_token option;
    (*

    The pagination token used to identify the next page of results to return.

    *)
  7. datastore_id : datastore_id;
    (*

    Limits the response to the import job with the specified data store ID.

    *)
}
type nonrec export_job_properties = {
  1. message : message option;
    (*

    An explanation of any errors that might have occurred during the export job.

    *)
  2. data_access_role_arn : iam_role_arn option;
    (*

    The Amazon Resource Name (ARN) used during the initiation of the export job.

    *)
  3. output_data_config : output_data_config;
    (*

    The output data configuration supplied when the export job was created.

    *)
  4. datastore_id : datastore_id;
    (*

    The data store identifier from which files are being exported.

    *)
  5. end_time : timestamp option;
    (*

    The time the export job completed.

    *)
  6. submit_time : timestamp;
    (*

    The time the export job was initiated.

    *)
  7. job_status : job_status;
    (*

    The export job status.

    *)
  8. job_name : job_name option;
    (*

    The export job name.

    *)
  9. job_id : job_id;
    (*

    The export job identifier.

    *)
}

The properties of a FHIR export job.

type nonrec export_job_properties_list = export_job_properties list
type nonrec list_fhir_export_jobs_response = {
  1. next_token : next_token option;
    (*

    The pagination token used to identify the next page of results to return.

    *)
  2. export_job_properties_list : export_job_properties_list;
    (*

    The properties of listed FHIR export jobs.

    *)
}
type nonrec list_fhir_export_jobs_request = {
  1. submitted_after : timestamp option;
    (*

    Limits the response to FHIR export jobs submitted after a user-specified date.

    *)
  2. submitted_before : timestamp option;
    (*

    Limits the response to FHIR export jobs submitted before a user- specified date.

    *)
  3. job_status : job_status option;
    (*

    Limits the response to export jobs with the specified job status.

    *)
  4. job_name : job_name option;
    (*

    Limits the response to the export job with the specified job name.

    *)
  5. max_results : max_results_integer option;
    (*

    Limits the number of results returned for a ListFHIRExportJobs to a maximum quantity specified by the user.

    *)
  6. next_token : next_token option;
    (*

    A pagination token used to identify the next page of results to return.

    *)
  7. datastore_id : datastore_id;
    (*

    Limits the response to the export job with the specified data store ID.

    *)
}
type nonrec datastore_properties_list = datastore_properties list
type nonrec list_fhir_datastores_response = {
  1. next_token : next_token option;
    (*

    The pagination token used to retrieve the next page of results.

    *)
  2. datastore_properties_list : datastore_properties_list;
    (*

    The properties associated with all listed data stores.

    *)
}
type nonrec datastore_filter = {
  1. created_after : timestamp option;
    (*

    Filter to set cutoff dates for records. All data stores created after the specified date are included in the results.

    *)
  2. created_before : timestamp option;
    (*

    Filter to set cutoff dates for records. All data stores created before the specified date are included in the results.

    *)
  3. datastore_status : datastore_status option;
    (*

    Filter data store results by status.

    *)
  4. datastore_name : datastore_name option;
    (*

    Filter data store results by name.

    *)
}

The filters applied to a data store query.

type nonrec list_fhir_datastores_request = {
  1. max_results : max_results_integer option;
    (*

    The maximum number of data stores returned on a page.

    *)
  2. next_token : next_token option;
    (*

    The token used to retrieve the next page of data stores when results are paginated.

    *)
  3. filter : datastore_filter option;
    (*

    List all filters associated with a FHIR data store request.

    *)
}
type nonrec describe_fhir_import_job_response = {
  1. import_job_properties : import_job_properties;
    (*

    The import job properties.

    *)
}
type nonrec describe_fhir_import_job_request = {
  1. job_id : job_id;
    (*

    The import job identifier.

    *)
  2. datastore_id : datastore_id;
    (*

    The data store identifier.

    *)
}
type nonrec describe_fhir_export_job_response = {
  1. export_job_properties : export_job_properties;
    (*

    The export job properties.

    *)
}
type nonrec describe_fhir_export_job_request = {
  1. job_id : job_id;
    (*

    The export job identifier.

    *)
  2. datastore_id : datastore_id;
    (*

    The data store identifier from which FHIR data is being exported from.

    *)
}
type nonrec describe_fhir_datastore_response = {
  1. datastore_properties : datastore_properties;
    (*

    The data store properties.

    *)
}
type nonrec describe_fhir_datastore_request = {
  1. datastore_id : datastore_id;
    (*

    The data store identifier.

    *)
}
type nonrec bounded_length_string = string
type nonrec delete_fhir_datastore_response = {
  1. datastore_endpoint : bounded_length_string;
    (*

    The AWS endpoint of the data store to be deleted.

    *)
  2. datastore_status : datastore_status;
    (*

    The data store status.

    *)
  3. datastore_arn : datastore_arn;
    (*

    The Amazon Resource Name (ARN) that grants access permission to AWS HealthLake.

    *)
  4. datastore_id : datastore_id;
    (*

    The AWS-generated ID for the deleted data store.

    *)
}
type nonrec delete_fhir_datastore_request = {
  1. datastore_id : datastore_id;
    (*

    The AWS-generated identifier for the data store to be deleted.

    *)
}
type nonrec create_fhir_datastore_response = {
  1. datastore_endpoint : bounded_length_string;
    (*

    The AWS endpoint created for the data store.

    *)
  2. datastore_status : datastore_status;
    (*

    The data store status.

    *)
  3. datastore_arn : datastore_arn;
    (*

    The Amazon Resource Name (ARN) for the data store.

    *)
  4. datastore_id : datastore_id;
    (*

    The data store identifier.

    *)
}
type nonrec create_fhir_datastore_request = {
  1. profile_configuration : profile_configuration option;
    (*

    The profile configuration for the data store.

    *)
  2. nlp_configuration : nlp_configuration option;
    (*

    The natural language processing (NLP) configuration for the data store.

    *)
  3. analytics_configuration : analytics_configuration option;
    (*

    The analytics configuration for the data store.

    *)
  4. identity_provider_configuration : identity_provider_configuration option;
    (*

    The identity provider configuration to use for the data store.

    *)
  5. tags : tag_list option;
    (*

    The resource tags applied to a data store when it is created.

    *)
  6. client_token : client_token_string option;
    (*

    An optional user-provided token to ensure API idempotency.

    *)
  7. preload_data_config : preload_data_config option;
    (*

    An optional parameter to preload (import) open source Synthea FHIR data upon creation of the data store.

    *)
  8. sse_configuration : sse_configuration option;
    (*

    The server-side encryption key configuration for a customer-provided encryption key specified for creating a data store.

    *)
  9. datastore_type_version : fhir_version;
    (*

    The FHIR release version supported by the data store. Current support is for version R4.

    *)
  10. datastore_name : datastore_name option;
    (*

    The data store name (user-generated).

    *)
}