describe_mac_modification_tasks
¶
describe_mac_modification_tasks(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
filters: Optional[FilterList] = None,
mac_modification_task_ids: Optional[MacModificationTaskIdList] = None,
max_results: Optional[DescribeMacModificationTasksMaxResults] = None,
next_token: Optional[String] = None,
) -> DescribeMacModificationTasksResult
Describes a System Integrity Protection (SIP) modification task or volume ownership delegation task for an Amazon EC2 Mac instance. For more information, see Configure SIP for Amazon EC2 instances in the Amazon EC2 User Guide.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
filters(Optional[FilterList], default:None) –Specifies one or more filters for the request:
-
instance-id- The ID of the instance for which the task was created. -
task-state- The state of the task (successful|failed|in-progress|pending). -
mac-system-integrity-protection-configuration.sip-status- The overall SIP state requested in the task (enabled|disabled). -
start-time- The date and time the task was created. -
task-type- The type of task (sip-modification|volume-ownership-delegation).
-
-
mac_modification_task_ids(Optional[MacModificationTaskIdList], default:None) –The ID of task.
-
max_results(Optional[DescribeMacModificationTasksMaxResults], default:None) –The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned
nextTokenvalue. This value can be between 5 and 500. IfmaxResultsis given a larger value than 500, you receive an error. -
next_token(Optional[String], default:None) –The token to use to retrieve the next page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
29682 29683 29684 29685 29686 29687 29688 29689 29690 29691 29692 29693 29694 29695 29696 29697 29698 29699 29700 29701 29702 29703 29704 29705 29706 29707 29708 29709 29710 29711 29712 29713 29714 29715 29716 29717 29718 29719 29720 29721 29722 29723 29724 29725 29726 29727 29728 29729 29730 29731 29732 29733 29734 29735 29736 29737 29738 29739 29740 29741 29742 29743 29744 | |