@aws-sdk/client-dataexchange 3.477.0 → 3.481.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/dist-cjs/commands/CancelJobCommand.js +18 -41
- package/dist-cjs/commands/CreateDataSetCommand.js +18 -41
- package/dist-cjs/commands/CreateEventActionCommand.js +18 -41
- package/dist-cjs/commands/CreateJobCommand.js +18 -41
- package/dist-cjs/commands/CreateRevisionCommand.js +18 -41
- package/dist-cjs/commands/DeleteAssetCommand.js +18 -41
- package/dist-cjs/commands/DeleteDataSetCommand.js +18 -41
- package/dist-cjs/commands/DeleteEventActionCommand.js +18 -41
- package/dist-cjs/commands/DeleteRevisionCommand.js +18 -41
- package/dist-cjs/commands/GetAssetCommand.js +18 -41
- package/dist-cjs/commands/GetDataSetCommand.js +18 -41
- package/dist-cjs/commands/GetEventActionCommand.js +18 -41
- package/dist-cjs/commands/GetJobCommand.js +18 -41
- package/dist-cjs/commands/GetRevisionCommand.js +18 -41
- package/dist-cjs/commands/ListDataSetRevisionsCommand.js +18 -41
- package/dist-cjs/commands/ListDataSetsCommand.js +18 -41
- package/dist-cjs/commands/ListEventActionsCommand.js +18 -41
- package/dist-cjs/commands/ListJobsCommand.js +18 -41
- package/dist-cjs/commands/ListRevisionAssetsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/RevokeRevisionCommand.js +18 -41
- package/dist-cjs/commands/SendApiAssetCommand.js +18 -41
- package/dist-cjs/commands/SendDataSetNotificationCommand.js +18 -41
- package/dist-cjs/commands/StartJobCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAssetCommand.js +18 -41
- package/dist-cjs/commands/UpdateDataSetCommand.js +18 -41
- package/dist-cjs/commands/UpdateEventActionCommand.js +18 -41
- package/dist-cjs/commands/UpdateRevisionCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListDataSetRevisionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventActionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRevisionAssetsPaginator.js +2 -24
- package/dist-es/commands/CancelJobCommand.js +18 -41
- package/dist-es/commands/CreateDataSetCommand.js +18 -41
- package/dist-es/commands/CreateEventActionCommand.js +18 -41
- package/dist-es/commands/CreateJobCommand.js +18 -41
- package/dist-es/commands/CreateRevisionCommand.js +18 -41
- package/dist-es/commands/DeleteAssetCommand.js +18 -41
- package/dist-es/commands/DeleteDataSetCommand.js +18 -41
- package/dist-es/commands/DeleteEventActionCommand.js +18 -41
- package/dist-es/commands/DeleteRevisionCommand.js +18 -41
- package/dist-es/commands/GetAssetCommand.js +18 -41
- package/dist-es/commands/GetDataSetCommand.js +18 -41
- package/dist-es/commands/GetEventActionCommand.js +18 -41
- package/dist-es/commands/GetJobCommand.js +18 -41
- package/dist-es/commands/GetRevisionCommand.js +18 -41
- package/dist-es/commands/ListDataSetRevisionsCommand.js +18 -41
- package/dist-es/commands/ListDataSetsCommand.js +18 -41
- package/dist-es/commands/ListEventActionsCommand.js +18 -41
- package/dist-es/commands/ListJobsCommand.js +18 -41
- package/dist-es/commands/ListRevisionAssetsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/RevokeRevisionCommand.js +18 -41
- package/dist-es/commands/SendApiAssetCommand.js +18 -41
- package/dist-es/commands/SendDataSetNotificationCommand.js +18 -41
- package/dist-es/commands/StartJobCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAssetCommand.js +18 -41
- package/dist-es/commands/UpdateDataSetCommand.js +18 -41
- package/dist-es/commands/UpdateEventActionCommand.js +18 -41
- package/dist-es/commands/UpdateRevisionCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListDataSetRevisionsPaginator.js +2 -23
- package/dist-es/pagination/ListDataSetsPaginator.js +2 -23
- package/dist-es/pagination/ListEventActionsPaginator.js +2 -23
- package/dist-es/pagination/ListJobsPaginator.js +2 -23
- package/dist-es/pagination/ListRevisionAssetsPaginator.js +2 -23
- package/dist-types/commands/CancelJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateDataSetCommand.d.ts +6 -21
- package/dist-types/commands/CreateEventActionCommand.d.ts +6 -21
- package/dist-types/commands/CreateJobCommand.d.ts +6 -21
- package/dist-types/commands/CreateRevisionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAssetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDataSetCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEventActionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRevisionCommand.d.ts +6 -21
- package/dist-types/commands/GetAssetCommand.d.ts +6 -21
- package/dist-types/commands/GetDataSetCommand.d.ts +6 -21
- package/dist-types/commands/GetEventActionCommand.d.ts +6 -21
- package/dist-types/commands/GetJobCommand.d.ts +6 -21
- package/dist-types/commands/GetRevisionCommand.d.ts +6 -21
- package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +6 -21
- package/dist-types/commands/ListDataSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListEventActionsCommand.d.ts +6 -21
- package/dist-types/commands/ListJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListRevisionAssetsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/RevokeRevisionCommand.d.ts +6 -21
- package/dist-types/commands/SendApiAssetCommand.d.ts +6 -21
- package/dist-types/commands/SendDataSetNotificationCommand.d.ts +6 -21
- package/dist-types/commands/StartJobCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAssetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDataSetCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEventActionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRevisionCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateDataSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEventActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRevisionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDataSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEventActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRevisionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAssetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDataSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEventActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetJobCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/GetRevisionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDataSetRevisionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDataSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEventActionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRevisionAssetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RevokeRevisionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendApiAssetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SendDataSetNotificationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDataSetCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEventActionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRevisionCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListDataSetRevisionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRevisionAssetsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SendApiAssetCommand, se_SendApiAssetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SendApiAssetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "SendApiAssetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "SendApiAsset",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SendApiAssetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SendApiAssetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SendApiAssetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "SendApiAsset", {})
|
|
19
|
+
.n("DataExchangeClient", "SendApiAssetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SendApiAssetCommand)
|
|
22
|
+
.de(de_SendApiAssetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_SendDataSetNotificationCommand, se_SendDataSetNotificationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class SendDataSetNotificationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "SendDataSetNotificationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "SendDataSetNotification",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_SendDataSetNotificationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_SendDataSetNotificationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class SendDataSetNotificationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "SendDataSetNotification", {})
|
|
19
|
+
.n("DataExchangeClient", "SendDataSetNotificationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_SendDataSetNotificationCommand)
|
|
22
|
+
.de(de_SendDataSetNotificationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartJobCommand, se_StartJobCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "StartJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "StartJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "StartJob", {})
|
|
19
|
+
.n("DataExchangeClient", "StartJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartJobCommand)
|
|
22
|
+
.de(de_StartJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "TagResource", {})
|
|
19
|
+
.n("DataExchangeClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "UntagResource", {})
|
|
19
|
+
.n("DataExchangeClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateAssetCommand, se_UpdateAssetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateAssetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "UpdateAssetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "UpdateAsset",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateAssetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateAssetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateAssetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "UpdateAsset", {})
|
|
19
|
+
.n("DataExchangeClient", "UpdateAssetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateAssetCommand)
|
|
22
|
+
.de(de_UpdateAssetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateDataSetCommand, se_UpdateDataSetCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateDataSetCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "UpdateDataSetCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "UpdateDataSet",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateDataSetCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateDataSetCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateDataSetCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "UpdateDataSet", {})
|
|
19
|
+
.n("DataExchangeClient", "UpdateDataSetCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateDataSetCommand)
|
|
22
|
+
.de(de_UpdateDataSetCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateEventActionCommand, se_UpdateEventActionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateEventActionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "UpdateEventActionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "UpdateEventAction",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateEventActionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateEventActionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateEventActionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "UpdateEventAction", {})
|
|
19
|
+
.n("DataExchangeClient", "UpdateEventActionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEventActionCommand)
|
|
22
|
+
.de(de_UpdateEventActionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateRevisionCommand, se_UpdateRevisionCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateRevisionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "DataExchangeClient";
|
|
26
|
-
const commandName = "UpdateRevisionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "DataExchange",
|
|
35
|
-
operation: "UpdateRevision",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateRevisionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateRevisionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateRevisionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("DataExchange", "UpdateRevision", {})
|
|
19
|
+
.n("DataExchangeClient", "UpdateRevisionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateRevisionCommand)
|
|
22
|
+
.de(de_UpdateRevisionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "dataexchange",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataSetRevisionsCommand, } from "../commands/ListDataSetRevisionsCommand";
|
|
2
3
|
import { DataExchangeClient } from "../DataExchangeClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataSetRevisionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataSetRevisions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof DataExchangeClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected DataExchange | DataExchangeClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListDataSetRevisions = createPaginator(DataExchangeClient, ListDataSetRevisionsCommand, "NextToken", "NextToken", "MaxResults");
|