lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.0.0.rc2 vs lib/aws-sdk-ecs/client.rb in aws-sdk-ecs-1.0.0.rc3
- old
+ new
@@ -16,10 +16,11 @@
require 'aws-sdk-core/plugins/global_configuration.rb'
require 'aws-sdk-core/plugins/regional_endpoint.rb'
require 'aws-sdk-core/plugins/response_paging.rb'
require 'aws-sdk-core/plugins/stub_responses.rb'
require 'aws-sdk-core/plugins/idempotency_token.rb'
+require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
require 'aws-sdk-core/plugins/signature_v4.rb'
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
Aws::Plugins::GlobalConfiguration.add_identifier(:ecs)
@@ -43,10 +44,11 @@
add_plugin(Aws::Plugins::GlobalConfiguration)
add_plugin(Aws::Plugins::RegionalEndpoint)
add_plugin(Aws::Plugins::ResponsePaging)
add_plugin(Aws::Plugins::StubResponses)
add_plugin(Aws::Plugins::IdempotencyToken)
+ add_plugin(Aws::Plugins::JsonvalueConverter)
add_plugin(Aws::Plugins::SignatureV4)
add_plugin(Aws::Plugins::Protocols::JsonRpc)
# @option options [required, Aws::CredentialProvider] :credentials
# Your AWS credentials. This can be an instance of any one of the
@@ -182,10 +184,12 @@
# resp.cluster.registered_container_instances_count #=> Integer
# resp.cluster.running_tasks_count #=> Integer
# resp.cluster.pending_tasks_count #=> Integer
# resp.cluster.active_services_count #=> Integer
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster AWS API Documentation
+ #
# @overload create_cluster(params = {})
# @param [Hash] params ({})
def create_cluster(params = {}, options = {})
req = build_request(:create_cluster, params)
req.send_request(options)
@@ -411,10 +415,12 @@
# resp.service.placement_constraints[0].expression #=> String
# resp.service.placement_strategy #=> Array
# resp.service.placement_strategy[0].type #=> String, one of "random", "spread", "binpack"
# resp.service.placement_strategy[0].field #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation
+ #
# @overload create_service(params = {})
# @param [Hash] params ({})
def create_service(params = {}, options = {})
req = build_request(:create_service, params)
req.send_request(options)
@@ -457,10 +463,12 @@
# resp.attributes[0].name #=> String
# resp.attributes[0].value #=> String
# resp.attributes[0].target_type #=> String, one of "container-instance"
# resp.attributes[0].target_id #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes AWS API Documentation
+ #
# @overload delete_attributes(params = {})
# @param [Hash] params ({})
def delete_attributes(params = {}, options = {})
req = build_request(:delete_attributes, params)
req.send_request(options)
@@ -493,10 +501,12 @@
# resp.cluster.registered_container_instances_count #=> Integer
# resp.cluster.running_tasks_count #=> Integer
# resp.cluster.pending_tasks_count #=> Integer
# resp.cluster.active_services_count #=> Integer
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster AWS API Documentation
+ #
# @overload delete_cluster(params = {})
# @param [Hash] params ({})
def delete_cluster(params = {}, options = {})
req = build_request(:delete_cluster, params)
req.send_request(options)
@@ -576,10 +586,12 @@
# resp.service.placement_constraints[0].expression #=> String
# resp.service.placement_strategy #=> Array
# resp.service.placement_strategy[0].type #=> String, one of "random", "spread", "binpack"
# resp.service.placement_strategy[0].field #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
+ #
# @overload delete_service(params = {})
# @param [Hash] params ({})
def delete_service(params = {}, options = {})
req = build_request(:delete_service, params)
req.send_request(options)
@@ -679,10 +691,12 @@
# resp.container_instance.attributes[0].name #=> String
# resp.container_instance.attributes[0].value #=> String
# resp.container_instance.attributes[0].target_type #=> String, one of "container-instance"
# resp.container_instance.attributes[0].target_id #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance AWS API Documentation
+ #
# @overload deregister_container_instance(params = {})
# @param [Hash] params ({})
def deregister_container_instance(params = {}, options = {})
req = build_request(:deregister_container_instance, params)
req.send_request(options)
@@ -785,10 +799,12 @@
# resp.task_definition.requires_attributes[0].target_id #=> String
# resp.task_definition.placement_constraints #=> Array
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
# resp.task_definition.placement_constraints[0].expression #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition AWS API Documentation
+ #
# @overload deregister_task_definition(params = {})
# @param [Hash] params ({})
def deregister_task_definition(params = {}, options = {})
req = build_request(:deregister_task_definition, params)
req.send_request(options)
@@ -824,10 +840,12 @@
# resp.clusters[0].active_services_count #=> Integer
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters AWS API Documentation
+ #
# @overload describe_clusters(params = {})
# @param [Hash] params ({})
def describe_clusters(params = {}, options = {})
req = build_request(:describe_clusters, params)
req.send_request(options)
@@ -895,10 +913,12 @@
# resp.container_instances[0].attributes[0].target_id #=> String
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances AWS API Documentation
+ #
# @overload describe_container_instances(params = {})
# @param [Hash] params ({})
def describe_container_instances(params = {}, options = {})
req = build_request(:describe_container_instances, params)
req.send_request(options)
@@ -967,10 +987,12 @@
# resp.services[0].placement_strategy[0].field #=> String
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices AWS API Documentation
+ #
# @overload describe_services(params = {})
# @param [Hash] params ({})
def describe_services(params = {}, options = {})
req = build_request(:describe_services, params)
req.send_request(options)
@@ -1070,10 +1092,12 @@
# resp.task_definition.requires_attributes[0].target_id #=> String
# resp.task_definition.placement_constraints #=> Array
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
# resp.task_definition.placement_constraints[0].expression #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition AWS API Documentation
+ #
# @overload describe_task_definition(params = {})
# @param [Hash] params ({})
def describe_task_definition(params = {}, options = {})
req = build_request(:describe_task_definition, params)
req.send_request(options)
@@ -1140,10 +1164,12 @@
# resp.tasks[0].group #=> String
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks AWS API Documentation
+ #
# @overload describe_tasks(params = {})
# @param [Hash] params ({})
def describe_tasks(params = {}, options = {})
req = build_request(:describe_tasks, params)
req.send_request(options)
@@ -1184,10 +1210,12 @@
# @example Response structure
#
# resp.endpoint #=> String
# resp.telemetry_endpoint #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint AWS API Documentation
+ #
# @overload discover_poll_endpoint(params = {})
# @param [Hash] params ({})
def discover_poll_endpoint(params = {}, options = {})
req = build_request(:discover_poll_endpoint, params)
req.send_request(options)
@@ -1263,10 +1291,12 @@
# resp.attributes[0].value #=> String
# resp.attributes[0].target_type #=> String, one of "container-instance"
# resp.attributes[0].target_id #=> String
# resp.next_token #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes AWS API Documentation
+ #
# @overload list_attributes(params = {})
# @param [Hash] params ({})
def list_attributes(params = {}, options = {})
req = build_request(:list_attributes, params)
req.send_request(options)
@@ -1313,10 +1343,12 @@
#
# resp.cluster_arns #=> Array
# resp.cluster_arns[0] #=> String
# resp.next_token #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters AWS API Documentation
+ #
# @overload list_clusters(params = {})
# @param [Hash] params ({})
def list_clusters(params = {}, options = {})
req = build_request(:list_clusters, params)
req.send_request(options)
@@ -1397,10 +1429,12 @@
#
# resp.container_instance_arns #=> Array
# resp.container_instance_arns[0] #=> String
# resp.next_token #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances AWS API Documentation
+ #
# @overload list_container_instances(params = {})
# @param [Hash] params ({})
def list_container_instances(params = {}, options = {})
req = build_request(:list_container_instances, params)
req.send_request(options)
@@ -1453,10 +1487,12 @@
#
# resp.service_arns #=> Array
# resp.service_arns[0] #=> String
# resp.next_token #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices AWS API Documentation
+ #
# @overload list_services(params = {})
# @param [Hash] params ({})
def list_services(params = {}, options = {})
req = build_request(:list_services, params)
req.send_request(options)
@@ -1530,10 +1566,12 @@
#
# resp.families #=> Array
# resp.families[0] #=> String
# resp.next_token #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies AWS API Documentation
+ #
# @overload list_task_definition_families(params = {})
# @param [Hash] params ({})
def list_task_definition_families(params = {}, options = {})
req = build_request(:list_task_definition_families, params)
req.send_request(options)
@@ -1609,10 +1647,12 @@
#
# resp.task_definition_arns #=> Array
# resp.task_definition_arns[0] #=> String
# resp.next_token #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions AWS API Documentation
+ #
# @overload list_task_definitions(params = {})
# @param [Hash] params ({})
def list_task_definitions(params = {}, options = {})
req = build_request(:list_task_definitions, params)
req.send_request(options)
@@ -1713,10 +1753,12 @@
#
# resp.task_arns #=> Array
# resp.task_arns[0] #=> String
# resp.next_token #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks AWS API Documentation
+ #
# @overload list_tasks(params = {})
# @param [Hash] params ({})
def list_tasks(params = {}, options = {})
req = build_request(:list_tasks, params)
req.send_request(options)
@@ -1766,10 +1808,12 @@
# resp.attributes[0].name #=> String
# resp.attributes[0].value #=> String
# resp.attributes[0].target_type #=> String, one of "container-instance"
# resp.attributes[0].target_id #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes AWS API Documentation
+ #
# @overload put_attributes(params = {})
# @param [Hash] params ({})
def put_attributes(params = {}, options = {})
req = build_request(:put_attributes, params)
req.send_request(options)
@@ -1884,10 +1928,12 @@
# resp.container_instance.attributes[0].name #=> String
# resp.container_instance.attributes[0].value #=> String
# resp.container_instance.attributes[0].target_type #=> String, one of "container-instance"
# resp.container_instance.attributes[0].target_id #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance AWS API Documentation
+ #
# @overload register_container_instance(params = {})
# @param [Hash] params ({})
def register_container_instance(params = {}, options = {})
req = build_request(:register_container_instance, params)
req.send_request(options)
@@ -2134,10 +2180,12 @@
# resp.task_definition.requires_attributes[0].target_id #=> String
# resp.task_definition.placement_constraints #=> Array
# resp.task_definition.placement_constraints[0].type #=> String, one of "memberOf"
# resp.task_definition.placement_constraints[0].expression #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition AWS API Documentation
+ #
# @overload register_task_definition(params = {})
# @param [Hash] params ({})
def register_task_definition(params = {}, options = {})
req = build_request(:register_task_definition, params)
req.send_request(options)
@@ -2292,10 +2340,12 @@
# resp.tasks[0].group #=> String
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask AWS API Documentation
+ #
# @overload run_task(params = {})
# @param [Hash] params ({})
def run_task(params = {}, options = {})
req = build_request(:run_task, params)
req.send_request(options)
@@ -2427,10 +2477,12 @@
# resp.tasks[0].group #=> String
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask AWS API Documentation
+ #
# @overload start_task(params = {})
# @param [Hash] params ({})
def start_task(params = {}, options = {})
req = build_request(:start_task, params)
req.send_request(options)
@@ -2507,10 +2559,12 @@
# resp.task.created_at #=> Time
# resp.task.started_at #=> Time
# resp.task.stopped_at #=> Time
# resp.task.group #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask AWS API Documentation
+ #
# @overload stop_task(params = {})
# @param [Hash] params ({})
def stop_task(params = {}, options = {})
req = build_request(:stop_task, params)
req.send_request(options)
@@ -2571,10 +2625,12 @@
#
# @example Response structure
#
# resp.acknowledgment #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange AWS API Documentation
+ #
# @overload submit_container_state_change(params = {})
# @param [Hash] params ({})
def submit_container_state_change(params = {}, options = {})
req = build_request(:submit_container_state_change, params)
req.send_request(options)
@@ -2616,10 +2672,12 @@
#
# @example Response structure
#
# resp.acknowledgment #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange AWS API Documentation
+ #
# @overload submit_task_state_change(params = {})
# @param [Hash] params ({})
def submit_task_state_change(params = {}, options = {})
req = build_request(:submit_task_state_change, params)
req.send_request(options)
@@ -2696,10 +2754,12 @@
# resp.container_instance.attributes[0].name #=> String
# resp.container_instance.attributes[0].value #=> String
# resp.container_instance.attributes[0].target_type #=> String, one of "container-instance"
# resp.container_instance.attributes[0].target_id #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent AWS API Documentation
+ #
# @overload update_container_agent(params = {})
# @param [Hash] params ({})
def update_container_agent(params = {}, options = {})
req = build_request(:update_container_agent, params)
req.send_request(options)
@@ -2818,10 +2878,12 @@
# resp.container_instances[0].attributes[0].target_id #=> String
# resp.failures #=> Array
# resp.failures[0].arn #=> String
# resp.failures[0].reason #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState AWS API Documentation
+ #
# @overload update_container_instances_state(params = {})
# @param [Hash] params ({})
def update_container_instances_state(params = {}, options = {})
req = build_request(:update_container_instances_state, params)
req.send_request(options)
@@ -2981,10 +3043,12 @@
# resp.service.placement_constraints[0].expression #=> String
# resp.service.placement_strategy #=> Array
# resp.service.placement_strategy[0].type #=> String, one of "random", "spread", "binpack"
# resp.service.placement_strategy[0].field #=> String
#
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
+ #
# @overload update_service(params = {})
# @param [Hash] params ({})
def update_service(params = {}, options = {})
req = build_request(:update_service, params)
req.send_request(options)
@@ -3001,10 +3065,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-ecs'
- context[:gem_version] = '1.0.0.rc1'
+ context[:gem_version] = '1.0.0.rc3'
Seahorse::Client::Request.new(handlers, context)
end
# Polls an API operation until a resource enters a desired state.
#