Skip to content

EC2  >  Operations  >  modify_availability_zone_group

modify_availability_zone_group

Operation

modify_availability_zone_group async

modify_availability_zone_group(input: ModifyAvailabilityZoneGroupInput, plugins: list[Plugin] | None = None) -> ModifyAvailabilityZoneGroupOutput

Changes the opt-in status of the specified zone group for your account.

Parameters:

Name Type Description Default
input ModifyAvailabilityZoneGroupInput

An instance of ModifyAvailabilityZoneGroupInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ModifyAvailabilityZoneGroupOutput

An instance of ModifyAvailabilityZoneGroupOutput.

Input

ModifyAvailabilityZoneGroupInput dataclass

Bases: _SerdeShape

Dataclass for ModifyAvailabilityZoneGroupInput structure.

Attributes

dry_run class-attribute instance-attribute
dry_run: bool | None = ...

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.

group_name class-attribute instance-attribute
group_name: str | None = ...

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

opt_in_status class-attribute instance-attribute
opt_in_status: str | None = ...

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.

Output

ModifyAvailabilityZoneGroupOutput dataclass

Bases: _SerdeShape

Dataclass for ModifyAvailabilityZoneGroupOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

return_ class-attribute instance-attribute
return_: bool | None = ...

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