update_monitor
async
¶
update_monitor(
monitor_id: MonitorId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
subdomain: Optional[Subdomain] = None,
display_name: Optional[ResourceName] = None,
role_arn: Optional[IamRoleArn] = None,
) -> UpdateMonitorResponse
Modifies the settings for a Deadline Cloud monitor. You can modify one or all of the settings when you call UpdateMonitor.
Parameters:
-
monitor_id(MonitorId) –The unique identifier of the monitor to update.
-
subdomain(Optional[Subdomain], default:None) –The new value of the subdomain to use when forming the monitor URL.
-
display_name(Optional[ResourceName], default:None) –The new value to use for the monitor's display name.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
-
role_arn(Optional[IamRoleArn], default:None) –The Amazon Resource Name of the new IAM role to use with the monitor.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_deadline/_services/async_deadline.py
9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 | |