File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-dataexchange/dist-cjs

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js32.1 KB · 856 lines
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var DataExchangeServiceException = require('./models/DataExchangeServiceException'); const resolveClientEndpointParameters = (options) => {    return Object.assign(options, {        useDualstackEndpoint: options.useDualstackEndpoint ?? false,        useFipsEndpoint: options.useFipsEndpoint ?? false,        defaultSigningName: "dataexchange",    });};const commonParams = {    UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },    Endpoint: { type: "builtInParams", name: "endpoint" },    Region: { type: "builtInParams", name: "region" },    UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => {    const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;    let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;    let _credentials = runtimeConfig.credentials;    return {        setHttpAuthScheme(httpAuthScheme) {            const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);            if (index === -1) {                _httpAuthSchemes.push(httpAuthScheme);            }            else {                _httpAuthSchemes.splice(index, 1, httpAuthScheme);            }        },        httpAuthSchemes() {            return _httpAuthSchemes;        },        setHttpAuthSchemeProvider(httpAuthSchemeProvider) {            _httpAuthSchemeProvider = httpAuthSchemeProvider;        },        httpAuthSchemeProvider() {            return _httpAuthSchemeProvider;        },        setCredentials(credentials) {            _credentials = credentials;        },        credentials() {            return _credentials;        },    };};const resolveHttpAuthRuntimeConfig = (config) => {    return {        httpAuthSchemes: config.httpAuthSchemes(),        httpAuthSchemeProvider: config.httpAuthSchemeProvider(),        credentials: config.credentials(),    };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => {    const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));    extensions.forEach((extension) => extension.configure(extensionConfiguration));    return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class DataExchangeClient extends client.Client {    config;    constructor(...[configuration]) {        const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});        super(_config_0);        this.initConfig = _config_0;        const _config_1 = resolveClientEndpointParameters(_config_0);        const _config_2 = client$1.resolveUserAgentConfig(_config_1);        const _config_3 = retry.resolveRetryConfig(_config_2);        const _config_4 = config.resolveRegionConfig(_config_3);        const _config_5 = client$1.resolveHostHeaderConfig(_config_4);        const _config_6 = endpoints.resolveEndpointConfig(_config_5);        const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);        const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);        this.config = _config_8;        this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));        this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));        this.middlewareStack.use(retry.getRetryPlugin(this.config));        this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));        this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));        this.middlewareStack.use(client$1.getLoggerPlugin(this.config));        this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));        this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {            httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultDataExchangeHttpAuthSchemeParametersProvider,            identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({                "aws.auth#sigv4": config.credentials,            }),        }));        this.middlewareStack.use(core.getHttpSigningPlugin(this.config));    }    destroy() {        super.destroy();    }} class AcceptDataGrantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "AcceptDataGrant", {})    .n("DataExchangeClient", "AcceptDataGrantCommand")    .sc(schemas_0.AcceptDataGrant$)    .build() {} class CancelJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "CancelJob", {})    .n("DataExchangeClient", "CancelJobCommand")    .sc(schemas_0.CancelJob$)    .build() {} class CreateDataGrantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "CreateDataGrant", {})    .n("DataExchangeClient", "CreateDataGrantCommand")    .sc(schemas_0.CreateDataGrant$)    .build() {} class CreateDataSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "CreateDataSet", {})    .n("DataExchangeClient", "CreateDataSetCommand")    .sc(schemas_0.CreateDataSet$)    .build() {} class CreateEventActionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "CreateEventAction", {})    .n("DataExchangeClient", "CreateEventActionCommand")    .sc(schemas_0.CreateEventAction$)    .build() {} class CreateJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "CreateJob", {})    .n("DataExchangeClient", "CreateJobCommand")    .sc(schemas_0.CreateJob$)    .build() {} class CreateRevisionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "CreateRevision", {})    .n("DataExchangeClient", "CreateRevisionCommand")    .sc(schemas_0.CreateRevision$)    .build() {} class DeleteAssetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "DeleteAsset", {})    .n("DataExchangeClient", "DeleteAssetCommand")    .sc(schemas_0.DeleteAsset$)    .build() {} class DeleteDataGrantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "DeleteDataGrant", {})    .n("DataExchangeClient", "DeleteDataGrantCommand")    .sc(schemas_0.DeleteDataGrant$)    .build() {} class DeleteDataSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "DeleteDataSet", {})    .n("DataExchangeClient", "DeleteDataSetCommand")    .sc(schemas_0.DeleteDataSet$)    .build() {} class DeleteEventActionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "DeleteEventAction", {})    .n("DataExchangeClient", "DeleteEventActionCommand")    .sc(schemas_0.DeleteEventAction$)    .build() {} class DeleteRevisionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "DeleteRevision", {})    .n("DataExchangeClient", "DeleteRevisionCommand")    .sc(schemas_0.DeleteRevision$)    .build() {} class GetAssetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "GetAsset", {})    .n("DataExchangeClient", "GetAssetCommand")    .sc(schemas_0.GetAsset$)    .build() {} class GetDataGrantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "GetDataGrant", {})    .n("DataExchangeClient", "GetDataGrantCommand")    .sc(schemas_0.GetDataGrant$)    .build() {} class GetDataSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "GetDataSet", {})    .n("DataExchangeClient", "GetDataSetCommand")    .sc(schemas_0.GetDataSet$)    .build() {} class GetEventActionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "GetEventAction", {})    .n("DataExchangeClient", "GetEventActionCommand")    .sc(schemas_0.GetEventAction$)    .build() {} class GetJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "GetJob", {})    .n("DataExchangeClient", "GetJobCommand")    .sc(schemas_0.GetJob$)    .build() {} class GetReceivedDataGrantCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "GetReceivedDataGrant", {})    .n("DataExchangeClient", "GetReceivedDataGrantCommand")    .sc(schemas_0.GetReceivedDataGrant$)    .build() {} class GetRevisionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "GetRevision", {})    .n("DataExchangeClient", "GetRevisionCommand")    .sc(schemas_0.GetRevision$)    .build() {} class ListDataGrantsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListDataGrants", {})    .n("DataExchangeClient", "ListDataGrantsCommand")    .sc(schemas_0.ListDataGrants$)    .build() {} class ListDataSetRevisionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListDataSetRevisions", {})    .n("DataExchangeClient", "ListDataSetRevisionsCommand")    .sc(schemas_0.ListDataSetRevisions$)    .build() {} class ListDataSetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListDataSets", {})    .n("DataExchangeClient", "ListDataSetsCommand")    .sc(schemas_0.ListDataSets$)    .build() {} class ListEventActionsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListEventActions", {})    .n("DataExchangeClient", "ListEventActionsCommand")    .sc(schemas_0.ListEventActions$)    .build() {} class ListJobsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListJobs", {})    .n("DataExchangeClient", "ListJobsCommand")    .sc(schemas_0.ListJobs$)    .build() {} class ListReceivedDataGrantsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListReceivedDataGrants", {})    .n("DataExchangeClient", "ListReceivedDataGrantsCommand")    .sc(schemas_0.ListReceivedDataGrants$)    .build() {} class ListRevisionAssetsCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListRevisionAssets", {})    .n("DataExchangeClient", "ListRevisionAssetsCommand")    .sc(schemas_0.ListRevisionAssets$)    .build() {} class ListTagsForResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "ListTagsForResource", {})    .n("DataExchangeClient", "ListTagsForResourceCommand")    .sc(schemas_0.ListTagsForResource$)    .build() {} class RevokeRevisionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "RevokeRevision", {})    .n("DataExchangeClient", "RevokeRevisionCommand")    .sc(schemas_0.RevokeRevision$)    .build() {} class SendApiAssetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "SendApiAsset", {})    .n("DataExchangeClient", "SendApiAssetCommand")    .sc(schemas_0.SendApiAsset$)    .build() {} class SendDataSetNotificationCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "SendDataSetNotification", {})    .n("DataExchangeClient", "SendDataSetNotificationCommand")    .sc(schemas_0.SendDataSetNotification$)    .build() {} class StartJobCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "StartJob", {})    .n("DataExchangeClient", "StartJobCommand")    .sc(schemas_0.StartJob$)    .build() {} class TagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "TagResource", {})    .n("DataExchangeClient", "TagResourceCommand")    .sc(schemas_0.TagResource$)    .build() {} class UntagResourceCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "UntagResource", {})    .n("DataExchangeClient", "UntagResourceCommand")    .sc(schemas_0.UntagResource$)    .build() {} class UpdateAssetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "UpdateAsset", {})    .n("DataExchangeClient", "UpdateAssetCommand")    .sc(schemas_0.UpdateAsset$)    .build() {} class UpdateDataSetCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "UpdateDataSet", {})    .n("DataExchangeClient", "UpdateDataSetCommand")    .sc(schemas_0.UpdateDataSet$)    .build() {} class UpdateEventActionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "UpdateEventAction", {})    .n("DataExchangeClient", "UpdateEventActionCommand")    .sc(schemas_0.UpdateEventAction$)    .build() {} class UpdateRevisionCommand extends client.Command    .classBuilder()    .ep(commonParams)    .m(function (Command, cs, config, o) {    return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];})    .s("DataExchange", "UpdateRevision", {})    .n("DataExchangeClient", "UpdateRevisionCommand")    .sc(schemas_0.UpdateRevision$)    .build() {} const paginateListDataGrants = core.createPaginator(DataExchangeClient, ListDataGrantsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDataSetRevisions = core.createPaginator(DataExchangeClient, ListDataSetRevisionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDataSets = core.createPaginator(DataExchangeClient, ListDataSetsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListEventActions = core.createPaginator(DataExchangeClient, ListEventActionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListJobs = core.createPaginator(DataExchangeClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListReceivedDataGrants = core.createPaginator(DataExchangeClient, ListReceivedDataGrantsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListRevisionAssets = core.createPaginator(DataExchangeClient, ListRevisionAssetsCommand, "NextToken", "NextToken", "MaxResults"); const commands = {    AcceptDataGrantCommand,    CancelJobCommand,    CreateDataGrantCommand,    CreateDataSetCommand,    CreateEventActionCommand,    CreateJobCommand,    CreateRevisionCommand,    DeleteAssetCommand,    DeleteDataGrantCommand,    DeleteDataSetCommand,    DeleteEventActionCommand,    DeleteRevisionCommand,    GetAssetCommand,    GetDataGrantCommand,    GetDataSetCommand,    GetEventActionCommand,    GetJobCommand,    GetReceivedDataGrantCommand,    GetRevisionCommand,    ListDataGrantsCommand,    ListDataSetRevisionsCommand,    ListDataSetsCommand,    ListEventActionsCommand,    ListJobsCommand,    ListReceivedDataGrantsCommand,    ListRevisionAssetsCommand,    ListTagsForResourceCommand,    RevokeRevisionCommand,    SendApiAssetCommand,    SendDataSetNotificationCommand,    StartJobCommand,    TagResourceCommand,    UntagResourceCommand,    UpdateAssetCommand,    UpdateDataSetCommand,    UpdateEventActionCommand,    UpdateRevisionCommand,};const paginators = {    paginateListDataGrants,    paginateListDataSetRevisions,    paginateListDataSets,    paginateListEventActions,    paginateListJobs,    paginateListReceivedDataGrants,    paginateListRevisionAssets,};class DataExchange extends DataExchangeClient {}client.createAggregatedClient(commands, DataExchange, { paginators }); const AcceptanceStateFilterValue = {    ACCEPTED: "ACCEPTED",    PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE",};const DataGrantAcceptanceState = {    ACCEPTED: "ACCEPTED",    PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE",};const GrantDistributionScope = {    AWS_ORGANIZATION: "AWS_ORGANIZATION",    NONE: "NONE",};const ResourceType = {    ASSET: "ASSET",    DATA_GRANT: "DATA_GRANT",    DATA_SET: "DATA_SET",    EVENT_ACTION: "EVENT_ACTION",    JOB: "JOB",    REVISION: "REVISION",};const ExceptionCause = {    InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy",    S3AccessDenied: "S3AccessDenied",};const ServerSideEncryptionTypes = {    AES256: "AES256",    aws_kms: "aws:kms",};const ProtocolType = {    REST: "REST",};const LFResourceType = {    DATABASE: "DATABASE",    TABLE: "TABLE",};const LakeFormationDataPermissionType = {    LFTagPolicy: "LFTagPolicy",};const LFPermission = {    DESCRIBE: "DESCRIBE",    SELECT: "SELECT",};const AssetType = {    API_GATEWAY_API: "API_GATEWAY_API",    LAKE_FORMATION_DATA_PERMISSION: "LAKE_FORMATION_DATA_PERMISSION",    REDSHIFT_DATA_SHARE: "REDSHIFT_DATA_SHARE",    S3_DATA_ACCESS: "S3_DATA_ACCESS",    S3_SNAPSHOT: "S3_SNAPSHOT",};const Code = {    ACCESS_DENIED_EXCEPTION: "ACCESS_DENIED_EXCEPTION",    INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",    MALWARE_DETECTED: "MALWARE_DETECTED",    MALWARE_SCAN_ENCRYPTED_FILE: "MALWARE_SCAN_ENCRYPTED_FILE",    RESOURCE_NOT_FOUND_EXCEPTION: "RESOURCE_NOT_FOUND_EXCEPTION",    SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION",    VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",};const LimitName = {    AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision",    Active_and_pending_data_grants: "Active and pending data grants",    Amazon_API_Gateway_API_assets_per_revision: "Amazon API Gateway API assets per revision",    Amazon_Redshift_datashare_assets_per_import_job_from_Redshift: "Amazon Redshift datashare assets per import job from Redshift",    Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision",    Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision",    Asset_per_export_job_from_Amazon_S3: "Asset per export job from Amazon S3",    Asset_size_in_GB: "Asset size in GB",    Assets_per_import_job_from_Amazon_S3: "Assets per import job from Amazon S3",    Assets_per_revision: "Assets per revision",    Auto_export_event_actions_per_data_set: "Auto export event actions per data set",    Concurrent_in_progress_jobs_to_create_Amazon_S3_data_access_assets_from_S3_buckets: "Concurrent in progress jobs to create Amazon S3 data access assets from S3 buckets",    Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3: "Concurrent in progress jobs to export assets to Amazon S3",    Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL: "Concurrent in progress jobs to export assets to a signed URL",    Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3: "Concurrent in progress jobs to export revisions to Amazon S3",    Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares: "Concurrent in progress jobs to import assets from Amazon Redshift datashares",    Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3: "Concurrent in progress jobs to import assets from Amazon S3",    Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL: "Concurrent in progress jobs to import assets from a signed URL",    Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API: "Concurrent in progress jobs to import assets from an API Gateway API",    Concurrent_in_progress_jobs_to_import_assets_from_an_AWS_Lake_Formation_tag_policy: "Concurrent in progress jobs to import assets from an AWS Lake Formation tag policy",    Data_sets_per_account: "Data sets per account",    Data_sets_per_product: "Data sets per product",    Event_actions_per_account: "Event actions per account",    Pending_data_grants_per_consumer: "Pending data grants per consumer",    Products_per_account: "Products per account",    Revisions_per_AWS_Lake_Formation_data_permission_data_set: "Revisions per AWS Lake Formation data permission data set",    Revisions_per_Amazon_API_Gateway_API_data_set: "Revisions per Amazon API Gateway API data set",    Revisions_per_Amazon_Redshift_datashare_data_set: "Revisions per Amazon Redshift datashare data set",    Revisions_per_Amazon_S3_data_access_data_set: "Revisions per Amazon S3 data access data set",    Revisions_per_data_set: "Revisions per data set",};const Origin = {    ENTITLED: "ENTITLED",    OWNED: "OWNED",};const DatabaseLFTagPolicyPermission = {    DESCRIBE: "DESCRIBE",};const TableTagPolicyLFPermission = {    DESCRIBE: "DESCRIBE",    SELECT: "SELECT",};const Type = {    CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET: "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET",    EXPORT_ASSETS_TO_S3: "EXPORT_ASSETS_TO_S3",    EXPORT_ASSET_TO_SIGNED_URL: "EXPORT_ASSET_TO_SIGNED_URL",    EXPORT_REVISIONS_TO_S3: "EXPORT_REVISIONS_TO_S3",    IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY: "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY",    IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES: "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES",    IMPORT_ASSETS_FROM_S3: "IMPORT_ASSETS_FROM_S3",    IMPORT_ASSET_FROM_API_GATEWAY_API: "IMPORT_ASSET_FROM_API_GATEWAY_API",    IMPORT_ASSET_FROM_SIGNED_URL: "IMPORT_ASSET_FROM_SIGNED_URL",};const JobErrorLimitName = {    AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision",    Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision",    Amazon_S3_data_access_assets_per_revision: "Amazon S3 data access assets per revision",    Asset_size_in_GB: "Asset size in GB",    Assets_per_revision: "Assets per revision",};const JobErrorResourceTypes = {    ASSET: "ASSET",    DATA_SET: "DATA_SET",    REVISION: "REVISION",};const State = {    CANCELLED: "CANCELLED",    COMPLETED: "COMPLETED",    ERROR: "ERROR",    IN_PROGRESS: "IN_PROGRESS",    TIMED_OUT: "TIMED_OUT",    WAITING: "WAITING",};const SchemaChangeType = {    ADD: "ADD",    MODIFY: "MODIFY",    REMOVE: "REMOVE",};const NotificationType = {    DATA_DELAY: "DATA_DELAY",    DATA_UPDATE: "DATA_UPDATE",    DEPRECATION: "DEPRECATION",    SCHEMA_CHANGE: "SCHEMA_CHANGE",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.DataExchangeServiceException = DataExchangeServiceException.DataExchangeServiceException;exports.AcceptDataGrantCommand = AcceptDataGrantCommand;exports.AcceptanceStateFilterValue = AcceptanceStateFilterValue;exports.AssetType = AssetType;exports.CancelJobCommand = CancelJobCommand;exports.Code = Code;exports.CreateDataGrantCommand = CreateDataGrantCommand;exports.CreateDataSetCommand = CreateDataSetCommand;exports.CreateEventActionCommand = CreateEventActionCommand;exports.CreateJobCommand = CreateJobCommand;exports.CreateRevisionCommand = CreateRevisionCommand;exports.DataExchange = DataExchange;exports.DataExchangeClient = DataExchangeClient;exports.DataGrantAcceptanceState = DataGrantAcceptanceState;exports.DatabaseLFTagPolicyPermission = DatabaseLFTagPolicyPermission;exports.DeleteAssetCommand = DeleteAssetCommand;exports.DeleteDataGrantCommand = DeleteDataGrantCommand;exports.DeleteDataSetCommand = DeleteDataSetCommand;exports.DeleteEventActionCommand = DeleteEventActionCommand;exports.DeleteRevisionCommand = DeleteRevisionCommand;exports.ExceptionCause = ExceptionCause;exports.GetAssetCommand = GetAssetCommand;exports.GetDataGrantCommand = GetDataGrantCommand;exports.GetDataSetCommand = GetDataSetCommand;exports.GetEventActionCommand = GetEventActionCommand;exports.GetJobCommand = GetJobCommand;exports.GetReceivedDataGrantCommand = GetReceivedDataGrantCommand;exports.GetRevisionCommand = GetRevisionCommand;exports.GrantDistributionScope = GrantDistributionScope;exports.JobErrorLimitName = JobErrorLimitName;exports.JobErrorResourceTypes = JobErrorResourceTypes;exports.LFPermission = LFPermission;exports.LFResourceType = LFResourceType;exports.LakeFormationDataPermissionType = LakeFormationDataPermissionType;exports.LimitName = LimitName;exports.ListDataGrantsCommand = ListDataGrantsCommand;exports.ListDataSetRevisionsCommand = ListDataSetRevisionsCommand;exports.ListDataSetsCommand = ListDataSetsCommand;exports.ListEventActionsCommand = ListEventActionsCommand;exports.ListJobsCommand = ListJobsCommand;exports.ListReceivedDataGrantsCommand = ListReceivedDataGrantsCommand;exports.ListRevisionAssetsCommand = ListRevisionAssetsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.NotificationType = NotificationType;exports.Origin = Origin;exports.ProtocolType = ProtocolType;exports.ResourceType = ResourceType;exports.RevokeRevisionCommand = RevokeRevisionCommand;exports.SchemaChangeType = SchemaChangeType;exports.SendApiAssetCommand = SendApiAssetCommand;exports.SendDataSetNotificationCommand = SendDataSetNotificationCommand;exports.ServerSideEncryptionTypes = ServerSideEncryptionTypes;exports.StartJobCommand = StartJobCommand;exports.State = State;exports.TableTagPolicyLFPermission = TableTagPolicyLFPermission;exports.TagResourceCommand = TagResourceCommand;exports.Type = Type;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateAssetCommand = UpdateAssetCommand;exports.UpdateDataSetCommand = UpdateDataSetCommand;exports.UpdateEventActionCommand = UpdateEventActionCommand;exports.UpdateRevisionCommand = UpdateRevisionCommand;exports.paginateListDataGrants = paginateListDataGrants;exports.paginateListDataSetRevisions = paginateListDataSetRevisions;exports.paginateListDataSets = paginateListDataSets;exports.paginateListEventActions = paginateListEventActions;exports.paginateListJobs = paginateListJobs;exports.paginateListReceivedDataGrants = paginateListReceivedDataGrants;exports.paginateListRevisionAssets = paginateListRevisionAssets;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: schemas_0['__proto__']    }); Object.keys(schemas_0).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') &&    !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&    Object.defineProperty(exports, '__proto__', {        enumerable: true,        value: errors['__proto__']    }); Object.keys(errors).forEach(function (k) {    if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});