@aws-sdk/client-datazone 3.623.0 → 3.629.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 +40 -0
- package/dist-cjs/index.js +530 -50
- package/dist-es/DataZone.js +10 -0
- package/dist-es/commands/CreateDataProductCommand.js +25 -0
- package/dist-es/commands/CreateDataProductRevisionCommand.js +25 -0
- package/dist-es/commands/DeleteDataProductCommand.js +24 -0
- package/dist-es/commands/GetDataProductCommand.js +25 -0
- package/dist-es/commands/GetGlossaryCommand.js +1 -1
- package/dist-es/commands/GetGlossaryTermCommand.js +1 -1
- package/dist-es/commands/ListAssetFiltersCommand.js +1 -1
- package/dist-es/commands/ListDataProductRevisionsCommand.js +24 -0
- package/dist-es/commands/ListDataSourceRunActivitiesCommand.js +1 -1
- package/dist-es/commands/UpdateGlossaryCommand.js +1 -1
- package/dist-es/commands/UpdateGlossaryTermCommand.js +1 -1
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +80 -41
- package/dist-es/models/models_1.js +55 -1
- package/dist-es/pagination/ListDataProductRevisionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +258 -0
- package/dist-types/DataZone.d.ts +35 -0
- package/dist-types/DataZoneClient.d.ts +7 -2
- package/dist-types/commands/AcceptSubscriptionRequestCommand.d.ts +19 -0
- package/dist-types/commands/CancelSubscriptionCommand.d.ts +19 -0
- package/dist-types/commands/CreateDataProductCommand.d.ts +140 -0
- package/dist-types/commands/CreateDataProductRevisionCommand.d.ts +137 -0
- package/dist-types/commands/CreateListingChangeSetCommand.d.ts +1 -1
- package/dist-types/commands/CreateSubscriptionRequestCommand.d.ts +19 -0
- package/dist-types/commands/DeleteAssetCommand.d.ts +4 -1
- package/dist-types/commands/DeleteDataProductCommand.d.ts +80 -0
- package/dist-types/commands/DeleteGlossaryCommand.d.ts +2 -1
- package/dist-types/commands/DeleteGlossaryTermCommand.d.ts +1 -1
- package/dist-types/commands/GetDataProductCommand.d.ts +111 -0
- package/dist-types/commands/GetGlossaryCommand.d.ts +1 -1
- package/dist-types/commands/GetGlossaryTermCommand.d.ts +1 -1
- package/dist-types/commands/GetListingCommand.d.ts +27 -1
- package/dist-types/commands/GetSubscriptionCommand.d.ts +19 -0
- package/dist-types/commands/GetSubscriptionRequestDetailsCommand.d.ts +19 -0
- package/dist-types/commands/ListAssetFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListAssetRevisionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataProductRevisionsCommand.d.ts +90 -0
- package/dist-types/commands/ListDataSourceRunActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/ListEnvironmentActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionGrantsCommand.d.ts +1 -0
- package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +19 -0
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +19 -0
- package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +19 -0
- package/dist-types/commands/RevokeSubscriptionCommand.d.ts +19 -0
- package/dist-types/commands/SearchCommand.d.ts +15 -1
- package/dist-types/commands/SearchListingsCommand.d.ts +33 -0
- package/dist-types/commands/UpdateGlossaryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGlossaryTermCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSubscriptionRequestCommand.d.ts +19 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +2313 -2177
- package/dist-types/models/models_1.d.ts +763 -5
- package/dist-types/pagination/ListDataProductRevisionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/DataZone.d.ts +85 -0
- package/dist-types/ts3.4/DataZoneClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateDataProductCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateDataProductRevisionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteDataProductCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteGlossaryCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DeleteGlossaryTermCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDataProductCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetGlossaryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetGlossaryTermCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAssetFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAssetRevisionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDataProductRevisionsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListDataSourceRunActivitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEnvironmentActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGlossaryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateGlossaryTermCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +208 -150
- package/dist-types/ts3.4/models/models_1.d.ts +201 -0
- package/dist-types/ts3.4/pagination/ListDataProductRevisionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import { CreateDataProductInput, CreateDataProductOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateDataProductCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDataProductCommandInput extends CreateDataProductInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDataProductCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDataProductCommandOutput extends CreateDataProductOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateDataProductCommand_base: {
|
|
25
|
+
new (input: CreateDataProductCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataProductCommandInput, CreateDataProductCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateDataProductCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataProductCommandInput, CreateDataProductCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a data product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataZoneClient, CreateDataProductCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, CreateDataProductCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // CreateDataProductInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* owningProjectIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* glossaryTerms: [ // GlossaryTerms
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* formsInput: [ // FormInputList
|
|
46
|
+
* { // FormInput
|
|
47
|
+
* formName: "STRING_VALUE", // required
|
|
48
|
+
* typeIdentifier: "STRING_VALUE",
|
|
49
|
+
* typeRevision: "STRING_VALUE",
|
|
50
|
+
* content: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* items: [ // DataProductItems
|
|
54
|
+
* { // DataProductItem
|
|
55
|
+
* itemType: "ASSET", // required
|
|
56
|
+
* identifier: "STRING_VALUE", // required
|
|
57
|
+
* revision: "STRING_VALUE",
|
|
58
|
+
* glossaryTerms: [ // ItemGlossaryTerms
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* clientToken: "STRING_VALUE",
|
|
64
|
+
* };
|
|
65
|
+
* const command = new CreateDataProductCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // CreateDataProductOutput
|
|
68
|
+
* // domainId: "STRING_VALUE", // required
|
|
69
|
+
* // id: "STRING_VALUE", // required
|
|
70
|
+
* // revision: "STRING_VALUE", // required
|
|
71
|
+
* // owningProjectId: "STRING_VALUE", // required
|
|
72
|
+
* // name: "STRING_VALUE", // required
|
|
73
|
+
* // status: "CREATED" || "CREATING" || "CREATE_FAILED", // required
|
|
74
|
+
* // description: "STRING_VALUE",
|
|
75
|
+
* // glossaryTerms: [ // GlossaryTerms
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // items: [ // DataProductItems
|
|
79
|
+
* // { // DataProductItem
|
|
80
|
+
* // itemType: "ASSET", // required
|
|
81
|
+
* // identifier: "STRING_VALUE", // required
|
|
82
|
+
* // revision: "STRING_VALUE",
|
|
83
|
+
* // glossaryTerms: [ // ItemGlossaryTerms
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // formsOutput: [ // FormOutputList
|
|
89
|
+
* // { // FormOutput
|
|
90
|
+
* // formName: "STRING_VALUE", // required
|
|
91
|
+
* // typeName: "STRING_VALUE",
|
|
92
|
+
* // typeRevision: "STRING_VALUE",
|
|
93
|
+
* // content: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
97
|
+
* // createdBy: "STRING_VALUE",
|
|
98
|
+
* // firstRevisionCreatedAt: new Date("TIMESTAMP"),
|
|
99
|
+
* // firstRevisionCreatedBy: "STRING_VALUE",
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param CreateDataProductCommandInput - {@link CreateDataProductCommandInput}
|
|
105
|
+
* @returns {@link CreateDataProductCommandOutput}
|
|
106
|
+
* @see {@link CreateDataProductCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link CreateDataProductCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
111
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ConflictException} (client fault)
|
|
114
|
+
* <p>There is a conflict while performing this action.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link InternalServerException} (server fault)
|
|
117
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
120
|
+
* <p>The specified resource cannot be found.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
123
|
+
* <p>The request has exceeded the specified service quota.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
126
|
+
* <p>The request was denied due to request throttling.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ValidationException} (client fault)
|
|
129
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
132
|
+
* <p>You do not have permission to perform this action.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link DataZoneServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class CreateDataProductCommand extends CreateDataProductCommand_base {
|
|
140
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import { CreateDataProductRevisionInput, CreateDataProductRevisionOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateDataProductRevisionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateDataProductRevisionCommandInput extends CreateDataProductRevisionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateDataProductRevisionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateDataProductRevisionCommandOutput extends CreateDataProductRevisionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateDataProductRevisionCommand_base: {
|
|
25
|
+
new (input: CreateDataProductRevisionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataProductRevisionCommandInput, CreateDataProductRevisionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateDataProductRevisionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDataProductRevisionCommandInput, CreateDataProductRevisionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a data product revision.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataZoneClient, CreateDataProductRevisionCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, CreateDataProductRevisionCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // CreateDataProductRevisionInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* identifier: "STRING_VALUE", // required
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* glossaryTerms: [ // GlossaryTerms
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* items: [ // DataProductItems
|
|
46
|
+
* { // DataProductItem
|
|
47
|
+
* itemType: "ASSET", // required
|
|
48
|
+
* identifier: "STRING_VALUE", // required
|
|
49
|
+
* revision: "STRING_VALUE",
|
|
50
|
+
* glossaryTerms: [ // ItemGlossaryTerms
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* formsInput: [ // FormInputList
|
|
56
|
+
* { // FormInput
|
|
57
|
+
* formName: "STRING_VALUE", // required
|
|
58
|
+
* typeIdentifier: "STRING_VALUE",
|
|
59
|
+
* typeRevision: "STRING_VALUE",
|
|
60
|
+
* content: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* clientToken: "STRING_VALUE",
|
|
64
|
+
* };
|
|
65
|
+
* const command = new CreateDataProductRevisionCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* // { // CreateDataProductRevisionOutput
|
|
68
|
+
* // domainId: "STRING_VALUE", // required
|
|
69
|
+
* // id: "STRING_VALUE", // required
|
|
70
|
+
* // revision: "STRING_VALUE", // required
|
|
71
|
+
* // owningProjectId: "STRING_VALUE", // required
|
|
72
|
+
* // name: "STRING_VALUE", // required
|
|
73
|
+
* // status: "CREATED" || "CREATING" || "CREATE_FAILED", // required
|
|
74
|
+
* // description: "STRING_VALUE",
|
|
75
|
+
* // glossaryTerms: [ // GlossaryTerms
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // items: [ // DataProductItems
|
|
79
|
+
* // { // DataProductItem
|
|
80
|
+
* // itemType: "ASSET", // required
|
|
81
|
+
* // identifier: "STRING_VALUE", // required
|
|
82
|
+
* // revision: "STRING_VALUE",
|
|
83
|
+
* // glossaryTerms: [ // ItemGlossaryTerms
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // formsOutput: [ // FormOutputList
|
|
89
|
+
* // { // FormOutput
|
|
90
|
+
* // formName: "STRING_VALUE", // required
|
|
91
|
+
* // typeName: "STRING_VALUE",
|
|
92
|
+
* // typeRevision: "STRING_VALUE",
|
|
93
|
+
* // content: "STRING_VALUE",
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
97
|
+
* // createdBy: "STRING_VALUE",
|
|
98
|
+
* // firstRevisionCreatedAt: new Date("TIMESTAMP"),
|
|
99
|
+
* // firstRevisionCreatedBy: "STRING_VALUE",
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param CreateDataProductRevisionCommandInput - {@link CreateDataProductRevisionCommandInput}
|
|
105
|
+
* @returns {@link CreateDataProductRevisionCommandOutput}
|
|
106
|
+
* @see {@link CreateDataProductRevisionCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link CreateDataProductRevisionCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
111
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ConflictException} (client fault)
|
|
114
|
+
* <p>There is a conflict while performing this action.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link InternalServerException} (server fault)
|
|
117
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
120
|
+
* <p>The specified resource cannot be found.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
123
|
+
* <p>The request was denied due to request throttling.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ValidationException} (client fault)
|
|
126
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
129
|
+
* <p>You do not have permission to perform this action.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link DataZoneServiceException}
|
|
132
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
133
|
+
*
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
export declare class CreateDataProductRevisionCommand extends CreateDataProductRevisionCommand_base {
|
|
137
|
+
}
|
|
@@ -38,7 +38,7 @@ declare const CreateListingChangeSetCommand_base: {
|
|
|
38
38
|
* const input = { // CreateListingChangeSetInput
|
|
39
39
|
* domainIdentifier: "STRING_VALUE", // required
|
|
40
40
|
* entityIdentifier: "STRING_VALUE", // required
|
|
41
|
-
* entityType: "ASSET", // required
|
|
41
|
+
* entityType: "ASSET" || "DATA_PRODUCT", // required
|
|
42
42
|
* entityRevision: "STRING_VALUE",
|
|
43
43
|
* action: "PUBLISH" || "UNPUBLISH", // required
|
|
44
44
|
* clientToken: "STRING_VALUE",
|
|
@@ -89,6 +89,25 @@ declare const CreateSubscriptionRequestCommand_base: {
|
|
|
89
89
|
* // },
|
|
90
90
|
* // ],
|
|
91
91
|
* // },
|
|
92
|
+
* // productListing: { // SubscribedProductListing
|
|
93
|
+
* // entityId: "STRING_VALUE",
|
|
94
|
+
* // entityRevision: "STRING_VALUE",
|
|
95
|
+
* // glossaryTerms: [
|
|
96
|
+
* // {
|
|
97
|
+
* // name: "STRING_VALUE",
|
|
98
|
+
* // shortDescription: "STRING_VALUE",
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // name: "STRING_VALUE",
|
|
102
|
+
* // description: "STRING_VALUE",
|
|
103
|
+
* // assetListings: [ // AssetInDataProductListingItems
|
|
104
|
+
* // { // AssetInDataProductListingItem
|
|
105
|
+
* // entityId: "STRING_VALUE",
|
|
106
|
+
* // entityRevision: "STRING_VALUE",
|
|
107
|
+
* // entityType: "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // ],
|
|
110
|
+
* // },
|
|
92
111
|
* // },
|
|
93
112
|
* // ownerProjectId: "STRING_VALUE", // required
|
|
94
113
|
* // ownerProjectName: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ declare const DeleteAssetCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p>Deletes an asset in Amazon DataZone.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -53,6 +53,9 @@ declare const DeleteAssetCommand_base: {
|
|
|
53
53
|
* @throws {@link AccessDeniedException} (client fault)
|
|
54
54
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
55
|
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>There is a conflict while performing this action.</p>
|
|
58
|
+
*
|
|
56
59
|
* @throws {@link InternalServerException} (server fault)
|
|
57
60
|
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
58
61
|
*
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import { DeleteDataProductInput, DeleteDataProductOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteDataProductCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteDataProductCommandInput extends DeleteDataProductInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteDataProductCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteDataProductCommandOutput extends DeleteDataProductOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteDataProductCommand_base: {
|
|
25
|
+
new (input: DeleteDataProductCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataProductCommandInput, DeleteDataProductCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteDataProductCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteDataProductCommandInput, DeleteDataProductCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes an data product in Amazon DataZone.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataZoneClient, DeleteDataProductCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, DeleteDataProductCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // DeleteDataProductInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* identifier: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteDataProductCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteDataProductCommandInput - {@link DeleteDataProductCommandInput}
|
|
48
|
+
* @returns {@link DeleteDataProductCommandOutput}
|
|
49
|
+
* @see {@link DeleteDataProductCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteDataProductCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>There is a conflict while performing this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The specified resource cannot be found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
72
|
+
* <p>You do not have permission to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link DataZoneServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class DeleteDataProductCommand extends DeleteDataProductCommand_base {
|
|
80
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { DeleteGlossaryInput
|
|
4
|
+
import { DeleteGlossaryInput } from "../models/models_0";
|
|
5
|
+
import { DeleteGlossaryOutput } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { DeleteGlossaryTermInput, DeleteGlossaryTermOutput } from "../models/
|
|
4
|
+
import { DeleteGlossaryTermInput, DeleteGlossaryTermOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import { GetDataProductInput, GetDataProductOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDataProductCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDataProductCommandInput extends GetDataProductInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDataProductCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDataProductCommandOutput extends GetDataProductOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDataProductCommand_base: {
|
|
25
|
+
new (input: GetDataProductCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataProductCommandInput, GetDataProductCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetDataProductCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataProductCommandInput, GetDataProductCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets the data product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataZoneClient, GetDataProductCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, GetDataProductCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // GetDataProductInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* identifier: "STRING_VALUE", // required
|
|
40
|
+
* revision: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetDataProductCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetDataProductOutput
|
|
45
|
+
* // domainId: "STRING_VALUE", // required
|
|
46
|
+
* // id: "STRING_VALUE", // required
|
|
47
|
+
* // revision: "STRING_VALUE", // required
|
|
48
|
+
* // owningProjectId: "STRING_VALUE", // required
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // status: "CREATED" || "CREATING" || "CREATE_FAILED", // required
|
|
51
|
+
* // description: "STRING_VALUE",
|
|
52
|
+
* // glossaryTerms: [ // GlossaryTerms
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // items: [ // DataProductItems
|
|
56
|
+
* // { // DataProductItem
|
|
57
|
+
* // itemType: "ASSET", // required
|
|
58
|
+
* // identifier: "STRING_VALUE", // required
|
|
59
|
+
* // revision: "STRING_VALUE",
|
|
60
|
+
* // glossaryTerms: [ // ItemGlossaryTerms
|
|
61
|
+
* // "STRING_VALUE",
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // formsOutput: [ // FormOutputList
|
|
66
|
+
* // { // FormOutput
|
|
67
|
+
* // formName: "STRING_VALUE", // required
|
|
68
|
+
* // typeName: "STRING_VALUE",
|
|
69
|
+
* // typeRevision: "STRING_VALUE",
|
|
70
|
+
* // content: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
74
|
+
* // createdBy: "STRING_VALUE",
|
|
75
|
+
* // firstRevisionCreatedAt: new Date("TIMESTAMP"),
|
|
76
|
+
* // firstRevisionCreatedBy: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param GetDataProductCommandInput - {@link GetDataProductCommandInput}
|
|
82
|
+
* @returns {@link GetDataProductCommandOutput}
|
|
83
|
+
* @see {@link GetDataProductCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link GetDataProductCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p>The specified resource cannot be found.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p>The request was denied due to request throttling.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
103
|
+
* <p>You do not have permission to perform this action.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link DataZoneServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class GetDataProductCommand extends GetDataProductCommand_base {
|
|
111
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { GetGlossaryInput, GetGlossaryOutput } from "../models/
|
|
4
|
+
import { GetGlossaryInput, GetGlossaryOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import { GetGlossaryTermInput, GetGlossaryTermOutput } from "../models/
|
|
4
|
+
import { GetGlossaryTermInput, GetGlossaryTermOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -27,7 +27,8 @@ declare const GetListingCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Gets a listing (a record of an asset at a given time)
|
|
30
|
+
* <p>Gets a listing (a record of an asset at a given time). If you specify a listing version,
|
|
31
|
+
* only details that are specific to that version are returned.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -74,6 +75,31 @@ declare const GetListingCommand_base: {
|
|
|
74
75
|
* // ],
|
|
75
76
|
* // owningProjectId: "STRING_VALUE",
|
|
76
77
|
* // },
|
|
78
|
+
* // dataProductListing: { // DataProductListing
|
|
79
|
+
* // dataProductId: "STRING_VALUE",
|
|
80
|
+
* // dataProductRevision: "STRING_VALUE",
|
|
81
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
82
|
+
* // forms: "STRING_VALUE",
|
|
83
|
+
* // glossaryTerms: [
|
|
84
|
+
* // {
|
|
85
|
+
* // name: "STRING_VALUE",
|
|
86
|
+
* // shortDescription: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // owningProjectId: "STRING_VALUE",
|
|
90
|
+
* // items: [ // ListingSummaries
|
|
91
|
+
* // { // ListingSummary
|
|
92
|
+
* // listingId: "STRING_VALUE",
|
|
93
|
+
* // listingRevision: "STRING_VALUE",
|
|
94
|
+
* // glossaryTerms: [
|
|
95
|
+
* // {
|
|
96
|
+
* // name: "STRING_VALUE",
|
|
97
|
+
* // shortDescription: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // },
|
|
77
103
|
* // },
|
|
78
104
|
* // name: "STRING_VALUE",
|
|
79
105
|
* // description: "STRING_VALUE",
|
|
@@ -72,6 +72,25 @@ declare const GetSubscriptionCommand_base: {
|
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
74
74
|
* // },
|
|
75
|
+
* // productListing: { // SubscribedProductListing
|
|
76
|
+
* // entityId: "STRING_VALUE",
|
|
77
|
+
* // entityRevision: "STRING_VALUE",
|
|
78
|
+
* // glossaryTerms: [
|
|
79
|
+
* // {
|
|
80
|
+
* // name: "STRING_VALUE",
|
|
81
|
+
* // shortDescription: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // name: "STRING_VALUE",
|
|
85
|
+
* // description: "STRING_VALUE",
|
|
86
|
+
* // assetListings: [ // AssetInDataProductListingItems
|
|
87
|
+
* // { // AssetInDataProductListingItem
|
|
88
|
+
* // entityId: "STRING_VALUE",
|
|
89
|
+
* // entityRevision: "STRING_VALUE",
|
|
90
|
+
* // entityType: "STRING_VALUE",
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
75
94
|
* // },
|
|
76
95
|
* // ownerProjectId: "STRING_VALUE", // required
|
|
77
96
|
* // ownerProjectName: "STRING_VALUE",
|
|
@@ -76,6 +76,25 @@ declare const GetSubscriptionRequestDetailsCommand_base: {
|
|
|
76
76
|
* // },
|
|
77
77
|
* // ],
|
|
78
78
|
* // },
|
|
79
|
+
* // productListing: { // SubscribedProductListing
|
|
80
|
+
* // entityId: "STRING_VALUE",
|
|
81
|
+
* // entityRevision: "STRING_VALUE",
|
|
82
|
+
* // glossaryTerms: [
|
|
83
|
+
* // {
|
|
84
|
+
* // name: "STRING_VALUE",
|
|
85
|
+
* // shortDescription: "STRING_VALUE",
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // name: "STRING_VALUE",
|
|
89
|
+
* // description: "STRING_VALUE",
|
|
90
|
+
* // assetListings: [ // AssetInDataProductListingItems
|
|
91
|
+
* // { // AssetInDataProductListingItem
|
|
92
|
+
* // entityId: "STRING_VALUE",
|
|
93
|
+
* // entityRevision: "STRING_VALUE",
|
|
94
|
+
* // entityType: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // },
|
|
79
98
|
* // },
|
|
80
99
|
* // ownerProjectId: "STRING_VALUE", // required
|
|
81
100
|
* // ownerProjectName: "STRING_VALUE",
|