create_space
async
¶
create_space(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 | |