create_datastore
¶
create_datastore(
client_token: ClientToken,
*,
config_overrides: Optional[MedicalImagingClientConfig] = None,
datastore_name: Optional[DatastoreName] = None,
tags: Optional[TagMap] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
lambda_authorizer_arn: Optional[LambdaArn] = None,
lossless_storage_format: Optional[LosslessStorageFormat] = None,
) -> CreateDatastoreResponse
Create a data store.
Parameters:
-
datastore_name(Optional[DatastoreName], default:None) –The data store name.
-
client_token(ClientToken) –A unique identifier for API idempotency.
-
tags(Optional[TagMap], default:None) –The tags provided when creating a data store.
-
kms_key_arn(Optional[KmsKeyArn], default:None) –The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.
-
lambda_authorizer_arn(Optional[LambdaArn], default:None) –The ARN of the authorizer's Lambda function.
-
lossless_storage_format(Optional[LosslessStorageFormat], default:None) –The lossless storage format for the datastore.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred during processing of the request.
-
ResourceNotFoundException–The request references a resource which does not exist.
-
ServiceQuotaExceededException–The request caused a service quota to be exceeded.
-
ThrottlingException–The request was denied due to throttling.
-
ValidationException–The input fails to satisfy the constraints set by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medical_imaging/_services/medical_imaging.py
1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 | |