EC2.Client.
modify_availability_zone_group
(**kwargs)¶Changes the opt-in status of the Local Zone and Wavelength Zone group for your account.
Use DescribeAvailabilityZones to view the value for GroupName
.
See also: AWS API Documentation
Request Syntax
response = client.modify_availability_zone_group(
GroupName='string',
OptInStatus='opted-in'|'not-opted-in',
DryRun=True|False
)
[REQUIRED]
The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.
[REQUIRED]
Indicates whether you are opted in to the Local Zone group or Wavelength 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.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'Return': True|False
}
Response Structure
(dict) --
Return (boolean) --
Is true
if the request succeeds, and an error otherwise.