import * as HttpClient from "effect/unstable/http/HttpClient";
import * as S from "effect/Schema";
import * as stream from "effect/Stream";
import * as API from "../client/api.js";
import * as T from "../traits.js";
import * as C from "../category.js";
const svc = T.AwsApiService({
    sdkId: "HealthLake",
    serviceShapeName: "HealthLake",
});
const auth = T.AwsAuthSigv4({ name: "healthlake" });
const ver = T.ServiceVersion("2017-07-01");
const proto = T.AwsProtocolsAwsJson1_0();
const rules = T.EndpointResolver((p, _) => {
    const { Region, UseDualStack = false, UseFIPS = false, Endpoint } = p;
    const e = (u, p = {}, h = {}) => ({
        type: "endpoint",
        endpoint: { url: u, properties: p, headers: h },
    });
    const err = (m) => ({
        type: "error",
        message: m,
    });
    if (Endpoint != null) {
        if (UseFIPS === true) {
            return err("Invalid Configuration: FIPS and custom endpoint are not supported");
        }
        if (UseDualStack === true) {
            return err("Invalid Configuration: Dualstack and custom endpoint are not supported");
        }
        return e(Endpoint);
    }
    if (Region != null) {
        {
            const PartitionResult = _.partition(Region);
            if (PartitionResult != null && PartitionResult !== false) {
                if (UseFIPS === true && UseDualStack === true) {
                    if (true === _.getAttr(PartitionResult, "supportsFIPS") &&
                        true === _.getAttr(PartitionResult, "supportsDualStack")) {
                        return e(`https://healthlake-fips.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`);
                    }
                    return err("FIPS and DualStack are enabled, but this partition does not support one or both");
                }
                if (UseFIPS === true) {
                    if (_.getAttr(PartitionResult, "supportsFIPS") === true) {
                        return e(`https://healthlake-fips.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`);
                    }
                    return err("FIPS is enabled but this partition does not support FIPS");
                }
                if (UseDualStack === true) {
                    if (true === _.getAttr(PartitionResult, "supportsDualStack")) {
                        return e(`https://healthlake.${Region}.${_.getAttr(PartitionResult, "dualStackDnsSuffix")}`);
                    }
                    return err("DualStack is enabled but this partition does not support DualStack");
                }
                return e(`https://healthlake.${Region}.${_.getAttr(PartitionResult, "dnsSuffix")}`);
            }
        }
    }
    return err("Invalid Configuration: Missing Region");
});
export const FHIRVersion = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const CmkType = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const KmsEncryptionConfig = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ CmkType: CmkType, KmsKeyId: S.optional(S.String) })).annotate({
    identifier: "KmsEncryptionConfig",
});
export const SseConfiguration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ KmsEncryptionConfig: KmsEncryptionConfig })).annotate({
    identifier: "SseConfiguration",
});
export const PreloadDataType = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const PreloadDataConfig = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ PreloadDataType: PreloadDataType })).annotate({
    identifier: "PreloadDataConfig",
});
export const Tag = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Key: S.String, Value: S.String })).annotate({ identifier: "Tag" });
export const TagList = /*@__PURE__*/ /*#__PURE__*/ S.Array(Tag);
export const AuthorizationStrategy = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const IdentityProviderConfiguration = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    AuthorizationStrategy: AuthorizationStrategy,
    FineGrainedAuthorizationEnabled: S.optional(S.Boolean),
    Metadata: S.optional(S.String),
    IdpLambdaArn: S.optional(S.String),
})).annotate({
    identifier: "IdentityProviderConfiguration",
});
export const CreateFHIRDatastoreRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastoreName: S.optional(S.String),
    DatastoreTypeVersion: FHIRVersion,
    SseConfiguration: S.optional(SseConfiguration),
    PreloadDataConfig: S.optional(PreloadDataConfig),
    ClientToken: S.optional(S.String).pipe(T.IdempotencyToken()),
    Tags: S.optional(TagList),
    IdentityProviderConfiguration: S.optional(IdentityProviderConfiguration),
}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "CreateFHIRDatastoreRequest",
});
export const DatastoreStatus = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const CreateFHIRDatastoreResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastoreId: S.String,
    DatastoreArn: S.String,
    DatastoreStatus: DatastoreStatus,
    DatastoreEndpoint: S.String,
})).annotate({
    identifier: "CreateFHIRDatastoreResponse",
});
export const DeleteFHIRDatastoreRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DatastoreId: S.String }).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "DeleteFHIRDatastoreRequest",
});
export const DeleteFHIRDatastoreResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastoreId: S.String,
    DatastoreArn: S.String,
    DatastoreStatus: DatastoreStatus,
    DatastoreEndpoint: S.String,
})).annotate({
    identifier: "DeleteFHIRDatastoreResponse",
});
export const DescribeFHIRDatastoreRequest = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DatastoreId: S.String }).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "DescribeFHIRDatastoreRequest",
});
export const ErrorCategory = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const ErrorCause = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ErrorMessage: S.optional(S.String),
    ErrorCategory: S.optional(ErrorCategory),
})).annotate({ identifier: "ErrorCause" });
export const DatastoreProperties = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastoreId: S.String,
    DatastoreArn: S.String,
    DatastoreName: S.optional(S.String),
    DatastoreStatus: DatastoreStatus,
    CreatedAt: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
    DatastoreTypeVersion: FHIRVersion,
    DatastoreEndpoint: S.String,
    SseConfiguration: S.optional(SseConfiguration),
    PreloadDataConfig: S.optional(PreloadDataConfig),
    IdentityProviderConfiguration: S.optional(IdentityProviderConfiguration),
    ErrorCause: S.optional(ErrorCause),
})).annotate({
    identifier: "DatastoreProperties",
});
export const DescribeFHIRDatastoreResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DatastoreProperties: DatastoreProperties })).annotate({
    identifier: "DescribeFHIRDatastoreResponse",
});
export const DescribeFHIRExportJobRequest = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DatastoreId: S.String, JobId: S.String }).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "DescribeFHIRExportJobRequest",
});
export const JobStatus = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const S3Configuration = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ S3Uri: S.String, KmsKeyId: S.String })).annotate({
    identifier: "S3Configuration",
});
export const OutputDataConfig = /*@__PURE__*/ /*#__PURE__*/ S.Union([
    S.Struct({ S3Configuration: S3Configuration }),
]);
export const ExportJobProperties = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    JobId: S.String,
    JobName: S.optional(S.String),
    JobStatus: JobStatus,
    SubmitTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")),
    EndTime: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
    DatastoreId: S.String,
    OutputDataConfig: OutputDataConfig,
    DataAccessRoleArn: S.optional(S.String),
    Message: S.optional(S.String),
})).annotate({
    identifier: "ExportJobProperties",
});
export const DescribeFHIRExportJobResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ExportJobProperties: ExportJobProperties })).annotate({
    identifier: "DescribeFHIRExportJobResponse",
});
export const DescribeFHIRImportJobRequest = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ DatastoreId: S.String, JobId: S.String }).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "DescribeFHIRImportJobRequest",
});
export const InputDataConfig = /*@__PURE__*/ /*#__PURE__*/ S.Union([
    S.Struct({ S3Uri: S.String }),
]);
export const JobProgressReport = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    TotalNumberOfScannedFiles: S.optional(S.Number),
    TotalSizeOfScannedFilesInMB: S.optional(S.Number),
    TotalNumberOfImportedFiles: S.optional(S.Number),
    TotalNumberOfResourcesScanned: S.optional(S.Number),
    TotalNumberOfResourcesImported: S.optional(S.Number),
    TotalNumberOfResourcesWithCustomerError: S.optional(S.Number),
    TotalNumberOfFilesReadWithCustomerError: S.optional(S.Number),
    Throughput: S.optional(S.Number),
})).annotate({
    identifier: "JobProgressReport",
});
export const ValidationLevel = /*@__PURE__*/ /*#__PURE__*/ S.String;
export const ImportJobProperties = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    JobId: S.String,
    JobName: S.optional(S.String),
    JobStatus: JobStatus,
    SubmitTime: S.Date.pipe(T.TimestampFormat("epoch-seconds")),
    EndTime: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
    DatastoreId: S.String,
    InputDataConfig: InputDataConfig,
    JobOutputDataConfig: S.optional(OutputDataConfig),
    JobProgressReport: S.optional(JobProgressReport),
    DataAccessRoleArn: S.optional(S.String),
    Message: S.optional(S.String),
    ValidationLevel: S.optional(ValidationLevel),
})).annotate({
    identifier: "ImportJobProperties",
});
export const DescribeFHIRImportJobResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ImportJobProperties: ImportJobProperties })).annotate({
    identifier: "DescribeFHIRImportJobResponse",
});
export const DatastoreFilter = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastoreName: S.optional(S.String),
    DatastoreStatus: S.optional(DatastoreStatus),
    CreatedBefore: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
    CreatedAfter: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
})).annotate({
    identifier: "DatastoreFilter",
});
export const ListFHIRDatastoresRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    Filter: S.optional(DatastoreFilter),
    NextToken: S.optional(S.String),
    MaxResults: S.optional(S.Number),
}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListFHIRDatastoresRequest",
});
export const DatastorePropertiesList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(DatastoreProperties);
export const ListFHIRDatastoresResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastorePropertiesList: DatastorePropertiesList,
    NextToken: S.optional(S.String),
})).annotate({
    identifier: "ListFHIRDatastoresResponse",
});
export const ListFHIRExportJobsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastoreId: S.String,
    NextToken: S.optional(S.String),
    MaxResults: S.optional(S.Number),
    JobName: S.optional(S.String),
    JobStatus: S.optional(JobStatus),
    SubmittedBefore: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
    SubmittedAfter: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListFHIRExportJobsRequest",
});
export const ExportJobPropertiesList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(ExportJobProperties);
export const ListFHIRExportJobsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ExportJobPropertiesList: ExportJobPropertiesList,
    NextToken: S.optional(S.String),
})).annotate({
    identifier: "ListFHIRExportJobsResponse",
});
export const ListFHIRImportJobsRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    DatastoreId: S.String,
    NextToken: S.optional(S.String),
    MaxResults: S.optional(S.Number),
    JobName: S.optional(S.String),
    JobStatus: S.optional(JobStatus),
    SubmittedBefore: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
    SubmittedAfter: S.optional(S.Date.pipe(T.TimestampFormat("epoch-seconds"))),
}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListFHIRImportJobsRequest",
});
export const ImportJobPropertiesList = 
/*@__PURE__*/ /*#__PURE__*/ S.Array(ImportJobProperties);
export const ListFHIRImportJobsResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    ImportJobPropertiesList: ImportJobPropertiesList,
    NextToken: S.optional(S.String),
})).annotate({
    identifier: "ListFHIRImportJobsResponse",
});
export const ListTagsForResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ResourceARN: S.String }).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "ListTagsForResourceRequest",
});
export const ListTagsForResourceResponse = 
/*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ Tags: S.optional(TagList) })).annotate({
    identifier: "ListTagsForResourceResponse",
});
export const StartFHIRExportJobRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    JobName: S.optional(S.String),
    OutputDataConfig: OutputDataConfig,
    DatastoreId: S.String,
    DataAccessRoleArn: S.String,
    ClientToken: S.optional(S.String).pipe(T.IdempotencyToken()),
}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "StartFHIRExportJobRequest",
});
export const StartFHIRExportJobResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    JobId: S.String,
    JobStatus: JobStatus,
    DatastoreId: S.optional(S.String),
})).annotate({
    identifier: "StartFHIRExportJobResponse",
});
export const StartFHIRImportJobRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    JobName: S.optional(S.String),
    InputDataConfig: InputDataConfig,
    JobOutputDataConfig: OutputDataConfig,
    DatastoreId: S.String,
    DataAccessRoleArn: S.String,
    ClientToken: S.optional(S.String).pipe(T.IdempotencyToken()),
    ValidationLevel: S.optional(ValidationLevel),
}).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "StartFHIRImportJobRequest",
});
export const StartFHIRImportJobResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({
    JobId: S.String,
    JobStatus: JobStatus,
    DatastoreId: S.optional(S.String),
})).annotate({
    identifier: "StartFHIRImportJobResponse",
});
export const TagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ResourceARN: S.String, Tags: TagList }).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "TagResourceRequest",
});
export const TagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "TagResourceResponse",
});
export const TagKeyList = /*@__PURE__*/ /*#__PURE__*/ S.Array(S.String);
export const UntagResourceRequest = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({ ResourceARN: S.String, TagKeys: TagKeyList }).pipe(T.all(T.Http({ method: "POST", uri: "/" }), svc, auth, proto, ver, rules))).annotate({
    identifier: "UntagResourceRequest",
});
export const UntagResourceResponse = /*@__PURE__*/ /*#__PURE__*/ S.suspend(() => S.Struct({})).annotate({
    identifier: "UntagResourceResponse",
});
//# Errors
export class AccessDeniedException extends S.TaggedErrorClass()("AccessDeniedException", { Message: S.optional(S.String) }).pipe(C.withAuthError) {
}
export class InternalServerException extends S.TaggedErrorClass()("InternalServerException", { Message: S.optional(S.String) }).pipe(C.withServerError) {
}
export class ThrottlingException extends S.TaggedErrorClass()("ThrottlingException", { Message: S.optional(S.String) }).pipe(C.withThrottlingError) {
}
export class ValidationException extends S.TaggedErrorClass()("ValidationException", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
}
export class ConflictException extends S.TaggedErrorClass()("ConflictException", { Message: S.optional(S.String) }).pipe(C.withConflictError) {
}
export class ResourceNotFoundException extends S.TaggedErrorClass()("ResourceNotFoundException", { Message: S.optional(S.String) }).pipe(C.withBadRequestError) {
}
/**
 * Create a FHIR-enabled data store.
 */
