Amazon Elastic Compute Cloud

2020/03/06 - Amazon Elastic Compute Cloud - 1 new api methods

Changes  This release provides customers with a self-service option to enable Local Zones.

ModifyAvailabilityZoneGroup (new) Link ΒΆ

Enables or disables a Zone Group for your account. To use Local Zones, you must first enable the Zone Group.

See also: AWS API Documentation

Request Syntax

client.modify_availability_zone_group(
    GroupName='string',
    OptInStatus='opted-in'|'not-opted-in',
    DryRun=True|False
)
type GroupName

string

param GroupName

[REQUIRED]

The names of the Zone Group.

type OptInStatus

string

param OptInStatus

[REQUIRED]

Indicates whether to enable or disable Zone Group membership. The valid values are opted-in .

type DryRun

boolean

param DryRun

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 .

rtype

dict

returns

Response Syntax

{
    'Return': True|False
}

Response Structure

  • (dict) --

    • Return (boolean) --

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