@aws-sdk/client-datazone 3.1046.0 → 3.1048.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/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +143 -15
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +225 -43
- package/dist-es/DataZone.js +18 -0
- package/dist-es/DataZoneClient.js +1 -4
- package/dist-es/commands/CreateNotebookCommand.js +16 -0
- package/dist-es/commands/DeleteNotebookCommand.js +16 -0
- package/dist-es/commands/GetNotebookCommand.js +16 -0
- package/dist-es/commands/GetNotebookExportCommand.js +16 -0
- package/dist-es/commands/ListNotebooksCommand.js +16 -0
- package/dist-es/commands/StartNotebookExportCommand.js +16 -0
- package/dist-es/commands/StartNotebookImportCommand.js +16 -0
- package/dist-es/commands/UpdateNotebookCommand.js +16 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/enums.js +15 -2
- package/dist-es/pagination/ListNotebooksPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +209 -27
- package/dist-types/DataZone.d.ts +63 -0
- package/dist-types/DataZoneClient.d.ts +11 -4
- package/dist-types/commands/CreateNotebookCommand.d.ts +142 -0
- package/dist-types/commands/CreateSubscriptionGrantCommand.d.ts +2 -1
- package/dist-types/commands/DeleteNotebookCommand.d.ts +93 -0
- package/dist-types/commands/GetNotebookCommand.d.ts +127 -0
- package/dist-types/commands/GetNotebookExportCommand.d.ts +111 -0
- package/dist-types/commands/GetNotebookRunCommand.d.ts +1 -1
- package/dist-types/commands/ListNotebookRunsCommand.d.ts +1 -1
- package/dist-types/commands/ListNotebooksCommand.d.ts +111 -0
- package/dist-types/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
- package/dist-types/commands/PutDataExportConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/QueryGraphCommand.d.ts +1 -2
- package/dist-types/commands/RejectPredictionsCommand.d.ts +1 -1
- package/dist-types/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
- package/dist-types/commands/RemoveEntityOwnerCommand.d.ts +1 -1
- package/dist-types/commands/RemovePolicyGrantCommand.d.ts +1 -2
- package/dist-types/commands/StartNotebookExportCommand.d.ts +111 -0
- package/dist-types/commands/StartNotebookImportCommand.d.ts +117 -0
- package/dist-types/commands/StartNotebookRunCommand.d.ts +1 -1
- package/dist-types/commands/StopNotebookRunCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotebookCommand.d.ts +150 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/enums.d.ts +62 -4
- package/dist-types/models/models_0.d.ts +186 -136
- package/dist-types/models/models_1.d.ts +695 -537
- package/dist-types/models/models_2.d.ts +670 -3
- package/dist-types/pagination/ListNotebooksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +30 -0
- package/dist-types/ts3.4/DataZone.d.ts +143 -0
- package/dist-types/ts3.4/DataZoneClient.d.ts +49 -3
- package/dist-types/ts3.4/commands/CreateNotebookCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/CreateSubscriptionGrantCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteNotebookCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetNotebookCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetNotebookExportCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListNotebooksCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/PostTimeSeriesDataPointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutDataExportConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryGraphCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/RejectPredictionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectSubscriptionRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveEntityOwnerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemovePolicyGrantCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StartNotebookExportCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/StartNotebookImportCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/UpdateNotebookCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +22 -4
- package/dist-types/ts3.4/models/models_0.d.ts +43 -41
- package/dist-types/ts3.4/models/models_1.d.ts +189 -151
- package/dist-types/ts3.4/models/models_2.d.ts +185 -3
- package/dist-types/ts3.4/pagination/ListNotebooksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
- package/package.json +6 -14
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import type { GetNotebookInput, GetNotebookOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetNotebookCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetNotebookCommandInput extends GetNotebookInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetNotebookCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetNotebookCommandOutput extends GetNotebookOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetNotebookCommand_base: {
|
|
25
|
+
new (input: GetNotebookCommandInput): import("@smithy/core/client").CommandImpl<GetNotebookCommandInput, GetNotebookCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetNotebookCommandInput): import("@smithy/core/client").CommandImpl<GetNotebookCommandInput, GetNotebookCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Gets the details of a <a href="https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/notebooks.html">notebook</a> in Amazon SageMaker Unified Studio.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DataZoneClient, GetNotebookCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
37
|
+
* // const { DataZoneClient, GetNotebookCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
38
|
+
* // import type { DataZoneClientConfig } from "@aws-sdk/client-datazone";
|
|
39
|
+
* const config = {}; // type is DataZoneClientConfig
|
|
40
|
+
* const client = new DataZoneClient(config);
|
|
41
|
+
* const input = { // GetNotebookInput
|
|
42
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* identifier: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetNotebookCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetNotebookOutput
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // name: "STRING_VALUE", // required
|
|
50
|
+
* // owningProjectId: "STRING_VALUE", // required
|
|
51
|
+
* // domainId: "STRING_VALUE", // required
|
|
52
|
+
* // cellOrder: [ // CellOrder // required
|
|
53
|
+
* // {},
|
|
54
|
+
* // ],
|
|
55
|
+
* // status: "ACTIVE" || "ARCHIVED", // required
|
|
56
|
+
* // description: "STRING_VALUE",
|
|
57
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // createdBy: "STRING_VALUE",
|
|
59
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // updatedBy: "STRING_VALUE",
|
|
61
|
+
* // lockedBy: "STRING_VALUE",
|
|
62
|
+
* // lockedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // lockExpiresAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // computeId: "STRING_VALUE",
|
|
65
|
+
* // metadata: { // Metadata
|
|
66
|
+
* // "<keys>": "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // parameters: { // Parameters
|
|
69
|
+
* // "<keys>": "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // environmentConfiguration: { // EnvironmentConfig
|
|
72
|
+
* // imageVersion: "STRING_VALUE",
|
|
73
|
+
* // packageConfig: { // PackageConfig
|
|
74
|
+
* // packageManager: "UV", // required
|
|
75
|
+
* // packageSpecification: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // error: { // NotebookError
|
|
79
|
+
* // message: "STRING_VALUE", // required
|
|
80
|
+
* // },
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
*
|
|
85
|
+
* @param GetNotebookCommandInput - {@link GetNotebookCommandInput}
|
|
86
|
+
* @returns {@link GetNotebookCommandOutput}
|
|
87
|
+
* @see {@link GetNotebookCommandInput} for command's `input` shape.
|
|
88
|
+
* @see {@link GetNotebookCommandOutput} for command's `response` shape.
|
|
89
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
92
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InternalServerException} (server fault)
|
|
95
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
98
|
+
* <p>The specified resource cannot be found.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* <p>The request was denied due to request throttling.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>The input fails to satisfy the constraints specified by the Amazon Web Services service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
107
|
+
* <p>You do not have permission to perform this action.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link DataZoneServiceException}
|
|
110
|
+
* <p>Base exception class for all service exceptions from DataZone service.</p>
|
|
111
|
+
*
|
|
112
|
+
*
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export declare class GetNotebookCommand extends GetNotebookCommand_base {
|
|
116
|
+
/** @internal type navigation helper, not in runtime. */
|
|
117
|
+
protected static __types: {
|
|
118
|
+
api: {
|
|
119
|
+
input: GetNotebookInput;
|
|
120
|
+
output: GetNotebookOutput;
|
|
121
|
+
};
|
|
122
|
+
sdk: {
|
|
123
|
+
input: GetNotebookCommandInput;
|
|
124
|
+
output: GetNotebookCommandOutput;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import type { GetNotebookExportInput, GetNotebookExportOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetNotebookExportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetNotebookExportCommandInput extends GetNotebookExportInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetNotebookExportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetNotebookExportCommandOutput extends GetNotebookExportOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetNotebookExportCommand_base: {
|
|
25
|
+
new (input: GetNotebookExportCommandInput): import("@smithy/core/client").CommandImpl<GetNotebookExportCommandInput, GetNotebookExportCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetNotebookExportCommandInput): import("@smithy/core/client").CommandImpl<GetNotebookExportCommandInput, GetNotebookExportCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Gets the details of a notebook export in Amazon SageMaker Unified Studio.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DataZoneClient, GetNotebookExportCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
37
|
+
* // const { DataZoneClient, GetNotebookExportCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
38
|
+
* // import type { DataZoneClientConfig } from "@aws-sdk/client-datazone";
|
|
39
|
+
* const config = {}; // type is DataZoneClientConfig
|
|
40
|
+
* const client = new DataZoneClient(config);
|
|
41
|
+
* const input = { // GetNotebookExportInput
|
|
42
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* identifier: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetNotebookExportCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetNotebookExportOutput
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // domainId: "STRING_VALUE", // required
|
|
50
|
+
* // owningProjectId: "STRING_VALUE", // required
|
|
51
|
+
* // notebookId: "STRING_VALUE", // required
|
|
52
|
+
* // fileFormat: "PDF" || "IPYNB", // required
|
|
53
|
+
* // status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
|
|
54
|
+
* // outputLocation: { // OutputLocation Union: only one key present
|
|
55
|
+
* // s3: { // S3Destination
|
|
56
|
+
* // uri: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // error: { // NotebookExportError
|
|
60
|
+
* // message: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // completedAt: new Date("TIMESTAMP"),
|
|
63
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // createdBy: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetNotebookExportCommandInput - {@link GetNotebookExportCommandInput}
|
|
70
|
+
* @returns {@link GetNotebookExportCommandOutput}
|
|
71
|
+
* @see {@link GetNotebookExportCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetNotebookExportCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>You do not have sufficient access to perform 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
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class GetNotebookExportCommand extends GetNotebookExportCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: GetNotebookExportInput;
|
|
104
|
+
output: GetNotebookExportOutput;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: GetNotebookExportCommandInput;
|
|
108
|
+
output: GetNotebookExportCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -29,7 +29,7 @@ declare const GetNotebookRunCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Gets the details of a notebook run in
|
|
32
|
+
* <p>Gets the details of a <a href="https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/notebooks.html">notebook run</a> in Amazon SageMaker Unified Studio.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -29,7 +29,7 @@ declare const ListNotebookRunsCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Lists notebook runs in
|
|
32
|
+
* <p>Lists <a href="https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/notebooks.html">notebook runs</a> in Amazon SageMaker Unified Studio.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import type { ListNotebooksInput, ListNotebooksOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListNotebooksCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListNotebooksCommandInput extends ListNotebooksInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListNotebooksCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListNotebooksCommandOutput extends ListNotebooksOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListNotebooksCommand_base: {
|
|
25
|
+
new (input: ListNotebooksCommandInput): import("@smithy/core/client").CommandImpl<ListNotebooksCommandInput, ListNotebooksCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListNotebooksCommandInput): import("@smithy/core/client").CommandImpl<ListNotebooksCommandInput, ListNotebooksCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists <a href="https://docs.aws.amazon.com/sagemaker-unified-studio/latest/userguide/notebooks.html">notebooks</a> in Amazon SageMaker Unified Studio.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DataZoneClient, ListNotebooksCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
37
|
+
* // const { DataZoneClient, ListNotebooksCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
38
|
+
* // import type { DataZoneClientConfig } from "@aws-sdk/client-datazone";
|
|
39
|
+
* const config = {}; // type is DataZoneClientConfig
|
|
40
|
+
* const client = new DataZoneClient(config);
|
|
41
|
+
* const input = { // ListNotebooksInput
|
|
42
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* owningProjectIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* maxResults: Number("int"),
|
|
45
|
+
* sortOrder: "ASCENDING" || "DESCENDING",
|
|
46
|
+
* sortBy: "CREATED_AT" || "UPDATED_AT",
|
|
47
|
+
* status: "ACTIVE" || "ARCHIVED",
|
|
48
|
+
* nextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListNotebooksCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListNotebooksOutput
|
|
53
|
+
* // items: [ // NotebookSummaryList
|
|
54
|
+
* // { // NotebookSummary
|
|
55
|
+
* // id: "STRING_VALUE", // required
|
|
56
|
+
* // name: "STRING_VALUE", // required
|
|
57
|
+
* // owningProjectId: "STRING_VALUE", // required
|
|
58
|
+
* // domainId: "STRING_VALUE", // required
|
|
59
|
+
* // status: "ACTIVE" || "ARCHIVED", // required
|
|
60
|
+
* // description: "STRING_VALUE",
|
|
61
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
62
|
+
* // createdBy: "STRING_VALUE",
|
|
63
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
64
|
+
* // updatedBy: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param ListNotebooksCommandInput - {@link ListNotebooksCommandInput}
|
|
73
|
+
* @returns {@link ListNotebooksCommandOutput}
|
|
74
|
+
* @see {@link ListNotebooksCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link ListNotebooksCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>The request has failed because of an unknown error, exception or failure.</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
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ListNotebooksCommand extends ListNotebooksCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: ListNotebooksInput;
|
|
104
|
+
output: ListNotebooksOutput;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: ListNotebooksCommandInput;
|
|
108
|
+
output: ListNotebooksCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import type { PostTimeSeriesDataPointsInput, PostTimeSeriesDataPointsOutput } from "../models/
|
|
4
|
+
import type { PostTimeSeriesDataPointsInput, PostTimeSeriesDataPointsOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import type { PutDataExportConfigurationInput, PutDataExportConfigurationOutput } from "../models/
|
|
4
|
+
import type { PutDataExportConfigurationInput, PutDataExportConfigurationOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import type { QueryGraphOutput } from "../models/
|
|
5
|
-
import type { QueryGraphInput } from "../models/models_2";
|
|
4
|
+
import type { QueryGraphInput, QueryGraphOutput } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import type { RejectPredictionsInput, RejectPredictionsOutput } from "../models/
|
|
4
|
+
import type { RejectPredictionsInput, RejectPredictionsOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import type { RejectSubscriptionRequestInput, RejectSubscriptionRequestOutput } from "../models/
|
|
4
|
+
import type { RejectSubscriptionRequestInput, RejectSubscriptionRequestOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import type { RemoveEntityOwnerInput, RemoveEntityOwnerOutput } from "../models/
|
|
4
|
+
import type { RemoveEntityOwnerInput, RemoveEntityOwnerOutput } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
-
import type { RemovePolicyGrantInput } from "../models/
|
|
5
|
-
import type { RemovePolicyGrantOutput } from "../models/models_2";
|
|
4
|
+
import type { RemovePolicyGrantInput, RemovePolicyGrantOutput } from "../models/models_2";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataZoneClient";
|
|
4
|
+
import type { StartNotebookExportInput, StartNotebookExportOutput } from "../models/models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartNotebookExportCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartNotebookExportCommandInput extends StartNotebookExportInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartNotebookExportCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartNotebookExportCommandOutput extends StartNotebookExportOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartNotebookExportCommand_base: {
|
|
25
|
+
new (input: StartNotebookExportCommandInput): import("@smithy/core/client").CommandImpl<StartNotebookExportCommandInput, StartNotebookExportCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: StartNotebookExportCommandInput): import("@smithy/core/client").CommandImpl<StartNotebookExportCommandInput, StartNotebookExportCommandOutput, DataZoneClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Starts a notebook export in Amazon SageMaker Unified Studio. This operation exports a notebook to a specified file format and stores the output in Amazon Simple Storage Service.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { DataZoneClient, StartNotebookExportCommand } from "@aws-sdk/client-datazone"; // ES Modules import
|
|
37
|
+
* // const { DataZoneClient, StartNotebookExportCommand } = require("@aws-sdk/client-datazone"); // CommonJS import
|
|
38
|
+
* // import type { DataZoneClientConfig } from "@aws-sdk/client-datazone";
|
|
39
|
+
* const config = {}; // type is DataZoneClientConfig
|
|
40
|
+
* const client = new DataZoneClient(config);
|
|
41
|
+
* const input = { // StartNotebookExportInput
|
|
42
|
+
* domainIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* notebookIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* owningProjectIdentifier: "STRING_VALUE", // required
|
|
45
|
+
* fileFormat: "PDF" || "IPYNB", // required
|
|
46
|
+
* clientToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new StartNotebookExportCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // StartNotebookExportOutput
|
|
51
|
+
* // id: "STRING_VALUE", // required
|
|
52
|
+
* // domainId: "STRING_VALUE", // required
|
|
53
|
+
* // owningProjectId: "STRING_VALUE", // required
|
|
54
|
+
* // notebookId: "STRING_VALUE", // required
|
|
55
|
+
* // fileFormat: "PDF" || "IPYNB", // required
|
|
56
|
+
* // status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
|
|
57
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // createdBy: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param StartNotebookExportCommandInput - {@link StartNotebookExportCommandInput}
|
|
64
|
+
* @returns {@link StartNotebookExportCommandOutput}
|
|
65
|
+
* @see {@link StartNotebookExportCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link StartNotebookExportCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link DataZoneClientResolvedConfig | config} for DataZoneClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConflictException} (client fault)
|
|
73
|
+
* <p>There is a conflict while performing this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request has failed because of an unknown error, exception or failure.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource cannot be found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* <p>The request has exceeded the specified service quota.</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
|
+
*
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class StartNotebookExportCommand extends StartNotebookExportCommand_base {
|
|
100
|
+
/** @internal type navigation helper, not in runtime. */
|
|
101
|
+
protected static __types: {
|
|
102
|
+
api: {
|
|
103
|
+
input: StartNotebookExportInput;
|
|
104
|
+
output: StartNotebookExportOutput;
|
|
105
|
+
};
|
|
106
|
+
sdk: {
|
|
107
|
+
input: StartNotebookExportCommandInput;
|
|
108
|
+
output: StartNotebookExportCommandOutput;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|