export const createFHIRDatastore = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: CreateFHIRDatastoreRequest,
    output: CreateFHIRDatastoreResponse,
    errors: [
        AccessDeniedException,
        InternalServerException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Delete a FHIR-enabled data store.
 */
export const deleteFHIRDatastore = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DeleteFHIRDatastoreRequest,
    output: DeleteFHIRDatastoreResponse,
    errors: [
        AccessDeniedException,
        ConflictException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Get properties for a FHIR-enabled data store.
 */
export const describeFHIRDatastore = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DescribeFHIRDatastoreRequest,
    output: DescribeFHIRDatastoreResponse,
    errors: [
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Get FHIR export job properties.
 */
export const describeFHIRExportJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DescribeFHIRExportJobRequest,
    output: DescribeFHIRExportJobResponse,
    errors: [
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Get the import job properties to learn more about the job or job progress.
 */
export const describeFHIRImportJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: DescribeFHIRImportJobRequest,
    output: DescribeFHIRImportJobResponse,
    errors: [
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * List all FHIR-enabled data stores in a user’s account, regardless of data store
 * status.
 */
export const listFHIRDatastores = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListFHIRDatastoresRequest,
    output: ListFHIRDatastoresResponse,
    errors: [InternalServerException, ThrottlingException, ValidationException],
    pagination: {
        inputToken: "NextToken",
        outputToken: "NextToken",
        pageSize: "MaxResults",
    },
}));
/**
 * Lists all FHIR export jobs associated with an account and their statuses.
 */
export const listFHIRExportJobs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListFHIRExportJobsRequest,
    output: ListFHIRExportJobsResponse,
    errors: [
        AccessDeniedException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
    pagination: {
        inputToken: "NextToken",
        outputToken: "NextToken",
        pageSize: "MaxResults",
    },
}));
/**
 * List all FHIR import jobs associated with an account and their statuses.
 */
