Module: Aws::ForecastQueryService

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

Overview

This module provides support for Amazon Forecast Query Service. This module is available in the ‘aws-sdk-forecastqueryservice` 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_query_service = Aws::ForecastQueryService::Client.new
resp = forecast_query_service.query_forecast(params)

See Client for more information.

# Errors

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

begin
  # do stuff
rescue Aws::ForecastQueryService::Errors::ServiceError
  # rescues all Amazon Forecast Query 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.49.0'