Socket
Socket
Sign inDemoInstall

@aws-sdk/client-lambda

Package Overview
Dependencies
Maintainers
5
Versions
416
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-lambda - npm Package Compare versions

Comparing version 3.635.0 to 3.636.0

6

dist-types/commands/AddPermissionCommand.d.ts

@@ -30,3 +30,3 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization
* <p>Grants an Amazon Web Servicesservice, Amazon Web Services account, or Amazon Web Services organization
* permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict

@@ -38,4 +38,4 @@ * access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name

* permission to an organization defined in Organizations, specify the organization ID as the
* <code>PrincipalOrgID</code>. For Amazon Web Services, the principal is a domain-style identifier that
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Services, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
* <code>PrincipalOrgID</code>. For Amazon Web Servicesservices, the principal is a domain-style identifier that
* the service defines, such as <code>s3.amazonaws.com</code> or <code>sns.amazonaws.com</code>. For Amazon Web Servicesservices, you can also specify the ARN of the associated resource as the <code>SourceArn</code>. If
* you grant permission to a service principal without specifying the source, other accounts could potentially

@@ -42,0 +42,0 @@ * configure resources in their account to invoke your Lambda function.</p>

@@ -214,2 +214,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* },
* KMSKeyArn: "STRING_VALUE",
* };

@@ -286,2 +287,7 @@ * const command = new CreateEventSourceMappingCommand(input);

* // },
* // KMSKeyArn: "STRING_VALUE",
* // FilterCriteriaError: { // FilterCriteriaError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // };

@@ -288,0 +294,0 @@ *

@@ -32,3 +32,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* deployment package is a .zip file archive or container image that contains your function code. The execution role
* grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log
* grants the function permission to use Amazon Web Servicesservices, such as Amazon CloudWatch Logs for log
* streaming and X-Ray for request tracing.</p>

@@ -64,5 +64,5 @@ * <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container

* publishers for this function.</p>
* <p>If another Amazon Web Services account or an Amazon Web Service invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
* <p>If another Amazon Web Services account or an Amazon Web Servicesservice invokes your function, use <a>AddPermission</a> to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.</p>
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
* in other Amazon Web Services, create an event source mapping (<a>CreateEventSourceMapping</a>),
* in other Amazon Web Servicesservices, create an event source mapping (<a>CreateEventSourceMapping</a>),
* or configure a function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Lambda

@@ -69,0 +69,0 @@ * functions</a>.</p>

@@ -113,2 +113,7 @@ import { Command as $Command } from "@smithy/smithy-client";

* // },
* // KMSKeyArn: "STRING_VALUE",
* // FilterCriteriaError: { // FilterCriteriaError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // };

@@ -115,0 +120,0 @@ *

@@ -33,3 +33,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* permissions for <a>DeleteAlias</a>.</p>
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Services and resources that invoke your function
* <p>To delete Lambda event source mappings that invoke a function, use <a>DeleteEventSourceMapping</a>. For Amazon Web Servicesservices and resources that invoke your function
* directly, delete the trigger in the service where you originally configured it.</p>

@@ -36,0 +36,0 @@ * @example

@@ -111,2 +111,7 @@ import { Command as $Command } from "@smithy/smithy-client";

* // },
* // KMSKeyArn: "STRING_VALUE",
* // FilterCriteriaError: { // FilterCriteriaError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // };

@@ -113,0 +118,0 @@ *

@@ -117,2 +117,7 @@ import { Command as $Command } from "@smithy/smithy-client";

* // },
* // KMSKeyArn: "STRING_VALUE",
* // FilterCriteriaError: { // FilterCriteriaError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // },

@@ -119,0 +124,0 @@ * // ],

@@ -30,3 +30,3 @@ import { Command as $Command } from "@smithy/smithy-client";

/**
* <p>Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You
* <p>Revokes function-use permission from an Amazon Web Servicesservice or another Amazon Web Services account. You
* can get the ID of the statement from the output of <a>GetPolicy</a>.</p>

@@ -33,0 +33,0 @@ * @example

@@ -194,2 +194,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* },
* KMSKeyArn: "STRING_VALUE",
* };

@@ -266,2 +267,7 @@ * const command = new UpdateEventSourceMappingCommand(input);

* // },
* // KMSKeyArn: "STRING_VALUE",
* // FilterCriteriaError: { // FilterCriteriaError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // };

@@ -268,0 +274,0 @@ *

@@ -41,3 +41,3 @@ import { Command as $Command } from "@smithy/smithy-client";

* <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions
* to an Amazon Web Services account or Amazon Web Service, use <a>AddPermission</a>.</p>
* to an Amazon Web Services account or Amazon Web Servicesservice, use <a>AddPermission</a>.</p>
* @example

@@ -44,0 +44,0 @@ * Use a bare-bones client and the command you need to make an API call.

@@ -273,3 +273,8 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";

DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
KMSKeyArn?: string;
}
export interface FilterCriteriaError {
ErrorCode?: string;
Message?: string;
}
export interface EventSourceMappingConfiguration {

@@ -303,2 +308,4 @@ UUID?: string;

DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
KMSKeyArn?: string;
FilterCriteriaError?: FilterCriteriaError;
}

@@ -1485,2 +1492,3 @@ export declare class CodeSigningConfigNotFoundException extends __BaseException {

DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig;
KMSKeyArn?: string;
}

@@ -1487,0 +1495,0 @@ export interface UpdateFunctionCodeRequest {

{
"name": "@aws-sdk/client-lambda",
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
"version": "3.635.0",
"version": "3.636.0",
"scripts": {

@@ -6,0 +6,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

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

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