@aws-sdk/client-finspace 3.36.0 → 3.39.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 (43) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/Finspace.js +0 -4
  3. package/dist-cjs/FinspaceClient.js +0 -9
  4. package/dist-cjs/commands/CreateEnvironmentCommand.js +0 -24
  5. package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -24
  6. package/dist-cjs/commands/GetEnvironmentCommand.js +0 -24
  7. package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -24
  8. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  9. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  10. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  11. package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -24
  12. package/dist-cjs/commands/index.js +11 -0
  13. package/dist-cjs/endpoints.js +6 -1
  14. package/dist-cjs/index.js +3 -10
  15. package/dist-cjs/models/models_0.js +0 -78
  16. package/dist-cjs/protocols/Aws_restJson1.js +0 -5
  17. package/dist-cjs/runtimeConfig.browser.js +1 -5
  18. package/dist-cjs/runtimeConfig.js +1 -5
  19. package/dist-cjs/runtimeConfig.native.js +0 -3
  20. package/dist-cjs/runtimeConfig.shared.js +0 -3
  21. package/dist-es/commands/index.js +8 -0
  22. package/dist-es/endpoints.js +6 -1
  23. package/dist-es/index.js +3 -10
  24. package/dist-types/commands/index.d.ts +8 -0
  25. package/dist-types/index.d.ts +3 -10
  26. package/dist-types/ts3.4/Finspace.d.ts +9 -28
  27. package/dist-types/ts3.4/FinspaceClient.d.ts +24 -90
  28. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -20
  29. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -20
  30. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -20
  31. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
  32. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  33. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  34. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  35. package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
  36. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  37. package/dist-types/ts3.4/index.d.ts +3 -10
  38. package/dist-types/ts3.4/models/models_0.d.ts +82 -277
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  43. package/package.json +32 -32
@@ -1,241 +1,149 @@
1
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
- */
2
+
5
3
  export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
4
  name: "AccessDeniedException";
7
5
  $fault: "client";
8
6
  }
9
7
  export declare namespace AccessDeniedException {
10
- /**
11
- * @internal
12
- */
8
+
13
9
  const filterSensitiveLog: (obj: AccessDeniedException) => any;
14
10
  }
15
11
  export declare enum FederationMode {
16
12
  FEDERATED = "FEDERATED",
17
13
  LOCAL = "LOCAL"
18
14
  }
19
- /**
20
- * <p>Configuration information when authentication mode is FEDERATED.</p>
21
- */
15
+
22
16
  export interface FederationParameters {
23
- /**
24
- * <p>SAML 2.0 Metadata document from identity provider (IdP).</p>
25
- */
17
+
26
18
  samlMetadataDocument?: string;
27
- /**
28
- * <p>Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP).</p>
29
- */
19
+
30
20
  samlMetadataURL?: string;
31
- /**
32
- * <p>The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration
33
- * (IdP).</p>
34
- */
21
+
35
22
  applicationCallBackURL?: string;
36
- /**
37
- * <p>The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider Entity ID.</p>
38
- */
23
+
39
24
  federationURN?: string;
40
- /**
41
- * <p>Name of the identity provider (IdP).</p>
42
- */
25
+
43
26
  federationProviderName?: string;
44
- /**
45
- * <p>SAML attribute name and value. The name must always be <code>Email</code> and the value should be set to
46
- * the attribute definition in which user email is set. For example, name would be <code>Email</code> and
47
- * value <code>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress</code>.
48
- * Please check your SAML 2.0 compliant identity provider (IdP) documentation for details.</p>
49
- */
27
+
50
28
  attributeMap?: {
51
29
  [key: string]: string;
52
30
  };
53
31
  }
54
32
  export declare namespace FederationParameters {
55
- /**
56
- * @internal
57
- */
33
+
58
34
  const filterSensitiveLog: (obj: FederationParameters) => any;
59
35
  }
