@aws-sdk/client-datazone 3.592.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.
Files changed (67) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +451 -66
  3. package/dist-es/DataZone.js +14 -0
  4. package/dist-es/commands/AssociateEnvironmentRoleCommand.js +24 -0
  5. package/dist-es/commands/CreateEnvironmentActionCommand.js +24 -0
  6. package/dist-es/commands/DeleteEnvironmentActionCommand.js +24 -0
  7. package/dist-es/commands/DisassociateEnvironmentRoleCommand.js +24 -0
  8. package/dist-es/commands/GetEnvironmentActionCommand.js +24 -0
  9. package/dist-es/commands/ListEnvironmentActionsCommand.js +24 -0
  10. package/dist-es/commands/ListProjectsCommand.js +1 -1
  11. package/dist-es/commands/ListSubscriptionRequestsCommand.js +1 -1
  12. package/dist-es/commands/ListSubscriptionsCommand.js +1 -1
  13. package/dist-es/commands/UpdateEnvironmentActionCommand.js +24 -0
  14. package/dist-es/commands/index.js +7 -0
  15. package/dist-es/models/models_0.js +30 -53
  16. package/dist-es/models/models_1.js +53 -0
  17. package/dist-es/pagination/ListEnvironmentActionsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_restJson1.js +206 -0
  20. package/dist-types/DataZone.d.ts +49 -0
  21. package/dist-types/DataZoneClient.d.ts +9 -2
  22. package/dist-types/commands/AssociateEnvironmentRoleCommand.d.ts +81 -0
  23. package/dist-types/commands/CreateEnvironmentActionCommand.d.ts +99 -0
  24. package/dist-types/commands/CreateEnvironmentCommand.d.ts +4 -1
  25. package/dist-types/commands/DeleteDataSourceCommand.d.ts +24 -0
  26. package/dist-types/commands/DeleteEnvironmentActionCommand.d.ts +82 -0
  27. package/dist-types/commands/DisassociateEnvironmentRoleCommand.d.ts +81 -0
  28. package/dist-types/commands/GetDataSourceCommand.d.ts +22 -0
  29. package/dist-types/commands/GetEnvironmentActionCommand.d.ts +89 -0
  30. package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
  31. package/dist-types/commands/ListEnvironmentActionsCommand.d.ts +92 -0
  32. package/dist-types/commands/ListEnvironmentsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListProjectMembershipsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListSubscriptionGrantsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListSubscriptionRequestsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListSubscriptionsCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateDataSourceCommand.d.ts +24 -0
  39. package/dist-types/commands/UpdateEnvironmentActionCommand.d.ts +99 -0
  40. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +1 -1
  41. package/dist-types/commands/index.d.ts +7 -0
  42. package/dist-types/models/models_0.d.ts +516 -766
  43. package/dist-types/models/models_1.d.ts +808 -2
  44. package/dist-types/pagination/ListEnvironmentActionsPaginator.d.ts +7 -0
  45. package/dist-types/pagination/index.d.ts +1 -0
  46. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  47. package/dist-types/ts3.4/DataZone.d.ts +119 -0
  48. package/dist-types/ts3.4/DataZoneClient.d.ts +42 -0
  49. package/dist-types/ts3.4/commands/AssociateEnvironmentRoleCommand.d.ts +40 -0
  50. package/dist-types/ts3.4/commands/CreateEnvironmentActionCommand.d.ts +40 -0
  51. package/dist-types/ts3.4/commands/DeleteEnvironmentActionCommand.d.ts +36 -0
  52. package/dist-types/ts3.4/commands/DisassociateEnvironmentRoleCommand.d.ts +40 -0
  53. package/dist-types/ts3.4/commands/GetEnvironmentActionCommand.d.ts +40 -0
  54. package/dist-types/ts3.4/commands/ListEnvironmentActionsCommand.d.ts +40 -0
  55. package/dist-types/ts3.4/commands/ListProjectMembershipsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListSubscriptionGrantsCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListSubscriptionRequestsCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListSubscriptionsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateEnvironmentActionCommand.d.ts +40 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +147 -187
  63. package/dist-types/ts3.4/models/models_1.d.ts +204 -2
  64. package/dist-types/ts3.4/pagination/ListEnvironmentActionsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  67. package/package.json +37 -37
