Module: Aws::SWF

Defined in:
lib/aws-sdk-swf/endpoint_parameters.rb,
lib/aws-sdk-swf/plugins/read_timeouts.rb,
lib/aws-sdk-swf/plugins/endpoints.rb,
lib/aws-sdk-swf/endpoint_provider.rb,
lib/aws-sdk-swf/client_api.rb,
lib/aws-sdk-swf/endpoints.rb,
lib/aws-sdk-swf/resource.rb,
lib/aws-sdk-swf/errors.rb,
lib/aws-sdk-swf/client.rb,
lib/aws-sdk-swf/types.rb,
lib/aws-sdk-swf.rb

Overview

This module provides support for Amazon Simple Workflow Service. This module is available in the ‘aws-sdk-swf` 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.

swf = Aws::SWF::Client.new
resp = swf.count_closed_workflow_executions(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::SWF::Errors::ServiceError
  # rescues all Amazon Simple Workflow Service API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.65.0'