60
36
  export interface CreateEnvironmentRequest {
61
- /**
62
- * <p>The name of the FinSpace environment to be created.</p>
63
- */
37
+
64
38
  name: string | undefined;
65
- /**
66
- * <p>The description of the FinSpace environment to be created.</p>
67
- */
39
+
68
40
  description?: string;
69
- /**
70
- * <p>The KMS key id to encrypt your data in the FinSpace environment.</p>
71
- */
41
+
72
42
  kmsKeyId?: string;
73
- /**
74
- * <p>Add tags to your FinSpace environment.</p>
75
- */
43
+
76
44
  tags?: {
77
45
  [key: string]: string;
78
46
  };
79
- /**
80
- * <p>Authentication mode for the environment.</p>
81
- * <ul>
82
- * <li>
83
- * <p>
84
- * <code>FEDERATED</code> - Users access FinSpace through Single Sign On (SSO) via your Identity provider.</p>
85
- * </li>
86
- * <li>
87
- * <p>
88
- * <code>LOCAL</code> - Users access FinSpace via email and password managed within the FinSpace environment.</p>
89
- * </li>
90
- * </ul>
91
- */
47
+
92
48
  federationMode?: FederationMode | string;
93
- /**
94
- * <p>Configuration information when authentication mode is FEDERATED.</p>
95
- */
49
+
96
50
  federationParameters?: FederationParameters;
97
51
  }
98
52
  export declare namespace CreateEnvironmentRequest {
99
- /**
100
- * @internal
101
- */
53
+
102
54
  const filterSensitiveLog: (obj: CreateEnvironmentRequest) => any;
103
55
  }
104
56
  export interface CreateEnvironmentResponse {
105
- /**
106
- * <p>The unique identifier for FinSpace environment that you created.</p>
107
- */
57
+
108
58
  environmentId?: string;
109
- /**
110
- * <p>The Amazon Resource Name (ARN) of the FinSpace environment that you created.</p>
111
- */
59
+
112
60
  environmentArn?: string;
113
- /**
114
- * <p>The sign-in url for the web application of the FinSpace environment you created.</p>
115
- */
61
+
116
62
  environmentUrl?: string;
117
63
  }
118
64
  export declare namespace CreateEnvironmentResponse {
119
- /**
120
- * @internal
121
- */
65
+
122
66
  const filterSensitiveLog: (obj: CreateEnvironmentResponse) => any;
123
67
  }
124
- /**
125
- * <p>The request processing has failed because of an unknown error, exception or
126
- * failure.</p>
127
- */
68
+
128
69
  export interface InternalServerException extends __SmithyException, $MetadataBearer {
129
70
  name: "InternalServerException";
130
71
  $fault: "server";
131
72
  message?: string;
132
73
  }
133
74
  export declare namespace InternalServerException {
134
- /**
135
- * @internal
136
- */
75
+
137
76
  const filterSensitiveLog: (obj: InternalServerException) => any;
138
77
  }
139
- /**
140
- * <p>A service limit or quota is exceeded.</p>
141
- */
78
+
142
79
  export interface LimitExceededException extends __SmithyException, $MetadataBearer {
143
80
  name: "LimitExceededException";
144
81
  $fault: "client";
145
82
  message?: string;
146
83
  }
147
84
  export declare namespace LimitExceededException {
148
- /**
149
- * @internal
150
- */
85
+
151
86
  const filterSensitiveLog: (obj: LimitExceededException) => any;
152
87
  }
153
- /**
154
- * <p> You have exceeded your service quota. To perform the requested action,
155
- * remove some of the relevant resources, or use Service Quotas to request a service quota increase.</p>
156
- */
88
+
157
89
  export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
158
90
  name: "ServiceQuotaExceededException";
159
91
  $fault: "client";
160
92
  message?: string;
161
93
  }
162
94
  export declare namespace ServiceQuotaExceededException {
163
- /**
164
- * @internal
165
- */
95
+
166
96
  const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
167
97
  }
168
- /**
169
- * <p>The request was denied due to request throttling.</p>
170
- */
98
+
171
99
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
172
100
  name: "ThrottlingException";
173
101
  $fault: "client";