@@ -0,0 +1,81 @@
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 { AssociateEnvironmentRoleInput, AssociateEnvironmentRoleOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link AssociateEnvironmentRoleCommand}.
14
+ */
15
+ export interface AssociateEnvironmentRoleCommandInput extends AssociateEnvironmentRoleInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link AssociateEnvironmentRoleCommand}.
21
+ */
22
+ export interface AssociateEnvironmentRoleCommandOutput extends AssociateEnvironmentRoleOutput, __MetadataBearer {
23
+ }
24
+ declare const AssociateEnvironmentRoleCommand_base: {
25
+ new (input: AssociateEnvironmentRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateEnvironmentRoleCommandInput, AssociateEnvironmentRoleCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: AssociateEnvironmentRoleCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateEnvironmentRoleCommandInput, AssociateEnvironmentRoleCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associates the environment role 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, AssociateEnvironmentRoleCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, AssociateEnvironmentRoleCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // AssociateEnvironmentRoleInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * environmentIdentifier: "STRING_VALUE", // required
40
+ * environmentRoleArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new AssociateEnvironmentRoleCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param AssociateEnvironmentRoleCommandInput - {@link AssociateEnvironmentRoleCommandInput}
49
+ * @returns {@link AssociateEnvironmentRoleCommandOutput}
50
+ * @see {@link AssociateEnvironmentRoleCommandInput} for command's `input` shape.
51
+ * @see {@link AssociateEnvironmentRoleCommandOutput} for command's `response` shape.
52
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You do not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>There is a conflict while performing this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource cannot be found.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
71
+ *
72
+ * @throws {@link UnauthorizedException} (client fault)
73
+ * <p>You do not have permission to perform this action.</p>
74
+ *
75
+ * @throws {@link DataZoneServiceException}
76
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class AssociateEnvironmentRoleCommand extends AssociateEnvironmentRoleCommand_base {
81
+ }
@@ -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 { CreateEnvironmentActionInput, CreateEnvironmentActionOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateEnvironmentActionCommand}.
14
+ */
15
+ export interface CreateEnvironmentActionCommandInput extends CreateEnvironmentActionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateEnvironmentActionCommand}.
21
+ */
22
+ export interface CreateEnvironmentActionCommandOutput extends CreateEnvironmentActionOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateEnvironmentActionCommand_base: {
25
+ new (input: CreateEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentActionCommandInput, CreateEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEnvironmentActionCommandInput, CreateEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates an action for the environment, for example, creates a console link for an
31
+ * analytics tool that is available in this environment.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { DataZoneClient, CreateEnvironmentActionCommand } from "@aws-sdk/client-datazone"; // ES Modules import
36
+ * // const { DataZoneClient, CreateEnvironmentActionCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
37
+ * const client = new DataZoneClient(config);
38
+ * const input = { // CreateEnvironmentActionInput
39
+ * domainIdentifier: "STRING_VALUE", // required
40
+ * environmentIdentifier: "STRING_VALUE", // required
41
+ * name: "STRING_VALUE", // required
42
+ * parameters: { // ActionParameters Union: only one key present
43
+ * awsConsoleLink: { // AwsConsoleLinkParameters
44
+ * uri: "STRING_VALUE",
45
+ * },
46
+ * },
47
+ * description: "STRING_VALUE",
48
+ * };
49
+ * const command = new CreateEnvironmentActionCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // CreateEnvironmentActionOutput
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 CreateEnvironmentActionCommandInput - {@link CreateEnvironmentActionCommandInput}
67
+ * @returns {@link CreateEnvironmentActionCommandOutput}
68
+ * @see {@link CreateEnvironmentActionCommandInput} for command's `input` shape.
69
+ * @see {@link CreateEnvironmentActionCommandOutput} 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 CreateEnvironmentActionCommand extends CreateEnvironmentActionCommand_base {
99
+ }
@@ -49,6 +49,9 @@ declare const CreateEnvironmentCommand_base: {
49
49
  * glossaryTerms: [ // GlossaryTerms
50
50
  * "STRING_VALUE",
51
51
  * ],
52
+ * environmentAccountIdentifier: "STRING_VALUE",
53
+ * environmentAccountRegion: "STRING_VALUE",
54
+ * environmentBlueprintIdentifier: "STRING_VALUE",
52
55
  * };
53
56
  * const command = new CreateEnvironmentCommand(input);
54
57
  * const response = await client.send(command);
@@ -61,7 +64,7 @@ declare const CreateEnvironmentCommand_base: {
61
64
  * // updatedAt: new Date("TIMESTAMP"),
62
65
  * // name: "STRING_VALUE", // required
63
66
  * // description: "STRING_VALUE",
64
- * // environmentProfileId: "STRING_VALUE", // required
67
+ * // environmentProfileId: "STRING_VALUE",
65
68
  * // awsAccountId: "STRING_VALUE",
66
69
  * // awsAccountRegion: "STRING_VALUE",
67
70
  * // provider: "STRING_VALUE", // required
@@ -38,6 +38,7 @@ declare const DeleteDataSourceCommand_base: {
38
38
  * domainIdentifier: "STRING_VALUE", // required
39
39
  * identifier: "STRING_VALUE", // required
40
40
  * clientToken: "STRING_VALUE",
41
+ * retainPermissionsOnRevokeFailure: true || false,
41
42
  * };
42
43
  * const command = new DeleteDataSourceCommand(input);
43
44
  * const response = await client.send(command);
@@ -124,6 +125,29 @@ declare const DeleteDataSourceCommand_base: {
124
125
  * // },
125
126
  * // createdAt: new Date("TIMESTAMP"),
126
127
  * // updatedAt: new Date("TIMESTAMP"),
128
+ * // selfGrantStatus: { // SelfGrantStatusOutput Union: only one key present
129
+ * // glueSelfGrantStatus: { // GlueSelfGrantStatusOutput
130
+ * // selfGrantStatusDetails: [ // SelfGrantStatusDetails // required
131
+ * // { // SelfGrantStatusDetail
132
+ * // databaseName: "STRING_VALUE", // required
133
+ * // schemaName: "STRING_VALUE",
134
+ * // status: "GRANT_PENDING" || "REVOKE_PENDING" || "GRANT_IN_PROGRESS" || "REVOKE_IN_PROGRESS" || "GRANTED" || "GRANT_FAILED" || "REVOKE_FAILED", // required
135
+ * // failureCause: "STRING_VALUE",
136
+ * // },
137
+ * // ],
138
+ * // },
139
+ * // redshiftSelfGrantStatus: { // RedshiftSelfGrantStatusOutput
140
+ * // selfGrantStatusDetails: [ // required
141
+ * // {
142
+ * // databaseName: "STRING_VALUE", // required
143
+ * // schemaName: "STRING_VALUE",
144
+ * // status: "GRANT_PENDING" || "REVOKE_PENDING" || "GRANT_IN_PROGRESS" || "REVOKE_IN_PROGRESS" || "GRANTED" || "GRANT_FAILED" || "REVOKE_FAILED", // required
145
+ * // failureCause: "STRING_VALUE",
146
+ * // },
147
+ * // ],
148
+ * // },
149
+ * // },
150
+ * // retainPermissionsOnRevokeFailure: true || false,
127
151
  * // };
128
152
  *
129
153
  * ```
@@ -0,0 +1,82 @@
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 { DeleteEnvironmentActionInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteEnvironmentActionCommand}.
14
+ */
15
+ export interface DeleteEnvironmentActionCommandInput extends DeleteEnvironmentActionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteEnvironmentActionCommand}.
21
+ */
22
+ export interface DeleteEnvironmentActionCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteEnvironmentActionCommand_base: {
25
+ new (input: DeleteEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentActionCommandInput, DeleteEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEnvironmentActionCommandInput, DeleteEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Deletes an action for the environment, for example, deletes a console link for an
31
+ * analytics tool that is available in this environment.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { DataZoneClient, DeleteEnvironmentActionCommand } from "@aws-sdk/client-datazone"; // ES Modules import
36
+ * // const { DataZoneClient, DeleteEnvironmentActionCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
37
+ * const client = new DataZoneClient(config);
38
+ * const input = { // DeleteEnvironmentActionInput
39
+ * domainIdentifier: "STRING_VALUE", // required
40
+ * environmentIdentifier: "STRING_VALUE", // required
41
+ * identifier: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteEnvironmentActionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteEnvironmentActionCommandInput - {@link DeleteEnvironmentActionCommandInput}
50
+ * @returns {@link DeleteEnvironmentActionCommandOutput}
51
+ * @see {@link DeleteEnvironmentActionCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteEnvironmentActionCommandOutput} for command's `response` shape.
53
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>You do not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link ConflictException} (client fault)
59
+ * <p>There is a conflict while performing this action.</p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The specified resource cannot be found.</p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
72
+ *
73
+ * @throws {@link UnauthorizedException} (client fault)
74
+ * <p>You do not have permission to perform this action.</p>
75
+ *
76
+ * @throws {@link DataZoneServiceException}
77
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class DeleteEnvironmentActionCommand extends DeleteEnvironmentActionCommand_base {
82
+ }
@@ -0,0 +1,81 @@
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 { DisassociateEnvironmentRoleInput, DisassociateEnvironmentRoleOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateEnvironmentRoleCommand}.
14
+ */
15
+ export interface DisassociateEnvironmentRoleCommandInput extends DisassociateEnvironmentRoleInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateEnvironmentRoleCommand}.
21
+ */
22
+ export interface DisassociateEnvironmentRoleCommandOutput extends DisassociateEnvironmentRoleOutput, __MetadataBearer {
23
+ }
24
+ declare const DisassociateEnvironmentRoleCommand_base: {
25
+ new (input: DisassociateEnvironmentRoleCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateEnvironmentRoleCommandInput, DisassociateEnvironmentRoleCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DisassociateEnvironmentRoleCommandInput): import("@smithy/smithy-client").CommandImpl<DisassociateEnvironmentRoleCommandInput, DisassociateEnvironmentRoleCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Disassociates the environment role 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, DisassociateEnvironmentRoleCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, DisassociateEnvironmentRoleCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // DisassociateEnvironmentRoleInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * environmentIdentifier: "STRING_VALUE", // required
40
+ * environmentRoleArn: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DisassociateEnvironmentRoleCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DisassociateEnvironmentRoleCommandInput - {@link DisassociateEnvironmentRoleCommandInput}
49
+ * @returns {@link DisassociateEnvironmentRoleCommandOutput}
50
+ * @see {@link DisassociateEnvironmentRoleCommandInput} for command's `input` shape.
51
+ * @see {@link DisassociateEnvironmentRoleCommandOutput} for command's `response` shape.
52
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You do not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link ConflictException} (client fault)
58
+ * <p>There is a conflict while performing this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource cannot be found.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling.</p>
68
+ *
69
+ * @throws {@link ValidationException} (client fault)
70
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
71
+ *
72
+ * @throws {@link UnauthorizedException} (client fault)
73
+ * <p>You do not have permission to perform this action.</p>
74
+ *
75
+ * @throws {@link DataZoneServiceException}
76
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
77
+ *
78
+ * @public
79
+ */
80
+ export declare class DisassociateEnvironmentRoleCommand extends DisassociateEnvironmentRoleCommand_base {
81
+ }
@@ -127,6 +127,28 @@ declare const GetDataSourceCommand_base: {
127
127
  * // },
128
128
  * // createdAt: new Date("TIMESTAMP"),
129
129
  * // updatedAt: new Date("TIMESTAMP"),
130
+ * // selfGrantStatus: { // SelfGrantStatusOutput Union: only one key present
131
+ * // glueSelfGrantStatus: { // GlueSelfGrantStatusOutput
132
+ * // selfGrantStatusDetails: [ // SelfGrantStatusDetails // required
133
+ * // { // SelfGrantStatusDetail
134
+ * // databaseName: "STRING_VALUE", // required
135
+ * // schemaName: "STRING_VALUE",
136
+ * // status: "GRANT_PENDING" || "REVOKE_PENDING" || "GRANT_IN_PROGRESS" || "REVOKE_IN_PROGRESS" || "GRANTED" || "GRANT_FAILED" || "REVOKE_FAILED", // required
137
+ * // failureCause: "STRING_VALUE",
138
+ * // },
139
+ * // ],
140
+ * // },
141
+ * // redshiftSelfGrantStatus: { // RedshiftSelfGrantStatusOutput
142
+ * // selfGrantStatusDetails: [ // required
143
+ * // {
144
+ * // databaseName: "STRING_VALUE", // required
145
+ * // schemaName: "STRING_VALUE",
146
+ * // status: "GRANT_PENDING" || "REVOKE_PENDING" || "GRANT_IN_PROGRESS" || "REVOKE_IN_PROGRESS" || "GRANTED" || "GRANT_FAILED" || "REVOKE_FAILED", // required
147
+ * // failureCause: "STRING_VALUE",
148
+ * // },
149
+ * // ],
150
+ * // },
151
+ * // },
130
152
  * // };
131
153
  *
132
154
  * ```
@@ -0,0 +1,89 @@
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 { GetEnvironmentActionInput, GetEnvironmentActionOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetEnvironmentActionCommand}.
14
+ */
15
+ export interface GetEnvironmentActionCommandInput extends GetEnvironmentActionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetEnvironmentActionCommand}.
21
+ */
22
+ export interface GetEnvironmentActionCommandOutput extends GetEnvironmentActionOutput, __MetadataBearer {
23
+ }
24
+ declare const GetEnvironmentActionCommand_base: {
25
+ new (input: GetEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnvironmentActionCommandInput, GetEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetEnvironmentActionCommandInput): import("@smithy/smithy-client").CommandImpl<GetEnvironmentActionCommandInput, GetEnvironmentActionCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Gets the specified 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, GetEnvironmentActionCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, GetEnvironmentActionCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // GetEnvironmentActionInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * environmentIdentifier: "STRING_VALUE", // required
40
+ * identifier: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new GetEnvironmentActionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetEnvironmentActionOutput
45
+ * // domainId: "STRING_VALUE", // required
46
+ * // environmentId: "STRING_VALUE", // required
47
+ * // id: "STRING_VALUE", // required
48
+ * // name: "STRING_VALUE", // required
49
+ * // parameters: { // ActionParameters Union: only one key present
50
+ * // awsConsoleLink: { // AwsConsoleLinkParameters
51
+ * // uri: "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // description: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetEnvironmentActionCommandInput - {@link GetEnvironmentActionCommandInput}
60
+ * @returns {@link GetEnvironmentActionCommandOutput}
61
+ * @see {@link GetEnvironmentActionCommandInput} for command's `input` shape.
62
+ * @see {@link GetEnvironmentActionCommandOutput} for command's `response` shape.
63
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You do not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The specified resource cannot be found.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The request was denied due to request throttling.</p>
76
+ *
77
+ * @throws {@link ValidationException} (client fault)
78
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
79
+ *
80
+ * @throws {@link UnauthorizedException} (client fault)
81
+ * <p>You do not have permission to perform this action.</p>
82
+ *
83
+ * @throws {@link DataZoneServiceException}
84
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
85
+ *
86
+ * @public
87
+ */
88
+ export declare class GetEnvironmentActionCommand extends GetEnvironmentActionCommand_base {
89
+ }
@@ -49,7 +49,7 @@ declare const GetEnvironmentCommand_base: {
49
49
  * // updatedAt: new Date("TIMESTAMP"),
50
50
  * // name: "STRING_VALUE", // required
51
51
  * // description: "STRING_VALUE",
52
- * // environmentProfileId: "STRING_VALUE", // required
52
+ * // environmentProfileId: "STRING_VALUE",
53
53
  * // awsAccountId: "STRING_VALUE",
54
54
  * // awsAccountRegion: "STRING_VALUE",
55
55
  * // provider: "STRING_VALUE", // required
@@ -0,0 +1,92 @@
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 { ListEnvironmentActionsInput, ListEnvironmentActionsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEnvironmentActionsCommand}.
14
+ */
15
+ export interface ListEnvironmentActionsCommandInput extends ListEnvironmentActionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEnvironmentActionsCommand}.
21
+ */
22
+ export interface ListEnvironmentActionsCommandOutput extends ListEnvironmentActionsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListEnvironmentActionsCommand_base: {
25
+ new (input: ListEnvironmentActionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentActionsCommandInput, ListEnvironmentActionsCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListEnvironmentActionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnvironmentActionsCommandInput, ListEnvironmentActionsCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists existing environment actions.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { DataZoneClient, ListEnvironmentActionsCommand } from "@aws-sdk/client-datazone"; // ES Modules import
35
+ * // const { DataZoneClient, ListEnvironmentActionsCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
36
+ * const client = new DataZoneClient(config);
37
+ * const input = { // ListEnvironmentActionsInput
38
+ * domainIdentifier: "STRING_VALUE", // required
39
+ * environmentIdentifier: "STRING_VALUE", // required
40
+ * nextToken: "STRING_VALUE",
41
+ * maxResults: Number("int"),
42
+ * };
43
+ * const command = new ListEnvironmentActionsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListEnvironmentActionsOutput
46
+ * // items: [ // ListEnvironmentActionSummaries
47
+ * // { // EnvironmentActionSummary
48
+ * // domainId: "STRING_VALUE", // required
49
+ * // environmentId: "STRING_VALUE", // required
50
+ * // id: "STRING_VALUE", // required
51
+ * // name: "STRING_VALUE", // required
52
+ * // parameters: { // ActionParameters Union: only one key present
53
+ * // awsConsoleLink: { // AwsConsoleLinkParameters
54
+ * // uri: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // description: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // nextToken: "STRING_VALUE",
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ListEnvironmentActionsCommandInput - {@link ListEnvironmentActionsCommandInput}
66
+ * @returns {@link ListEnvironmentActionsCommandOutput}
67
+ * @see {@link ListEnvironmentActionsCommandInput} for command's `input` shape.
68
+ * @see {@link ListEnvironmentActionsCommandOutput} for command's `response` shape.
69
+ * @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You do not have sufficient access to perform this action.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>The request has failed because of an unknown error, exception or failure.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
82
+ *
83
+ * @throws {@link UnauthorizedException} (client fault)
84
+ * <p>You do not have permission to perform this action.</p>
85
+ *
86
+ * @throws {@link DataZoneServiceException}
87
+ * <p>Base exception class for all service exceptions from DataZone service.</p>
88
+ *
89
+ * @public
90
+ */
91
+ export declare class ListEnvironmentActionsCommand extends ListEnvironmentActionsCommand_base {
92
+ }
@@ -60,7 +60,7 @@ declare const ListEnvironmentsCommand_base: {
60
60
  * // updatedAt: new Date("TIMESTAMP"),
61
61
  * // name: "STRING_VALUE", // required
62
62
  * // description: "STRING_VALUE",
63
- * // environmentProfileId: "STRING_VALUE", // required
63
+ * // environmentProfileId: "STRING_VALUE",
64
64
  * // awsAccountId: "STRING_VALUE",
65
65
  * // awsAccountRegion: "STRING_VALUE",
66
66
  * // provider: "STRING_VALUE", // required
@@ -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 { ListProjectMembershipsInput, ListProjectMembershipsOutput } from "../models/models_0";
4
+ import { ListProjectMembershipsInput, ListProjectMembershipsOutput } 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 { ListProjectsInput, ListProjectsOutput } from "../models/models_0";
4
+ import { ListProjectsInput, ListProjectsOutput } from "../models/models_1";
5
5
  /**
6
6
  * @public
7
7
  */