Skip to content

Modify Availability Zone Group

ec2_modify_availability_zone_group R Documentation

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

Description

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

Usage

ec2_modify_availability_zone_group(GroupName, OptInStatus, DryRun)

Arguments

GroupName

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

OptInStatus

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

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.

Value

A list with the following syntax:

list(
  Return = TRUE|FALSE
)

Request syntax

svc$modify_availability_zone_group(
  GroupName = "string",
  OptInStatus = "opted-in"|"not-opted-in",
  DryRun = TRUE|FALSE
)