modify_availability_zone_group

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
)
Parameters
  • GroupName (string) --

    [REQUIRED]

    The name of the Availability Zone group, Local Zone group, or Wavelength Zone group.

  • OptInStatus (string) --

    [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.

  • DryRun (boolean) -- 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 .
Return type

dict

Returns

Response Syntax

{
    'Return': True|False
}

Response Structure

  • (dict) --

    • Return (boolean) --

      Is true if the request succeeds, and an error otherwise.