Changes the opt-in status of the specified zone group for your account.
See https://www.paws-r-sdk.com/docs/ec2_modify_availability_zone_group/ for full documentation.
ec2_modify_availability_zone_group(GroupName, OptInStatus, DryRun = NULL)
[required] The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
[required] 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.
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 is UnauthorizedOperation
.