associate_disk
async
¶
associate_disk(
appliance_arn: ApplianceArn,
node_arn: NodeArn,
disk_identifier: str,
disk_type: DiskType,
*,
config_overrides: Optional[AsyncBackupExternalClientConfig] = None,
) -> AssociateDiskOutput
Associates a disk with the specified appliance node for data or metadata storage.
Parameters:
-
appliance_arn(ApplianceArn) –The Amazon Resource Name (ARN) of the appliance.
-
node_arn(NodeArn) –The Amazon Resource Name (ARN) of the appliance node.
-
disk_identifier(str) –The identifier of the disk attached to the appliance node.
-
disk_type(DiskType) –The type of storage provided by the disk.
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.
-
UnknownServiceError–The service returned an error code this client does not model.