delete_application_status_check
¶
delete_application_status_check(
*,
config_overrides: Optional[EC2ClientConfig] = None,
application_status_check_id: Optional[ApplicationStatusCheckId] = None,
client_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DeleteApplicationStatusCheckResult
Deletes an application status check. The following rules apply:
-
Deleting a check automatically removes all of its associations.
-
Use
DescribeApplicationStatusChecksto view existing checks before deleting.
Parameters:
-
application_status_check_id(Optional[ApplicationStatusCheckId], default:None) –The ID of the application status check to delete.
-
client_token(Optional[String], default:None) –A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same token, the service ignores the request but does not return an error. For more information, see Ensuring idempotency.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To delete an application status check This example deletes the specified application status check.
Source code in docs_src/capo_ec2/_services/ec2.py
15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 | |