174
102
  }
175
103
  export declare namespace ThrottlingException {
176
- /**
177
- * @internal
178
- */
104
+
179
105
  const filterSensitiveLog: (obj: ThrottlingException) => any;
180
106
  }
181
- /**
182
- * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
183
- */
107
+
184
108
  export interface ValidationException extends __SmithyException, $MetadataBearer {
185
109
  name: "ValidationException";
186
110
  $fault: "client";
187
111
  message?: string;
188
112
  }
189
113
  export declare namespace ValidationException {
190
- /**
191
- * @internal
192
- */
114
+
193
115
  const filterSensitiveLog: (obj: ValidationException) => any;
194
116
  }
195
117
  export interface DeleteEnvironmentRequest {
196
- /**
197
- * <p>The identifier for the FinSpace environment.</p>
198
- */
118
+
199
119
  environmentId: string | undefined;
200
120
  }
201
121
  export declare namespace DeleteEnvironmentRequest {
202
- /**
203
- * @internal
204
- */
122
+
205
123
  const filterSensitiveLog: (obj: DeleteEnvironmentRequest) => any;
206
124
  }
207
125
  export interface DeleteEnvironmentResponse {
208
126
  }
209
127
  export declare namespace DeleteEnvironmentResponse {
210
- /**
211
- * @internal
212
- */
128
+
213
129
  const filterSensitiveLog: (obj: DeleteEnvironmentResponse) => any;
214
130
  }
215
- /**
216
- * <p>One or more resources can't be found.</p>
217
- */
131
+
218
132
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
219
133
  name: "ResourceNotFoundException";
220
134
  $fault: "client";
221
135
  message?: string;
222
136
  }
223
137
  export declare namespace ResourceNotFoundException {
224
- /**
225
- * @internal
226
- */
138
+
227
139
  const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
228
140
  }
229
141
  export interface GetEnvironmentRequest {
230
- /**
231
- * <p>The identifier of the FinSpace environment.</p>
232
- */
142
+
233
143
  environmentId: string | undefined;
234
144
  }
235
145
  export declare namespace GetEnvironmentRequest {
236
- /**
237
- * @internal
238
- */
146
+
239
147
  const filterSensitiveLog: (obj: GetEnvironmentRequest) => any;
240
148
  }
