@aws-sdk/client-dataexchange 3.669.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-cjs/runtimeConfig.browser.js +1 -1
- package/dist-cjs/runtimeConfig.js +1 -1
- 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-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -2
- 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 +6 -6
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DataExchangeClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DataExchangeClient";
|
|
8
|
+
import { GetDataGrantRequest, GetDataGrantResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetDataGrantCommandInput extends GetDataGrantRequest {}
|
|
12
|
+
export interface GetDataGrantCommandOutput
|
|
13
|
+
extends GetDataGrantResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetDataGrantCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetDataGrantCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetDataGrantCommandInput,
|
|
20
|
+
GetDataGrantCommandOutput,
|
|
21
|
+
DataExchangeClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: GetDataGrantCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetDataGrantCommandInput,
|
|
29
|
+
GetDataGrantCommandOutput,
|
|
30
|
+
DataExchangeClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetDataGrantCommand extends GetDataGrantCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetDataGrantRequest;
|
|
40
|
+
output: GetDataGrantResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetDataGrantCommandInput;
|
|
44
|
+
output: GetDataGrantCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DataExchangeClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DataExchangeClient";
|
|
8
|
+
import {
|
|
9
|
+
GetReceivedDataGrantRequest,
|
|
10
|
+
GetReceivedDataGrantResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetReceivedDataGrantCommandInput
|
|
15
|
+
extends GetReceivedDataGrantRequest {}
|
|
16
|
+
export interface GetReceivedDataGrantCommandOutput
|
|
17
|
+
extends GetReceivedDataGrantResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetReceivedDataGrantCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetReceivedDataGrantCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetReceivedDataGrantCommandInput,
|
|
24
|
+
GetReceivedDataGrantCommandOutput,
|
|
25
|
+
DataExchangeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetReceivedDataGrantCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetReceivedDataGrantCommandInput,
|
|
33
|
+
GetReceivedDataGrantCommandOutput,
|
|
34
|
+
DataExchangeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetReceivedDataGrantCommand extends GetReceivedDataGrantCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetReceivedDataGrantRequest;
|
|
44
|
+
output: GetReceivedDataGrantResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetReceivedDataGrantCommandInput;
|
|
48
|
+
output: GetReceivedDataGrantCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DataExchangeClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DataExchangeClient";
|
|
8
|
+
import {
|
|
9
|
+
ListDataGrantsRequest,
|
|
10
|
+
ListDataGrantsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListDataGrantsCommandInput extends ListDataGrantsRequest {}
|
|
15
|
+
export interface ListDataGrantsCommandOutput
|
|
16
|
+
extends ListDataGrantsResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const ListDataGrantsCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: ListDataGrantsCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
ListDataGrantsCommandInput,
|
|
23
|
+
ListDataGrantsCommandOutput,
|
|
24
|
+
DataExchangeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
...[input]: [] | [ListDataGrantsCommandInput]
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
ListDataGrantsCommandInput,
|
|
32
|
+
ListDataGrantsCommandOutput,
|
|
33
|
+
DataExchangeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class ListDataGrantsCommand extends ListDataGrantsCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: ListDataGrantsRequest;
|
|
43
|
+
output: ListDataGrantsResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: ListDataGrantsCommandInput;
|
|
47
|
+
output: ListDataGrantsCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
DataExchangeClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../DataExchangeClient";
|
|
8
|
+
import {
|
|
9
|
+
ListReceivedDataGrantsRequest,
|
|
10
|
+
ListReceivedDataGrantsResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListReceivedDataGrantsCommandInput
|
|
15
|
+
extends ListReceivedDataGrantsRequest {}
|
|
16
|
+
export interface ListReceivedDataGrantsCommandOutput
|
|
17
|
+
extends ListReceivedDataGrantsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListReceivedDataGrantsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListReceivedDataGrantsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListReceivedDataGrantsCommandInput,
|
|
24
|
+
ListReceivedDataGrantsCommandOutput,
|
|
25
|
+
DataExchangeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
...[input]: [] | [ListReceivedDataGrantsCommandInput]
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListReceivedDataGrantsCommandInput,
|
|
33
|
+
ListReceivedDataGrantsCommandOutput,
|
|
34
|
+
DataExchangeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListReceivedDataGrantsCommand extends ListReceivedDataGrantsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListReceivedDataGrantsRequest;
|
|
44
|
+
output: ListReceivedDataGrantsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListReceivedDataGrantsCommandInput;
|
|
48
|
+
output: ListReceivedDataGrantsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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,5 +1,41 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { DataExchangeServiceException as __BaseException } from "./DataExchangeServiceException";
|
|
3
|
+
export declare const AcceptanceStateFilterValue: {
|
|
4
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
5
|
+
readonly PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE";
|
|
6
|
+
};
|
|
7
|
+
export type AcceptanceStateFilterValue =
|
|
8
|
+
(typeof AcceptanceStateFilterValue)[keyof typeof AcceptanceStateFilterValue];
|
|
9
|
+
export interface AcceptDataGrantRequest {
|
|
10
|
+
DataGrantArn: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare const DataGrantAcceptanceState: {
|
|
13
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
14
|
+
readonly PENDING_RECEIVER_ACCEPTANCE: "PENDING_RECEIVER_ACCEPTANCE";
|
|
15
|
+
};
|
|
16
|
+
export type DataGrantAcceptanceState =
|
|
17
|
+
(typeof DataGrantAcceptanceState)[keyof typeof DataGrantAcceptanceState];
|
|
18
|
+
export declare const GrantDistributionScope: {
|
|
19
|
+
readonly AWS_ORGANIZATION: "AWS_ORGANIZATION";
|
|
20
|
+
readonly NONE: "NONE";
|
|
21
|
+
};
|
|
22
|
+
export type GrantDistributionScope =
|
|
23
|
+
(typeof GrantDistributionScope)[keyof typeof GrantDistributionScope];
|
|
24
|
+
export interface AcceptDataGrantResponse {
|
|
25
|
+
Name: string | undefined;
|
|
26
|
+
SenderPrincipal?: string;
|
|
27
|
+
ReceiverPrincipal: string | undefined;
|
|
28
|
+
Description?: string;
|
|
29
|
+
AcceptanceState: DataGrantAcceptanceState | undefined;
|
|
30
|
+
AcceptedAt?: Date;
|
|
31
|
+
EndsAt?: Date;
|
|
32
|
+
GrantDistributionScope: GrantDistributionScope | undefined;
|
|
33
|
+
DataSetId: string | undefined;
|
|
34
|
+
Id: string | undefined;
|
|
35
|
+
Arn: string | undefined;
|
|
36
|
+
CreatedAt: Date | undefined;
|
|
37
|
+
UpdatedAt: Date | undefined;
|
|
38
|
+
}
|
|
3
39
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
40
|
readonly name: "AccessDeniedException";
|
|
5
41
|
readonly $fault: "client";
|
|
@@ -8,6 +44,64 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
8
44
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
45
|
);
|
|
10
46
|
}
|
|
47
|
+
export declare const ResourceType: {
|
|
48
|
+
readonly ASSET: "ASSET";
|
|
49
|
+
readonly DATA_GRANT: "DATA_GRANT";
|
|
50
|
+
readonly DATA_SET: "DATA_SET";
|
|
51
|
+
readonly EVENT_ACTION: "EVENT_ACTION";
|
|
52
|
+
readonly JOB: "JOB";
|
|
53
|
+
readonly REVISION: "REVISION";
|
|
54
|
+
};
|
|
55
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
56
|
+
export declare class ConflictException extends __BaseException {
|
|
57
|
+
readonly name: "ConflictException";
|
|
58
|
+
readonly $fault: "client";
|
|
59
|
+
Message: string | undefined;
|
|
60
|
+
ResourceId?: string;
|
|
61
|
+
ResourceType?: ResourceType;
|
|
62
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
63
|
+
}
|
|
64
|
+
export declare class InternalServerException extends __BaseException {
|
|
65
|
+
readonly name: "InternalServerException";
|
|
66
|
+
readonly $fault: "server";
|
|
67
|
+
Message: string | undefined;
|
|
68
|
+
constructor(
|
|
69
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
73
|
+
readonly name: "ResourceNotFoundException";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
Message: string | undefined;
|
|
76
|
+
ResourceId?: string;
|
|
77
|
+
ResourceType?: ResourceType;
|
|
78
|
+
constructor(
|
|
79
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
export declare class ThrottlingException extends __BaseException {
|
|
83
|
+
readonly name: "ThrottlingException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
Message: string | undefined;
|
|
86
|
+
constructor(
|
|
87
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
export declare const ExceptionCause: {
|
|
91
|
+
readonly InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy";
|
|
92
|
+
readonly S3AccessDenied: "S3AccessDenied";
|
|
93
|
+
};
|
|
94
|
+
export type ExceptionCause =
|
|
95
|
+
(typeof ExceptionCause)[keyof typeof ExceptionCause];
|
|
96
|
+
export declare class ValidationException extends __BaseException {
|
|
97
|
+
readonly name: "ValidationException";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
Message: string | undefined;
|
|
100
|
+
ExceptionCause?: ExceptionCause;
|
|
101
|
+
constructor(
|
|
102
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
103
|
+
);
|
|
104
|
+
}
|
|
11
105
|
export declare const ServerSideEncryptionTypes: {
|
|
12
106
|
readonly AES256: "AES256";
|
|
13
107
|
readonly aws_kms: "aws:kms";
|
|
@@ -146,63 +240,6 @@ export interface AssetSourceEntry {
|
|
|
146
240
|
export interface CancelJobRequest {
|
|
147
241
|
JobId: string | undefined;
|
|
148
242
|
}
|
|
149
|
-
export declare const ResourceType: {
|
|
150
|
-
readonly ASSET: "ASSET";
|
|
151
|
-
readonly DATA_SET: "DATA_SET";
|
|
152
|
-
readonly EVENT_ACTION: "EVENT_ACTION";
|
|
153
|
-
readonly JOB: "JOB";
|
|
154
|
-
readonly REVISION: "REVISION";
|
|
155
|
-
};
|
|
156
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
157
|
-
export declare class ConflictException extends __BaseException {
|
|
158
|
-
readonly name: "ConflictException";
|
|
159
|
-
readonly $fault: "client";
|
|
160
|
-
Message: string | undefined;
|
|
161
|
-
ResourceId?: string;
|
|
162
|
-
ResourceType?: ResourceType;
|
|
163
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
164
|
-
}
|
|
165
|
-
export declare class InternalServerException extends __BaseException {
|
|
166
|
-
readonly name: "InternalServerException";
|
|
167
|
-
readonly $fault: "server";
|
|
168
|
-
Message: string | undefined;
|
|
169
|
-
constructor(
|
|
170
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
174
|
-
readonly name: "ResourceNotFoundException";
|
|
175
|
-
readonly $fault: "client";
|
|
176
|
-
Message: string | undefined;
|
|
177
|
-
ResourceId?: string;
|
|
178
|
-
ResourceType?: ResourceType;
|
|
179
|
-
constructor(
|
|
180
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
181
|
-
);
|
|
182
|
-
}
|
|
183
|
-
export declare class ThrottlingException extends __BaseException {
|
|
184
|
-
readonly name: "ThrottlingException";
|
|
185
|
-
readonly $fault: "client";
|
|
186
|
-
Message: string | undefined;
|
|
187
|
-
constructor(
|
|
188
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
189
|
-
);
|
|
190
|
-
}
|
|
191
|
-
export declare const ExceptionCause: {
|
|
192
|
-
readonly InsufficientS3BucketPolicy: "InsufficientS3BucketPolicy";
|
|
193
|
-
readonly S3AccessDenied: "S3AccessDenied";
|
|
194
|
-
};
|
|
195
|
-
export type ExceptionCause =
|
|
196
|
-
(typeof ExceptionCause)[keyof typeof ExceptionCause];
|
|
197
|
-
export declare class ValidationException extends __BaseException {
|
|
198
|
-
readonly name: "ValidationException";
|
|
199
|
-
readonly $fault: "client";
|
|
200
|
-
Message: string | undefined;
|
|
201
|
-
ExceptionCause?: ExceptionCause;
|
|
202
|
-
constructor(
|
|
203
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
204
|
-
);
|
|
205
|
-
}
|
|
206
243
|
export declare const Code: {
|
|
207
244
|
readonly ACCESS_DENIED_EXCEPTION: "ACCESS_DENIED_EXCEPTION";
|
|
208
245
|
readonly INTERNAL_SERVER_EXCEPTION: "INTERNAL_SERVER_EXCEPTION";
|
|
@@ -213,35 +250,35 @@ export declare const Code: {
|
|
|
213
250
|
readonly VALIDATION_EXCEPTION: "VALIDATION_EXCEPTION";
|
|
214
251
|
};
|
|
215
252
|
export type Code = (typeof Code)[keyof typeof Code];
|
|
216
|
-
export interface
|
|
217
|
-
AssetType: AssetType | undefined;
|
|
218
|
-
Description: string | undefined;
|
|
253
|
+
export interface CreateDataGrantRequest {
|
|
219
254
|
Name: string | undefined;
|
|
255
|
+
GrantDistributionScope: GrantDistributionScope | undefined;
|
|
256
|
+
ReceiverPrincipal: string | undefined;
|
|
257
|
+
SourceDataSetId: string | undefined;
|
|
258
|
+
EndsAt?: Date;
|
|
259
|
+
Description?: string;
|
|
220
260
|
Tags?: Record<string, string>;
|
|
221
261
|
}
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
export type Origin = (typeof Origin)[keyof typeof Origin];
|
|
227
|
-
export interface OriginDetails {
|
|
228
|
-
ProductId?: string;
|
|
229
|
-
}
|
|
230
|
-
export interface CreateDataSetResponse {
|
|
231
|
-
Arn?: string;
|
|
232
|
-
AssetType?: AssetType;
|
|
233
|
-
CreatedAt?: Date;
|
|
262
|
+
export interface CreateDataGrantResponse {
|
|
263
|
+
Name: string | undefined;
|
|
264
|
+
SenderPrincipal: string | undefined;
|
|
265
|
+
ReceiverPrincipal: string | undefined;
|
|
234
266
|
Description?: string;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
267
|
+
AcceptanceState: DataGrantAcceptanceState | undefined;
|
|
268
|
+
AcceptedAt?: Date;
|
|
269
|
+
EndsAt?: Date;
|
|
270
|
+
GrantDistributionScope: GrantDistributionScope | undefined;
|
|
271
|
+
DataSetId: string | undefined;
|
|
272
|
+
SourceDataSetId: string | undefined;
|
|
273
|
+
Id: string | undefined;
|
|
274
|
+
Arn: string | undefined;
|
|
275
|
+
CreatedAt: Date | undefined;
|
|
276
|
+
UpdatedAt: Date | undefined;
|
|
240
277
|
Tags?: Record<string, string>;
|
|
241
|
-
UpdatedAt?: Date;
|
|
242
278
|
}
|
|
243
279
|
export declare const LimitName: {
|
|
244
280
|
readonly AWS_Lake_Formation_data_permission_assets_per_revision: "AWS Lake Formation data permission assets per revision";
|
|
281
|
+
readonly Active_and_pending_data_grants: "Active and pending data grants";
|
|
245
282
|
readonly Amazon_API_Gateway_API_assets_per_revision: "Amazon API Gateway API assets per revision";
|
|
246
283
|
readonly Amazon_Redshift_datashare_assets_per_import_job_from_Redshift: "Amazon Redshift datashare assets per import job from Redshift";
|
|
247
284
|
readonly Amazon_Redshift_datashare_assets_per_revision: "Amazon Redshift datashare assets per revision";
|
|
@@ -263,6 +300,7 @@ export declare const LimitName: {
|
|
|
263
300
|
readonly Data_sets_per_account: "Data sets per account";
|
|
264
301
|
readonly Data_sets_per_product: "Data sets per product";
|
|
265
302
|
readonly Event_actions_per_account: "Event actions per account";
|
|
303
|
+
readonly Pending_data_grants_per_consumer: "Pending data grants per consumer";
|
|
266
304
|
readonly Products_per_account: "Products per account";
|
|
267
305
|
readonly Revisions_per_AWS_Lake_Formation_data_permission_data_set: "Revisions per AWS Lake Formation data permission data set";
|
|
268
306
|
readonly Revisions_per_Amazon_API_Gateway_API_data_set: "Revisions per Amazon API Gateway API data set";
|
|
@@ -281,6 +319,34 @@ export declare class ServiceLimitExceededException extends __BaseException {
|
|
|
281
319
|
opts: __ExceptionOptionType<ServiceLimitExceededException, __BaseException>
|
|
282
320
|
);
|
|
283
321
|
}
|
|
322
|
+
export interface CreateDataSetRequest {
|
|
323
|
+
AssetType: AssetType | undefined;
|
|
324
|
+
Description: string | undefined;
|
|
325
|
+
Name: string | undefined;
|
|
326
|
+
Tags?: Record<string, string>;
|
|
327
|
+
}
|
|
328
|
+
export declare const Origin: {
|
|
329
|
+
readonly ENTITLED: "ENTITLED";
|
|
330
|
+
readonly OWNED: "OWNED";
|
|
331
|
+
};
|
|
332
|
+
export type Origin = (typeof Origin)[keyof typeof Origin];
|
|
333
|
+
export interface OriginDetails {
|
|
334
|
+
ProductId?: string;
|
|
335
|
+
DataGrantId?: string;
|
|
336
|
+
}
|
|
337
|
+
export interface CreateDataSetResponse {
|
|
338
|
+
Arn?: string;
|
|
339
|
+
AssetType?: AssetType;
|
|
340
|
+
CreatedAt?: Date;
|
|
341
|
+
Description?: string;
|
|
342
|
+
Id?: string;
|
|
343
|
+
Name?: string;
|
|
344
|
+
Origin?: Origin;
|
|
345
|
+
OriginDetails?: OriginDetails;
|
|
346
|
+
SourceId?: string;
|
|
347
|
+
Tags?: Record<string, string>;
|
|
348
|
+
UpdatedAt?: Date;
|
|
349
|
+
}
|
|
284
350
|
export interface RevisionPublished {
|
|
285
351
|
DataSetId: string | undefined;
|
|
286
352
|
}
|
|
@@ -564,6 +630,9 @@ export interface DeleteAssetRequest {
|
|
|
564
630
|
DataSetId: string | undefined;
|
|
565
631
|
RevisionId: string | undefined;
|
|
566
632
|
}
|
|
633
|
+
export interface DeleteDataGrantRequest {
|
|
634
|
+
DataGrantId: string | undefined;
|
|
635
|
+
}
|
|
567
636
|
export interface DeleteDataSetRequest {
|
|
568
637
|
DataSetId: string | undefined;
|
|
569
638
|
}
|
|
@@ -591,6 +660,26 @@ export interface GetAssetResponse {
|
|
|
591
660
|
SourceId?: string;
|
|
592
661
|
UpdatedAt?: Date;
|
|
593
662
|
}
|
|
663
|
+
export interface GetDataGrantRequest {
|
|
664
|
+
DataGrantId: string | undefined;
|
|
665
|
+
}
|
|
666
|
+
export interface GetDataGrantResponse {
|
|
667
|
+
Name: string | undefined;
|
|
668
|
+
SenderPrincipal: string | undefined;
|
|
669
|
+
ReceiverPrincipal: string | undefined;
|
|
670
|
+
Description?: string;
|
|
671
|
+
AcceptanceState: DataGrantAcceptanceState | undefined;
|
|
672
|
+
AcceptedAt?: Date;
|
|
673
|
+
EndsAt?: Date;
|
|
674
|
+
GrantDistributionScope: GrantDistributionScope | undefined;
|
|
675
|
+
DataSetId: string | undefined;
|
|
676
|
+
SourceDataSetId: string | undefined;
|
|
677
|
+
Id: string | undefined;
|
|
678
|
+
Arn: string | undefined;
|
|
679
|
+
CreatedAt: Date | undefined;
|
|
680
|
+
UpdatedAt: Date | undefined;
|
|
681
|
+
Tags?: Record<string, string>;
|
|
682
|
+
}
|
|
594
683
|
export interface GetDataSetRequest {
|
|
595
684
|
DataSetId: string | undefined;
|
|
596
685
|
}
|
|
@@ -631,6 +720,24 @@ export interface GetJobResponse {
|
|
|
631
720
|
Type?: Type;
|
|
632
721
|
UpdatedAt?: Date;
|
|
633
722
|
}
|
|
723
|
+
export interface GetReceivedDataGrantRequest {
|
|
724
|
+
DataGrantArn: string | undefined;
|
|
725
|
+
}
|
|
726
|
+
export interface GetReceivedDataGrantResponse {
|
|
727
|
+
Name: string | undefined;
|
|
728
|
+
SenderPrincipal?: string;
|
|
729
|
+
ReceiverPrincipal: string | undefined;
|
|
730
|
+
Description?: string;
|
|
731
|
+
AcceptanceState: DataGrantAcceptanceState | undefined;
|
|
732
|
+
AcceptedAt?: Date;
|
|
733
|
+
EndsAt?: Date;
|
|
734
|
+
GrantDistributionScope: GrantDistributionScope | undefined;
|
|
735
|
+
DataSetId: string | undefined;
|
|
736
|
+
Id: string | undefined;
|
|
737
|
+
Arn: string | undefined;
|
|
738
|
+
CreatedAt: Date | undefined;
|
|
739
|
+
UpdatedAt: Date | undefined;
|
|
740
|
+
}
|
|
634
741
|
export interface GetRevisionRequest {
|
|
635
742
|
DataSetId: string | undefined;
|
|
636
743
|
RevisionId: string | undefined;
|
|
@@ -649,6 +756,28 @@ export interface GetRevisionResponse {
|
|
|
649
756
|
Revoked?: boolean;
|
|
650
757
|
RevokedAt?: Date;
|
|
651
758
|
}
|
|
759
|
+
export interface ListDataGrantsRequest {
|
|
760
|
+
MaxResults?: number;
|
|
761
|
+
NextToken?: string;
|
|
762
|
+
}
|
|
763
|
+
export interface DataGrantSummaryEntry {
|
|
764
|
+
Name: string | undefined;
|
|
765
|
+
SenderPrincipal: string | undefined;
|
|
766
|
+
ReceiverPrincipal: string | undefined;
|
|
767
|
+
AcceptanceState: DataGrantAcceptanceState | undefined;
|
|
768
|
+
AcceptedAt?: Date;
|
|
769
|
+
EndsAt?: Date;
|
|
770
|
+
DataSetId: string | undefined;
|
|
771
|
+
SourceDataSetId: string | undefined;
|
|
772
|
+
Id: string | undefined;
|
|
773
|
+
Arn: string | undefined;
|
|
774
|
+
CreatedAt: Date | undefined;
|
|
775
|
+
UpdatedAt: Date | undefined;
|
|
776
|
+
}
|
|
777
|
+
export interface ListDataGrantsResponse {
|
|
778
|
+
DataGrantSummaries?: DataGrantSummaryEntry[];
|
|
779
|
+
NextToken?: string;
|
|
780
|
+
}
|
|
652
781
|
export interface ListDataSetRevisionsRequest {
|
|
653
782
|
DataSetId: string | undefined;
|
|
654
783
|
MaxResults?: number;
|
|
@@ -729,6 +858,28 @@ export interface ListJobsResponse {
|
|
|
729
858
|
Jobs?: JobEntry[];
|
|
730
859
|
NextToken?: string;
|
|
731
860
|
}
|
|
861
|
+
export interface ListReceivedDataGrantsRequest {
|
|
862
|
+
MaxResults?: number;
|
|
863
|
+
NextToken?: string;
|
|
864
|
+
AcceptanceState?: AcceptanceStateFilterValue[];
|
|
865
|
+
}
|
|
866
|
+
export interface ReceivedDataGrantSummariesEntry {
|
|
867
|
+
Name: string | undefined;
|
|
868
|
+
SenderPrincipal: string | undefined;
|
|
869
|
+
ReceiverPrincipal: string | undefined;
|
|
870
|
+
AcceptanceState: DataGrantAcceptanceState | undefined;
|
|
871
|
+
AcceptedAt?: Date;
|
|
872
|
+
EndsAt?: Date;
|
|
873
|
+
DataSetId: string | undefined;
|
|
874
|
+
Id: string | undefined;
|
|
875
|
+
Arn: string | undefined;
|
|
876
|
+
CreatedAt: Date | undefined;
|
|
877
|
+
UpdatedAt: Date | undefined;
|
|
878
|
+
}
|
|
879
|
+
export interface ListReceivedDataGrantsResponse {
|
|
880
|
+
DataGrantSummaries?: ReceivedDataGrantSummariesEntry[];
|
|
881
|
+
NextToken?: string;
|
|
882
|
+
}
|
|
732
883
|
export interface ListRevisionAssetsRequest {
|
|
733
884
|
DataSetId: string | undefined;
|
|
734
885
|
MaxResults?: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListDataGrantsCommandInput,
|
|
4
|
+
ListDataGrantsCommandOutput,
|
|
5
|
+
} from "../commands/ListDataGrantsCommand";
|
|
6
|
+
import { DataExchangePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListDataGrants: (
|
|
8
|
+
config: DataExchangePaginationConfiguration,
|
|
9
|
+
input: ListDataGrantsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDataGrantsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListReceivedDataGrantsCommandInput,
|
|
4
|
+
ListReceivedDataGrantsCommandOutput,
|
|
5
|
+
} from "../commands/ListReceivedDataGrantsCommand";
|
|
6
|
+
import { DataExchangePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListReceivedDataGrants: (
|
|
8
|
+
config: DataExchangePaginationConfiguration,
|
|
9
|
+
input: ListReceivedDataGrantsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListReceivedDataGrantsCommandOutput>;
|
|
@@ -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";
|