Module: Aws::States
- Defined in:
- lib/aws-sdk-states/endpoint_parameters.rb,
lib/aws-sdk-states/plugins/endpoints.rb,
lib/aws-sdk-states/endpoint_provider.rb,
lib/aws-sdk-states/client_api.rb,
lib/aws-sdk-states/endpoints.rb,
lib/aws-sdk-states/resource.rb,
lib/aws-sdk-states/errors.rb,
lib/aws-sdk-states/client.rb,
lib/aws-sdk-states/types.rb,
lib/aws-sdk-states.rb
Overview
This module provides support for AWS Step Functions. This module is available in the ‘aws-sdk-states` 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.
states = Aws::States::Client.new
resp = states.create_activity(params)
See Client for more information.
# Errors
Errors returned from AWS Step Functions are defined in the Errors module and all extend Errors::ServiceError.
begin
# do stuff
rescue Aws::States::Errors::ServiceError
# rescues all AWS Step Functions 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.83.0'