create_space
¶
create_space(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
domain_id: Optional[DomainId] = None,
space_name: Optional[SpaceName] = None,
tags: Optional[TagList] = None,
space_settings: Optional[SpaceSettings] = None,
ownership_settings: Optional[OwnershipSettings] = None,
space_sharing_settings: Optional[SpaceSharingSettings] = None,
space_display_name: Optional[NonEmptyString64] = None,
) -> CreateSpaceResponse
Creates a private space or a space used for real time collaboration in a domain.
Parameters:
-
domain_id(Optional[DomainId], default:None) –The ID of the associated domain.
-
space_name(Optional[SpaceName], default:None) –The name of the space.
-
tags(Optional[TagList], default:None) –Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the
SearchAPI. -
space_settings(Optional[SpaceSettings], default:None) –A collection of space settings.
-
ownership_settings(Optional[OwnershipSettings], default:None) –A collection of ownership settings.
-
space_sharing_settings(Optional[SpaceSharingSettings], default:None) –A collection of space sharing settings.
-
space_display_name(Optional[NonEmptyString64], default:None) –The name of the space that appears in the SageMaker Studio UI.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 | |