@aws-sdk/client-dataexchange 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/DataExchange.js +76 -2
- package/{dist/cjs → dist-cjs}/DataExchangeClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/CancelJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateDataSetCommand.js +2 -3
- package/dist-cjs/commands/CreateEventActionCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/CreateJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/CreateRevisionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteAssetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DeleteDataSetCommand.js +2 -3
- package/dist-cjs/commands/DeleteEventActionCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteRevisionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetAssetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDataSetCommand.js +2 -3
- package/dist-cjs/commands/GetEventActionCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/GetJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetRevisionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDataSetRevisionsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListDataSetsCommand.js +2 -3
- package/dist-cjs/commands/ListEventActionsCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/ListJobsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListRevisionAssetsCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartJobCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateAssetCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateDataSetCommand.js +2 -3
- package/dist-cjs/commands/UpdateEventActionCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateRevisionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +6 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +156 -12
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListDataSetRevisionsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListDataSetsPaginator.js +1 -2
- package/dist-cjs/pagination/ListEventActionsPaginator.js +45 -0
- package/{dist/cjs → dist-cjs}/pagination/ListJobsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/pagination/ListRevisionAssetsPaginator.js +1 -2
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +700 -28
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/DataExchange.js +77 -6
- package/{dist/es → dist-es}/DataExchangeClient.js +2 -11
- package/{dist/es → dist-es}/commands/CancelJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateDataSetCommand.js +4 -30
- package/dist-es/commands/CreateEventActionCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateRevisionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteAssetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteDataSetCommand.js +4 -30
- package/dist-es/commands/DeleteEventActionCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteRevisionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetAssetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetDataSetCommand.js +4 -30
- package/dist-es/commands/GetEventActionCommand.js +39 -0
- package/{dist/es → dist-es}/commands/GetJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetRevisionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListDataSetRevisionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListDataSetsCommand.js +4 -30
- package/dist-es/commands/ListEventActionsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListJobsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListRevisionAssetsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/StartJobCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateAssetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateDataSetCommand.js +4 -30
- package/dist-es/commands/UpdateEventActionCommand.js +39 -0
- package/{dist/es → dist-es}/commands/UpdateRevisionCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/es → dist-es}/index.js +6 -1
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +79 -223
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListDataSetRevisionsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListDataSetsPaginator.js +17 -30
- package/dist-es/pagination/ListEventActionsPaginator.js +74 -0
- package/{dist/es → dist-es}/pagination/ListJobsPaginator.js +17 -30
- package/{dist/es → dist-es}/pagination/ListRevisionAssetsPaginator.js +17 -30
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +1315 -577
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/DataExchange.d.ts +37 -2
- package/{dist/types → dist-types}/DataExchangeClient.d.ts +15 -10
- 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/{models/index.ts → 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 +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/DataExchange.d.ts +37 -2
- package/{dist/types → dist-types}/ts3.4/DataExchangeClient.d.ts +15 -10
- 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 +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/DataExchange.ts +0 -708
- package/DataExchangeClient.ts +0 -307
- package/commands/CancelJobCommand.ts +0 -94
- package/commands/CreateDataSetCommand.ts +0 -94
- package/commands/CreateJobCommand.ts +0 -94
- package/commands/CreateRevisionCommand.ts +0 -94
- package/commands/DeleteAssetCommand.ts +0 -94
- package/commands/DeleteDataSetCommand.ts +0 -94
- package/commands/DeleteRevisionCommand.ts +0 -94
- package/commands/GetAssetCommand.ts +0 -94
- package/commands/GetDataSetCommand.ts +0 -94
- package/commands/GetJobCommand.ts +0 -87
- package/commands/GetRevisionCommand.ts +0 -94
- package/commands/ListDataSetRevisionsCommand.ts +0 -94
- package/commands/ListDataSetsCommand.ts +0 -94
- package/commands/ListJobsCommand.ts +0 -94
- package/commands/ListRevisionAssetsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/StartJobCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateAssetCommand.ts +0 -94
- package/commands/UpdateDataSetCommand.ts +0 -94
- package/commands/UpdateRevisionCommand.ts +0 -94
- 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/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/Interfaces.js.map +0 -1
- 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 +0 -2
- 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/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- 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
- package/endpoints.ts +0 -57
- package/index.ts +0 -30
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2351
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListDataSetRevisionsPaginator.ts +0 -58
- package/pagination/ListDataSetsPaginator.ts +0 -58
- package/pagination/ListJobsPaginator.ts +0 -54
- package/pagination/ListRevisionAssetsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -3750
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
package/DataExchangeClient.ts
DELETED
|
@@ -1,307 +0,0 @@
|
|
|
1
|
-
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
2
|
-
import { CreateDataSetCommandInput, CreateDataSetCommandOutput } from "./commands/CreateDataSetCommand";
|
|
3
|
-
import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
|
|
4
|
-
import { CreateRevisionCommandInput, CreateRevisionCommandOutput } from "./commands/CreateRevisionCommand";
|
|
5
|
-
import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
6
|
-
import { DeleteDataSetCommandInput, DeleteDataSetCommandOutput } from "./commands/DeleteDataSetCommand";
|
|
7
|
-
import { DeleteRevisionCommandInput, DeleteRevisionCommandOutput } from "./commands/DeleteRevisionCommand";
|
|
8
|
-
import { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
|
|
9
|
-
import { GetDataSetCommandInput, GetDataSetCommandOutput } from "./commands/GetDataSetCommand";
|
|
10
|
-
import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
11
|
-
import { GetRevisionCommandInput, GetRevisionCommandOutput } from "./commands/GetRevisionCommand";
|
|
12
|
-
import {
|
|
13
|
-
ListDataSetRevisionsCommandInput,
|
|
14
|
-
ListDataSetRevisionsCommandOutput,
|
|
15
|
-
} from "./commands/ListDataSetRevisionsCommand";
|
|
16
|
-
import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
|
|
17
|
-
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
18
|
-
import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "./commands/ListRevisionAssetsCommand";
|
|
19
|
-
import {
|
|
20
|
-
ListTagsForResourceCommandInput,
|
|
21
|
-
ListTagsForResourceCommandOutput,
|
|
22
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
23
|
-
import { StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
24
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
25
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
|
-
import { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
|
|
27
|
-
import { UpdateDataSetCommandInput, UpdateDataSetCommandOutput } from "./commands/UpdateDataSetCommand";
|
|
28
|
-
import { UpdateRevisionCommandInput, UpdateRevisionCommandOutput } from "./commands/UpdateRevisionCommand";
|
|
29
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
30
|
-
import {
|
|
31
|
-
EndpointsInputConfig,
|
|
32
|
-
EndpointsResolvedConfig,
|
|
33
|
-
RegionInputConfig,
|
|
34
|
-
RegionResolvedConfig,
|
|
35
|
-
resolveEndpointsConfig,
|
|
36
|
-
resolveRegionConfig,
|
|
37
|
-
} from "@aws-sdk/config-resolver";
|
|
38
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
39
|
-
import {
|
|
40
|
-
HostHeaderInputConfig,
|
|
41
|
-
HostHeaderResolvedConfig,
|
|
42
|
-
getHostHeaderPlugin,
|
|
43
|
-
resolveHostHeaderConfig,
|
|
44
|
-
} from "@aws-sdk/middleware-host-header";
|
|
45
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
46
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
47
|
-
import {
|
|
48
|
-
AwsAuthInputConfig,
|
|
49
|
-
AwsAuthResolvedConfig,
|
|
50
|
-
getAwsAuthPlugin,
|
|
51
|
-
resolveAwsAuthConfig,
|
|
52
|
-
} from "@aws-sdk/middleware-signing";
|
|
53
|
-
import {
|
|
54
|
-
UserAgentInputConfig,
|
|
55
|
-
UserAgentResolvedConfig,
|
|
56
|
-
getUserAgentPlugin,
|
|
57
|
-
resolveUserAgentConfig,
|
|
58
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
59
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
60
|
-
import {
|
|
61
|
-
Client as __Client,
|
|
62
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
63
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
64
|
-
} from "@aws-sdk/smithy-client";
|
|
65
|
-
import {
|
|
66
|
-
Provider,
|
|
67
|
-
RegionInfoProvider,
|
|
68
|
-
Credentials as __Credentials,
|
|
69
|
-
Decoder as __Decoder,
|
|
70
|
-
Encoder as __Encoder,
|
|
71
|
-
Hash as __Hash,
|
|
72
|
-
HashConstructor as __HashConstructor,
|
|
73
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
74
|
-
Logger as __Logger,
|
|
75
|
-
Provider as __Provider,
|
|
76
|
-
StreamCollector as __StreamCollector,
|
|
77
|
-
UrlParser as __UrlParser,
|
|
78
|
-
UserAgent as __UserAgent,
|
|
79
|
-
} from "@aws-sdk/types";
|
|
80
|
-
|
|
81
|
-
export type ServiceInputTypes =
|
|
82
|
-
| CancelJobCommandInput
|
|
83
|
-
| CreateDataSetCommandInput
|
|
84
|
-
| CreateJobCommandInput
|
|
85
|
-
| CreateRevisionCommandInput
|
|
86
|
-
| DeleteAssetCommandInput
|
|
87
|
-
| DeleteDataSetCommandInput
|
|
88
|
-
| DeleteRevisionCommandInput
|
|
89
|
-
| GetAssetCommandInput
|
|
90
|
-
| GetDataSetCommandInput
|
|
91
|
-
| GetJobCommandInput
|
|
92
|
-
| GetRevisionCommandInput
|
|
93
|
-
| ListDataSetRevisionsCommandInput
|
|
94
|
-
| ListDataSetsCommandInput
|
|
95
|
-
| ListJobsCommandInput
|
|
96
|
-
| ListRevisionAssetsCommandInput
|
|
97
|
-
| ListTagsForResourceCommandInput
|
|
98
|
-
| StartJobCommandInput
|
|
99
|
-
| TagResourceCommandInput
|
|
100
|
-
| UntagResourceCommandInput
|
|
101
|
-
| UpdateAssetCommandInput
|
|
102
|
-
| UpdateDataSetCommandInput
|
|
103
|
-
| UpdateRevisionCommandInput;
|
|
104
|
-
|
|
105
|
-
export type ServiceOutputTypes =
|
|
106
|
-
| CancelJobCommandOutput
|
|
107
|
-
| CreateDataSetCommandOutput
|
|
108
|
-
| CreateJobCommandOutput
|
|
109
|
-
| CreateRevisionCommandOutput
|
|
110
|
-
| DeleteAssetCommandOutput
|
|
111
|
-
| DeleteDataSetCommandOutput
|
|
112
|
-
| DeleteRevisionCommandOutput
|
|
113
|
-
| GetAssetCommandOutput
|
|
114
|
-
| GetDataSetCommandOutput
|
|
115
|
-
| GetJobCommandOutput
|
|
116
|
-
| GetRevisionCommandOutput
|
|
117
|
-
| ListDataSetRevisionsCommandOutput
|
|
118
|
-
| ListDataSetsCommandOutput
|
|
119
|
-
| ListJobsCommandOutput
|
|
120
|
-
| ListRevisionAssetsCommandOutput
|
|
121
|
-
| ListTagsForResourceCommandOutput
|
|
122
|
-
| StartJobCommandOutput
|
|
123
|
-
| TagResourceCommandOutput
|
|
124
|
-
| UntagResourceCommandOutput
|
|
125
|
-
| UpdateAssetCommandOutput
|
|
126
|
-
| UpdateDataSetCommandOutput
|
|
127
|
-
| UpdateRevisionCommandOutput;
|
|
128
|
-
|
|
129
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
130
|
-
/**
|
|
131
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
132
|
-
*/
|
|
133
|
-
requestHandler?: __HttpHandler;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
137
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
138
|
-
* @internal
|
|
139
|
-
*/
|
|
140
|
-
sha256?: __HashConstructor;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
144
|
-
* @internal
|
|
145
|
-
*/
|
|
146
|
-
urlParser?: __UrlParser;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* A function that can calculate the length of a request body.
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
152
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* A function that converts a stream into an array of bytes.
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
|
-
streamCollector?: __StreamCollector;
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
base64Decoder?: __Decoder;
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
base64Encoder?: __Encoder;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
|
-
utf8Decoder?: __Decoder;
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
utf8Encoder?: __Encoder;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* The runtime environment.
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
runtime?: string;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
192
|
-
* trait of an operation.
|
|
193
|
-
*/
|
|
194
|
-
disableHostPrefix?: boolean;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
198
|
-
*/
|
|
199
|
-
maxAttempts?: number | __Provider<number>;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Specifies which retry algorithm to use.
|
|
203
|
-
*/
|
|
204
|
-
retryMode?: string | __Provider<string>;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Optional logger for logging debug/info/warn/error.
|
|
208
|
-
*/
|
|
209
|
-
logger?: __Logger;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* Unique service identifier.
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
serviceId?: string;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The AWS region to which this client will send requests
|
|
219
|
-
*/
|
|
220
|
-
region?: string | __Provider<string>;
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Default credentials provider; Not available in browser runtime.
|
|
224
|
-
* @internal
|
|
225
|
-
*/
|
|
226
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
230
|
-
* @internal
|
|
231
|
-
*/
|
|
232
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
238
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
type DataExchangeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
242
|
-
ClientDefaults &
|
|
243
|
-
RegionInputConfig &
|
|
244
|
-
EndpointsInputConfig &
|
|
245
|
-
RetryInputConfig &
|
|
246
|
-
HostHeaderInputConfig &
|
|
247
|
-
AwsAuthInputConfig &
|
|
248
|
-
UserAgentInputConfig;
|
|
249
|
-
/**
|
|
250
|
-
* The configuration interface of DataExchangeClient class constructor that set the region, credentials and other options.
|
|
251
|
-
*/
|
|
252
|
-
export interface DataExchangeClientConfig extends DataExchangeClientConfigType {}
|
|
253
|
-
|
|
254
|
-
type DataExchangeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
255
|
-
Required<ClientDefaults> &
|
|
256
|
-
RegionResolvedConfig &
|
|
257
|
-
EndpointsResolvedConfig &
|
|
258
|
-
RetryResolvedConfig &
|
|
259
|
-
HostHeaderResolvedConfig &
|
|
260
|
-
AwsAuthResolvedConfig &
|
|
261
|
-
UserAgentResolvedConfig;
|
|
262
|
-
/**
|
|
263
|
-
* The resolved configuration interface of DataExchangeClient class. This is resolved and normalized from the {@link DataExchangeClientConfig | constructor configuration interface}.
|
|
264
|
-
*/
|
|
265
|
-
export interface DataExchangeClientResolvedConfig extends DataExchangeClientResolvedConfigType {}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.</p><p>As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.</p><p>As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.</p><p>A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.</p>
|
|
269
|
-
*/
|
|
270
|
-
export class DataExchangeClient extends __Client<
|
|
271
|
-
__HttpHandlerOptions,
|
|
272
|
-
ServiceInputTypes,
|
|
273
|
-
ServiceOutputTypes,
|
|
274
|
-
DataExchangeClientResolvedConfig
|
|
275
|
-
> {
|
|
276
|
-
/**
|
|
277
|
-
* The resolved configuration of DataExchangeClient class. This is resolved and normalized from the {@link DataExchangeClientConfig | constructor configuration interface}.
|
|
278
|
-
*/
|
|
279
|
-
readonly config: DataExchangeClientResolvedConfig;
|
|
280
|
-
|
|
281
|
-
constructor(configuration: DataExchangeClientConfig) {
|
|
282
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
283
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
284
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
285
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
286
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
287
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
288
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
289
|
-
super(_config_6);
|
|
290
|
-
this.config = _config_6;
|
|
291
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
292
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
293
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
294
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
295
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
296
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
301
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
302
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
303
|
-
*/
|
|
304
|
-
destroy(): void {
|
|
305
|
-
super.destroy();
|
|
306
|
-
}
|
|
307
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { CancelJobRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CancelJobCommand,
|
|
5
|
-
serializeAws_restJson1CancelJobCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CancelJobCommandInput extends CancelJobRequest {}
|
|
21
|
-
export interface CancelJobCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, CancelJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, CancelJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new CancelJobCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CancelJobCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CancelJobCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CancelJobCommand extends $Command<
|
|
41
|
-
CancelJobCommandInput,
|
|
42
|
-
CancelJobCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CancelJobCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CancelJobCommandInput, CancelJobCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataExchangeClient";
|
|
68
|
-
const commandName = "CancelJobCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CancelJobRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CancelJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CancelJobCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelJobCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CancelJobCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { CreateDataSetRequest, CreateDataSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateDataSetCommand,
|
|
5
|
-
serializeAws_restJson1CreateDataSetCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateDataSetCommandInput extends CreateDataSetRequest {}
|
|
21
|
-
export interface CreateDataSetCommandOutput extends CreateDataSetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation creates a data set.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, CreateDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, CreateDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new CreateDataSetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateDataSetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateDataSetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateDataSetCommand extends $Command<
|
|
41
|
-
CreateDataSetCommandInput,
|
|
42
|
-
CreateDataSetCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateDataSetCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateDataSetCommandInput, CreateDataSetCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataExchangeClient";
|
|
68
|
-
const commandName = "CreateDataSetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateDataSetRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateDataSetResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateDataSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateDataSetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDataSetCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateDataSetCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { CreateJobRequest, CreateJobResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateJobCommand,
|
|
5
|
-
serializeAws_restJson1CreateJobCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateJobCommandInput extends CreateJobRequest {}
|
|
21
|
-
export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation creates a job.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, CreateJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, CreateJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new CreateJobCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateJobCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateJobCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateJobCommand extends $Command<
|
|
41
|
-
CreateJobCommandInput,
|
|
42
|
-
CreateJobCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateJobCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateJobCommandInput, CreateJobCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataExchangeClient";
|
|
68
|
-
const commandName = "CreateJobCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateJobRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateJobResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateJobCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateJobCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateJobCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { CreateRevisionRequest, CreateRevisionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1CreateRevisionCommand,
|
|
5
|
-
serializeAws_restJson1CreateRevisionCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface CreateRevisionCommandInput extends CreateRevisionRequest {}
|
|
21
|
-
export interface CreateRevisionCommandOutput extends CreateRevisionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation creates a revision for a data set.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, CreateRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, CreateRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new CreateRevisionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link CreateRevisionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link CreateRevisionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class CreateRevisionCommand extends $Command<
|
|
41
|
-
CreateRevisionCommandInput,
|
|
42
|
-
CreateRevisionCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: CreateRevisionCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<CreateRevisionCommandInput, CreateRevisionCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "DataExchangeClient";
|
|
68
|
-
const commandName = "CreateRevisionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: CreateRevisionRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: CreateRevisionResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: CreateRevisionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1CreateRevisionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRevisionCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1CreateRevisionCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|