Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serverless/platform-client

Package Overview
Dependencies
Maintainers
7
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/platform-client - npm Package Compare versions

Comparing version 3.9.1 to 3.9.2

src/logDestinations.js

2

package.json
{
"name": "@serverless/platform-client",
"version": "3.9.1",
"version": "3.9.2",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "jsdelivr": "dist-web/serverless-platform-client.min.js",

@@ -45,3 +45,3 @@ 'use strict';

: null;
options.filter.events = (options.filter.events || ['*']).join(',');
options.filter.events = options.filter.events || ['*'];

@@ -48,0 +48,0 @@ // Add data to a query param

@@ -19,2 +19,3 @@ 'use strict';

const utils = require('./utils');
const logDestinations = require('./logDestinations');

@@ -606,2 +607,42 @@ /**

};
/**
* Manage Log Destinations for your Organization
* @namespace
*/
this.logDestinations = {
/**
* Get or Create Log Destination
*
* @param {string} orgUid The UID of the Serverless Organization to create the Log Destination for.
* @param {string} appUid The UID of the Serverless Application to create the Log Destination for.
* @param {string} serviceName The name of the Serverless Service to create the Log Destination for.
* @param {string} stageName The name of the Serverless Service Stage to create the Log Destination for.
* @param {string} regionName The name of the AWS Region to create the Log Destination for.
* @param {string} accountId The ID of the AWS Account to create the Log Destination for.
* @returns {Promise<object>}
*/
getOrCreate: async (orgUid, appUid, serviceName, stageName, regionName, accountId) =>
logDestinations.getOrCreate(
this,
orgUid,
appUid,
serviceName,
stageName,
regionName,
accountId
),
/**
* Remove Log Destination
*
* @param {string} orgUid The UID of the Serverless Organization to remove the Log Destination from.
* @param {string} appUid The UID of the Serverless Application to remove the Log Destination from.
* @param {string} serviceName The name of the Serverless Service to remove the Log Destination from.
* @param {string} stageName The name of the Serverless Service Stage to remove the Log Destination from.
* @param {string} regionName The name of the AWS Region to remove the Log Destination from.
* @returns {Promise<object>}
*/
remove: async (orgUid, appUid, serviceName, stageName, regionName) =>
logDestinations.remove(this, orgUid, appUid, serviceName, stageName, regionName),
};
}

@@ -608,0 +649,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc