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