@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
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
4
|
+
import { GetReceivedDataGrantRequest, GetReceivedDataGrantResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetReceivedDataGrantCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetReceivedDataGrantCommandInput extends GetReceivedDataGrantRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetReceivedDataGrantCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetReceivedDataGrantCommandOutput extends GetReceivedDataGrantResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetReceivedDataGrantCommand_base: {
|
|
25
|
+
new (input: GetReceivedDataGrantCommandInput): import("@smithy/smithy-client").CommandImpl<GetReceivedDataGrantCommandInput, GetReceivedDataGrantCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetReceivedDataGrantCommandInput): import("@smithy/smithy-client").CommandImpl<GetReceivedDataGrantCommandInput, GetReceivedDataGrantCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation returns information about a received data grant.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataExchangeClient, GetReceivedDataGrantCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
35
|
+
* // const { DataExchangeClient, GetReceivedDataGrantCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
36
|
+
* const client = new DataExchangeClient(config);
|
|
37
|
+
* const input = { // GetReceivedDataGrantRequest
|
|
38
|
+
* DataGrantArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetReceivedDataGrantCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetReceivedDataGrantResponse
|
|
43
|
+
* // Name: "STRING_VALUE", // required
|
|
44
|
+
* // SenderPrincipal: "STRING_VALUE",
|
|
45
|
+
* // ReceiverPrincipal: "STRING_VALUE", // required
|
|
46
|
+
* // Description: "STRING_VALUE",
|
|
47
|
+
* // AcceptanceState: "STRING_VALUE", // required
|
|
48
|
+
* // AcceptedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // EndsAt: new Date("TIMESTAMP"),
|
|
50
|
+
* // GrantDistributionScope: "STRING_VALUE", // required
|
|
51
|
+
* // DataSetId: "STRING_VALUE", // required
|
|
52
|
+
* // Id: "STRING_VALUE", // required
|
|
53
|
+
* // Arn: "STRING_VALUE", // required
|
|
54
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetReceivedDataGrantCommandInput - {@link GetReceivedDataGrantCommandInput}
|
|
61
|
+
* @returns {@link GetReceivedDataGrantCommandOutput}
|
|
62
|
+
* @see {@link GetReceivedDataGrantCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetReceivedDataGrantCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>Access to the resource is denied.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An exception occurred with the service.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The resource couldn't be found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The request was invalid.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link DataExchangeServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetReceivedDataGrantCommand extends GetReceivedDataGrantCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: GetReceivedDataGrantRequest;
|
|
91
|
+
output: GetReceivedDataGrantResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: GetReceivedDataGrantCommandInput;
|
|
95
|
+
output: GetReceivedDataGrantCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
4
|
+
import { ListDataGrantsRequest, ListDataGrantsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDataGrantsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDataGrantsCommandInput extends ListDataGrantsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDataGrantsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDataGrantsCommandOutput extends ListDataGrantsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDataGrantsCommand_base: {
|
|
25
|
+
new (input: ListDataGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataGrantsCommandInput, ListDataGrantsCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDataGrantsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDataGrantsCommandInput, ListDataGrantsCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation returns information about all data grants.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataExchangeClient, ListDataGrantsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
35
|
+
* // const { DataExchangeClient, ListDataGrantsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
36
|
+
* const client = new DataExchangeClient(config);
|
|
37
|
+
* const input = { // ListDataGrantsRequest
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListDataGrantsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListDataGrantsResponse
|
|
44
|
+
* // DataGrantSummaries: [ // ListOfDataGrantSummaryEntry
|
|
45
|
+
* // { // DataGrantSummaryEntry
|
|
46
|
+
* // Name: "STRING_VALUE", // required
|
|
47
|
+
* // SenderPrincipal: "STRING_VALUE", // required
|
|
48
|
+
* // ReceiverPrincipal: "STRING_VALUE", // required
|
|
49
|
+
* // AcceptanceState: "STRING_VALUE", // required
|
|
50
|
+
* // AcceptedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // EndsAt: new Date("TIMESTAMP"),
|
|
52
|
+
* // DataSetId: "STRING_VALUE", // required
|
|
53
|
+
* // SourceDataSetId: "STRING_VALUE", // required
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // Arn: "STRING_VALUE", // required
|
|
56
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListDataGrantsCommandInput - {@link ListDataGrantsCommandInput}
|
|
66
|
+
* @returns {@link ListDataGrantsCommandOutput}
|
|
67
|
+
* @see {@link ListDataGrantsCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListDataGrantsCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>Access to the resource is denied.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>An exception occurred with the service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The resource couldn't be found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The request was invalid.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link DataExchangeServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListDataGrantsCommand extends ListDataGrantsCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListDataGrantsRequest;
|
|
96
|
+
output: ListDataGrantsResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListDataGrantsCommandInput;
|
|
100
|
+
output: ListDataGrantsCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -27,7 +27,8 @@ declare const ListDataSetRevisionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation lists a data set's revisions sorted by CreatedAt in descending
|
|
30
|
+
* <p>This operation lists a data set's revisions sorted by CreatedAt in descending
|
|
31
|
+
* order.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -27,7 +27,8 @@ declare const ListDataSetsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation lists your data sets. When listing by origin OWNED, results are sorted by
|
|
30
|
+
* <p>This operation lists your data sets. When listing by origin OWNED, results are sorted by
|
|
31
|
+
* CreatedAt in descending order. When listing by origin ENTITLED, there is no order.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -53,6 +54,7 @@ declare const ListDataSetsCommand_base: {
|
|
|
53
54
|
* // Origin: "STRING_VALUE", // required
|
|
54
55
|
* // OriginDetails: { // OriginDetails
|
|
55
56
|
* // ProductId: "STRING_VALUE",
|
|
57
|
+
* // DataGrantId: "STRING_VALUE",
|
|
56
58
|
* // },
|
|
57
59
|
* // SourceId: "STRING_VALUE",
|
|
58
60
|
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
|
|
4
|
+
import { ListReceivedDataGrantsRequest, ListReceivedDataGrantsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListReceivedDataGrantsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListReceivedDataGrantsCommandInput extends ListReceivedDataGrantsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListReceivedDataGrantsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListReceivedDataGrantsCommandOutput extends ListReceivedDataGrantsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListReceivedDataGrantsCommand_base: {
|
|
25
|
+
new (input: ListReceivedDataGrantsCommandInput): import("@smithy/smithy-client").CommandImpl<ListReceivedDataGrantsCommandInput, ListReceivedDataGrantsCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListReceivedDataGrantsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListReceivedDataGrantsCommandInput, ListReceivedDataGrantsCommandOutput, DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>This operation returns information about all received data grants.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataExchangeClient, ListReceivedDataGrantsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import
|
|
35
|
+
* // const { DataExchangeClient, ListReceivedDataGrantsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import
|
|
36
|
+
* const client = new DataExchangeClient(config);
|
|
37
|
+
* const input = { // ListReceivedDataGrantsRequest
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* AcceptanceState: [ // AcceptanceStateFilterValues
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListReceivedDataGrantsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListReceivedDataGrantsResponse
|
|
47
|
+
* // DataGrantSummaries: [ // ListOfReceivedDataGrantSummariesEntry
|
|
48
|
+
* // { // ReceivedDataGrantSummariesEntry
|
|
49
|
+
* // Name: "STRING_VALUE", // required
|
|
50
|
+
* // SenderPrincipal: "STRING_VALUE", // required
|
|
51
|
+
* // ReceiverPrincipal: "STRING_VALUE", // required
|
|
52
|
+
* // AcceptanceState: "STRING_VALUE", // required
|
|
53
|
+
* // AcceptedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // EndsAt: new Date("TIMESTAMP"),
|
|
55
|
+
* // DataSetId: "STRING_VALUE", // required
|
|
56
|
+
* // Id: "STRING_VALUE", // required
|
|
57
|
+
* // Arn: "STRING_VALUE", // required
|
|
58
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // UpdatedAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListReceivedDataGrantsCommandInput - {@link ListReceivedDataGrantsCommandInput}
|
|
68
|
+
* @returns {@link ListReceivedDataGrantsCommandOutput}
|
|
69
|
+
* @see {@link ListReceivedDataGrantsCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListReceivedDataGrantsCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>Access to the resource is denied.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InternalServerException} (server fault)
|
|
77
|
+
* <p>An exception occurred with the service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>The resource couldn't be found.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ValidationException} (client fault)
|
|
86
|
+
* <p>The request was invalid.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link DataExchangeServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from DataExchange service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListReceivedDataGrantsCommand extends ListReceivedDataGrantsCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ListReceivedDataGrantsRequest;
|
|
98
|
+
output: ListReceivedDataGrantsResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ListReceivedDataGrantsCommandInput;
|
|
102
|
+
output: ListReceivedDataGrantsCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -27,7 +27,8 @@ declare const ListRevisionAssetsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation lists a revision's assets sorted alphabetically in descending
|
|
30
|
+
* <p>This operation lists a revision's assets sorted alphabetically in descending
|
|
31
|
+
* order.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -67,7 +67,8 @@ declare const RevokeRevisionCommand_base: {
|
|
|
67
67
|
* <p>Access to the resource is denied.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ConflictException} (client fault)
|
|
70
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
70
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
71
|
+
* resource.</p>
|
|
71
72
|
*
|
|
72
73
|
* @throws {@link InternalServerException} (server fault)
|
|
73
74
|
* <p>An exception occurred with the service.</p>
|
|
@@ -27,7 +27,8 @@ declare const SendApiAssetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation invokes an API Gateway API asset. The request is proxied to the
|
|
30
|
+
* <p>This operation invokes an API Gateway API asset. The request is proxied to the
|
|
31
|
+
* provider’s API Gateway API.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -102,7 +102,8 @@ declare const SendDataSetNotificationCommand_base: {
|
|
|
102
102
|
* <p>Access to the resource is denied.</p>
|
|
103
103
|
*
|
|
104
104
|
* @throws {@link ConflictException} (client fault)
|
|
105
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
105
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
106
|
+
* resource.</p>
|
|
106
107
|
*
|
|
107
108
|
* @throws {@link InternalServerException} (server fault)
|
|
108
109
|
* <p>An exception occurred with the service.</p>
|
|
@@ -53,7 +53,8 @@ declare const StartJobCommand_base: {
|
|
|
53
53
|
* <p>Access to the resource is denied.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
56
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
57
|
+
* resource.</p>
|
|
57
58
|
*
|
|
58
59
|
* @throws {@link InternalServerException} (server fault)
|
|
59
60
|
* <p>An exception occurred with the service.</p>
|
|
@@ -136,7 +136,8 @@ declare const UpdateAssetCommand_base: {
|
|
|
136
136
|
* <p>Access to the resource is denied.</p>
|
|
137
137
|
*
|
|
138
138
|
* @throws {@link ConflictException} (client fault)
|
|
139
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
139
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
140
|
+
* resource.</p>
|
|
140
141
|
*
|
|
141
142
|
* @throws {@link InternalServerException} (server fault)
|
|
142
143
|
* <p>An exception occurred with the service.</p>
|
|
@@ -51,6 +51,7 @@ declare const UpdateDataSetCommand_base: {
|
|
|
51
51
|
* // Origin: "STRING_VALUE",
|
|
52
52
|
* // OriginDetails: { // OriginDetails
|
|
53
53
|
* // ProductId: "STRING_VALUE",
|
|
54
|
+
* // DataGrantId: "STRING_VALUE",
|
|
54
55
|
* // },
|
|
55
56
|
* // SourceId: "STRING_VALUE",
|
|
56
57
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
@@ -68,7 +68,8 @@ declare const UpdateRevisionCommand_base: {
|
|
|
68
68
|
* <p>Access to the resource is denied.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link ConflictException} (client fault)
|
|
71
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
71
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
72
|
+
* resource.</p>
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link InternalServerException} (server fault)
|
|
74
75
|
* <p>An exception occurred with the service.</p>
|
|
@@ -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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
2
|
+
* <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in
|
|
3
|
+
* the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access
|
|
4
|
+
* file-based data set in the AWS Cloud.</p>
|
|
5
|
+
* <p>As a subscriber, you can view and access the data sets that you have an entitlement to
|
|
6
|
+
* through a subscription. You can use the APIs to download or copy your entitled data sets to
|
|
7
|
+
* Amazon Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and
|
|
8
|
+
* machine learning services.</p>
|
|
9
|
+
* <p>As a provider, you can create and manage your data sets that you would like to publish
|
|
10
|
+
* to a product. Being able to package and provide your data sets into products requires a few
|
|
9
11
|
* steps to determine eligibility. For more information, visit the <i>AWS Data Exchange
|
|
10
12
|
* User Guide</i>.</p>
|
|
11
|
-
* <p>A data set is a collection of data that can be changed or updated over time. Data sets
|
|
12
|
-
* updated using revisions, which represent a new version or incremental change to a
|
|
13
|
-
* A revision contains one or more assets. An asset in AWS Data Exchange is a piece
|
|
14
|
-
* that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS
|
|
15
|
-
* Formation data permission, or Amazon S3 data access. The asset can be a structured
|
|
16
|
-
* file, an image file, or some other data file. Jobs are asynchronous import or export
|
|
13
|
+
* <p>A data set is a collection of data that can be changed or updated over time. Data sets
|
|
14
|
+
* can be updated using revisions, which represent a new version or incremental change to a
|
|
15
|
+
* data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece
|
|
16
|
+
* of data that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS
|
|
17
|
+
* Lake Formation data permission, or Amazon S3 data access. The asset can be a structured
|
|
18
|
+
* data file, an image file, or some other data file. Jobs are asynchronous import or export
|
|
17
19
|
* operations used to create or copy assets.</p>
|
|
18
20
|
*
|
|
19
21
|
* @packageDocumentation
|