npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/amazonaws_logs

v5.0.0

Published

DataFire integration for Amazon CloudWatch Logs

Downloads

1

Readme

@datafire/amazonaws_logs

Client library for Amazon CloudWatch Logs

Installation and Usage

npm install --save @datafire/amazonaws_logs
let amazonaws_logs = require('@datafire/amazonaws_logs').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_logs.AssociateKmsKey({
  "logGroupName": "",
  "kmsKeyId": ""
}).then(data => {
  console.log(data);
});

Description

Actions

AssociateKmsKey

amazonaws_logs.AssociateKmsKey({
  "logGroupName": "",
  "kmsKeyId": ""
}, context)

Input

Output

Output schema unknown

CancelExportTask

amazonaws_logs.CancelExportTask({
  "taskId": ""
}, context)

Input

Output

Output schema unknown

CreateExportTask

amazonaws_logs.CreateExportTask({
  "logGroupName": "",
  "from": 0,
  "to": 0,
  "destination": ""
}, context)

Input

Output

CreateLogGroup

amazonaws_logs.CreateLogGroup({
  "logGroupName": ""
}, context)

Input

Output

Output schema unknown

CreateLogStream

amazonaws_logs.CreateLogStream({
  "logGroupName": "",
  "logStreamName": ""
}, context)

Input

Output

Output schema unknown

DeleteDestination

amazonaws_logs.DeleteDestination({
  "destinationName": ""
}, context)

Input

Output

Output schema unknown

DeleteLogGroup

amazonaws_logs.DeleteLogGroup({
  "logGroupName": ""
}, context)

Input

Output

Output schema unknown

DeleteLogStream

amazonaws_logs.DeleteLogStream({
  "logGroupName": "",
  "logStreamName": ""
}, context)

Input

Output

Output schema unknown

DeleteMetricFilter

amazonaws_logs.DeleteMetricFilter({
  "logGroupName": "",
  "filterName": ""
}, context)

Input

Output

Output schema unknown

DeleteResourcePolicy

amazonaws_logs.DeleteResourcePolicy({}, context)

Input

Output

Output schema unknown

DeleteRetentionPolicy

amazonaws_logs.DeleteRetentionPolicy({
  "logGroupName": ""
}, context)

Input

Output

Output schema unknown

DeleteSubscriptionFilter

amazonaws_logs.DeleteSubscriptionFilter({
  "logGroupName": "",
  "filterName": ""
}, context)

Input

Output

Output schema unknown

DescribeDestinations

amazonaws_logs.DescribeDestinations({}, context)

Input

Output

DescribeExportTasks

amazonaws_logs.DescribeExportTasks({}, context)

Input

Output

DescribeLogGroups

amazonaws_logs.DescribeLogGroups({}, context)

Input

Output

DescribeLogStreams

amazonaws_logs.DescribeLogStreams({
  "logGroupName": ""
}, context)

Input

Output

DescribeMetricFilters

amazonaws_logs.DescribeMetricFilters({}, context)

Input

Output

DescribeResourcePolicies

amazonaws_logs.DescribeResourcePolicies({}, context)

Input

Output

DescribeSubscriptionFilters

amazonaws_logs.DescribeSubscriptionFilters({
  "logGroupName": ""
}, context)

Input

Output

DisassociateKmsKey

amazonaws_logs.DisassociateKmsKey({
  "logGroupName": ""
}, context)

Input

Output

Output schema unknown

FilterLogEvents

amazonaws_logs.FilterLogEvents({
  "logGroupName": ""
}, context)

Input

Output

GetLogEvents

amazonaws_logs.GetLogEvents({
  "logGroupName": "",
  "logStreamName": ""
}, context)

Input

Output

ListTagsLogGroup

amazonaws_logs.ListTagsLogGroup({
  "logGroupName": ""
}, context)

Input

Output

PutDestination

amazonaws_logs.PutDestination({
  "destinationName": "",
  "targetArn": "",
  "roleArn": ""
}, context)

Input

Output

