@aws-sdk/client-dataexchange 3.35.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 +13 -0
- package/dist-cjs/DataExchange.js +0 -1
- package/dist-cjs/DataExchangeClient.js +0 -1
- package/dist-cjs/commands/CancelJobCommand.js +0 -1
- package/dist-cjs/commands/CreateDataSetCommand.js +0 -1
- package/dist-cjs/commands/CreateEventActionCommand.js +0 -1
- package/dist-cjs/commands/CreateJobCommand.js +0 -1
- package/dist-cjs/commands/CreateRevisionCommand.js +0 -1
- package/dist-cjs/commands/DeleteAssetCommand.js +0 -1
- package/dist-cjs/commands/DeleteDataSetCommand.js +0 -1
- package/dist-cjs/commands/DeleteEventActionCommand.js +0 -1
- package/dist-cjs/commands/DeleteRevisionCommand.js +0 -1
- package/dist-cjs/commands/GetAssetCommand.js +0 -1
- package/dist-cjs/commands/GetDataSetCommand.js +0 -1
- package/dist-cjs/commands/GetEventActionCommand.js +0 -1
- package/dist-cjs/commands/GetJobCommand.js +0 -1
- package/dist-cjs/commands/GetRevisionCommand.js +0 -1
- package/dist-cjs/commands/ListDataSetRevisionsCommand.js +0 -1
- package/dist-cjs/commands/ListDataSetsCommand.js +0 -1
- package/dist-cjs/commands/ListEventActionsCommand.js +0 -1
- package/dist-cjs/commands/ListJobsCommand.js +0 -1
- package/dist-cjs/commands/ListRevisionAssetsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/StartJobCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssetCommand.js +0 -1
- package/dist-cjs/commands/UpdateDataSetCommand.js +0 -1
- package/dist-cjs/commands/UpdateEventActionCommand.js +0 -1
- package/dist-cjs/commands/UpdateRevisionCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDataSetRevisionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDataSetsPaginator.js +0 -1
- package/dist-cjs/pagination/ListEventActionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListJobsPaginator.js +0 -1
- package/dist-cjs/pagination/ListRevisionAssetsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/DataExchange.js +0 -1
- package/dist-es/DataExchangeClient.js +0 -1
- package/dist-es/commands/CancelJobCommand.js +0 -1
- package/dist-es/commands/CreateDataSetCommand.js +0 -1
- package/dist-es/commands/CreateEventActionCommand.js +0 -1
- package/dist-es/commands/CreateJobCommand.js +0 -1
- package/dist-es/commands/CreateRevisionCommand.js +0 -1
- package/dist-es/commands/DeleteAssetCommand.js +0 -1
- package/dist-es/commands/DeleteDataSetCommand.js +0 -1
- package/dist-es/commands/DeleteEventActionCommand.js +0 -1
- package/dist-es/commands/DeleteRevisionCommand.js +0 -1
- package/dist-es/commands/GetAssetCommand.js +0 -1
- package/dist-es/commands/GetDataSetCommand.js +0 -1
- package/dist-es/commands/GetEventActionCommand.js +0 -1
- package/dist-es/commands/GetJobCommand.js +0 -1
- package/dist-es/commands/GetRevisionCommand.js +0 -1
- package/dist-es/commands/ListDataSetRevisionsCommand.js +0 -1
- package/dist-es/commands/ListDataSetsCommand.js +0 -1
- package/dist-es/commands/ListEventActionsCommand.js +0 -1
- package/dist-es/commands/ListJobsCommand.js +0 -1
- package/dist-es/commands/ListRevisionAssetsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/StartJobCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAssetCommand.js +0 -1
- package/dist-es/commands/UpdateDataSetCommand.js +0 -1
- package/dist-es/commands/UpdateEventActionCommand.js +0 -1
- package/dist-es/commands/UpdateRevisionCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDataSetRevisionsPaginator.js +0 -1
- package/dist-es/pagination/ListDataSetsPaginator.js +0 -1
- package/dist-es/pagination/ListEventActionsPaginator.js +0 -1
- package/dist-es/pagination/ListJobsPaginator.js +0 -1
- package/dist-es/pagination/ListRevisionAssetsPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- 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/CreateEventActionCommand.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/DeleteEventActionCommand.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/GetEventActionCommand.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/ListEventActionsCommand.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/UpdateEventActionCommand.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/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/ListEventActionsPaginator.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/CreateEventActionCommand.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/DeleteEventActionCommand.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/GetEventActionCommand.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/ListEventActionsCommand.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/UpdateEventActionCommand.js.map +0 -1
- package/dist-es/commands/UpdateRevisionCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/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/ListEventActionsPaginator.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/jest.config.js +0 -4
- package/src/DataExchange.ts +0 -894
- package/src/DataExchangeClient.ts +0 -323
- package/src/commands/CancelJobCommand.ts +0 -95
- package/src/commands/CreateDataSetCommand.ts +0 -95
- package/src/commands/CreateEventActionCommand.ts +0 -95
- package/src/commands/CreateJobCommand.ts +0 -95
- package/src/commands/CreateRevisionCommand.ts +0 -95
- package/src/commands/DeleteAssetCommand.ts +0 -95
- package/src/commands/DeleteDataSetCommand.ts +0 -95
- package/src/commands/DeleteEventActionCommand.ts +0 -95
- package/src/commands/DeleteRevisionCommand.ts +0 -95
- package/src/commands/GetAssetCommand.ts +0 -95
- package/src/commands/GetDataSetCommand.ts +0 -95
- package/src/commands/GetEventActionCommand.ts +0 -95
- package/src/commands/GetJobCommand.ts +0 -88
- package/src/commands/GetRevisionCommand.ts +0 -95
- package/src/commands/ListDataSetRevisionsCommand.ts +0 -95
- package/src/commands/ListDataSetsCommand.ts +0 -95
- package/src/commands/ListEventActionsCommand.ts +0 -95
- package/src/commands/ListJobsCommand.ts +0 -95
- package/src/commands/ListRevisionAssetsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/StartJobCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateAssetCommand.ts +0 -95
- package/src/commands/UpdateDataSetCommand.ts +0 -95
- package/src/commands/UpdateEventActionCommand.ts +0 -95
- package/src/commands/UpdateRevisionCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -36
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2753
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDataSetRevisionsPaginator.ts +0 -59
- package/src/pagination/ListDataSetsPaginator.ts +0 -59
- package/src/pagination/ListEventActionsPaginator.ts +0 -59
- package/src/pagination/ListJobsPaginator.ts +0 -55
- package/src/pagination/ListRevisionAssetsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4522
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
-
import { GetDataSetRequest, GetDataSetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetDataSetCommand,
|
|
18
|
-
serializeAws_restJson1GetDataSetCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetDataSetCommandInput extends GetDataSetRequest {}
|
|
22
|
-
export interface GetDataSetCommandOutput extends GetDataSetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This operation returns information about a data set.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DataExchangeClient, GetDataSetCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
30
|
-
* // const { DataExchangeClient, GetDataSetCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
31
|
-
* const client = new DataExchangeClient(config);
|
|
32
|
-
* const command = new GetDataSetCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetDataSetCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetDataSetCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetDataSetCommand extends $Command<
|
|
42
|
-
GetDataSetCommandInput,
|
|
43
|
-
GetDataSetCommandOutput,
|
|
44
|
-
DataExchangeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetDataSetCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetDataSetCommandInput, GetDataSetCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "DataExchangeClient";
|
|
69
|
-
const commandName = "GetDataSetCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetDataSetRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetDataSetResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetDataSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetDataSetCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDataSetCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetDataSetCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
-
import { GetEventActionRequest, GetEventActionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetEventActionCommand,
|
|
18
|
-
serializeAws_restJson1GetEventActionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetEventActionCommandInput extends GetEventActionRequest {}
|
|
22
|
-
export interface GetEventActionCommandOutput extends GetEventActionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This operation retrieves information about an event action.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DataExchangeClient, GetEventActionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
30
|
-
* // const { DataExchangeClient, GetEventActionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
31
|
-
* const client = new DataExchangeClient(config);
|
|
32
|
-
* const command = new GetEventActionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetEventActionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetEventActionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetEventActionCommand extends $Command<
|
|
42
|
-
GetEventActionCommandInput,
|
|
43
|
-
GetEventActionCommandOutput,
|
|
44
|
-
DataExchangeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetEventActionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetEventActionCommandInput, GetEventActionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "DataExchangeClient";
|
|
69
|
-
const commandName = "GetEventActionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetEventActionRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetEventActionResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetEventActionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetEventActionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetEventActionCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetEventActionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
-
import { GetJobRequest, GetJobResponse } from "../models/models_0";
|
|
16
|
-
import { deserializeAws_restJson1GetJobCommand, serializeAws_restJson1GetJobCommand } from "../protocols/Aws_restJson1";
|
|
17
|
-
|
|
18
|
-
export interface GetJobCommandInput extends GetJobRequest {}
|
|
19
|
-
export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>This operation returns information about a job.</p>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { DataExchangeClient, GetJobCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
27
|
-
* // const { DataExchangeClient, GetJobCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
28
|
-
* const client = new DataExchangeClient(config);
|
|
29
|
-
* const command = new GetJobCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link GetJobCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link GetJobCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export class GetJobCommand extends $Command<GetJobCommandInput, GetJobCommandOutput, DataExchangeClientResolvedConfig> {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
|
-
|
|
42
|
-
constructor(readonly input: GetJobCommandInput) {
|
|
43
|
-
// Start section: command_constructor
|
|
44
|
-
super();
|
|
45
|
-
// End section: command_constructor
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
resolveMiddleware(
|
|
52
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
53
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
54
|
-
options?: __HttpHandlerOptions
|
|
55
|
-
): Handler<GetJobCommandInput, GetJobCommandOutput> {
|
|
56
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
57
|
-
|
|
58
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
59
|
-
|
|
60
|
-
const { logger } = configuration;
|
|
61
|
-
const clientName = "DataExchangeClient";
|
|
62
|
-
const commandName = "GetJobCommand";
|
|
63
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
64
|
-
logger,
|
|
65
|
-
clientName,
|
|
66
|
-
commandName,
|
|
67
|
-
inputFilterSensitiveLog: GetJobRequest.filterSensitiveLog,
|
|
68
|
-
outputFilterSensitiveLog: GetJobResponse.filterSensitiveLog,
|
|
69
|
-
};
|
|
70
|
-
const { requestHandler } = configuration;
|
|
71
|
-
return stack.resolve(
|
|
72
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
73
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
74
|
-
handlerExecutionContext
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
private serialize(input: GetJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
79
|
-
return serializeAws_restJson1GetJobCommand(input, context);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetJobCommandOutput> {
|
|
83
|
-
return deserializeAws_restJson1GetJobCommand(output, context);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// Start section: command_body_extra
|
|
87
|
-
// End section: command_body_extra
|
|
88
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
-
import { GetRevisionRequest, GetRevisionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetRevisionCommand,
|
|
18
|
-
serializeAws_restJson1GetRevisionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetRevisionCommandInput extends GetRevisionRequest {}
|
|
22
|
-
export interface GetRevisionCommandOutput extends GetRevisionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This operation returns information about a revision.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DataExchangeClient, GetRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
30
|
-
* // const { DataExchangeClient, GetRevisionCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
31
|
-
* const client = new DataExchangeClient(config);
|
|
32
|
-
* const command = new GetRevisionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetRevisionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetRevisionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetRevisionCommand extends $Command<
|
|
42
|
-
GetRevisionCommandInput,
|
|
43
|
-
GetRevisionCommandOutput,
|
|
44
|
-
DataExchangeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetRevisionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetRevisionCommandInput, GetRevisionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "DataExchangeClient";
|
|
69
|
-
const commandName = "GetRevisionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetRevisionRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetRevisionResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetRevisionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetRevisionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetRevisionCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetRevisionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
-
import { ListDataSetRevisionsRequest, ListDataSetRevisionsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListDataSetRevisionsCommand,
|
|
18
|
-
serializeAws_restJson1ListDataSetRevisionsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListDataSetRevisionsCommandInput extends ListDataSetRevisionsRequest {}
|
|
22
|
-
export interface ListDataSetRevisionsCommandOutput extends ListDataSetRevisionsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This operation lists a data set's revisions sorted by CreatedAt in descending order.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DataExchangeClient, ListDataSetRevisionsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
30
|
-
* // const { DataExchangeClient, ListDataSetRevisionsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
31
|
-
* const client = new DataExchangeClient(config);
|
|
32
|
-
* const command = new ListDataSetRevisionsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListDataSetRevisionsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListDataSetRevisionsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListDataSetRevisionsCommand extends $Command<
|
|
42
|
-
ListDataSetRevisionsCommandInput,
|
|
43
|
-
ListDataSetRevisionsCommandOutput,
|
|
44
|
-
DataExchangeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListDataSetRevisionsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListDataSetRevisionsCommandInput, ListDataSetRevisionsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "DataExchangeClient";
|
|
69
|
-
const commandName = "ListDataSetRevisionsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListDataSetRevisionsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListDataSetRevisionsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListDataSetRevisionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListDataSetRevisionsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDataSetRevisionsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListDataSetRevisionsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
-
import { ListDataSetsRequest, ListDataSetsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListDataSetsCommand,
|
|
18
|
-
serializeAws_restJson1ListDataSetsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListDataSetsCommandInput extends ListDataSetsRequest {}
|
|
22
|
-
export interface ListDataSetsCommandOutput extends ListDataSetsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DataExchangeClient, ListDataSetsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
30
|
-
* // const { DataExchangeClient, ListDataSetsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
31
|
-
* const client = new DataExchangeClient(config);
|
|
32
|
-
* const command = new ListDataSetsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListDataSetsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListDataSetsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListDataSetsCommand extends $Command<
|
|
42
|
-
ListDataSetsCommandInput,
|
|
43
|
-
ListDataSetsCommandOutput,
|
|
44
|
-
DataExchangeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListDataSetsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListDataSetsCommandInput, ListDataSetsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "DataExchangeClient";
|
|
69
|
-
const commandName = "ListDataSetsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListDataSetsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListDataSetsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListDataSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListDataSetsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDataSetsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListDataSetsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
15
|
-
import { ListEventActionsRequest, ListEventActionsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListEventActionsCommand,
|
|
18
|
-
serializeAws_restJson1ListEventActionsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListEventActionsCommandInput extends ListEventActionsRequest {}
|
|
22
|
-
export interface ListEventActionsCommandOutput extends ListEventActionsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>This operation lists your event actions.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DataExchangeClient, ListEventActionsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
30
|
-
* // const { DataExchangeClient, ListEventActionsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
31
|
-
* const client = new DataExchangeClient(config);
|
|
32
|
-
* const command = new ListEventActionsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListEventActionsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListEventActionsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DataExchangeClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListEventActionsCommand extends $Command<
|
|
42
|
-
ListEventActionsCommandInput,
|
|
43
|
-
ListEventActionsCommandOutput,
|
|
44
|
-
DataExchangeClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListEventActionsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: DataExchangeClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListEventActionsCommandInput, ListEventActionsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "DataExchangeClient";
|
|
69
|
-
const commandName = "ListEventActionsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListEventActionsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListEventActionsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListEventActionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListEventActionsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListEventActionsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListEventActionsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|