241
149
  export declare enum EnvironmentStatus {
@@ -250,251 +158,148 @@ export declare enum EnvironmentStatus {
250
158
  RETRY_DELETION = "RETRY_DELETION",
251
159
  SUSPENDED = "SUSPENDED"
252
160
  }
253
- /**
254
- * <p>Represents an FinSpace environment.</p>
255
- */
161
+
256
162
  export interface Environment {
257
- /**
258
- * <p>The name of the FinSpace environment.</p>
259
- */
163
+
260
164
  name?: string;
261
- /**
262
- * <p>The identifier of the FinSpace environment.</p>
263
- */
165
+
264
166
  environmentId?: string;
265
- /**
266
- * <p>The ID of the AWS account in which the FinSpace environment is created.</p>
267
- */
167
+
268
168
  awsAccountId?: string;
269
- /**
270
- * <p>The current status of creation of the FinSpace environment.</p>
271
- */
169
+
272
170
  status?: EnvironmentStatus | string;
273
- /**
274
- * <p>The sign-in url for the web application of your FinSpace environment.</p>
275
- */
171
+
276
172
  environmentUrl?: string;
277
- /**
278
- * <p>The description of the FinSpace environment.</p>
279
- */
173
+
280
174
  description?: string;
281
- /**
282
- * <p>The Amazon Resource Name (ARN) of your FinSpace environment.</p>
283
- */
175
+
284
176
  environmentArn?: string;
285
- /**
286
- * <p>The url of the integrated FinSpace notebook environment in your web application.</p>
287
- */
177
+
288
178
  sageMakerStudioDomainUrl?: string;
289
- /**
290
- * <p>The KMS key id used to encrypt in the FinSpace environment.</p>
291
- */
179
+
292
180
  kmsKeyId?: string;
293
- /**
294
- * <p>The AWS account ID of the dedicated service account associated with your FinSpace
295
- * environment.</p>
296
- */
181
+
297
182
  dedicatedServiceAccountId?: string;
298
- /**
299
- * <p>The authentication mode for the environment.</p>
300
- */
183
+
301
184
  federationMode?: FederationMode | string;
302
- /**
303
- * <p>Configuration information when authentication mode is FEDERATED.</p>
304
- */
185
+
305
186
  federationParameters?: FederationParameters;
306
187
  }
307
188
  export declare namespace Environment {
308
- /**
309
- * @internal
310
- */
189
+
311
190
  const filterSensitiveLog: (obj: Environment) => any;
312
191
  }
313
192
  export interface GetEnvironmentResponse {
314
- /**
315
- * <p>The name of the FinSpace environment.</p>
316
- */
193
+
317
194
  environment?: Environment;
318
195
  }
319
196
  export declare namespace GetEnvironmentResponse {
320
- /**
321
- * @internal
322
- */
197
+
323
198
  const filterSensitiveLog: (obj: GetEnvironmentResponse) => any;
324
199
  }
325
200
  export interface ListEnvironmentsRequest {
326
- /**
327
- * <p>A token generated by FinSpace that specifies where to continue pagination if a previous
328
- * request was truncated. To get the next set of pages, pass in the nextToken value from the
329
- * response object of the previous page call.</p>
330
- */
201
+
331
202
  nextToken?: string;
332
- /**
333
- * <p>The maximum number of results to return in this request.</p>
334
- */
203
+
335
204
  maxResults?: number;
336
205
  }
337
206
  export declare namespace ListEnvironmentsRequest {
338
- /**
339
- * @internal
340
- */
207
+
341
208
  const filterSensitiveLog: (obj: ListEnvironmentsRequest) => any;
342
209
  }
343
210
  export interface ListEnvironmentsResponse {
344
- /**
345
- * <p>A list of all of your FinSpace environments.</p>
346
- */
211
+
347
212
  environments?: Environment[];
348
- /**
349
- * <p>A token that you can use in a subsequent call to retrieve the next set of
350
- * results.</p>
351
- */
213
+
352
214
  nextToken?: string;
353
215
  }
354
216
  export declare namespace ListEnvironmentsResponse {
355
- /**
356
- * @internal
357
- */
217
+
358
218
  const filterSensitiveLog: (obj: ListEnvironmentsResponse) => any;
359
219
  }
360
- /**
361
- * <p>The request is invalid. Something is wrong with the input to the request.</p>
362
- */
220
+
363
221
  export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
364
222
  name: "InvalidRequestException";
365
223
  $fault: "client";
366
224
  message?: string;
367
225
  }
368
226
  export declare namespace InvalidRequestException {
369
- /**
370
- * @internal
371
- */
227
+
372
228
  const filterSensitiveLog: (obj: InvalidRequestException) => any;
373
229
  }
374
230
  export interface ListTagsForResourceRequest {
375
- /**
376
- * <p>The Amazon Resource Name of the resource.</p>
377
- */
231
+
378
232
  resourceArn: string | undefined;
379
233
  }
380
234
  export declare namespace ListTagsForResourceRequest {
381
- /**
382
- * @internal
383
- */
235
+
384
236
  const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
385
237
  }
386
238
  export interface ListTagsForResourceResponse {
387
- /**
388
- * <p>A list of all tags for a resource.</p>
389
- */
239
+
390
240
  tags?: {
391
241
  [key: string]: string;
392
242
  };
393
243
  }
394
244
  export declare namespace ListTagsForResourceResponse {
395
- /**
396
- * @internal
397
- */
245
+
398
246
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
399
247
  }
400
248
  export interface TagResourceRequest {
401
- /**
402
- * <p>The Amazon Resource Name (ARN) for the resource.</p>
403
- */
249
+
404
250
  resourceArn: string | undefined;
405
- /**
406
- * <p>One or more tags to be assigned to the resource.</p>
407
- */
251
+
408
252
  tags: {
409
253
  [key: string]: string;
410
254
  } | undefined;
411
255
  }
