Module: Aws::ECS

Defined in:
lib/aws-sdk-ecs/client_api.rb,
lib/aws-sdk-ecs/resource.rb,
lib/aws-sdk-ecs/waiters.rb,
lib/aws-sdk-ecs/errors.rb,
lib/aws-sdk-ecs/client.rb,
lib/aws-sdk-ecs/types.rb,
lib/aws-sdk-ecs.rb

Overview

This module provides support for Amazon EC2 Container Service. This module is available in the `aws-sdk-ecs` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

ecs = Aws::ECS::Client.new
resp = ecs.create_capacity_provider(params)

See Client for more information.

# Errors

Errors returned from Amazon EC2 Container Service are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::ECS::Errors::ServiceError
  # rescues all Amazon EC2 Container Service API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Errors, Types, Waiters Classes: Client, Resource

service collapse

GEM_VERSION =
'1.85.0'