@aws-sdk/client-dataexchange 3.34.0 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/{dist/cjs → dist-cjs}/DataExchange.js +76 -1
- package/dist-cjs/DataExchange.js.map +1 -0
- package/{dist/cjs → dist-cjs}/DataExchangeClient.js +8 -8
- package/dist-cjs/DataExchangeClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CancelJobCommand.js +2 -2
- package/dist-cjs/commands/CancelJobCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateDataSetCommand.js +2 -2
- package/dist-cjs/commands/CreateDataSetCommand.js.map +1 -0
- package/dist-cjs/commands/CreateEventActionCommand.js +61 -0
- package/dist-cjs/commands/CreateEventActionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateJobCommand.js +2 -2
- package/dist-cjs/commands/CreateJobCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateRevisionCommand.js +2 -2
- package/dist-cjs/commands/CreateRevisionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteAssetCommand.js +2 -2
- package/dist-cjs/commands/DeleteAssetCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteDataSetCommand.js +2 -2
- package/dist-cjs/commands/DeleteDataSetCommand.js.map +1 -0
- package/dist-cjs/commands/DeleteEventActionCommand.js +61 -0
- package/dist-cjs/commands/DeleteEventActionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteRevisionCommand.js +2 -2
- package/dist-cjs/commands/DeleteRevisionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetAssetCommand.js +2 -2
- package/dist-cjs/commands/GetAssetCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetDataSetCommand.js +2 -2
- package/dist-cjs/commands/GetDataSetCommand.js.map +1 -0
- package/dist-cjs/commands/GetEventActionCommand.js +61 -0
- package/dist-cjs/commands/GetEventActionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetJobCommand.js +2 -2
- package/dist-cjs/commands/GetJobCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetRevisionCommand.js +2 -2
- package/dist-cjs/commands/GetRevisionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListDataSetRevisionsCommand.js +2 -2
- package/dist-cjs/commands/ListDataSetRevisionsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListDataSetsCommand.js +2 -2
- package/dist-cjs/commands/ListDataSetsCommand.js.map +1 -0
- package/dist-cjs/commands/ListEventActionsCommand.js +61 -0
- package/dist-cjs/commands/ListEventActionsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -2
- package/dist-cjs/commands/ListJobsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListRevisionAssetsCommand.js +2 -2
- package/dist-cjs/commands/ListRevisionAssetsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/StartJobCommand.js +2 -2
- package/dist-cjs/commands/StartJobCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateAssetCommand.js +2 -2
- package/dist-cjs/commands/UpdateAssetCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateDataSetCommand.js +2 -2
- package/dist-cjs/commands/UpdateDataSetCommand.js.map +1 -0
- package/dist-cjs/commands/UpdateEventActionCommand.js +61 -0
- package/dist-cjs/commands/UpdateEventActionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateRevisionCommand.js +2 -2
- package/dist-cjs/commands/UpdateRevisionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
- package/dist-cjs/endpoints.js.map +1 -0
- package/{dist/cjs → dist-cjs}/index.js +6 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +0 -0
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +156 -11
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDataSetRevisionsPaginator.js +1 -1
- package/dist-cjs/pagination/ListDataSetRevisionsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListDataSetsPaginator.js +1 -1
- package/dist-cjs/pagination/ListDataSetsPaginator.js.map +1 -0
- package/dist-cjs/pagination/ListEventActionsPaginator.js +46 -0
- package/dist-cjs/pagination/ListEventActionsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListJobsPaginator.js +1 -1
- package/dist-cjs/pagination/ListJobsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListRevisionAssetsPaginator.js +1 -1
- package/dist-cjs/pagination/ListRevisionAssetsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +700 -27
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/DataExchange.js +76 -1
- package/dist-es/DataExchange.js.map +1 -0
- package/{dist/es → dist-es}/DataExchangeClient.js +1 -1
- package/dist-es/DataExchangeClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/CancelJobCommand.js +2 -2
- package/dist-es/commands/CancelJobCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateDataSetCommand.js +2 -2
- package/dist-es/commands/CreateDataSetCommand.js.map +1 -0
- package/dist-es/commands/CreateEventActionCommand.js +40 -0
- package/dist-es/commands/CreateEventActionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateJobCommand.js +2 -2
- package/dist-es/commands/CreateJobCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateRevisionCommand.js +2 -2
- package/dist-es/commands/CreateRevisionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteAssetCommand.js +2 -2
- package/dist-es/commands/DeleteAssetCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteDataSetCommand.js +2 -2
- package/dist-es/commands/DeleteDataSetCommand.js.map +1 -0
- package/dist-es/commands/DeleteEventActionCommand.js +40 -0
- package/dist-es/commands/DeleteEventActionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteRevisionCommand.js +2 -2
- package/dist-es/commands/DeleteRevisionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetAssetCommand.js +2 -2
- package/dist-es/commands/GetAssetCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetDataSetCommand.js +2 -2
- package/dist-es/commands/GetDataSetCommand.js.map +1 -0
- package/dist-es/commands/GetEventActionCommand.js +40 -0
- package/dist-es/commands/GetEventActionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetJobCommand.js +2 -2
- package/dist-es/commands/GetJobCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetRevisionCommand.js +2 -2
- package/dist-es/commands/GetRevisionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListDataSetRevisionsCommand.js +2 -2
- package/dist-es/commands/ListDataSetRevisionsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListDataSetsCommand.js +2 -2
- package/dist-es/commands/ListDataSetsCommand.js.map +1 -0
- package/dist-es/commands/ListEventActionsCommand.js +40 -0
- package/dist-es/commands/ListEventActionsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListJobsCommand.js +2 -2
- package/dist-es/commands/ListJobsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListRevisionAssetsCommand.js +2 -2
- package/dist-es/commands/ListRevisionAssetsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/StartJobCommand.js +2 -2
- package/dist-es/commands/StartJobCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateAssetCommand.js +2 -2
- package/dist-es/commands/UpdateAssetCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateDataSetCommand.js +2 -2
- package/dist-es/commands/UpdateDataSetCommand.js.map +1 -0
- package/dist-es/commands/UpdateEventActionCommand.js +40 -0
- package/dist-es/commands/UpdateEventActionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateRevisionCommand.js +2 -2
- package/dist-es/commands/UpdateRevisionCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +0 -0
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +6 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +79 -9
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListDataSetRevisionsPaginator.js +1 -1
- package/dist-es/pagination/ListDataSetRevisionsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListDataSetsPaginator.js +1 -1
- package/dist-es/pagination/ListDataSetsPaginator.js.map +1 -0
- package/dist-es/pagination/ListEventActionsPaginator.js +75 -0
- package/dist-es/pagination/ListEventActionsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListJobsPaginator.js +1 -1
- package/dist-es/pagination/ListJobsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListRevisionAssetsPaginator.js +1 -1
- package/dist-es/pagination/ListRevisionAssetsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +751 -7
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -2
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- package/{dist/types/ts3.4 → dist-types}/DataExchange.d.ts +196 -161
- package/{dist/types/ts3.4 → dist-types}/DataExchangeClient.d.ts +159 -154
- package/{dist/types → dist-types}/commands/CancelJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDataSetCommand.d.ts +2 -2
- package/dist-types/commands/CreateEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/CreateJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteAssetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDataSetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/DeleteRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetAssetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDataSetCommand.d.ts +2 -2
- package/dist-types/commands/GetEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/GetJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDataSetRevisionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDataSetsCommand.d.ts +2 -2
- package/dist-types/commands/ListEventActionsCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/ListJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRevisionAssetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateAssetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDataSetCommand.d.ts +2 -2
- package/dist-types/commands/UpdateEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/UpdateRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/index.d.ts +6 -0
- package/{dist/types → dist-types}/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +324 -11
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDataSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventActionsPaginator.d.ts +4 -0
- package/{dist/types → dist-types}/pagination/ListJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
- package/{dist/types/ts3.4 → dist-types}/protocols/Aws_restJson1.d.ts +83 -68
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types/ts3.4}/DataExchange.d.ts +196 -161
- package/{dist/types → dist-types/ts3.4}/DataExchangeClient.d.ts +159 -154
- package/{dist/types → dist-types}/ts3.4/commands/CancelJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateDataSetCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/CreateEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteAssetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDataSetCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetAssetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetDataSetCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/GetEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListDataSetRevisionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListDataSetsCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/ListEventActionsCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListRevisionAssetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/StartJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateAssetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDataSetCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UpdateEventActionCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +6 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +324 -11
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDataSetsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListEventActionsPaginator.d.ts +4 -0
- package/{dist/types → dist-types}/ts3.4/pagination/ListJobsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types/ts3.4}/protocols/Aws_restJson1.d.ts +83 -68
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +42 -42
- package/{DataExchange.ts → src/DataExchange.ts} +188 -2
- package/{DataExchangeClient.ts → src/DataExchangeClient.ts} +58 -42
- package/{commands → src/commands}/CancelJobCommand.ts +8 -7
- package/{commands → src/commands}/CreateDataSetCommand.ts +8 -7
- package/src/commands/CreateEventActionCommand.ts +95 -0
- package/{commands → src/commands}/CreateJobCommand.ts +8 -7
- package/{commands → src/commands}/CreateRevisionCommand.ts +8 -7
- package/{commands → src/commands}/DeleteAssetCommand.ts +8 -7
- package/{commands → src/commands}/DeleteDataSetCommand.ts +8 -7
- package/src/commands/DeleteEventActionCommand.ts +95 -0
- package/{commands → src/commands}/DeleteRevisionCommand.ts +8 -7
- package/{commands → src/commands}/GetAssetCommand.ts +8 -7
- package/{commands → src/commands}/GetDataSetCommand.ts +8 -7
- package/src/commands/GetEventActionCommand.ts +95 -0
- package/{commands → src/commands}/GetJobCommand.ts +5 -4
- package/{commands → src/commands}/GetRevisionCommand.ts +8 -7
- package/{commands → src/commands}/ListDataSetRevisionsCommand.ts +8 -7
- package/{commands → src/commands}/ListDataSetsCommand.ts +8 -7
- package/src/commands/ListEventActionsCommand.ts +95 -0
- package/{commands → src/commands}/ListJobsCommand.ts +8 -7
- package/{commands → src/commands}/ListRevisionAssetsCommand.ts +8 -7
- package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
- package/{commands → src/commands}/StartJobCommand.ts +8 -7
- package/{commands → src/commands}/TagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateAssetCommand.ts +8 -7
- package/{commands → src/commands}/UpdateDataSetCommand.ts +8 -7
- package/src/commands/UpdateEventActionCommand.ts +95 -0
- package/{commands → src/commands}/UpdateRevisionCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +6 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +413 -11
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListDataSetRevisionsPaginator.ts +4 -3
- package/{pagination → src/pagination}/ListDataSetsPaginator.ts +4 -3
- package/src/pagination/ListEventActionsPaginator.ts +59 -0
- package/{pagination → src/pagination}/ListJobsPaginator.ts +3 -2
- package/{pagination → src/pagination}/ListRevisionAssetsPaginator.ts +4 -3
- package/{protocols → src/protocols}/Aws_restJson1.ts +844 -72
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -1
- package/tsconfig.json +4 -2
- package/tsconfig.types.json +3 -2
- package/dist/cjs/DataExchange.js.map +0 -1
- package/dist/cjs/DataExchangeClient.js.map +0 -1
- package/dist/cjs/commands/CancelJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDataSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateRevisionCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAssetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDataSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteRevisionCommand.js.map +0 -1
- package/dist/cjs/commands/GetAssetCommand.js.map +0 -1
- package/dist/cjs/commands/GetDataSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetJobCommand.js.map +0 -1
- package/dist/cjs/commands/GetRevisionCommand.js.map +0 -1
- package/dist/cjs/commands/ListDataSetRevisionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDataSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRevisionAssetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/StartJobCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateAssetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDataSetCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateRevisionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDataSetsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListJobsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListRevisionAssetsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/DataExchange.js.map +0 -1
- package/dist/es/DataExchangeClient.js.map +0 -1
- package/dist/es/commands/CancelJobCommand.js.map +0 -1
- package/dist/es/commands/CreateDataSetCommand.js.map +0 -1
- package/dist/es/commands/CreateJobCommand.js.map +0 -1
- package/dist/es/commands/CreateRevisionCommand.js.map +0 -1
- package/dist/es/commands/DeleteAssetCommand.js.map +0 -1
- package/dist/es/commands/DeleteDataSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteRevisionCommand.js.map +0 -1
- package/dist/es/commands/GetAssetCommand.js.map +0 -1
- package/dist/es/commands/GetDataSetCommand.js.map +0 -1
- package/dist/es/commands/GetJobCommand.js.map +0 -1
- package/dist/es/commands/GetRevisionCommand.js.map +0 -1
- package/dist/es/commands/ListDataSetRevisionsCommand.js.map +0 -1
- package/dist/es/commands/ListDataSetsCommand.js.map +0 -1
- package/dist/es/commands/ListJobsCommand.js.map +0 -1
- package/dist/es/commands/ListRevisionAssetsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/StartJobCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateAssetCommand.js.map +0 -1
- package/dist/es/commands/UpdateDataSetCommand.js.map +0 -1
- package/dist/es/commands/UpdateRevisionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/ListDataSetRevisionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDataSetsPaginator.js.map +0 -1
- package/dist/es/pagination/ListJobsPaginator.js.map +0 -1
- package/dist/es/pagination/ListRevisionAssetsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { UpdateRevisionRequest, UpdateRevisionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateRevisionCommand,
|
|
5
|
-
serializeAws_restJson1UpdateRevisionCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
2
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -11,12 +5,19 @@ import {
|
|
|
11
5
|
FinalizeHandlerArguments,
|
|
12
6
|
Handler,
|
|
13
7
|
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
8
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
9
|
MetadataBearer as __MetadataBearer,
|
|
10
|
+
MiddlewareStack,
|
|
17
11
|
SerdeContext as __SerdeContext,
|
|
18
12
|
} from "@aws-sdk/types";
|
|
19
13
|
|
|
14
|
+
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
+
import { UpdateRevisionRequest, UpdateRevisionResponse } from "../models/models_0";
|
|
16
|
+
import {
|
|
17
|
+
deserializeAws_restJson1UpdateRevisionCommand,
|
|
18
|
+
serializeAws_restJson1UpdateRevisionCommand,
|
|
19
|
+
} from "../protocols/Aws_restJson1";
|
|
20
|
+
|
|
20
21
|
export interface UpdateRevisionCommandInput extends UpdateRevisionRequest {}
|
|
21
22
|
export interface UpdateRevisionCommandOutput extends UpdateRevisionResponse, __MetadataBearer {}
|
|
22
23
|
|
|
@@ -2,19 +2,24 @@ export * from "./DataExchangeClient";
|
|
|
2
2
|
export * from "./DataExchange";
|
|
3
3
|
export * from "./commands/CancelJobCommand";
|
|
4
4
|
export * from "./commands/CreateDataSetCommand";
|
|
5
|
+
export * from "./commands/CreateEventActionCommand";
|
|
5
6
|
export * from "./commands/CreateJobCommand";
|
|
6
7
|
export * from "./commands/CreateRevisionCommand";
|
|
7
8
|
export * from "./commands/DeleteAssetCommand";
|
|
8
9
|
export * from "./commands/DeleteDataSetCommand";
|
|
10
|
+
export * from "./commands/DeleteEventActionCommand";
|
|
9
11
|
export * from "./commands/DeleteRevisionCommand";
|
|
10
12
|
export * from "./commands/GetAssetCommand";
|
|
11
13
|
export * from "./commands/GetDataSetCommand";
|
|
14
|
+
export * from "./commands/GetEventActionCommand";
|
|
12
15
|
export * from "./commands/GetJobCommand";
|
|
13
16
|
export * from "./commands/GetRevisionCommand";
|
|
14
17
|
export * from "./commands/ListDataSetRevisionsCommand";
|
|
15
18
|
export * from "./pagination/ListDataSetRevisionsPaginator";
|
|
16
19
|
export * from "./commands/ListDataSetsCommand";
|
|
17
20
|
export * from "./pagination/ListDataSetsPaginator";
|
|
21
|
+
export * from "./commands/ListEventActionsCommand";
|
|
22
|
+
export * from "./pagination/ListEventActionsPaginator";
|
|
18
23
|
export * from "./commands/ListJobsCommand";
|
|
19
24
|
export * from "./pagination/ListJobsPaginator";
|
|
20
25
|
export * from "./commands/ListRevisionAssetsCommand";
|
|
@@ -25,6 +30,7 @@ export * from "./commands/TagResourceCommand";
|
|
|
25
30
|
export * from "./commands/UntagResourceCommand";
|
|
26
31
|
export * from "./commands/UpdateAssetCommand";
|
|
27
32
|
export * from "./commands/UpdateDataSetCommand";
|
|
33
|
+
export * from "./commands/UpdateEventActionCommand";
|
|
28
34
|
export * from "./commands/UpdateRevisionCommand";
|
|
29
35
|
export * from "./pagination/Interfaces";
|
|
30
36
|
export * from "./models/index";
|
|
File without changes
|
|
@@ -21,6 +21,99 @@ export namespace AccessDeniedException {
|
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
export enum ServerSideEncryptionTypes {
|
|
25
|
+
AES256 = "AES256",
|
|
26
|
+
aws_kms = "aws:kms",
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* <p>Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption. type.</p>
|
|
31
|
+
*/
|
|
32
|
+
export interface ExportServerSideEncryption {
|
|
33
|
+
/**
|
|
34
|
+
* <p>The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.</p>
|
|
35
|
+
*/
|
|
36
|
+
KmsKeyArn?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* <p>The type of server side encryption used for encrypting the objects in Amazon S3.</p>
|
|
40
|
+
*/
|
|
41
|
+
Type: ServerSideEncryptionTypes | string | undefined;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export namespace ExportServerSideEncryption {
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
export const filterSensitiveLog = (obj: ExportServerSideEncryption): any => ({
|
|
49
|
+
...obj,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
|
|
55
|
+
*/
|
|
56
|
+
export interface AutoExportRevisionDestinationEntry {
|
|
57
|
+
/**
|
|
58
|
+
* <p>The S3 bucket that is the destination for the event action.</p>
|
|
59
|
+
*/
|
|
60
|
+
Bucket: string | undefined;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* <p>A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see <a href="https://docs.aws.amazon.com/data-exchange/latest/userguide/jobs.html#revision-export-keypatterns">Key patterns when exporting revisions</a>.</p>
|
|
64
|
+
*/
|
|
65
|
+
KeyPattern?: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export namespace AutoExportRevisionDestinationEntry {
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
export const filterSensitiveLog = (obj: AutoExportRevisionDestinationEntry): any => ({
|
|
73
|
+
...obj,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* <p>Details of the operation to be performed by the job.</p>
|
|
79
|
+
*/
|
|
80
|
+
export interface AutoExportRevisionToS3RequestDetails {
|
|
81
|
+
/**
|
|
82
|
+
* <p>Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption. type.</p>
|
|
83
|
+
*/
|
|
84
|
+
Encryption?: ExportServerSideEncryption;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* <p>A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.</p>
|
|
88
|
+
*/
|
|
89
|
+
RevisionDestination: AutoExportRevisionDestinationEntry | undefined;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export namespace AutoExportRevisionToS3RequestDetails {
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
export const filterSensitiveLog = (obj: AutoExportRevisionToS3RequestDetails): any => ({
|
|
97
|
+
...obj,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface Action {
|
|
102
|
+
/**
|
|
103
|
+
* <p>Details of the operation to be performed by the job.</p>
|
|
104
|
+
*/
|
|
105
|
+
ExportRevisionToS3?: AutoExportRevisionToS3RequestDetails;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export namespace Action {
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
export const filterSensitiveLog = (obj: Action): any => ({
|
|
113
|
+
...obj,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
|
|
24
117
|
/**
|
|
25
118
|
* <p>The destination for the asset.</p>
|
|
26
119
|
*/
|
|
@@ -196,6 +289,7 @@ export namespace CancelJobRequest {
|
|
|
196
289
|
export enum ResourceType {
|
|
197
290
|
ASSET = "ASSET",
|
|
198
291
|
DATA_SET = "DATA_SET",
|
|
292
|
+
EVENT_ACTION = "EVENT_ACTION",
|
|
199
293
|
JOB = "JOB",
|
|
200
294
|
REVISION = "REVISION",
|
|
201
295
|
}
|
|
@@ -304,6 +398,11 @@ export namespace ThrottlingException {
|
|
|
304
398
|
});
|
|
305
399
|
}
|
|
306
400
|
|
|
401
|
+
export enum ExceptionCause {
|
|
402
|
+
InsufficientS3BucketPolicy = "InsufficientS3BucketPolicy",
|
|
403
|
+
S3AccessDenied = "S3AccessDenied",
|
|
404
|
+
}
|
|
405
|
+
|
|
307
406
|
/**
|
|
308
407
|
* <p>The request was invalid.</p>
|
|
309
408
|
*/
|
|
@@ -314,6 +413,11 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
314
413
|
* <p>The message that informs you about what was invalid about the request.</p>
|
|
315
414
|
*/
|
|
316
415
|
Message: string | undefined;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* <p>The message that informs you about what the exception was.</p>
|
|
419
|
+
*/
|
|
420
|
+
ExceptionCause?: ExceptionCause | string;
|
|
317
421
|
}
|
|
318
422
|
|
|
319
423
|
export namespace ValidationException {
|
|
@@ -458,12 +562,15 @@ export enum LimitName {
|
|
|
458
562
|
Asset_size_in_GB = "Asset size in GB",
|
|
459
563
|
Assets_per_import_job_from_Amazon_S3 = "Assets per import job from Amazon S3",
|
|
460
564
|
Assets_per_revision = "Assets per revision",
|
|
565
|
+
Auto_export_event_actions_per_data_set = "Auto export event actions per data set",
|
|
461
566
|
Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3 = "Concurrent in progress jobs to export assets to Amazon S3",
|
|
462
567
|
Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL = "Concurrent in progress jobs to export assets to a signed URL",
|
|
568
|
+
Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3 = "Concurrent in progress jobs to export revisions to Amazon S3",
|
|
463
569
|
Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3 = "Concurrent in progress jobs to import assets from Amazon S3",
|
|
464
570
|
Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL = "Concurrent in progress jobs to import assets from a signed URL",
|
|
465
571
|
Data_sets_per_account = "Data sets per account",
|
|
466
572
|
Data_sets_per_product = "Data sets per product",
|
|
573
|
+
Event_actions_per_account = "Event actions per account",
|
|
467
574
|
Products_per_account = "Products per account",
|
|
468
575
|
Revisions_per_data_set = "Revisions per data set",
|
|
469
576
|
}
|
|
@@ -499,31 +606,96 @@ export namespace ServiceLimitExceededException {
|
|
|
499
606
|
});
|
|
500
607
|
}
|
|
501
608
|
|
|
502
|
-
export
|
|
503
|
-
|
|
504
|
-
|
|
609
|
+
export interface RevisionPublished {
|
|
610
|
+
/**
|
|
611
|
+
* <p>A unique identifier.</p>
|
|
612
|
+
*/
|
|
613
|
+
DataSetId: string | undefined;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export namespace RevisionPublished {
|
|
617
|
+
/**
|
|
618
|
+
* @internal
|
|
619
|
+
*/
|
|
620
|
+
export const filterSensitiveLog = (obj: RevisionPublished): any => ({
|
|
621
|
+
...obj,
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
export interface Event {
|
|
626
|
+
RevisionPublished?: RevisionPublished;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export namespace Event {
|
|
630
|
+
/**
|
|
631
|
+
* @internal
|
|
632
|
+
*/
|
|
633
|
+
export const filterSensitiveLog = (obj: Event): any => ({
|
|
634
|
+
...obj,
|
|
635
|
+
});
|
|
505
636
|
}
|
|
506
637
|
|
|
507
638
|
/**
|
|
508
|
-
* <p>
|
|
639
|
+
* <p>The request body for CreateEventAction.</p>
|
|
509
640
|
*/
|
|
510
|
-
export interface
|
|
641
|
+
export interface CreateEventActionRequest {
|
|
511
642
|
/**
|
|
512
|
-
* <p>
|
|
643
|
+
* <p>What occurs after a certain event.</p>
|
|
513
644
|
*/
|
|
514
|
-
|
|
645
|
+
Action: Action | undefined;
|
|
515
646
|
|
|
516
647
|
/**
|
|
517
|
-
* <p>
|
|
648
|
+
* <p>What occurs to start an action.</p>
|
|
518
649
|
*/
|
|
519
|
-
|
|
650
|
+
Event: Event | undefined;
|
|
520
651
|
}
|
|
521
652
|
|
|
522
|
-
export namespace
|
|
653
|
+
export namespace CreateEventActionRequest {
|
|
523
654
|
/**
|
|
524
655
|
* @internal
|
|
525
656
|
*/
|
|
526
|
-
export const filterSensitiveLog = (obj:
|
|
657
|
+
export const filterSensitiveLog = (obj: CreateEventActionRequest): any => ({
|
|
658
|
+
...obj,
|
|
659
|
+
});
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export interface CreateEventActionResponse {
|
|
663
|
+
/**
|
|
664
|
+
* <p>What occurs after a certain event.</p>
|
|
665
|
+
*/
|
|
666
|
+
Action?: Action;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* <p>The ARN for the event action.</p>
|
|
670
|
+
*/
|
|
671
|
+
Arn?: string;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* <p>The date and time that the event action was created, in ISO 8601 format.</p>
|
|
675
|
+
*/
|
|
676
|
+
CreatedAt?: Date;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* <p>What occurs to start an action.</p>
|
|
680
|
+
*/
|
|
681
|
+
Event?: Event;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* <p>The unique identifier for the event action.</p>
|
|
685
|
+
*/
|
|
686
|
+
Id?: string;
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
|
|
690
|
+
*/
|
|
691
|
+
UpdatedAt?: Date;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export namespace CreateEventActionResponse {
|
|
695
|
+
/**
|
|
696
|
+
* @internal
|
|
697
|
+
*/
|
|
698
|
+
export const filterSensitiveLog = (obj: CreateEventActionResponse): any => ({
|
|
527
699
|
...obj,
|
|
528
700
|
});
|
|
529
701
|
}
|
|
@@ -1037,6 +1209,7 @@ export enum JobErrorLimitName {
|
|
|
1037
1209
|
|
|
1038
1210
|
export enum JobErrorResourceTypes {
|
|
1039
1211
|
ASSET = "ASSET",
|
|
1212
|
+
DATA_SET = "DATA_SET",
|
|
1040
1213
|
REVISION = "REVISION",
|
|
1041
1214
|
}
|
|
1042
1215
|
|
|
@@ -1272,6 +1445,22 @@ export namespace DeleteDataSetRequest {
|
|
|
1272
1445
|
});
|
|
1273
1446
|
}
|
|
1274
1447
|
|
|
1448
|
+
export interface DeleteEventActionRequest {
|
|
1449
|
+
/**
|
|
1450
|
+
* <p>The unique identifier for the event action.</p>
|
|
1451
|
+
*/
|
|
1452
|
+
EventActionId: string | undefined;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
export namespace DeleteEventActionRequest {
|
|
1456
|
+
/**
|
|
1457
|
+
* @internal
|
|
1458
|
+
*/
|
|
1459
|
+
export const filterSensitiveLog = (obj: DeleteEventActionRequest): any => ({
|
|
1460
|
+
...obj,
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1275
1464
|
export interface DeleteRevisionRequest {
|
|
1276
1465
|
/**
|
|
1277
1466
|
* <p>The unique identifier for a data set.</p>
|
|
@@ -1462,6 +1651,63 @@ export namespace GetDataSetResponse {
|
|
|
1462
1651
|
});
|
|
1463
1652
|
}
|
|
1464
1653
|
|
|
1654
|
+
export interface GetEventActionRequest {
|
|
1655
|
+
/**
|
|
1656
|
+
* <p>The unique identifier for the event action.</p>
|
|
1657
|
+
*/
|
|
1658
|
+
EventActionId: string | undefined;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
export namespace GetEventActionRequest {
|
|
1662
|
+
/**
|
|
1663
|
+
* @internal
|
|
1664
|
+
*/
|
|
1665
|
+
export const filterSensitiveLog = (obj: GetEventActionRequest): any => ({
|
|
1666
|
+
...obj,
|
|
1667
|
+
});
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
export interface GetEventActionResponse {
|
|
1671
|
+
/**
|
|
1672
|
+
* <p>What occurs after a certain event.</p>
|
|
1673
|
+
*/
|
|
1674
|
+
Action?: Action;
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>The ARN for the event action.</p>
|
|
1678
|
+
*/
|
|
1679
|
+
Arn?: string;
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* <p>The date and time that the event action was created, in ISO 8601 format.</p>
|
|
1683
|
+
*/
|
|
1684
|
+
CreatedAt?: Date;
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* <p>What occurs to start an action.</p>
|
|
1688
|
+
*/
|
|
1689
|
+
Event?: Event;
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* <p>The unique identifier for the event action.</p>
|
|
1693
|
+
*/
|
|
1694
|
+
Id?: string;
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
|
|
1698
|
+
*/
|
|
1699
|
+
UpdatedAt?: Date;
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
export namespace GetEventActionResponse {
|
|
1703
|
+
/**
|
|
1704
|
+
* @internal
|
|
1705
|
+
*/
|
|
1706
|
+
export const filterSensitiveLog = (obj: GetEventActionResponse): any => ({
|
|
1707
|
+
...obj,
|
|
1708
|
+
});
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1465
1711
|
export interface GetJobRequest {
|
|
1466
1712
|
/**
|
|
1467
1713
|
* <p>The unique identifier for a job.</p>
|
|
@@ -1818,6 +2064,97 @@ export namespace ListDataSetsResponse {
|
|
|
1818
2064
|
});
|
|
1819
2065
|
}
|
|
1820
2066
|
|
|
2067
|
+
export interface ListEventActionsRequest {
|
|
2068
|
+
/**
|
|
2069
|
+
* <p>The unique identifier for the event source.</p>
|
|
2070
|
+
*/
|
|
2071
|
+
EventSourceId?: string;
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* <p>The maximum number of results returned by a single call.</p>
|
|
2075
|
+
*/
|
|
2076
|
+
MaxResults?: number;
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* <p>The token value retrieved from a previous call to access the next page of results.</p>
|
|
2080
|
+
*/
|
|
2081
|
+
NextToken?: string;
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
export namespace ListEventActionsRequest {
|
|
2085
|
+
/**
|
|
2086
|
+
* @internal
|
|
2087
|
+
*/
|
|
2088
|
+
export const filterSensitiveLog = (obj: ListEventActionsRequest): any => ({
|
|
2089
|
+
...obj,
|
|
2090
|
+
});
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* <p>An event action is an object that defines the relationship between a specific event and an automated action that will be taken on behalf of the customer.</p>
|
|
2095
|
+
*/
|
|
2096
|
+
export interface EventActionEntry {
|
|
2097
|
+
/**
|
|
2098
|
+
* <p>What occurs after a certain event.</p>
|
|
2099
|
+
*/
|
|
2100
|
+
Action: Action | undefined;
|
|
2101
|
+
|
|
2102
|
+
/**
|
|
2103
|
+
* <p>The ARN for the event action.</p>
|
|
2104
|
+
*/
|
|
2105
|
+
Arn: string | undefined;
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* <p>The date and time that the event action was created, in ISO 8601 format.</p>
|
|
2109
|
+
*/
|
|
2110
|
+
CreatedAt: Date | undefined;
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* <p>What occurs to start an action.</p>
|
|
2114
|
+
*/
|
|
2115
|
+
Event: Event | undefined;
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* <p>The unique identifier for the event action.</p>
|
|
2119
|
+
*/
|
|
2120
|
+
Id: string | undefined;
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
|
|
2124
|
+
*/
|
|
2125
|
+
UpdatedAt: Date | undefined;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
export namespace EventActionEntry {
|
|
2129
|
+
/**
|
|
2130
|
+
* @internal
|
|
2131
|
+
*/
|
|
2132
|
+
export const filterSensitiveLog = (obj: EventActionEntry): any => ({
|
|
2133
|
+
...obj,
|
|
2134
|
+
});
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
export interface ListEventActionsResponse {
|
|
2138
|
+
/**
|
|
2139
|
+
* <p>The event action objects listed by the request.</p>
|
|
2140
|
+
*/
|
|
2141
|
+
EventActions?: EventActionEntry[];
|
|
2142
|
+
|
|
2143
|
+
/**
|
|
2144
|
+
* <p>The token value retrieved from a previous call to access the next page of results.</p>
|
|
2145
|
+
*/
|
|
2146
|
+
NextToken?: string;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
export namespace ListEventActionsResponse {
|
|
2150
|
+
/**
|
|
2151
|
+
* @internal
|
|
2152
|
+
*/
|
|
2153
|
+
export const filterSensitiveLog = (obj: ListEventActionsResponse): any => ({
|
|
2154
|
+
...obj,
|
|
2155
|
+
});
|
|
2156
|
+
}
|
|
2157
|
+
|
|
1821
2158
|
export interface ListJobsRequest {
|
|
1822
2159
|
/**
|
|
1823
2160
|
* <p>The unique identifier for a data set.</p>
|
|
@@ -2265,6 +2602,71 @@ export namespace UpdateDataSetResponse {
|
|
|
2265
2602
|
});
|
|
2266
2603
|
}
|
|
2267
2604
|
|
|
2605
|
+
/**
|
|
2606
|
+
* <p>The request body for UpdateEventAction.</p>
|
|
2607
|
+
*/
|
|
2608
|
+
export interface UpdateEventActionRequest {
|
|
2609
|
+
/**
|
|
2610
|
+
* <p>What occurs after a certain event.</p>
|
|
2611
|
+
*/
|
|
2612
|
+
Action?: Action;
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* <p>The unique identifier for the event action.</p>
|
|
2616
|
+
*/
|
|
2617
|
+
EventActionId: string | undefined;
|
|
2618
|
+
}
|
|
2619
|
+
|
|
2620
|
+
export namespace UpdateEventActionRequest {
|
|
2621
|
+
/**
|
|
2622
|
+
* @internal
|
|
2623
|
+
*/
|
|
2624
|
+
export const filterSensitiveLog = (obj: UpdateEventActionRequest): any => ({
|
|
2625
|
+
...obj,
|
|
2626
|
+
});
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
export interface UpdateEventActionResponse {
|
|
2630
|
+
/**
|
|
2631
|
+
* <p>What occurs after a certain event.</p>
|
|
2632
|
+
*/
|
|
2633
|
+
Action?: Action;
|
|
2634
|
+
|
|
2635
|
+
/**
|
|
2636
|
+
* <p>The ARN for the event action.</p>
|
|
2637
|
+
*/
|
|
2638
|
+
Arn?: string;
|
|
2639
|
+
|
|
2640
|
+
/**
|
|
2641
|
+
* <p>The date and time that the event action was created, in ISO 8601 format.</p>
|
|
2642
|
+
*/
|
|
2643
|
+
CreatedAt?: Date;
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* <p>What occurs to start an action.</p>
|
|
2647
|
+
*/
|
|
2648
|
+
Event?: Event;
|
|
2649
|
+
|
|
2650
|
+
/**
|
|
2651
|
+
* <p>The unique identifier for the event action.</p>
|
|
2652
|
+
*/
|
|
2653
|
+
Id?: string;
|
|
2654
|
+
|
|
2655
|
+
/**
|
|
2656
|
+
* <p>The date and time that the event action was last updated, in ISO 8601 format.</p>
|
|
2657
|
+
*/
|
|
2658
|
+
UpdatedAt?: Date;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
export namespace UpdateEventActionResponse {
|
|
2662
|
+
/**
|
|
2663
|
+
* @internal
|
|
2664
|
+
*/
|
|
2665
|
+
export const filterSensitiveLog = (obj: UpdateEventActionResponse): any => ({
|
|
2666
|
+
...obj,
|
|
2667
|
+
});
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2268
2670
|
/**
|
|
2269
2671
|
* <p>The request body for UpdateRevision.</p>
|
|
2270
2672
|
*/
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
+
|
|
1
3
|
import { DataExchange } from "../DataExchange";
|
|
2
4
|
import { DataExchangeClient } from "../DataExchangeClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
5
|
|
|
5
6
|
export interface DataExchangePaginationConfiguration extends PaginationConfiguration {
|
|
6
7
|
client: DataExchange | DataExchangeClient;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListDataSetRevisionsCommand,
|
|
5
5
|
ListDataSetRevisionsCommandInput,
|
|
6
6
|
ListDataSetRevisionsCommandOutput,
|
|
7
7
|
} from "../commands/ListDataSetRevisionsCommand";
|
|
8
|
+
import { DataExchange } from "../DataExchange";
|
|
9
|
+
import { DataExchangeClient } from "../DataExchangeClient";
|
|
8
10
|
import { DataExchangePaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
ListDataSetsCommand,
|
|
5
5
|
ListDataSetsCommandInput,
|
|
6
6
|
ListDataSetsCommandOutput,
|
|
7
7
|
} from "../commands/ListDataSetsCommand";
|
|
8
|
+
import { DataExchange } from "../DataExchange";
|
|
9
|
+
import { DataExchangeClient } from "../DataExchangeClient";
|
|
8
10
|
import { DataExchangePaginationConfiguration } from "./Interfaces";
|
|
9
|
-
import { Paginator } from "@aws-sdk/types";
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* @private
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
ListEventActionsCommand,
|
|
5
|
+
ListEventActionsCommandInput,
|
|
6
|
+
ListEventActionsCommandOutput,
|
|
7
|
+
} from "../commands/ListEventActionsCommand";
|
|
8
|
+
import { DataExchange } from "../DataExchange";
|
|
9
|
+
import { DataExchangeClient } from "../DataExchangeClient";
|
|
10
|
+
import { DataExchangePaginationConfiguration } from "./Interfaces";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @private
|
|
14
|
+
*/
|
|
15
|
+
const makePagedClientRequest = async (
|
|
16
|
+
client: DataExchangeClient,
|
|
17
|
+
input: ListEventActionsCommandInput,
|
|
18
|
+
...args: any
|
|
19
|
+
): Promise<ListEventActionsCommandOutput> => {
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
return await client.send(new ListEventActionsCommand(input), ...args);
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @private
|
|
25
|
+
*/
|
|
26
|
+
const makePagedRequest = async (
|
|
27
|
+
client: DataExchange,
|
|
28
|
+
input: ListEventActionsCommandInput,
|
|
29
|
+
...args: any
|
|
30
|
+
): Promise<ListEventActionsCommandOutput> => {
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
return await client.listEventActions(input, ...args);
|
|
33
|
+
};
|
|
34
|
+
export async function* paginateListEventActions(
|
|
35
|
+
config: DataExchangePaginationConfiguration,
|
|
36
|
+
input: ListEventActionsCommandInput,
|
|
37
|
+
...additionalArguments: any
|
|
38
|
+
): Paginator<ListEventActionsCommandOutput> {
|
|
39
|
+
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
+
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
+
let hasNext = true;
|
|
42
|
+
let page: ListEventActionsCommandOutput;
|
|
43
|
+
while (hasNext) {
|
|
44
|
+
input.NextToken = token;
|
|
45
|
+
input["MaxResults"] = config.pageSize;
|
|
46
|
+
if (config.client instanceof DataExchange) {
|
|
47
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
+
} else if (config.client instanceof DataExchangeClient) {
|
|
49
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
+
} else {
|
|
51
|
+
throw new Error("Invalid client, expected DataExchange | DataExchangeClient");
|
|
52
|
+
}
|
|
53
|
+
yield page;
|
|
54
|
+
token = page.NextToken;
|
|
55
|
+
hasNext = !!token;
|
|
56
|
+
}
|
|
57
|
+
// @ts-ignore
|
|
58
|
+
return undefined;
|
|
59
|
+
}
|