PutDestinationPolicy

amazonaws_logs.PutDestinationPolicy({
  "destinationName": "",
  "accessPolicy": ""
}, context)

Input

Output

Output schema unknown

PutLogEvents

amazonaws_logs.PutLogEvents({
  "logGroupName": "",
  "logStreamName": "",
  "logEvents": []
}, context)

Input

Output

PutMetricFilter

amazonaws_logs.PutMetricFilter({
  "logGroupName": "",
  "filterName": "",
  "filterPattern": "",
  "metricTransformations": []
}, context)

Input

Output

Output schema unknown

PutResourcePolicy

amazonaws_logs.PutResourcePolicy({}, context)

Input

Output

PutRetentionPolicy

amazonaws_logs.PutRetentionPolicy({
  "logGroupName": "",
  "retentionInDays": 0
}, context)

Input

Output

Output schema unknown

PutSubscriptionFilter

amazonaws_logs.PutSubscriptionFilter({
  "logGroupName": "",
  "filterName": "",
  "filterPattern": "",
  "destinationArn": ""
}, context)

Input

Output

Output schema unknown

TagLogGroup

amazonaws_logs.TagLogGroup({
  "logGroupName": "",
  "tags": []
}, context)

Input

Output

Output schema unknown

TestMetricFilter

amazonaws_logs.TestMetricFilter({
  "filterPattern": "",
  "logEventMessages": []
}, context)

Input

Output

UntagLogGroup

amazonaws_logs.UntagLogGroup({
  "logGroupName": "",
  "tags": []
}, context)

Input

Output

Output schema unknown

Definitions

AccessPolicy

  • AccessPolicy string

Arn

  • Arn string

AssociateKmsKeyRequest

CancelExportTaskRequest

CreateExportTaskRequest

CreateExportTaskResponse

CreateLogGroupRequest

CreateLogStreamRequest

DataAlreadyAcceptedException

  • DataAlreadyAcceptedException object: The event was already logged.

Days

  • Days integer: The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653.

DefaultValue

  • DefaultValue number

DeleteDestinationRequest

DeleteLogGroupRequest

  • DeleteLogGroupRequest object

DeleteLogStreamRequest

DeleteMetricFilterRequest

DeleteResourcePolicyRequest

  • DeleteResourcePolicyRequest object

DeleteRetentionPolicyRequest

  • DeleteRetentionPolicyRequest object

DeleteSubscriptionFilterRequest

Descending

  • Descending boolean

DescribeDestinationsRequest

DescribeDestinationsResponse

DescribeExportTasksRequest

DescribeExportTasksResponse

DescribeLimit

  • DescribeLimit integer

DescribeLogGroupsRequest

DescribeLogGroupsResponse

DescribeLogStreamsRequest

DescribeLogStreamsResponse

DescribeMetricFiltersRequest

DescribeMetricFiltersResponse

DescribeResourcePoliciesRequest

DescribeResourcePoliciesResponse

DescribeSubscriptionFiltersRequest

DescribeSubscriptionFiltersResponse

Destination

DestinationArn

  • DestinationArn string

DestinationName

  • DestinationName string

Destinations

DisassociateKmsKeyRequest

  • DisassociateKmsKeyRequest object

Distribution

  • Distribution string (values: Random, ByLogStream): The method used to distribute log data to the destination, which can be either random or grouped by log stream.

EventId

  • EventId string

EventMessage

  • EventMessage string

EventNumber

  • EventNumber integer

EventsLimit

  • EventsLimit integer

ExportDestinationBucket

  • ExportDestinationBucket string

ExportDestinationPrefix

  • ExportDestinationPrefix string

ExportTask

ExportTaskExecutionInfo

  • ExportTaskExecutionInfo object: Represents the status of an export task.

ExportTaskId

  • ExportTaskId string

ExportTaskName

  • ExportTaskName string

ExportTaskStatus

ExportTaskStatusCode

  • ExportTaskStatusCode string (values: CANCELLED, COMPLETED, FAILED, PENDING, PENDING_CANCEL, RUNNING)

