Class: Stax::Aws::Emr
Class Method Summary collapse
Methods inherited from Sdk
Class Method Details
.client ⇒ Object
7 8 9 |
# File 'lib/stax/aws/emr.rb', line 7 def client @_client ||= ::Aws::EMR::Client.new end |
.describe(id) ⇒ Object
11 12 13 |
# File 'lib/stax/aws/emr.rb', line 11 def describe(id) client.describe_cluster(cluster_id: id).cluster end |
.groups(id) ⇒ Object
15 16 17 18 |
# File 'lib/stax/aws/emr.rb', line 15 def groups(id) ## TODO paginate me client.list_instance_groups(cluster_id: id).instance_groups end |
.instances(id, types = nil) ⇒ Object
20 21 22 23 |
# File 'lib/stax/aws/emr.rb', line 20 def instances(id, types = nil) ## TODO paginate me client.list_instances(cluster_id: id, instance_group_types: types).instances end |