@aws-sdk/client-finspace-data 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/FinspaceData.js +1 -5
- package/{dist/cjs → dist-cjs}/FinspaceDataClient.js +8 -17
- package/{dist/cjs → dist-cjs}/commands/CreateChangesetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetProgrammaticAccessCredentialsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetWorkingLocationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -43
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +2 -8
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/FinspaceData.js +1 -2
- package/{dist/es → dist-es}/FinspaceDataClient.js +1 -2
- package/{dist/es → dist-es}/commands/CreateChangesetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetProgrammaticAccessCredentialsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetWorkingLocationCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/FinspaceData.d.ts +2 -2
- package/{dist/types → dist-types}/FinspaceDataClient.d.ts +4 -4
- package/{dist/types → dist-types}/commands/CreateChangesetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetProgrammaticAccessCredentialsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetWorkingLocationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/FinspaceData.d.ts +6 -15
- package/{dist/types → dist-types}/ts3.4/FinspaceDataClient.d.ts +28 -93
- package/dist-types/ts3.4/commands/CreateChangesetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetProgrammaticAccessCredentialsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetWorkingLocationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +224 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/FinspaceData.ts +0 -119
- package/FinspaceDataClient.ts +0 -247
- package/commands/CreateChangesetCommand.ts +0 -94
- package/commands/GetProgrammaticAccessCredentialsCommand.ts +0 -102
- package/commands/GetWorkingLocationCommand.ts +0 -95
- package/dist/cjs/FinspaceData.js.map +0 -1
- package/dist/cjs/FinspaceDataClient.js.map +0 -1
- package/dist/cjs/commands/CreateChangesetCommand.js.map +0 -1
- package/dist/cjs/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
- package/dist/cjs/commands/GetWorkingLocationCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/FinspaceData.js.map +0 -1
- package/dist/es/FinspaceDataClient.js.map +0 -1
- package/dist/es/commands/CreateChangesetCommand.js.map +0 -1
- package/dist/es/commands/GetProgrammaticAccessCredentialsCommand.js.map +0 -1
- package/dist/es/commands/GetWorkingLocationCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -7
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/CreateChangesetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetWorkingLocationCommand.d.ts +0 -36
- package/dist/types/ts3.4/models/models_0.d.ts +0 -429
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -505
- package/protocols/Aws_restJson1.ts +0 -594
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,429 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
/**
|
|
3
|
-
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
|
-
*/
|
|
5
|
-
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
message?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
/**
|
|
12
|
-
* @internal
|
|
13
|
-
*/
|
|
14
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
-
}
|
|
16
|
-
export declare enum ChangeType {
|
|
17
|
-
APPEND = "APPEND",
|
|
18
|
-
MODIFY = "MODIFY",
|
|
19
|
-
REPLACE = "REPLACE"
|
|
20
|
-
}
|
|
21
|
-
export declare enum FormatType {
|
|
22
|
-
CSV = "CSV",
|
|
23
|
-
JSON = "JSON",
|
|
24
|
-
PARQUET = "PARQUET",
|
|
25
|
-
XML = "XML"
|
|
26
|
-
}
|
|
27
|
-
export declare enum SourceType {
|
|
28
|
-
S3 = "S3"
|
|
29
|
-
}
|
|
30
|
-
export interface CreateChangesetRequest {
|
|
31
|
-
/**
|
|
32
|
-
* <p>The unique identifier for the FinSpace dataset in which the changeset will be
|
|
33
|
-
* created.</p>
|
|
34
|
-
*/
|
|
35
|
-
datasetId: string | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* <p>Option to indicate how a changeset will be applied to a dataset.</p>
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>REPLACE</code> - Changeset will be considered as a replacement to all prior
|
|
42
|
-
* loaded changesets.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>
|
|
46
|
-
* <code>APPEND</code> - Changeset will be considered as an addition to the end of all
|
|
47
|
-
* prior loaded changesets.</p>
|
|
48
|
-
* </li>
|
|
49
|
-
* </ul>
|
|
50
|
-
*/
|
|
51
|
-
changeType: ChangeType | string | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* <p>Type of the data source from which the files to create the changeset will be
|
|
54
|
-
* sourced.</p>
|
|
55
|
-
* <ul>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>
|
|
58
|
-
* <code>S3</code> - Amazon S3.</p>
|
|
59
|
-
* </li>
|
|
60
|
-
* </ul>
|
|
61
|
-
*/
|
|
62
|
-
sourceType: SourceType | string | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* <p>Source path from which the files to create the changeset will be sourced.</p>
|
|
65
|
-
*/
|
|
66
|
-
sourceParams: {
|
|
67
|
-
[key: string]: string;
|
|
68
|
-
} | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* <p>Format type of the input files being loaded into the changeset.</p>
|
|
71
|
-
*/
|
|
72
|
-
formatType?: FormatType | string;
|
|
73
|
-
/**
|
|
74
|
-
* <p>Options that define the structure of the source file(s).</p>
|
|
75
|
-
*/
|
|
76
|
-
formatParams?: {
|
|
77
|
-
[key: string]: string;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* <p>Metadata tags to apply to this changeset.</p>
|
|
81
|
-
*/
|
|
82
|
-
tags?: {
|
|
83
|
-
[key: string]: string;
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
export declare namespace CreateChangesetRequest {
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
const filterSensitiveLog: (obj: CreateChangesetRequest) => any;
|
|
91
|
-
}
|
|
92
|
-
export declare enum ErrorCategory {
|
|
93
|
-
ACCESS_DENIED = "Missing_required_permission_to_perform_this_request",
|
|
94
|
-
CANCELLED = "Cancelled",
|
|
95
|
-
INTERNAL_SERVICE_EXCEPTION = "An_internal_error_has_occurred",
|
|
96
|
-
RESOURCE_NOT_FOUND = "One_or_more_inputs_to_this_request_were_not_found",
|
|
97
|
-
SERVICE_QUOTA_EXCEEDED = "Service_limits_have_been_exceeded",
|
|
98
|
-
THROTTLING = "The_system_temporarily_lacks_sufficient_resources_to_process_the_request",
|
|
99
|
-
USER_RECOVERABLE = "A_user_recoverable_error_has_occurred",
|
|
100
|
-
VALIDATION = "The_inputs_to_this_request_are_invalid"
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* <p>Error message.</p>
|
|
104
|
-
*/
|
|
105
|
-
export interface ErrorInfo {
|
|
106
|
-
/**
|
|
107
|
-
* <p>The text of the error message.</p>
|
|
108
|
-
*/
|
|
109
|
-
errorMessage?: string;
|
|
110
|
-
/**
|
|
111
|
-
* <p>The category of the error.</p>
|
|
112
|
-
* <ul>
|
|
113
|
-
* <li>
|
|
114
|
-
* <p>
|
|
115
|
-
* <code>VALIDATION</code> -The inputs to this request are invalid.</p>
|
|
116
|
-
* </li>
|
|
117
|
-
* <li>
|
|
118
|
-
* <p>
|
|
119
|
-
* <code>SERVICE_QUOTA_EXCEEDED</code> - Service quotas have been exceeded. Please
|
|
120
|
-
* contact AWS support to increase quotas.</p>
|
|
121
|
-
* </li>
|
|
122
|
-
* <li>
|
|
123
|
-
* <p>
|
|
124
|
-
* <code>ACCESS_DENIED</code> - Missing required permission to perform this
|
|
125
|
-
* request.</p>
|
|
126
|
-
* </li>
|
|
127
|
-
* <li>
|
|
128
|
-
* <p>
|
|
129
|
-
* <code>RESOURCE_NOT_FOUND</code> - One or more inputs to this request were not
|
|
130
|
-
* found.</p>
|
|
131
|
-
* </li>
|
|
132
|
-
* <li>
|
|
133
|
-
* <p>
|
|
134
|
-
* <code>THROTTLING</code> - The system temporarily lacks sufficient resources to process
|
|
135
|
-
* the request.</p>
|
|
136
|
-
* </li>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>
|
|
139
|
-
* <code>INTERNAL_SERVICE_EXCEPTION</code> - An internal service error has
|
|
140
|
-
* occurred.</p>
|
|
141
|
-
* </li>
|
|
142
|
-
* <li>
|
|
143
|
-
* <p>
|
|
144
|
-
* <code>CANCELLED</code> - A user recoverable error has occurred.</p>
|
|
145
|
-
* </li>
|
|
146
|
-
* </ul>
|
|
147
|
-
*/
|
|
148
|
-
errorCategory?: ErrorCategory | string;
|
|
149
|
-
}
|
|
150
|
-
export declare namespace ErrorInfo {
|
|
151
|
-
/**
|
|
152
|
-
* @internal
|
|
153
|
-
*/
|
|
154
|
-
const filterSensitiveLog: (obj: ErrorInfo) => any;
|
|
155
|
-
}
|
|
156
|
-
export declare enum ChangesetStatus {
|
|
157
|
-
FAILED = "FAILED",
|
|
158
|
-
PENDING = "PENDING",
|
|
159
|
-
RUNNING = "RUNNING",
|
|
160
|
-
STOP_REQUESTED = "STOP_REQUESTED",
|
|
161
|
-
SUCCESS = "SUCCESS"
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* <p>A changeset is unit of data in a dataset.</p>
|
|
165
|
-
*/
|
|
166
|
-
export interface ChangesetInfo {
|
|
167
|
-
/**
|
|
168
|
-
* <p>Unique identifier for a changeset.</p>
|
|
169
|
-
*/
|
|
170
|
-
id?: string;
|
|
171
|
-
/**
|
|
172
|
-
* <p>The ARN identifier of the changeset.</p>
|
|
173
|
-
*/
|
|
174
|
-
changesetArn?: string;
|
|
175
|
-
/**
|
|
176
|
-
* <p>The unique identifier for the FinSpace dataset in which the changeset is created.</p>
|
|
177
|
-
*/
|
|
178
|
-
datasetId?: string;
|
|
179
|
-
/**
|
|
180
|
-
* <p>Change type indicates how a changeset is applied to a dataset.</p>
|
|
181
|
-
* <ul>
|
|
182
|
-
* <li>
|
|
183
|
-
* <p>
|
|
184
|
-
* <code>REPLACE</code> - Changeset is considered as a replacement to all prior loaded
|
|
185
|
-
* changesets.</p>
|
|
186
|
-
* </li>
|
|
187
|
-
* <li>
|
|
188
|
-
* <p>
|
|
189
|
-
* <code>APPEND</code> - Changeset is considered as an addition to the end of all prior
|
|
190
|
-
* loaded changesets.</p>
|
|
191
|
-
* </li>
|
|
192
|
-
* <li>
|
|
193
|
-
* <p>
|
|
194
|
-
* <code>MODIFY</code> - Changeset is considered as a replacement to a specific prior
|
|
195
|
-
* ingested changeset.</p>
|
|
196
|
-
* </li>
|
|
197
|
-
* </ul>
|
|
198
|
-
*/
|
|
199
|
-
changeType?: ChangeType | string;
|
|
200
|
-
/**
|
|
201
|
-
* <p>Type of the data source from which the files to create the changeset are sourced.</p>
|
|
202
|
-
* <ul>
|
|
203
|
-
* <li>
|
|
204
|
-
* <p>
|
|
205
|
-
* <code>S3</code> - Amazon S3.</p>
|
|
206
|
-
* </li>
|
|
207
|
-
* </ul>
|
|
208
|
-
*/
|
|
209
|
-
sourceType?: SourceType | string;
|
|
210
|
-
/**
|
|
211
|
-
* <p>Source path from which the files to create the changeset are sourced.</p>
|
|
212
|
-
*/
|
|
213
|
-
sourceParams?: {
|
|
214
|
-
[key: string]: string;
|
|
215
|
-
};
|
|
216
|
-
/**
|
|
217
|
-
* <p>Format type of the input files loaded into the changeset.</p>
|
|
218
|
-
*/
|
|
219
|
-
formatType?: FormatType | string;
|
|
220
|
-
/**
|
|
221
|
-
* <p>Structure of the source file(s).</p>
|
|
222
|
-
*/
|
|
223
|
-
formatParams?: {
|
|
224
|
-
[key: string]: string;
|
|
225
|
-
};
|
|
226
|
-
/**
|
|
227
|
-
* <p>The timestamp at which the changeset was created in FinSpace.</p>
|
|
228
|
-
*/
|
|
229
|
-
createTimestamp?: Date;
|
|
230
|
-
/**
|
|
231
|
-
* <p>The status of changeset creation operation.</p>
|
|
232
|
-
*/
|
|
233
|
-
status?: ChangesetStatus | string;
|
|
234
|
-
/**
|
|
235
|
-
* <p>The structure with error messages.</p>
|
|
236
|
-
*/
|
|
237
|
-
errorInfo?: ErrorInfo;
|
|
238
|
-
/**
|
|
239
|
-
* <p>Tags associated with the changeset.</p>
|
|
240
|
-
*/
|
|
241
|
-
changesetLabels?: {
|
|
242
|
-
[key: string]: string;
|
|
243
|
-
};
|
|
244
|
-
/**
|
|
245
|
-
* <p>Unique identifier of the changeset that is updated.</p>
|
|
246
|
-
*/
|
|
247
|
-
updatesChangesetId?: string;
|
|
248
|
-
/**
|
|
249
|
-
* <p>Unique identifier of the changeset that is updated a changeset.</p>
|
|
250
|
-
*/
|
|
251
|
-
updatedByChangesetId?: string;
|
|
252
|
-
}
|
|
253
|
-
export declare namespace ChangesetInfo {
|
|
254
|
-
/**
|
|
255
|
-
* @internal
|
|
256
|
-
*/
|
|
257
|
-
const filterSensitiveLog: (obj: ChangesetInfo) => any;
|
|
258
|
-
}
|
|
259
|
-
export interface CreateChangesetResponse {
|
|
260
|
-
/**
|
|
261
|
-
* <p>Returns the changeset details.</p>
|
|
262
|
-
*/
|
|
263
|
-
changeset?: ChangesetInfo;
|
|
264
|
-
}
|
|
265
|
-
export declare namespace CreateChangesetResponse {
|
|
266
|
-
/**
|
|
267
|
-
* @internal
|
|
268
|
-
*/
|
|
269
|
-
const filterSensitiveLog: (obj: CreateChangesetResponse) => any;
|
|
270
|
-
}
|
|
271
|
-
/**
|
|
272
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
273
|
-
* failure.</p>
|
|
274
|
-
*/
|
|
275
|
-
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
276
|
-
name: "InternalServerException";
|
|
277
|
-
$fault: "server";
|
|
278
|
-
message?: string;
|
|
279
|
-
}
|
|
280
|
-
export declare namespace InternalServerException {
|
|
281
|
-
/**
|
|
282
|
-
* @internal
|
|
283
|
-
*/
|
|
284
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* <p>One or more resources can't be found.</p>
|
|
288
|
-
*/
|
|
289
|
-
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
290
|
-
name: "ResourceNotFoundException";
|
|
291
|
-
$fault: "client";
|
|
292
|
-
message?: string;
|
|
293
|
-
}
|
|
294
|
-
export declare namespace ResourceNotFoundException {
|
|
295
|
-
/**
|
|
296
|
-
* @internal
|
|
297
|
-
*/
|
|
298
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* <p>The request was denied due to request throttling.</p>
|
|
302
|
-
*/
|
|
303
|
-
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
304
|
-
name: "ThrottlingException";
|
|
305
|
-
$fault: "client";
|
|
306
|
-
}
|
|
307
|
-
export declare namespace ThrottlingException {
|
|
308
|
-
/**
|
|
309
|
-
* @internal
|
|
310
|
-
*/
|
|
311
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
315
|
-
*/
|
|
316
|
-
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
317
|
-
name: "ValidationException";
|
|
318
|
-
$fault: "client";
|
|
319
|
-
message?: string;
|
|
320
|
-
}
|
|
321
|
-
export declare namespace ValidationException {
|
|
322
|
-
/**
|
|
323
|
-
* @internal
|
|
324
|
-
*/
|
|
325
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
326
|
-
}
|
|
327
|
-
export interface GetProgrammaticAccessCredentialsRequest {
|
|
328
|
-
/**
|
|
329
|
-
* <p>The time duration in which the credentials remain valid. </p>
|
|
330
|
-
*/
|
|
331
|
-
durationInMinutes?: number;
|
|
332
|
-
/**
|
|
333
|
-
* <p>The habanero environment identifier.</p>
|
|
334
|
-
*/
|
|
335
|
-
environmentId: string | undefined;
|
|
336
|
-
}
|
|
337
|
-
export declare namespace GetProgrammaticAccessCredentialsRequest {
|
|
338
|
-
/**
|
|
339
|
-
* @internal
|
|
340
|
-
*/
|
|
341
|
-
const filterSensitiveLog: (obj: GetProgrammaticAccessCredentialsRequest) => any;
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* <p>Set short term API credentials.</p>
|
|
345
|
-
*/
|
|
346
|
-
export interface Credentials {
|
|
347
|
-
/**
|
|
348
|
-
* <p>The access key identifier.</p>
|
|
349
|
-
*/
|
|
350
|
-
accessKeyId?: string;
|
|
351
|
-
/**
|
|
352
|
-
* <p>The access key.</p>
|
|
353
|
-
*/
|
|
354
|
-
secretAccessKey?: string;
|
|
355
|
-
/**
|
|
356
|
-
* <p>The session token.</p>
|
|
357
|
-
*/
|
|
358
|
-
sessionToken?: string;
|
|
359
|
-
}
|
|
360
|
-
export declare namespace Credentials {
|
|
361
|
-
/**
|
|
362
|
-
* @internal
|
|
363
|
-
*/
|
|
364
|
-
const filterSensitiveLog: (obj: Credentials) => any;
|
|
365
|
-
}
|
|
366
|
-
export interface GetProgrammaticAccessCredentialsResponse {
|
|
367
|
-
/**
|
|
368
|
-
* <p>Returns the programmatic credentials.</p>
|
|
369
|
-
*/
|
|
370
|
-
credentials?: Credentials;
|
|
371
|
-
/**
|
|
372
|
-
* <p>Returns the duration in which the credentials will remain valid.</p>
|
|
373
|
-
*/
|
|
374
|
-
durationInMinutes?: number;
|
|
375
|
-
}
|
|
376
|
-
export declare namespace GetProgrammaticAccessCredentialsResponse {
|
|
377
|
-
/**
|
|
378
|
-
* @internal
|
|
379
|
-
*/
|
|
380
|
-
const filterSensitiveLog: (obj: GetProgrammaticAccessCredentialsResponse) => any;
|
|
381
|
-
}
|
|
382
|
-
export declare enum LocationType {
|
|
383
|
-
INGESTION = "INGESTION",
|
|
384
|
-
SAGEMAKER = "SAGEMAKER"
|
|
385
|
-
}
|
|
386
|
-
export interface GetWorkingLocationRequest {
|
|
387
|
-
/**
|
|
388
|
-
* <p>Specify the type of the working location.</p>
|
|
389
|
-
* <ul>
|
|
390
|
-
* <li>
|
|
391
|
-
* <p>
|
|
392
|
-
* <code>SAGEMAKER</code> - Use the Amazon S3 location as a temporary location to store data content when
|
|
393
|
-
* working with FinSpace Notebooks that run on SageMaker studio.</p>
|
|
394
|
-
* </li>
|
|
395
|
-
* <li>
|
|
396
|
-
* <p>
|
|
397
|
-
* <code>INGESTION</code> - Use the Amazon S3 location as a staging location to copy your
|
|
398
|
-
* data content and then use the location with the changeset creation operation.</p>
|
|
399
|
-
* </li>
|
|
400
|
-
* </ul>
|
|
401
|
-
*/
|
|
402
|
-
locationType?: LocationType | string;
|
|
403
|
-
}
|
|
404
|
-
export declare namespace GetWorkingLocationRequest {
|
|
405
|
-
/**
|
|
406
|
-
* @internal
|
|
407
|
-
*/
|
|
408
|
-
const filterSensitiveLog: (obj: GetWorkingLocationRequest) => any;
|
|
409
|
-
}
|
|
410
|
-
export interface GetWorkingLocationResponse {
|
|
411
|
-
/**
|
|
412
|
-
* <p>Returns the Amazon S3 URI for the working location.</p>
|
|
413
|
-
*/
|
|
414
|
-
s3Uri?: string;
|
|
415
|
-
/**
|
|
416
|
-
* <p>Returns the Amazon S3 Path for the working location.</p>
|
|
417
|
-
*/
|
|
418
|
-
s3Path?: string;
|
|
419
|
-
/**
|
|
420
|
-
* <p>Returns the Amazon S3 bucket name for the working location.</p>
|
|
421
|
-
*/
|
|
422
|
-
s3Bucket?: string;
|
|
423
|
-
}
|
|
424
|
-
export declare namespace GetWorkingLocationResponse {
|
|
425
|
-
/**
|
|
426
|
-
* @internal
|
|
427
|
-
*/
|
|
428
|
-
const filterSensitiveLog: (obj: GetWorkingLocationResponse) => any;
|
|
429
|
-
}
|
package/endpoints.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {};
|
|
5
|
-
|
|
6
|
-
const partitionHash: PartitionHash = {
|
|
7
|
-
aws: {
|
|
8
|
-
regions: [
|
|
9
|
-
"af-south-1",
|
|
10
|
-
"ap-east-1",
|
|
11
|
-
"ap-northeast-1",
|
|
12
|
-
"ap-northeast-2",
|
|
13
|
-
"ap-northeast-3",
|
|
14
|
-
"ap-south-1",
|
|
15
|
-
"ap-southeast-1",
|
|
16
|
-
"ap-southeast-2",
|
|
17
|
-
"ca-central-1",
|
|
18
|
-
"eu-central-1",
|
|
19
|
-
"eu-north-1",
|
|
20
|
-
"eu-south-1",
|
|
21
|
-
"eu-west-1",
|
|
22
|
-
"eu-west-2",
|
|
23
|
-
"eu-west-3",
|
|
24
|
-
"me-south-1",
|
|
25
|
-
"sa-east-1",
|
|
26
|
-
"us-east-1",
|
|
27
|
-
"us-east-2",
|
|
28
|
-
"us-west-1",
|
|
29
|
-
"us-west-2",
|
|
30
|
-
],
|
|
31
|
-
hostname: "finspace-api.{region}.amazonaws.com",
|
|
32
|
-
},
|
|
33
|
-
"aws-cn": {
|
|
34
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
35
|
-
hostname: "finspace-api.{region}.amazonaws.com.cn",
|
|
36
|
-
},
|
|
37
|
-
"aws-iso": {
|
|
38
|
-
regions: ["us-iso-east-1"],
|
|
39
|
-
hostname: "finspace-api.{region}.c2s.ic.gov",
|
|
40
|
-
},
|
|
41
|
-
"aws-iso-b": {
|
|
42
|
-
regions: ["us-isob-east-1"],
|
|
43
|
-
hostname: "finspace-api.{region}.sc2s.sgov.gov",
|
|
44
|
-
},
|
|
45
|
-
"aws-us-gov": {
|
|
46
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
47
|
-
hostname: "finspace-api.{region}.amazonaws.com",
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
52
|
-
getRegionInfo(region, {
|
|
53
|
-
...options,
|
|
54
|
-
signingService: "finspace-api",
|
|
55
|
-
regionHash,
|
|
56
|
-
partitionHash,
|
|
57
|
-
});
|
package/jest.config.js
DELETED