@private
@private
# File lib/aws/iam/resource.rb, line 58 def prefix_update_attributes prefix = 'new_' @update_prefix = prefix end
@private
# File lib/aws/iam/resource.rb, line 63 def update_prefix @update_prefix end
@return [Boolean] True if the resource exists.
# File lib/aws/iam/resource.rb, line 21 def exists? get_resource rescue Errors::NoSuchEntity => e false else true end
@private
# File lib/aws/iam/resource.rb, line 39 def get_resource attribute = nil client.send(get_resource_client_method, resource_options) end
@private
# File lib/aws/iam/resource.rb, line 45 def get_resource_client_method "get_#{ruby_name}" end
@private
# File lib/aws/iam/resource.rb, line 31 def update_resource attr, value options = { :"#{self.class.update_prefix}#{attr.set_as}" => value } client_method = update_resource_client_method client.send(client_method, options.merge(resource_options)) end
@private
# File lib/aws/iam/resource.rb, line 51 def update_resource_client_method "update_#{ruby_name}" end