Class: AWS.Firehose
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Firehose
- Identifier:
- firehose
- API Version:
- 2015-08-04
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Data Firehose is a fully managed service that delivers real-time streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon OpenSearch Service, Amazon Redshift, Splunk, and various other supported destinations.
Sending a Request Using Firehose
var firehose = new AWS.Firehose();
firehose.createDeliveryStream(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Firehose object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var firehose = new AWS.Firehose({apiVersion: '2015-08-04'});
You can also set the API version globally in AWS.config.apiVersions using
the firehose service identifier:
AWS.config.apiVersions = {
firehose: '2015-08-04',
// other service API versions
};
var firehose = new AWS.Firehose();
Constructor Summary collapse
-
new AWS.Firehose(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createDeliveryStream(params = {}, callback) ⇒ AWS.Request
Creates a Firehose delivery stream.
By default, you can create up to 50 delivery streams per Amazon Web Services Region.
This is an asynchronous operation that immediately returns.
-
deleteDeliveryStream(params = {}, callback) ⇒ AWS.Request
Deletes a delivery stream and its data.
You can delete a delivery stream only if it is in one of the following states:
ACTIVE,DELETING,CREATING_FAILED, orDELETING_FAILED. -
describeDeliveryStream(params = {}, callback) ⇒ AWS.Request
Describes the specified delivery stream and its status.
-
listDeliveryStreams(params = {}, callback) ⇒ AWS.Request
Lists your delivery streams in alphabetical order of their names.
The number of delivery streams might be too large to return using a single call to
ListDeliveryStreams. -
listTagsForDeliveryStream(params = {}, callback) ⇒ AWS.Request
Lists the tags for the specified delivery stream.
-
putRecord(params = {}, callback) ⇒ AWS.Request
Writes a single data record into an Amazon Firehose delivery stream.
-
putRecordBatch(params = {}, callback) ⇒ AWS.Request
Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records.
-
startDeliveryStreamEncryption(params = {}, callback) ⇒ AWS.Request
Enables server-side encryption (SSE) for the delivery stream.
-
stopDeliveryStreamEncryption(params = {}, callback) ⇒ AWS.Request
Disables server-side encryption (SSE) for the delivery stream.
-
tagDeliveryStream(params = {}, callback) ⇒ AWS.Request
Adds or updates tags for the specified delivery stream.
-
untagDeliveryStream(params = {}, callback) ⇒ AWS.Request
Removes tags from the specified delivery stream.
-
updateDestination(params = {}, callback) ⇒ AWS.Request
Updates the specified destination of the specified delivery stream.
Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination).
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Firehose(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.