@aws-sdk/client-dataexchange 3.670.0 → 3.674.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/README.md +71 -13
- package/dist-cjs/index.js +467 -40
- package/dist-es/DataExchange.js +14 -0
- package/dist-es/commands/AcceptDataGrantCommand.js +22 -0
- package/dist-es/commands/CreateDataGrantCommand.js +22 -0
- package/dist-es/commands/DeleteDataGrantCommand.js +22 -0
- package/dist-es/commands/GetDataGrantCommand.js +22 -0
- package/dist-es/commands/GetReceivedDataGrantCommand.js +22 -0
- package/dist-es/commands/ListDataGrantsCommand.js +22 -0
- package/dist-es/commands/ListReceivedDataGrantsCommand.js +22 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +44 -29
- package/dist-es/pagination/ListDataGrantsPaginator.js +4 -0
- package/dist-es/pagination/ListReceivedDataGrantsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +280 -3
- package/dist-types/DataExchange.d.ts +66 -13
- package/dist-types/DataExchangeClient.d.ts +24 -15
- package/dist-types/commands/AcceptDataGrantCommand.d.ts +102 -0
- package/dist-types/commands/CancelJobCommand.d.ts +4 -2
- package/dist-types/commands/CreateDataGrantCommand.d.ts +113 -0
- package/dist-types/commands/CreateDataSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateJobCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAssetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDataGrantCommand.d.ts +84 -0
- package/dist-types/commands/DeleteDataSetCommand.d.ts +2 -1
- package/dist-types/commands/DeleteRevisionCommand.d.ts +2 -1
- package/dist-types/commands/GetDataGrantCommand.d.ts +102 -0
- package/dist-types/commands/GetDataSetCommand.d.ts +1 -0
- package/dist-types/commands/GetReceivedDataGrantCommand.d.ts +98 -0
- package/dist-types/commands/ListDataGrantsCommand.d.ts +103 -0
- package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +2 -1
- package/dist-types/commands/ListDataSetsCommand.d.ts +3 -1
- package/dist-types/commands/ListReceivedDataGrantsCommand.d.ts +105 -0
- package/dist-types/commands/ListRevisionAssetsCommand.d.ts +2 -1
- package/dist-types/commands/RevokeRevisionCommand.d.ts +2 -1
- package/dist-types/commands/SendApiAssetCommand.d.ts +2 -1
- package/dist-types/commands/SendDataSetNotificationCommand.d.ts +2 -1
- package/dist-types/commands/StartJobCommand.d.ts +2 -1
- package/dist-types/commands/UpdateAssetCommand.d.ts +2 -1
- package/dist-types/commands/UpdateDataSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRevisionCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/index.d.ts +15 -13
- package/dist-types/models/models_0.d.ts +1016 -282
- package/dist-types/pagination/ListDataGrantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReceivedDataGrantsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/DataExchange.d.ts +121 -0
- package/dist-types/ts3.4/DataExchangeClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AcceptDataGrantCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateDataGrantCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteDataGrantCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetDataGrantCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetReceivedDataGrantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataGrantsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListReceivedDataGrantsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +229 -78
- package/dist-types/ts3.4/pagination/ListDataGrantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReceivedDataGrantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +2 -2
package/dist-es/DataExchange.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { AcceptDataGrantCommand, } from "./commands/AcceptDataGrantCommand";
|
|
2
3
|
import { CancelJobCommand } from "./commands/CancelJobCommand";
|
|
4
|
+
import { CreateDataGrantCommand, } from "./commands/CreateDataGrantCommand";
|
|
3
5
|
import { CreateDataSetCommand, } from "./commands/CreateDataSetCommand";
|
|
4
6
|
import { CreateEventActionCommand, } from "./commands/CreateEventActionCommand";
|
|
5
7
|
import { CreateJobCommand } from "./commands/CreateJobCommand";
|
|
6
8
|
import { CreateRevisionCommand, } from "./commands/CreateRevisionCommand";
|
|
7
9
|
import { DeleteAssetCommand } from "./commands/DeleteAssetCommand";
|
|
10
|
+
import { DeleteDataGrantCommand, } from "./commands/DeleteDataGrantCommand";
|
|
8
11
|
import { DeleteDataSetCommand, } from "./commands/DeleteDataSetCommand";
|
|
9
12
|
import { DeleteEventActionCommand, } from "./commands/DeleteEventActionCommand";
|
|
10
13
|
import { DeleteRevisionCommand, } from "./commands/DeleteRevisionCommand";
|
|
11
14
|
import { GetAssetCommand } from "./commands/GetAssetCommand";
|
|
15
|
+
import { GetDataGrantCommand, } from "./commands/GetDataGrantCommand";
|
|
12
16
|
import { GetDataSetCommand } from "./commands/GetDataSetCommand";
|
|
13
17
|
import { GetEventActionCommand, } from "./commands/GetEventActionCommand";
|
|
14
18
|
import { GetJobCommand } from "./commands/GetJobCommand";
|
|
19
|
+
import { GetReceivedDataGrantCommand, } from "./commands/GetReceivedDataGrantCommand";
|
|
15
20
|
import { GetRevisionCommand } from "./commands/GetRevisionCommand";
|
|
21
|
+
import { ListDataGrantsCommand, } from "./commands/ListDataGrantsCommand";
|
|
16
22
|
import { ListDataSetRevisionsCommand, } from "./commands/ListDataSetRevisionsCommand";
|
|
17
23
|
import { ListDataSetsCommand, } from "./commands/ListDataSetsCommand";
|
|
18
24
|
import { ListEventActionsCommand, } from "./commands/ListEventActionsCommand";
|
|
19
25
|
import { ListJobsCommand } from "./commands/ListJobsCommand";
|
|
26
|
+
import { ListReceivedDataGrantsCommand, } from "./commands/ListReceivedDataGrantsCommand";
|
|
20
27
|
import { ListRevisionAssetsCommand, } from "./commands/ListRevisionAssetsCommand";
|
|
21
28
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
22
29
|
import { RevokeRevisionCommand, } from "./commands/RevokeRevisionCommand";
|
|
@@ -31,24 +38,31 @@ import { UpdateEventActionCommand, } from "./commands/UpdateEventActionCommand";
|
|
|
31
38
|
import { UpdateRevisionCommand, } from "./commands/UpdateRevisionCommand";
|
|
32
39
|
import { DataExchangeClient } from "./DataExchangeClient";
|
|
33
40
|
const commands = {
|
|
41
|
+
AcceptDataGrantCommand,
|
|
34
42
|
CancelJobCommand,
|
|
43
|
+
CreateDataGrantCommand,
|
|
35
44
|
CreateDataSetCommand,
|
|
36
45
|
CreateEventActionCommand,
|
|
37
46
|
CreateJobCommand,
|
|
38
47
|
CreateRevisionCommand,
|
|
39
48
|
DeleteAssetCommand,
|
|
49
|
+
DeleteDataGrantCommand,
|
|
40
50
|
DeleteDataSetCommand,
|
|
41
51
|
DeleteEventActionCommand,
|
|
42
52
|
DeleteRevisionCommand,
|
|
43
53
|
GetAssetCommand,
|
|
54
|
+
GetDataGrantCommand,
|
|
44
55
|
GetDataSetCommand,
|
|
45
56
|
GetEventActionCommand,
|
|
46
57
|
GetJobCommand,
|
|
58
|
+
GetReceivedDataGrantCommand,
|
|
47
59
|
GetRevisionCommand,
|
|
60
|
+
ListDataGrantsCommand,
|
|
48
61
|
ListDataSetRevisionsCommand,
|
|
49
62
|
ListDataSetsCommand,
|
|
50
63
|
ListEventActionsCommand,
|
|
51
64
|
ListJobsCommand,
|
|
65
|
+
ListReceivedDataGrantsCommand,
|
|
52
66
|
ListRevisionAssetsCommand,
|
|
53
67
|
ListTagsForResourceCommand,
|
|
54
68
|
RevokeRevisionCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_AcceptDataGrantCommand, se_AcceptDataGrantCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class AcceptDataGrantCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DataExchange", "AcceptDataGrant", {})
|
|
17
|
+
.n("DataExchangeClient", "AcceptDataGrantCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_AcceptDataGrantCommand)
|
|
20
|
+
.de(de_AcceptDataGrantCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateDataGrantCommand, se_CreateDataGrantCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateDataGrantCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DataExchange", "CreateDataGrant", {})
|
|
17
|
+
.n("DataExchangeClient", "CreateDataGrantCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateDataGrantCommand)
|
|
20
|
+
.de(de_CreateDataGrantCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteDataGrantCommand, se_DeleteDataGrantCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteDataGrantCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DataExchange", "DeleteDataGrant", {})
|
|
17
|
+
.n("DataExchangeClient", "DeleteDataGrantCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteDataGrantCommand)
|
|
20
|
+
.de(de_DeleteDataGrantCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetDataGrantCommand, se_GetDataGrantCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetDataGrantCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DataExchange", "GetDataGrant", {})
|
|
17
|
+
.n("DataExchangeClient", "GetDataGrantCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetDataGrantCommand)
|
|
20
|
+
.de(de_GetDataGrantCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetReceivedDataGrantCommand, se_GetReceivedDataGrantCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetReceivedDataGrantCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DataExchange", "GetReceivedDataGrant", {})
|
|
17
|
+
.n("DataExchangeClient", "GetReceivedDataGrantCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetReceivedDataGrantCommand)
|
|
20
|
+
.de(de_GetReceivedDataGrantCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListDataGrantsCommand, se_ListDataGrantsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListDataGrantsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DataExchange", "ListDataGrants", {})
|
|
17
|
+
.n("DataExchangeClient", "ListDataGrantsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListDataGrantsCommand)
|
|
20
|
+
.de(de_ListDataGrantsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListReceivedDataGrantsCommand, se_ListReceivedDataGrantsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListReceivedDataGrantsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DataExchange", "ListReceivedDataGrants", {})
|
|
17
|
+
.n("DataExchangeClient", "ListReceivedDataGrantsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListReceivedDataGrantsCommand)
|
|
20
|
+
.de(de_ListReceivedDataGrantsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
+
export * from "./AcceptDataGrantCommand";
|
|
1
2
|
export * from "./CancelJobCommand";
|
|
3
|
+
export * from "./CreateDataGrantCommand";
|
|
2
4
|
export * from "./CreateDataSetCommand";
|
|
3
5
|
export * from "./CreateEventActionCommand";
|
|
4
6
|
export * from "./CreateJobCommand";
|
|
5
7
|
export * from "./CreateRevisionCommand";
|
|
6
8
|
export * from "./DeleteAssetCommand";
|
|
9
|
+
export * from "./DeleteDataGrantCommand";
|
|
7
10
|
export * from "./DeleteDataSetCommand";
|
|
8
11
|
export * from "./DeleteEventActionCommand";
|
|
9
12
|
export * from "./DeleteRevisionCommand";
|
|
10
13
|
export * from "./GetAssetCommand";
|
|
14
|
+
export * from "./GetDataGrantCommand";
|
|
11
15
|
export * from "./GetDataSetCommand";
|
|
12
16
|
export * from "./GetEventActionCommand";
|
|
13
17
|
export * from "./GetJobCommand";
|
|
18
|
+
export * from "./GetReceivedDataGrantCommand";
|
|
14
19
|
export * from "./GetRevisionCommand";
|
|
20
|
+
export * from "./ListDataGrantsCommand";
|
|
15
21
|
export * from "./ListDataSetRevisionsCommand";
|
|
16
22
|
export * from "./ListDataSetsCommand";
|
|
17
23
|
export * from "./ListEventActionsCommand";
|
|
18
24
|
export * from "./ListJobsCommand";
|
|
25
|
+
export * from "./ListReceivedDataGrantsCommand";
|
|
19
26
|
export * from "./ListRevisionAssetsCommand";
|
|
20
27
|
export * from "./ListTagsForResourceCommand";
|
|
21
28
|
export * from "./RevokeRevisionCommand";
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
2
|
+
export const AcceptanceStateFilterValue = {
|
|
3
|
+
ACCEPTED: "ACCEPTED",
|
|
4
|
+
PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE",
|
|
5
|
+
};
|
|
6
|
+
export const DataGrantAcceptanceState = {
|
|
7
|
+
ACCEPTED: "ACCEPTED",
|
|
8
|
+
PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE",
|
|
9
|
+
};
|
|
10
|
+
export const GrantDistributionScope = {
|
|
11
|
+
AWS_ORGANIZATION: "AWS_ORGANIZATION",
|
|
12
|
+
NONE: "NONE",
|
|
13
|
+
};
|
|
2
14
|
export class AccessDeniedException extends __BaseException {
|
|
3
15
|
constructor(opts) {
|
|
4
16
|
super({
|
|
@@ -12,33 +24,9 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
24
|
this.Message = opts.Message;
|
|
13
25
|
}
|
|
14
26
|
}
|
|
15
|
-
export const ServerSideEncryptionTypes = {
|
|
16
|
-
AES256: "AES256",
|
|
17
|
-
aws_kms: "aws:kms",
|
|
18
|
-
};
|
|
19
|
-
export const ProtocolType = {
|
|
20
|
-
REST: "REST",
|
|
21
|
-
};
|
|
22
|
-
export const LFResourceType = {
|
|
23
|
-
DATABASE: "DATABASE",
|
|
24
|
-
TABLE: "TABLE",
|
|
25
|
-
};
|
|
26
|
-
export const LakeFormationDataPermissionType = {
|
|
27
|
-
LFTagPolicy: "LFTagPolicy",
|
|
28
|
-
};
|
|
29
|
-
export const LFPermission = {
|
|
30
|
-
DESCRIBE: "DESCRIBE",
|
|
31
|
-
SELECT: "SELECT",
|
|
32
|
-
};
|
|
33
|
-
export const AssetType = {
|
|
34
|
-
API_GATEWAY_API: "API_GATEWAY_API",
|
|
35
|
-
LAKE_FORMATION_DATA_PERMISSION: "LAKE_FORMATION_DATA_PERMISSION",
|
|
36
|
-
REDSHIFT_DATA_SHARE: "REDSHIFT_DATA_SHARE",
|
|
37
|
-
S3_DATA_ACCESS: "S3_DATA_ACCESS",
|
|
38
|
-
S3_SNAPSHOT: "S3_SNAPSHOT",
|
|
39
|
-
};
|
|
40
27
|
export const ResourceType = {
|
|
41
28
|
ASSET: "ASSET",
|
|
29
|
+
DATA_GRANT: "DATA_GRANT",
|
|
42
30
|
DATA_SET: "DATA_SET",
|
|
43
31
|
EVENT_ACTION: "EVENT_ACTION",
|
|
44
32
|
JOB: "JOB",
|
|
@@ -118,6 +106,31 @@ export class ValidationException extends __BaseException {
|
|
|
118
106
|
this.ExceptionCause = opts.ExceptionCause;
|
|
119
107
|
}
|
|
120
108
|
}
|
|
109
|
+
export const ServerSideEncryptionTypes = {
|
|
110
|
+
AES256: "AES256",
|
|
111
|
+
aws_kms: "aws:kms",
|
|
112
|
+
};
|
|
113
|
+
export const ProtocolType = {
|
|
114
|
+
REST: "REST",
|
|
115
|
+
};
|
|
116
|
+
export const LFResourceType = {
|
|
117
|
+
DATABASE: "DATABASE",
|
|
118
|
+
TABLE: "TABLE",
|
|
119
|
+
};
|
|
120
|
+
export const LakeFormationDataPermissionType = {
|
|
121
|
+
LFTagPolicy: "LFTagPolicy",
|
|
122
|
+
};
|
|
123
|
+
export const LFPermission = {
|
|
124
|
+
DESCRIBE: "DESCRIBE",
|
|
125
|
+
SELECT: "SELECT",
|
|
126
|
+
};
|
|
127
|
+
export const AssetType = {
|
|
128
|
+
API_GATEWAY_API: "API_GATEWAY_API",
|
|
129
|
+
LAKE_FORMATION_DATA_PERMISSION: "LAKE_FORMATION_DATA_PERMISSION",
|
|
130
|
+
REDSHIFT_DATA_SHARE: "REDSHIFT_DATA_SHARE",
|
|
131
|
+
S3_DATA_ACCESS: "S3_DATA_ACCESS",
|
|
132
|
+
S3_SNAPSHOT: "S3_SNAPSHOT",
|
|
133
|
+
};
|
|
121
134
|
export const Code = {
|
|
122
135
|
ACCESS_DENIED_EXCEPTION: "ACCESS_DENIED_EXCEPTION",
|
|
123
136
|
INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION",
|
|
@@ -127,12 +140,9 @@ export const Code = {
|
|
|
127
140
|
SERVICE_QUOTA_EXCEEDED_EXCEPTION: "SERVICE_QUOTA_EXCEEDED_EXCEPTION",
|
|
128
141
|
VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION",
|
|
129
142
|
};
|
|
130
|
-
export const Origin = {
|
|
131
|
-
ENTITLED: "ENTITLED",
|
|
132
|
-
OWNED: "OWNED",
|
|
133
|
-
};
|
|
134
143
|
export const LimitName = {
|
|
135
144
|
AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision",
|
|
145
|
+
Active_and_pending_data_grants: "Active and pending data grants",
|
|
136
146
|
Amazon_API_Gateway_API_assets_per_revision: "Amazon API Gateway API assets per revision",
|
|
137
147
|
Amazon_Redshift_datashare_assets_per_import_job_from_Redshift: "Amazon Redshift datashare assets per import job from Redshift",
|
|
138
148
|
Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision",
|
|
@@ -154,6 +164,7 @@ export const LimitName = {
|
|
|
154
164
|
Data_sets_per_account: "Data sets per account",
|
|
155
165
|
Data_sets_per_product: "Data sets per product",
|
|
156
166
|
Event_actions_per_account: "Event actions per account",
|
|
167
|
+
Pending_data_grants_per_consumer: "Pending data grants per consumer",
|
|
157
168
|
Products_per_account: "Products per account",
|
|
158
169
|
Revisions_per_AWS_Lake_Formation_data_permission_data_set: "Revisions per AWS Lake Formation data permission data set",
|
|
159
170
|
Revisions_per_Amazon_API_Gateway_API_data_set: "Revisions per Amazon API Gateway API data set",
|
|
@@ -176,6 +187,10 @@ export class ServiceLimitExceededException extends __BaseException {
|
|
|
176
187
|
this.Message = opts.Message;
|
|
177
188
|
}
|
|
178
189
|
}
|
|
190
|
+
export const Origin = {
|
|
191
|
+
ENTITLED: "ENTITLED",
|
|
192
|
+
OWNED: "OWNED",
|
|
193
|
+
};
|
|
179
194
|
export const DatabaseLFTagPolicyPermission = {
|
|
180
195
|
DESCRIBE: "DESCRIBE",
|
|
181
196
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListDataGrantsCommand, } from "../commands/ListDataGrantsCommand";
|
|
3
|
+
import { DataExchangeClient } from "../DataExchangeClient";
|
|
4
|
+
export const paginateListDataGrants = createPaginator(DataExchangeClient, ListDataGrantsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListReceivedDataGrantsCommand, } from "../commands/ListReceivedDataGrantsCommand";
|
|
3
|
+
import { DataExchangeClient } from "../DataExchangeClient";
|
|
4
|
+
export const paginateListReceivedDataGrants = createPaginator(DataExchangeClient, ListReceivedDataGrantsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
|
+
export * from "./ListDataGrantsPaginator";
|
|
2
3
|
export * from "./ListDataSetRevisionsPaginator";
|
|
3
4
|
export * from "./ListDataSetsPaginator";
|
|
4
5
|
export * from "./ListEventActionsPaginator";
|
|
5
6
|
export * from "./ListJobsPaginator";
|
|
7
|
+
export * from "./ListReceivedDataGrantsPaginator";
|
|
6
8
|
export * from "./ListRevisionAssetsPaginator";
|