@aws-sdk/client-dataexchange 3.325.0 → 3.327.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-types/commands/CancelJobCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataSetCommand.d.ts +20 -0
- package/dist-types/commands/CreateEventActionCommand.d.ts +26 -0
- package/dist-types/commands/CreateJobCommand.d.ts +161 -0
- package/dist-types/commands/CreateRevisionCommand.d.ts +19 -0
- package/dist-types/commands/DeleteAssetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDataSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEventActionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRevisionCommand.d.ts +4 -0
- package/dist-types/commands/GetAssetCommand.d.ts +84 -0
- package/dist-types/commands/GetDataSetCommand.d.ts +20 -0
- package/dist-types/commands/GetEventActionCommand.d.ts +26 -0
- package/dist-types/commands/GetJobCommand.d.ts +161 -0
- package/dist-types/commands/GetRevisionCommand.d.ts +19 -0
- package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +21 -0
- package/dist-types/commands/ListDataSetsCommand.d.ts +22 -0
- package/dist-types/commands/ListEventActionsCommand.d.ts +31 -0
- package/dist-types/commands/ListJobsCommand.d.ts +166 -0
- package/dist-types/commands/ListRevisionAssetsCommand.d.ts +89 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/RevokeRevisionCommand.d.ts +16 -0
- package/dist-types/commands/SendApiAssetCommand.d.ts +9 -0
- package/dist-types/commands/StartJobCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAssetCommand.d.ts +84 -0
- package/dist-types/commands/UpdateDataSetCommand.d.ts +17 -0
- package/dist-types/commands/UpdateEventActionCommand.d.ts +26 -0
- package/dist-types/commands/UpdateRevisionCommand.d.ts +16 -0
- package/package.json +7 -7
|
@@ -42,6 +42,13 @@ export interface SendApiAssetCommandOutput extends SendApiAssetResponse, __Metad
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new SendApiAssetCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // SendApiAssetResponse
|
|
46
|
+
* // Body: "STRING_VALUE",
|
|
47
|
+
* // ResponseHeaders: { // MapOf__string
|
|
48
|
+
* // "<keys>": "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
45
52
|
* ```
|
|
46
53
|
*
|
|
47
54
|
* @param SendApiAssetCommandInput - {@link SendApiAssetCommandInput}
|
|
@@ -65,6 +72,8 @@ export interface SendApiAssetCommandOutput extends SendApiAssetResponse, __Metad
|
|
|
65
72
|
* @throws {@link ValidationException} (client fault)
|
|
66
73
|
* <p>The request was invalid.</p>
|
|
67
74
|
*
|
|
75
|
+
* @throws {@link DataExchangeServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
68
77
|
*
|
|
69
78
|
*/
|
|
70
79
|
export declare class SendApiAssetCommand extends $Command<SendApiAssetCommandInput, SendApiAssetCommandOutput, DataExchangeClientResolvedConfig> {
|
|
@@ -31,6 +31,8 @@ export interface StartJobCommandOutput extends StartJobResponse, __MetadataBeare
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new StartJobCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // {};
|
|
35
|
+
*
|
|
34
36
|
* ```
|
|
35
37
|
*
|
|
36
38
|
* @param StartJobCommandInput - {@link StartJobCommandInput}
|
|
@@ -57,6 +59,8 @@ export interface StartJobCommandOutput extends StartJobResponse, __MetadataBeare
|
|
|
57
59
|
* @throws {@link ValidationException} (client fault)
|
|
58
60
|
* <p>The request was invalid.</p>
|
|
59
61
|
*
|
|
62
|
+
* @throws {@link DataExchangeServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
60
64
|
*
|
|
61
65
|
*/
|
|
62
66
|
export declare class StartJobCommand extends $Command<StartJobCommandInput, StartJobCommandOutput, DataExchangeClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new TagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -42,6 +44,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
42
44
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
43
45
|
* @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape.
|
|
44
46
|
*
|
|
47
|
+
* @throws {@link DataExchangeServiceException}
|
|
48
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
45
49
|
*
|
|
46
50
|
*/
|
|
47
51
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DataExchangeClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UntagResourceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -42,6 +44,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
42
44
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
43
45
|
* @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape.
|
|
44
46
|
*
|
|
47
|
+
* @throws {@link DataExchangeServiceException}
|
|
48
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
45
49
|
*
|
|
46
50
|
*/
|
|
47
51
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DataExchangeClientResolvedConfig> {
|
|
@@ -34,6 +34,88 @@ export interface UpdateAssetCommandOutput extends UpdateAssetResponse, __Metadat
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateAssetCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateAssetResponse
|
|
38
|
+
* // Arn: "STRING_VALUE",
|
|
39
|
+
* // AssetDetails: { // AssetDetails
|
|
40
|
+
* // S3SnapshotAsset: { // S3SnapshotAsset
|
|
41
|
+
* // Size: Number("double"), // required
|
|
42
|
+
* // },
|
|
43
|
+
* // RedshiftDataShareAsset: { // RedshiftDataShareAsset
|
|
44
|
+
* // Arn: "STRING_VALUE", // required
|
|
45
|
+
* // },
|
|
46
|
+
* // ApiGatewayApiAsset: { // ApiGatewayApiAsset
|
|
47
|
+
* // ApiDescription: "STRING_VALUE",
|
|
48
|
+
* // ApiEndpoint: "STRING_VALUE",
|
|
49
|
+
* // ApiId: "STRING_VALUE",
|
|
50
|
+
* // ApiKey: "STRING_VALUE",
|
|
51
|
+
* // ApiName: "STRING_VALUE",
|
|
52
|
+
* // ApiSpecificationDownloadUrl: "STRING_VALUE",
|
|
53
|
+
* // ApiSpecificationDownloadUrlExpiresAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // ProtocolType: "STRING_VALUE",
|
|
55
|
+
* // Stage: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // S3DataAccessAsset: { // S3DataAccessAsset
|
|
58
|
+
* // Bucket: "STRING_VALUE", // required
|
|
59
|
+
* // KeyPrefixes: [ // ListOf__string
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // Keys: [
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // S3AccessPointAlias: "STRING_VALUE",
|
|
66
|
+
* // S3AccessPointArn: "STRING_VALUE",
|
|
67
|
+
* // KmsKeysToGrant: [ // ListOfKmsKeysToGrant
|
|
68
|
+
* // { // KmsKeyToGrant
|
|
69
|
+
* // KmsKeyArn: "STRING_VALUE", // required
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // LakeFormationDataPermissionAsset: { // LakeFormationDataPermissionAsset
|
|
74
|
+
* // LakeFormationDataPermissionDetails: { // LakeFormationDataPermissionDetails
|
|
75
|
+
* // LFTagPolicy: { // LFTagPolicyDetails
|
|
76
|
+
* // CatalogId: "STRING_VALUE", // required
|
|
77
|
+
* // ResourceType: "STRING_VALUE", // required
|
|
78
|
+
* // ResourceDetails: { // LFResourceDetails
|
|
79
|
+
* // Database: { // DatabaseLFTagPolicy
|
|
80
|
+
* // Expression: [ // ListOfLFTags // required
|
|
81
|
+
* // { // LFTag
|
|
82
|
+
* // TagKey: "STRING_VALUE", // required
|
|
83
|
+
* // TagValues: [ // ListOfLFTagValues // required
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // Table: { // TableLFTagPolicy
|
|
90
|
+
* // Expression: [ // required
|
|
91
|
+
* // {
|
|
92
|
+
* // TagKey: "STRING_VALUE", // required
|
|
93
|
+
* // TagValues: [ // required
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
102
|
+
* // LakeFormationDataPermissionType: "STRING_VALUE", // required
|
|
103
|
+
* // Permissions: [ // ListOfLFPermissions // required
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // RoleArn: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // AssetType: "STRING_VALUE",
|
|
110
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
111
|
+
* // DataSetId: "STRING_VALUE",
|
|
112
|
+
* // Id: "STRING_VALUE",
|
|
113
|
+
* // Name: "STRING_VALUE",
|
|
114
|
+
* // RevisionId: "STRING_VALUE",
|
|
115
|
+
* // SourceId: "STRING_VALUE",
|
|
116
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
117
|
+
* // };
|
|
118
|
+
*
|
|
37
119
|
* ```
|
|
38
120
|
*
|
|
39
121
|
* @param UpdateAssetCommandInput - {@link UpdateAssetCommandInput}
|
|
@@ -60,6 +142,8 @@ export interface UpdateAssetCommandOutput extends UpdateAssetResponse, __Metadat
|
|
|
60
142
|
* @throws {@link ValidationException} (client fault)
|
|
61
143
|
* <p>The request was invalid.</p>
|
|
62
144
|
*
|
|
145
|
+
* @throws {@link DataExchangeServiceException}
|
|
146
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
63
147
|
*
|
|
64
148
|
*/
|
|
65
149
|
export declare class UpdateAssetCommand extends $Command<UpdateAssetCommandInput, UpdateAssetCommandOutput, DataExchangeClientResolvedConfig> {
|
|
@@ -33,6 +33,21 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new UpdateDataSetCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // UpdateDataSetResponse
|
|
37
|
+
* // Arn: "STRING_VALUE",
|
|
38
|
+
* // AssetType: "STRING_VALUE",
|
|
39
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
40
|
+
* // Description: "STRING_VALUE",
|
|
41
|
+
* // Id: "STRING_VALUE",
|
|
42
|
+
* // Name: "STRING_VALUE",
|
|
43
|
+
* // Origin: "STRING_VALUE",
|
|
44
|
+
* // OriginDetails: { // OriginDetails
|
|
45
|
+
* // ProductId: "STRING_VALUE", // required
|
|
46
|
+
* // },
|
|
47
|
+
* // SourceId: "STRING_VALUE",
|
|
48
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
36
51
|
* ```
|
|
37
52
|
*
|
|
38
53
|
* @param UpdateDataSetCommandInput - {@link UpdateDataSetCommandInput}
|
|
@@ -56,6 +71,8 @@ export interface UpdateDataSetCommandOutput extends UpdateDataSetResponse, __Met
|
|
|
56
71
|
* @throws {@link ValidationException} (client fault)
|
|
57
72
|
* <p>The request was invalid.</p>
|
|
58
73
|
*
|
|
74
|
+
* @throws {@link DataExchangeServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
59
76
|
*
|
|
60
77
|
*/
|
|
61
78
|
export declare class UpdateDataSetCommand extends $Command<UpdateDataSetCommandInput, UpdateDataSetCommandOutput, DataExchangeClientResolvedConfig> {
|
|
@@ -43,6 +43,30 @@ export interface UpdateEventActionCommandOutput extends UpdateEventActionRespons
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new UpdateEventActionCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // UpdateEventActionResponse
|
|
47
|
+
* // Action: { // Action
|
|
48
|
+
* // ExportRevisionToS3: { // AutoExportRevisionToS3RequestDetails
|
|
49
|
+
* // Encryption: { // ExportServerSideEncryption
|
|
50
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
51
|
+
* // Type: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // RevisionDestination: { // AutoExportRevisionDestinationEntry
|
|
54
|
+
* // Bucket: "STRING_VALUE", // required
|
|
55
|
+
* // KeyPattern: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // Arn: "STRING_VALUE",
|
|
60
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // Event: { // Event
|
|
62
|
+
* // RevisionPublished: { // RevisionPublished
|
|
63
|
+
* // DataSetId: "STRING_VALUE", // required
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // Id: "STRING_VALUE",
|
|
67
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
46
70
|
* ```
|
|
47
71
|
*
|
|
48
72
|
* @param UpdateEventActionCommandInput - {@link UpdateEventActionCommandInput}
|
|
@@ -66,6 +90,8 @@ export interface UpdateEventActionCommandOutput extends UpdateEventActionRespons
|
|
|
66
90
|
* @throws {@link ValidationException} (client fault)
|
|
67
91
|
* <p>The request was invalid.</p>
|
|
68
92
|
*
|
|
93
|
+
* @throws {@link DataExchangeServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
69
95
|
*
|
|
70
96
|
*/
|
|
71
97
|
export declare class UpdateEventActionCommand extends $Command<UpdateEventActionCommandInput, UpdateEventActionCommandOutput, DataExchangeClientResolvedConfig> {
|
|
@@ -34,6 +34,20 @@ export interface UpdateRevisionCommandOutput extends UpdateRevisionResponse, __M
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateRevisionCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateRevisionResponse
|
|
38
|
+
* // Arn: "STRING_VALUE",
|
|
39
|
+
* // Comment: "STRING_VALUE",
|
|
40
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
41
|
+
* // DataSetId: "STRING_VALUE",
|
|
42
|
+
* // Finalized: true || false,
|
|
43
|
+
* // Id: "STRING_VALUE",
|
|
44
|
+
* // SourceId: "STRING_VALUE",
|
|
45
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
46
|
+
* // RevocationComment: "STRING_VALUE",
|
|
47
|
+
* // Revoked: true || false,
|
|
48
|
+
* // RevokedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
37
51
|
* ```
|
|
38
52
|
*
|
|
39
53
|
* @param UpdateRevisionCommandInput - {@link UpdateRevisionCommandInput}
|
|
@@ -60,6 +74,8 @@ export interface UpdateRevisionCommandOutput extends UpdateRevisionResponse, __M
|
|
|
60
74
|
* @throws {@link ValidationException} (client fault)
|
|
61
75
|
* <p>The request was invalid.</p>
|
|
62
76
|
*
|
|
77
|
+
* @throws {@link DataExchangeServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
63
79
|
*
|
|
64
80
|
*/
|
|
65
81
|
export declare class UpdateRevisionCommand extends $Command<UpdateRevisionCommandInput, UpdateRevisionCommandOutput, DataExchangeClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dataexchange",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dataexchange Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.327.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.327.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.327.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.327.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.327.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.327.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.327.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|