modify_availability_zone_group
async
¶
modify_availability_zone_group(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
group_name: Optional[String] = None,
opt_in_status: Optional[ModifyAvailabilityZoneOptInStatus] = None,
dry_run: Optional[Boolean] = None,
) -> ModifyAvailabilityZoneGroupResult
Changes the opt-in status of the specified zone group for your account.
Parameters:
-
group_name(Optional[String], default:None) –The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
-
opt_in_status(Optional[ModifyAvailabilityZoneOptInStatus], default:None) –Indicates whether to opt in to the zone group. The only valid value is
opted-in. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group. -
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.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
49793 49794 49795 49796 49797 49798 49799 49800 49801 49802 49803 49804 49805 49806 49807 49808 49809 49810 49811 49812 49813 49814 49815 49816 49817 49818 49819 49820 49821 49822 49823 49824 49825 49826 49827 49828 49829 49830 49831 49832 49833 49834 49835 49836 49837 49838 49839 49840 49841 49842 49843 49844 49845 49846 | |