2020/03/06 - Amazon Elastic Compute Cloud - 1 new api methods
Changes Update ec2 client to latest version
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 )
string
[REQUIRED]
The names of the Zone Group.
string
[REQUIRED]
Indicates whether to enable or disable Zone Group membership. The valid values are opted-in .
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 .
dict
Response Syntax
{ 'Return': True|False }
Response Structure
(dict) --
Return (boolean) --
Is true if the request succeeds, and an error otherwise.