Sha256: cbee1a052bf8aa5e696456ed57edda0fbe0a9c3f9671df0c7066c4e5e50c40d8

Contents?: true

Size: 769 Bytes

Versions: 271

Compression:

Stored size: 769 Bytes

Contents

# frozen_string_literal: true

# customizations to generated classes
require 'aws-sdk-ec2/customizations/resource'
require 'aws-sdk-ec2/customizations/instance'

Aws::EC2::Instance::Collection.extend Aws::Deprecations
{
  create_tags: :batch_create_tags,
  monitor: :batch_create_tags,
  reboot: :batch_reboot,
  start: :batch_start,
  stop: :batch_stop,
  terminate: :batch_terminate!,
  unmonitor: :batch_unmonitor,
}.each do |old, new|
  Aws::EC2::Instance::Collection.send(:alias_method, old, new)
  Aws::EC2::Instance::Collection.send(:deprecated, old, use: new)
end

Aws::EC2::Tag::Collection.send(:alias_method, :delete, :batch_delete!)
Aws::EC2::Tag::Collection.extend Aws::Deprecations
Aws::EC2::Tag::Collection.send(:deprecated, :delete, use: :batch_delete!)

Version data entries

271 entries across 271 versions & 1 rubygems

Version Path
aws-sdk-ec2-1.413.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.412.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.411.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.410.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.409.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.408.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.407.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.406.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.405.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.404.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.403.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.402.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.401.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.400.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.399.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.398.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.397.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.396.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.395.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.394.0 lib/aws-sdk-ec2/customizations.rb