def create_security_group(options = {})
      resp = @client.create_security_group(options)
      SecurityGroup.new(
        id: resp.data.group_id,
        client: @client
      )
    end
def create_security_group(options = {})
      resp = @client.create_security_group(options)
      SecurityGroup.new(
        id: resp.data.group_id,
        client: @client
      )
    end
@example Request syntax with placeholder values

   securitygroup = ec2.create_security_group({
     description: "String", # required
     group_name: "String", # required
     vpc_id: "String",
     dry_run: false,
   })
 @param [Hash] options ({})
 @option options [required, String] :description
   A description for the security group. This is informational only.

   Constraints: Up to 255 characters in length

   Constraints for EC2-Classic: ASCII characters

   Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
   .\_-:/()#,@\[\]+=&amp;;\\\{\\}!$*
 @option options [required, String] :group_name
   The name of the security group.

   Constraints: Up to 255 characters in length. Cannot start with `sg-`.

   Constraints for EC2-Classic: ASCII characters

   Constraints for EC2-VPC: a-z, A-Z, 0-9, spaces, and
   .\_-:/()#,@\[\]+=&amp;;\\\{\\}!$*
 @option options [String] :vpc_id
   \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
 @option options [Boolean] :dry_run
   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`.
 @return [SecurityGroup]