You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::Firehose
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to Amazon Kinesis Firehose.
Aws::Firehose::Client
The Client class provides one-to-one mapping for each API operation.
firehose = Aws::Firehose::Client.new(region: 'us-east-1')
firehose.operation_names
#=> [:create_delivery_stream, :delete_delivery_stream, :describe_delivery_stream, :list_delivery_streams, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = firehose.create_delivery_stream(params)
See Client for more information.
Aws::Firehose::Errors
Errors returned from Amazon Kinesis Firehose are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::Firehose::Errors::ServiceError
# rescues all errors returned by Amazon Kinesis Firehose
end
See Errors for more information.
Defined Under Namespace
Modules: Errors, Types Classes: Client