@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
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { DeleteAssetRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteAssetCommand,
|
|
5
|
-
serializeAws_restJson1DeleteAssetCommand,
|
|
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 DeleteAssetCommandInput extends DeleteAssetRequest {}
|
|
21
|
-
export interface DeleteAssetCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation deletes an asset.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, DeleteAssetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, DeleteAssetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new DeleteAssetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteAssetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteAssetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteAssetCommand extends $Command<
|
|
41
|
-
DeleteAssetCommandInput,
|
|
42
|
-
DeleteAssetCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteAssetCommandInput) {
|
|
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<DeleteAssetCommandInput, DeleteAssetCommandOutput> {
|
|
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 = "DeleteAssetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteAssetRequest.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: DeleteAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteAssetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAssetCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteAssetCommand(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 { DeleteDataSetRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteDataSetCommand,
|
|
5
|
-
serializeAws_restJson1DeleteDataSetCommand,
|
|
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 DeleteDataSetCommandInput extends DeleteDataSetRequest {}
|
|
21
|
-
export interface DeleteDataSetCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation deletes 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, DeleteDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, DeleteDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new DeleteDataSetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteDataSetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteDataSetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteDataSetCommand extends $Command<
|
|
41
|
-
DeleteDataSetCommandInput,
|
|
42
|
-
DeleteDataSetCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteDataSetCommandInput) {
|
|
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<DeleteDataSetCommandInput, DeleteDataSetCommandOutput> {
|
|
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 = "DeleteDataSetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteDataSetRequest.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: DeleteDataSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteDataSetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDataSetCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteDataSetCommand(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 { DeleteRevisionRequest } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteRevisionCommand,
|
|
5
|
-
serializeAws_restJson1DeleteRevisionCommand,
|
|
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 DeleteRevisionCommandInput extends DeleteRevisionRequest {}
|
|
21
|
-
export interface DeleteRevisionCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation deletes a revision.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, DeleteRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, DeleteRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new DeleteRevisionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteRevisionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteRevisionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteRevisionCommand extends $Command<
|
|
41
|
-
DeleteRevisionCommandInput,
|
|
42
|
-
DeleteRevisionCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteRevisionCommandInput) {
|
|
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<DeleteRevisionCommandInput, DeleteRevisionCommandOutput> {
|
|
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 = "DeleteRevisionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteRevisionRequest.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: DeleteRevisionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteRevisionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRevisionCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteRevisionCommand(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 { GetAssetRequest, GetAssetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetAssetCommand,
|
|
5
|
-
serializeAws_restJson1GetAssetCommand,
|
|
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 GetAssetCommandInput extends GetAssetRequest {}
|
|
21
|
-
export interface GetAssetCommandOutput extends GetAssetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation returns information about an asset.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, GetAssetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, GetAssetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new GetAssetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetAssetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetAssetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetAssetCommand extends $Command<
|
|
41
|
-
GetAssetCommandInput,
|
|
42
|
-
GetAssetCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetAssetCommandInput) {
|
|
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<GetAssetCommandInput, GetAssetCommandOutput> {
|
|
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 = "GetAssetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetAssetRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetAssetResponse.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: GetAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1GetAssetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetAssetCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1GetAssetCommand(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 { GetDataSetRequest, GetDataSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetDataSetCommand,
|
|
5
|
-
serializeAws_restJson1GetDataSetCommand,
|
|
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 GetDataSetCommandInput extends GetDataSetRequest {}
|
|
21
|
-
export interface GetDataSetCommandOutput extends GetDataSetResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation returns information about 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, GetDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, GetDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new GetDataSetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetDataSetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetDataSetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetDataSetCommand extends $Command<
|
|
41
|
-
GetDataSetCommandInput,
|
|
42
|
-
GetDataSetCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetDataSetCommandInput) {
|
|
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<GetDataSetCommandInput, GetDataSetCommandOutput> {
|
|
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 = "GetDataSetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetDataSetRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetDataSetResponse.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: GetDataSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1GetDataSetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDataSetCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1GetDataSetCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { GetJobRequest, GetJobResponse } from "../models/models_0";
|
|
3
|
-
import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
|
|
4
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
6
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
import {
|
|
8
|
-
FinalizeHandlerArguments,
|
|
9
|
-
Handler,
|
|
10
|
-
HandlerExecutionContext,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
|
-
MetadataBearer as __MetadataBearer,
|
|
14
|
-
SerdeContext as __SerdeContext,
|
|
15
|
-
} from "@aws-sdk/types";
|
|
16
|
-
|
|
17
|
-
export interface GetJobCommandInput extends GetJobRequest {}
|
|
18
|
-
export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* <p>This operation returns information about a job.</p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { DataExchangeClient, GetJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
26
|
-
* // const { DataExchangeClient, GetJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
27
|
-
* const client = new DataExchangeClient(config);
|
|
28
|
-
* const command = new GetJobCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link GetJobCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link GetJobCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export class GetJobCommand extends $Command<GetJobCommandInput, GetJobCommandOutput, DataExchangeClientResolvedConfig> {
|
|
38
|
-
// Start section: command_properties
|
|
39
|
-
// End section: command_properties
|
|
40
|
-
|
|
41
|
-
constructor(readonly input: GetJobCommandInput) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
|
-
super();
|
|
44
|
-
// End section: command_constructor
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
resolveMiddleware(
|
|
51
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
52
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
53
|
-
options?: __HttpHandlerOptions
|
|
54
|
-
): Handler<GetJobCommandInput, GetJobCommandOutput> {
|
|
55
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
56
|
-
|
|
57
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
58
|
-
|
|
59
|
-
const { logger } = configuration;
|
|
60
|
-
const clientName = "DataExchangeClient";
|
|
61
|
-
const commandName = "GetJobCommand";
|
|
62
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
63
|
-
logger,
|
|
64
|
-
clientName,
|
|
65
|
-
commandName,
|
|
66
|
-
inputFilterSensitiveLog: GetJobRequest.filterSensitiveLog,
|
|
67
|
-
outputFilterSensitiveLog: GetJobResponse.filterSensitiveLog,
|
|
68
|
-
};
|
|
69
|
-
const { requestHandler } = configuration;
|
|
70
|
-
return stack.resolve(
|
|
71
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
72
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
73
|
-
handlerExecutionContext
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
private serialize(input: GetJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
78
|
-
return serializeAws_restJson1GetJobCommand(input, context);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetJobCommandOutput> {
|
|
82
|
-
return deserializeAws_restJson1GetJobCommand(output, context);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// Start section: command_body_extra
|
|
86
|
-
// End section: command_body_extra
|
|
87
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
2
|
-
import { GetRevisionRequest, GetRevisionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetRevisionCommand,
|
|
5
|
-
serializeAws_restJson1GetRevisionCommand,
|
|
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 GetRevisionCommandInput extends GetRevisionRequest {}
|
|
21
|
-
export interface GetRevisionCommandOutput extends GetRevisionResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>This operation returns information about a revision.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { DataExchangeClient, GetRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
29
|
-
* // const { DataExchangeClient, GetRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
30
|
-
* const client = new DataExchangeClient(config);
|
|
31
|
-
* const command = new GetRevisionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetRevisionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetRevisionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetRevisionCommand extends $Command<
|
|
41
|
-
GetRevisionCommandInput,
|
|
42
|
-
GetRevisionCommandOutput,
|
|
43
|
-
DataExchangeClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetRevisionCommandInput) {
|
|
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<GetRevisionCommandInput, GetRevisionCommandOutput> {
|
|
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 = "GetRevisionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetRevisionRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetRevisionResponse.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: GetRevisionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1GetRevisionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetRevisionCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1GetRevisionCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|