412
256
  export declare namespace TagResourceRequest {
413
- /**
414
- * @internal
415
- */
257
+
416
258
  const filterSensitiveLog: (obj: TagResourceRequest) => any;
417
259
  }
418
260
  export interface TagResourceResponse {
419
261
  }
420
262
  export declare namespace TagResourceResponse {
421
- /**
422
- * @internal
423
- */
263
+
424
264
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
425
265
  }
426
266
  export interface UntagResourceRequest {
427
- /**
428
- * <p>A FinSpace resource from which you want to remove a tag or tags. The value for this
429
- * parameter is an Amazon Resource Name (ARN).</p>
430
- */
267
+
431
268
  resourceArn: string | undefined;
432
- /**
433
- * <p>The tag keys (names) of one or more tags to be removed.</p>
434
- */
269
+
435
270
  tagKeys: string[] | undefined;
436
271
  }
437
272
  export declare namespace UntagResourceRequest {
438
- /**
439
- * @internal
440
- */
273
+
441
274
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
442
275
  }
443
276
  export interface UntagResourceResponse {
444
277
  }
445
278
  export declare namespace UntagResourceResponse {
446
- /**
447
- * @internal
448
- */
279
+
449
280
  const filterSensitiveLog: (obj: UntagResourceResponse) => any;
450
281
  }
451
282
  export interface UpdateEnvironmentRequest {
452
- /**
453
- * <p>The identifier of the FinSpace environment.</p>
454
- */
283
+
455
284
  environmentId: string | undefined;
456
- /**
457
- * <p>The name of the environment.</p>
458
- */
285
+
459
286
  name?: string;
460
- /**
461
- * <p>The description of the environment.</p>
462
- */
287
+
463
288
  description?: string;
464
- /**
465
- * <p>Authentication mode for the environment.</p>
466
- * <ul>
467
- * <li>
468
- * <p>
469
- * <code>FEDERATED</code> - Users access FinSpace through Single Sign On (SSO) via your Identity provider.</p>
470
- * </li>
471
- * <li>
472
- * <p>
473
- * <code>LOCAL</code> - Users access FinSpace via email and password managed within the FinSpace environment.</p>
474
- * </li>
475
- * </ul>
476
- */
289
+
477
290
  federationMode?: FederationMode | string;
478
- /**
479
- * <p>Configuration information when authentication mode is FEDERATED.</p>
480
- */
291
+
481
292
  federationParameters?: FederationParameters;
482
293
  }
483
294
  export declare namespace UpdateEnvironmentRequest {
484
- /**
485
- * @internal
486
- */
295
+
487
296
  const filterSensitiveLog: (obj: UpdateEnvironmentRequest) => any;
488
297
  }
489
298
  export interface UpdateEnvironmentResponse {
490
- /**
491
- * <p>Returns the FinSpace environment object.</p>
492
- */
299
+
493
300
  environment?: Environment;
494
301
  }
495
302
  export declare namespace UpdateEnvironmentResponse {
496
- /**
497
- * @internal
498
- */
303
+
499
304
  const filterSensitiveLog: (obj: UpdateEnvironmentResponse) => any;
500
305
  }
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { FinspaceClientConfig } from "./FinspaceClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: FinspaceClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
2
  import { FinspaceClientConfig } from "./FinspaceClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: FinspaceClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,7 +1,5 @@
1
1
  import { FinspaceClientConfig } from "./FinspaceClient";
2
- /**
3
- * @internal
4
- */
2
+
5
3
  export declare const getRuntimeConfig: (config: FinspaceClientConfig) => {
6
4
  runtime: string;
7
5
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,8 +1,6 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { FinspaceClientConfig } from "./FinspaceClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: FinspaceClientConfig) => {
7
5
  apiVersion: string;
8
6
  disableHostPrefix: boolean;