create_appliance
async
¶
create_appliance(
appliance_name: str,
environment_type: ApplianceEnvironmentType,
appliance_iam_role_arn: RoleArn,
node_fault_tolerance: int,
network_configuration: ApplianceNetworkConfigurationForCreate,
*,
config_overrides: Optional[AsyncBackupExternalClientConfig] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[AwsTagMap] = None,
) -> CreateApplianceOutput
Creates an appliance with the specified network configuration and returns its activation information.
Parameters:
-
appliance_name(str) –The name of the appliance.
-
environment_type(ApplianceEnvironmentType) –The environment in which the appliance runs.
-
appliance_iam_role_arn(RoleArn) –The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.
-
node_fault_tolerance(int) –The number of node failures that the appliance can tolerate.
-
network_configuration(ApplianceNetworkConfigurationForCreate) –The network configuration of the appliance.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.
-
tags(Optional[AwsTagMap], default:None) –The tags to associate with the appliance.
Raises:
-
AccessDeniedException–The request was denied because you do not have permission to perform the requested operation.
-
ConflictException–The request conflicts with the current state of the specified resource.
-
InternalServerException–The request failed because of an internal server error.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was denied because the request rate is too high.
-
ValidationException–The request contains invalid parameters.
-
ServiceQuotaExceededException–The request would exceed a service quota.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup_external/_services/async_backup_external.py
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 402 403 404 405 406 | |