lib/aws-sdk-ec2/resource.rb in aws-sdk-ec2-1.151.0 vs lib/aws-sdk-ec2/resource.rb in aws-sdk-ec2-1.152.0
- old
+ new
@@ -4,16 +4,21 @@
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE
module Aws::EC2
+
# This class provides a resource oriented interface for EC2.
# To create a resource object:
+ #
# resource = Aws::EC2::Resource.new(region: 'us-west-2')
+ #
# You can supply a client object with custom configuration that will be used for all resource operations.
- # If you do not pass +:client+, a default client will be constructed.
+ # If you do not pass `:client`, a default client will be constructed.
+ #
# client = Aws::EC2::Client.new(region: 'us-west-2')
# resource = Aws::EC2::Resource.new(client: client)
+ #
class Resource
# @param options ({})
# @option options [Client] :client
def initialize(options = {})