ExportTaskStatusMessage

  • ExportTaskStatusMessage string

ExportTasks

ExtractedValues

  • ExtractedValues array

FilterCount

  • FilterCount integer

FilterLogEventsRequest

FilterLogEventsResponse

FilterName

  • FilterName string

FilterPattern

  • FilterPattern string: A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event may contain time stamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.

FilteredLogEvent

FilteredLogEvents

GetLogEventsRequest

GetLogEventsResponse

InputLogEvent

  • InputLogEvent object: Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

InputLogEvents

InputLogStreamNames

Interleaved

  • Interleaved boolean

InvalidOperationException

  • InvalidOperationException object: The operation is not valid on the specified resource.

InvalidParameterException

  • InvalidParameterException object: A parameter is specified incorrectly.

InvalidSequenceTokenException

  • InvalidSequenceTokenException object: The sequence token is not valid.

KmsKeyId

  • KmsKeyId string

LimitExceededException

  • LimitExceededException object: You have reached the maximum number of resources that can be created.

ListTagsLogGroupRequest

  • ListTagsLogGroupRequest object

ListTagsLogGroupResponse

  • ListTagsLogGroupResponse object

LogEventIndex

  • LogEventIndex integer

LogGroup

LogGroupName

  • LogGroupName string

LogGroups

LogStream

LogStreamName

  • LogStreamName string

LogStreamSearchedCompletely

  • LogStreamSearchedCompletely boolean

LogStreams

MetricFilter

MetricFilterMatchRecord

MetricFilterMatches

MetricFilters

MetricName

  • MetricName string: The name of the CloudWatch metric to which the monitored log information should be published. For example, you may publish to a metric called ErrorCount.

MetricNamespace

  • MetricNamespace string

MetricTransformation

  • MetricTransformation object: Indicates how to transform ingested log events in to metric data in a CloudWatch metric.

MetricTransformations

MetricValue

  • MetricValue string: The value to publish to the CloudWatch metric. For example, if you're counting the occurrences of a term like "Error", the value is "1" for each occurrence. If you're counting the bytes transferred, the value is the value in the log event.

NextToken

  • NextToken string: The token for the next set of items to return. The token expires after 24 hours.

OperationAbortedException

  • OperationAbortedException object: Multiple requests to update the same resource were in conflict.

OrderBy

  • OrderBy string (values: LogStreamName, LastEventTime)

OutputLogEvent

OutputLogEvents

PolicyDocument

  • PolicyDocument string

PolicyName

  • PolicyName string

PutDestinationPolicyRequest

PutDestinationRequest

PutDestinationResponse

PutLogEventsRequest

PutLogEventsResponse

PutMetricFilterRequest

PutResourcePolicyRequest

PutResourcePolicyResponse

PutRetentionPolicyRequest

  • PutRetentionPolicyRequest object

PutSubscriptionFilterRequest

RejectedLogEventsInfo

ResourceAlreadyExistsException

  • ResourceAlreadyExistsException object: The specified resource already exists.

ResourceNotFoundException

  • ResourceNotFoundException object: The specified resource does not exist.

ResourcePolicies

ResourcePolicy

  • ResourcePolicy object: A policy enabling one or more entities to put logs to a log group in this account.

RoleArn

  • RoleArn string

SearchedLogStream

SearchedLogStreams

SequenceToken

  • SequenceToken string

ServiceUnavailableException

  • ServiceUnavailableException object: The service cannot complete the request.

StartFromHead

  • StartFromHead boolean

StoredBytes

  • StoredBytes integer

SubscriptionFilter

SubscriptionFilters

TagKey

  • TagKey string

TagList

TagLogGroupRequest

TagValue

  • TagValue string

Tags

TargetArn

  • TargetArn string

TestEventMessages

TestMetricFilterRequest

TestMetricFilterResponse

Timestamp

  • Timestamp integer

Token

  • Token string

UntagLogGroupRequest

Value

  • Value string