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.372.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.371.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.370.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.369.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.368.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.367.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.366.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.365.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.364.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.363.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.362.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.361.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.360.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.359.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.358.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.357.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.356.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.355.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.354.0 lib/aws-sdk-ec2/customizations.rb
aws-sdk-ec2-1.353.0 lib/aws-sdk-ec2/customizations.rb