Class: Aws::EC2::Types::ModifyAvailabilityZoneGroupRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ModifyAvailabilityZoneGroupRequest data as a hash:

{
  group_name: "String", # required
  opt_in_status: "opted-in", # required, accepts opted-in, not-opted-in
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

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.

Returns:

  • (Boolean)


33547
33548
33549
33550
33551
33552
33553
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33547

class ModifyAvailabilityZoneGroupRequest < Struct.new(
  :group_name,
  :opt_in_status,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#group_nameString

The name of the Availability Zone Group.

Returns:

  • (String)


33547
33548
33549
33550
33551
33552
33553
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33547

class ModifyAvailabilityZoneGroupRequest < Struct.new(
  :group_name,
  :opt_in_status,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#opt_in_statusString

Indicates whether to enable or disable membership. The valid values are opted-in. You must contact AWS Support to disable an Availability Zone group.

Returns:

  • (String)


33547
33548
33549
33550
33551
33552
33553
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 33547

class ModifyAvailabilityZoneGroupRequest < Struct.new(
  :group_name,
  :opt_in_status,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end