Class: Ey::Core::Client::ContainerServiceDeployments

Inherits:
Ey::Core::Collection show all
Defined in:
lib/ey-core/collections/container_service_deployments.rb

Instance Method Summary collapse

Methods inherited from Ey::Core::Collection

#==, #all, #collection_request, #collection_root, #create!, #each_entry, #each_page, #first, #get, #get!, #last_page, #load, #model_request, #model_root, #new_page, #next_page, #one, #page_parameters, #perform_get, #previous_page

Instance Method Details

#discover(task_definition_arn) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/ey-core/collections/container_service_deployments.rb', line 10

def discover(task_definition_arn)
  params = {
    "task_definition_arn" => task_definition_arn
  }

  connection.requests.new(connection.discover_container_service_deployments(params).body["request"])
end