delete_application_status_check
async
¶
delete_application_status_check(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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.
>>> await client.delete_application_status_check(application_status_check_id='asc-0123456789abcdef0')
Source code in docs_src/capo_ec2/_services/async_ec2.py
15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 | |