modify_availability_zone_group
¶
modify_availability_zone_group(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
49115 49116 49117 49118 49119 49120 49121 49122 49123 49124 49125 49126 49127 49128 49129 49130 49131 49132 49133 49134 49135 49136 49137 49138 49139 49140 49141 49142 49143 49144 49145 49146 49147 49148 49149 49150 49151 49152 49153 49154 49155 49156 49157 49158 49159 49160 49161 49162 49163 49164 49165 49166 49167 | |