create_environment
async
¶
create_environment(
name: EnvironmentName,
*,
config_overrides: Optional[AsyncfinspaceClientConfig] = None,
description: Optional[Description] = None,
kms_key_id: Optional[KmsKeyId] = None,
tags: Optional[TagMap] = None,
federation_mode: Optional[FederationMode] = None,
federation_parameters: Optional[FederationParameters] = None,
superuser_parameters: Optional[SuperuserParameters] = None,
data_bundles: Optional[DataBundleArns] = None,
) -> CreateEnvironmentResponse
Create a new FinSpace environment.
Parameters:
-
name(EnvironmentName) –The name of the FinSpace environment to be created.
-
description(Optional[Description], default:None) –The description of the FinSpace environment to be created.
-
kms_key_id(Optional[KmsKeyId], default:None) –The KMS key id to encrypt your data in the FinSpace environment.
-
tags(Optional[TagMap], default:None) –Add tags to your FinSpace environment.
-
federation_mode(Optional[FederationMode], default:None) –Authentication mode for the environment.
-
FEDERATED- Users access FinSpace through Single Sign On (SSO) via your Identity provider. -
LOCAL- Users access FinSpace via email and password managed within the FinSpace environment.
-
-
federation_parameters(Optional[FederationParameters], default:None) –Configuration information when authentication mode is FEDERATED.
-
superuser_parameters(Optional[SuperuserParameters], default:None) –Configuration information for the superuser.
-
data_bundles(Optional[DataBundleArns], default:None) –The list of Amazon Resource Names (ARN) of the data bundles to install. Currently supported data bundle ARNs:
-
arn:aws:finspace:${Region}::data-bundle/capital-markets-sample- Contains sample Capital Markets datasets, categories and controlled vocabularies. -
arn:aws:finspace:${Region}::data-bundle/taq(default) - Contains trades and quotes data in addition to sample Capital Markets data.
-
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
LimitExceededException–A service limit or quota is exceeded.
-
ServiceQuotaExceededException–You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_finspace/_services/async_finspace.py
306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 | |