@aws-sdk/client-datazone 3.596.0 → 3.598.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 +56 -0
- package/dist-cjs/index.js +451 -66
- package/dist-es/DataZone.js +14 -0
- package/dist-es/commands/AssociateEnvironmentRoleCommand.js +24 -0
- package/dist-es/commands/CreateEnvironmentActionCommand.js +24 -0
- package/dist-es/commands/DeleteEnvironmentActionCommand.js +24 -0
- package/dist-es/commands/DisassociateEnvironmentRoleCommand.js +24 -0
- package/dist-es/commands/GetEnvironmentActionCommand.js +24 -0
- package/dist-es/commands/ListEnvironmentActionsCommand.js +24 -0
- package/dist-es/commands/ListProjectsCommand.js +1 -1
- package/dist-es/commands/ListSubscriptionRequestsCommand.js +1 -1
- package/dist-es/commands/ListSubscriptionsCommand.js +1 -1
- package/dist-es/commands/UpdateEnvironmentActionCommand.js +24 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +30 -53
- package/dist-es/models/models_1.js +53 -0
- package/dist-es/pagination/ListEnvironmentActionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +206 -0
- package/dist-types/DataZone.d.ts +49 -0
- package/dist-types/DataZoneClient.d.ts +9 -2
- package/dist-types/commands/AssociateEnvironmentRoleCommand.d.ts +81 -0
- package/dist-types/commands/CreateEnvironmentActionCommand.d.ts +99 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +4 -1
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +24 -0
- package/dist-types/commands/DeleteEnvironmentActionCommand.d.ts +82 -0
- package/dist-types/commands/DisassociateEnvironmentRoleCommand.d.ts +81 -0
- package/dist-types/commands/GetDataSourceCommand.d.ts +22 -0
- package/dist-types/commands/GetEnvironmentActionCommand.d.ts +89 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/ListEnvironmentActionsCommand.d.ts +92 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectMembershipsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionGrantsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +24 -0
- package/dist-types/commands/UpdateEnvironmentActionCommand.d.ts +99 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +516 -766
- package/dist-types/models/models_1.d.ts +808 -2
- package/dist-types/pagination/ListEnvironmentActionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/DataZone.d.ts +119 -0
- package/dist-types/ts3.4/DataZoneClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateEnvironmentRoleCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateEnvironmentActionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteEnvironmentActionCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DisassociateEnvironmentRoleCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetEnvironmentActionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListEnvironmentActionsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListProjectMembershipsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscriptionGrantsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscriptionRequestsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEnvironmentActionCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +147 -187
- package/dist-types/ts3.4/models/models_1.d.ts +204 -2
- package/dist-types/ts3.4/pagination/ListEnvironmentActionsPaginator.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 +84 -0
- package/package.json +37 -37
|
@@ -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 { ListSubscriptionGrantsInput, ListSubscriptionGrantsOutput } from "../models/
|
|
4
|
+
import { ListSubscriptionGrantsInput, ListSubscriptionGrantsOutput } 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 { ListSubscriptionRequestsInput, ListSubscriptionRequestsOutput } from "../models/
|
|
4
|
+
import { ListSubscriptionRequestsInput, ListSubscriptionRequestsOutput } 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 { ListSubscriptionsInput, ListSubscriptionsOutput } from "../models/
|
|
4
|
+
import { ListSubscriptionsInput, ListSubscriptionsOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -100,6 +100,7 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
100
100
|
* recommendation: { // RecommendationConfiguration
|
|
101
101
|
* enableBusinessNameGeneration: true || false,
|
|
102
102
|
* },
|
|
103
|
+
* retainPermissionsOnRevokeFailure: true || false,
|
|
103
104
|
* };
|
|
104
105
|
* const command = new UpdateDataSourceCommand(input);
|
|
105
106
|
* const response = await client.send(command);
|
|
@@ -189,6 +190,29 @@ declare const UpdateDataSourceCommand_base: {
|
|
|
189
190
|
* // },
|
|
190
191
|
* // createdAt: new Date("TIMESTAMP"),
|
|
191
192
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
193
|
+
* // selfGrantStatus: { // SelfGrantStatusOutput Union: only one key present
|
|
194
|
+
* // glueSelfGrantStatus: { // GlueSelfGrantStatusOutput
|
|
195
|
+
* // selfGrantStatusDetails: [ // SelfGrantStatusDetails // required
|
|
196
|
+
* // { // SelfGrantStatusDetail
|
|
197
|
+
* // databaseName: "STRING_VALUE", // required
|
|
198
|
+
* // schemaName: "STRING_VALUE",
|
|
199
|
+
* // status: "GRANT_PENDING" || "REVOKE_PENDING" || "GRANT_IN_PROGRESS" || "REVOKE_IN_PROGRESS" || "GRANTED" || "GRANT_FAILED" || "REVOKE_FAILED", // required
|
|
200
|
+
* // failureCause: "STRING_VALUE",
|
|
201
|
+
* // },
|
|
202
|
+
* // ],
|
|
203
|
+
* // },
|
|
204
|
+
* // redshiftSelfGrantStatus: { // RedshiftSelfGrantStatusOutput
|
|
205
|
+
* // selfGrantStatusDetails: [ // required
|
|
206
|
+
* // {
|
|
207
|
+
* // databaseName: "STRING_VALUE", // required
|
|
208
|
+
* // schemaName: "STRING_VALUE",
|
|
209
|
+
* // status: "GRANT_PENDING" || "REVOKE_PENDING" || "GRANT_IN_PROGRESS" || "REVOKE_IN_PROGRESS" || "GRANTED" || "GRANT_FAILED" || "REVOKE_FAILED", // required
|
|
210
|
+
* // failureCause: "STRING_VALUE",
|
|
211
|
+
* // },
|
|
212
|
+
* // ],
|
|
213
|
+
* // },
|
|
214
|
+
* // },
|
|
215
|
+
* // retainPermissionsOnRevokeFailure: true || false,
|
|
192
216
|
* // };
|
|
193
217
|
*
|
|
194
218
|
* ```
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { UpdateEnvironmentActionInput, UpdateEnvironmentActionOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateEnvironmentActionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateEnvironmentActionCommandInput extends UpdateEnvironmentActionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateEnvironmentActionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEnvironmentActionCommandOutput extends UpdateEnvironmentActionOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateEnvironmentActionCommand_base: {
|
|
25
|
+
new (input: UpdateEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnvironmentActionCommandInput, UpdateEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UpdateEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnvironmentActionCommandInput, UpdateEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates an environment action.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { DataZoneClient, UpdateEnvironmentActionCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
35
|
+
* // const { DataZoneClient, UpdateEnvironmentActionCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
36
|
+
* const client = new DataZoneClient(config);
|
|
37
|
+
* const input = { // UpdateEnvironmentActionInput
|
|
38
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* environmentIdentifier: "STRING_VALUE", // required
|
|
40
|
+
* identifier: "STRING_VALUE", // required
|
|
41
|
+
* parameters: { // ActionParameters Union: only one key present
|
|
42
|
+
* awsConsoleLink: { // AwsConsoleLinkParameters
|
|
43
|
+
* uri: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* name: "STRING_VALUE",
|
|
47
|
+
* description: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new UpdateEnvironmentActionCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // UpdateEnvironmentActionOutput
|
|
52
|
+
* // domainId: "STRING_VALUE", // required
|
|
53
|
+
* // environmentId: "STRING_VALUE", // required
|
|
54
|
+
* // id: "STRING_VALUE", // required
|
|
55
|
+
* // name: "STRING_VALUE", // required
|
|
56
|
+
* // parameters: { // ActionParameters Union: only one key present
|
|
57
|
+
* // awsConsoleLink: { // AwsConsoleLinkParameters
|
|
58
|
+
* // uri: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // },
|
|
61
|
+
* // description: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param UpdateEnvironmentActionCommandInput - {@link UpdateEnvironmentActionCommandInput}
|
|
67
|
+
* @returns {@link UpdateEnvironmentActionCommandOutput}
|
|
68
|
+
* @see {@link UpdateEnvironmentActionCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link UpdateEnvironmentActionCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <p>There is a conflict while performing this action.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified resource cannot be found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
85
|
+
* <p>The request was denied due to request throttling.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ValidationException} (client fault)
|
|
88
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
91
|
+
* <p>You do not have permission to perform this action.</p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link DataZoneServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class UpdateEnvironmentActionCommand extends UpdateEnvironmentActionCommand_base {
|
|
99
|
+
}
|
|
@@ -54,7 +54,7 @@ declare const UpdateEnvironmentCommand_base: {
|
|
|
54
54
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
55
55
|
* // name: "STRING_VALUE", // required
|
|
56
56
|
* // description: "STRING_VALUE",
|
|
57
|
-
* // environmentProfileId: "STRING_VALUE",
|
|
57
|
+
* // environmentProfileId: "STRING_VALUE",
|
|
58
58
|
* // awsAccountId: "STRING_VALUE",
|
|
59
59
|
* // awsAccountRegion: "STRING_VALUE",
|
|
60
60
|
* // provider: "STRING_VALUE", // required
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AcceptPredictionsCommand";
|
|
2
2
|
export * from "./AcceptSubscriptionRequestCommand";
|
|
3
|
+
export * from "./AssociateEnvironmentRoleCommand";
|
|
3
4
|
export * from "./CancelMetadataGenerationRunCommand";
|
|
4
5
|
export * from "./CancelSubscriptionCommand";
|
|
5
6
|
export * from "./CreateAssetCommand";
|
|
@@ -7,6 +8,7 @@ export * from "./CreateAssetRevisionCommand";
|
|
|
7
8
|
export * from "./CreateAssetTypeCommand";
|
|
8
9
|
export * from "./CreateDataSourceCommand";
|
|
9
10
|
export * from "./CreateDomainCommand";
|
|
11
|
+
export * from "./CreateEnvironmentActionCommand";
|
|
10
12
|
export * from "./CreateEnvironmentCommand";
|
|
11
13
|
export * from "./CreateEnvironmentProfileCommand";
|
|
12
14
|
export * from "./CreateFormTypeCommand";
|
|
@@ -24,6 +26,7 @@ export * from "./DeleteAssetCommand";
|
|
|
24
26
|
export * from "./DeleteAssetTypeCommand";
|
|
25
27
|
export * from "./DeleteDataSourceCommand";
|
|
26
28
|
export * from "./DeleteDomainCommand";
|
|
29
|
+
export * from "./DeleteEnvironmentActionCommand";
|
|
27
30
|
export * from "./DeleteEnvironmentBlueprintConfigurationCommand";
|
|
28
31
|
export * from "./DeleteEnvironmentCommand";
|
|
29
32
|
export * from "./DeleteEnvironmentProfileCommand";
|
|
@@ -37,11 +40,13 @@ export * from "./DeleteSubscriptionGrantCommand";
|
|
|
37
40
|
export * from "./DeleteSubscriptionRequestCommand";
|
|
38
41
|
export * from "./DeleteSubscriptionTargetCommand";
|
|
39
42
|
export * from "./DeleteTimeSeriesDataPointsCommand";
|
|
43
|
+
export * from "./DisassociateEnvironmentRoleCommand";
|
|
40
44
|
export * from "./GetAssetCommand";
|
|
41
45
|
export * from "./GetAssetTypeCommand";
|
|
42
46
|
export * from "./GetDataSourceCommand";
|
|
43
47
|
export * from "./GetDataSourceRunCommand";
|
|
44
48
|
export * from "./GetDomainCommand";
|
|
49
|
+
export * from "./GetEnvironmentActionCommand";
|
|
45
50
|
export * from "./GetEnvironmentBlueprintCommand";
|
|
46
51
|
export * from "./GetEnvironmentBlueprintConfigurationCommand";
|
|
47
52
|
export * from "./GetEnvironmentCommand";
|
|
@@ -65,6 +70,7 @@ export * from "./ListDataSourceRunActivitiesCommand";
|
|
|
65
70
|
export * from "./ListDataSourceRunsCommand";
|
|
66
71
|
export * from "./ListDataSourcesCommand";
|
|
67
72
|
export * from "./ListDomainsCommand";
|
|
73
|
+
export * from "./ListEnvironmentActionsCommand";
|
|
68
74
|
export * from "./ListEnvironmentBlueprintConfigurationsCommand";
|
|
69
75
|
export * from "./ListEnvironmentBlueprintsCommand";
|
|
70
76
|
export * from "./ListEnvironmentProfilesCommand";
|
|
@@ -95,6 +101,7 @@ export * from "./TagResourceCommand";
|
|
|
95
101
|
export * from "./UntagResourceCommand";
|
|
96
102
|
export * from "./UpdateDataSourceCommand";
|
|
97
103
|
export * from "./UpdateDomainCommand";
|
|
104
|
+
export * from "./UpdateEnvironmentActionCommand";
|
|
98
105
|
export * from "./UpdateEnvironmentCommand";
|
|
99
106
|
export * from "./UpdateEnvironmentProfileCommand";
|
|
100
107
|
export * from "./UpdateGlossaryCommand";
|