export const listFHIRImportJobs = /*@__PURE__*/ /*#__PURE__*/ API.makePaginated(() => ({
    input: ListFHIRImportJobsRequest,
    output: ListFHIRImportJobsResponse,
    errors: [
        AccessDeniedException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
    pagination: {
        inputToken: "NextToken",
        outputToken: "NextToken",
        pageSize: "MaxResults",
    },
}));
/**
 * Returns a list of all existing tags associated with a data store.
 */
export const listTagsForResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: ListTagsForResourceRequest,
    output: ListTagsForResourceResponse,
    errors: [ResourceNotFoundException, ValidationException],
}));
/**
 * Start a FHIR export job.
 */
export const startFHIRExportJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: StartFHIRExportJobRequest,
    output: StartFHIRExportJobResponse,
    errors: [
        AccessDeniedException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Start importing bulk FHIR data into an ACTIVE data store. The import job imports FHIR
 * data found in the `InputDataConfig` object and stores processing results in the
 * `JobOutputDataConfig` object.
 */
export const startFHIRImportJob = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: StartFHIRImportJobRequest,
    output: StartFHIRImportJobResponse,
    errors: [
        AccessDeniedException,
        InternalServerException,
        ResourceNotFoundException,
        ThrottlingException,
        ValidationException,
    ],
}));
/**
 * Add a user-specifed key and value tag to a data store.
 */
export const tagResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: TagResourceRequest,
    output: TagResourceResponse,
    errors: [ResourceNotFoundException, ValidationException],
}));
/**
 * Remove a user-specifed key and value tag from a data store.
 */
export const untagResource = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
    input: UntagResourceRequest,
    output: UntagResourceResponse,
    errors: [ResourceNotFoundException, ValidationException],
}));
//# sourceMappingURL=healthlake.js.map