@aws-sdk/client-lambda 3.907.0 → 3.908.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +1 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +6 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +15 -15
package/dist-cjs/index.js
CHANGED
|
@@ -48,6 +48,7 @@ declare const AddPermissionCommand_base: {
|
|
|
48
48
|
* RevisionId: "STRING_VALUE",
|
|
49
49
|
* PrincipalOrgID: "STRING_VALUE",
|
|
50
50
|
* FunctionUrlAuthType: "NONE" || "AWS_IAM",
|
|
51
|
+
* InvokedViaFunctionUrl: true || false,
|
|
51
52
|
* };
|
|
52
53
|
* const command = new AddPermissionCommand(input);
|
|
53
54
|
* const response = await client.send(command);
|
|
@@ -78,9 +78,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
78
78
|
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
79
79
|
*
|
|
80
80
|
*
|
|
81
|
-
* @example To
|
|
81
|
+
* @example To view a provisioned concurrency configuration
|
|
82
82
|
* ```javascript
|
|
83
|
-
* // The following example
|
|
83
|
+
* // The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
84
84
|
* const input = {
|
|
85
85
|
* FunctionName: "my-function",
|
|
86
86
|
* Qualifier: "BLUE"
|
|
@@ -98,9 +98,9 @@ declare const GetProvisionedConcurrencyConfigCommand_base: {
|
|
|
98
98
|
* *\/
|
|
99
99
|
* ```
|
|
100
100
|
*
|
|
101
|
-
* @example To
|
|
101
|
+
* @example To get a provisioned concurrency configuration
|
|
102
102
|
* ```javascript
|
|
103
|
-
* // The following example
|
|
103
|
+
* // The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.
|
|
104
104
|
* const input = {
|
|
105
105
|
* FunctionName: "my-function",
|
|
106
106
|
* Qualifier: "BLUE"
|
|
@@ -301,6 +301,11 @@ export interface AddPermissionRequest {
|
|
|
301
301
|
* @public
|
|
302
302
|
*/
|
|
303
303
|
FunctionUrlAuthType?: FunctionUrlAuthType | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* <p>Restricts the <code>lambda:InvokeFunction</code> action to calls coming from a function URL. When set to <code>true</code>, this prevents the principal from invoking the function by any means other than the function URL. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html">Security and auth model for Lambda function URLs</a>.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
InvokedViaFunctionUrl?: boolean | undefined;
|
|
304
309
|
}
|
|
305
310
|
/**
|
|
306
311
|
* @public
|
|
@@ -522,7 +527,7 @@ export type CodeSigningPolicy = (typeof CodeSigningPolicy)[keyof typeof CodeSign
|
|
|
522
527
|
*/
|
|
523
528
|
export interface CodeSigningPolicies {
|
|
524
529
|
/**
|
|
525
|
-
* <p>Code signing configuration policy for deployment validation failure. If you set the policy to <code>Enforce</code>, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to <code>Warn</code>, Lambda allows the deployment and
|
|
530
|
+
* <p>Code signing configuration policy for deployment validation failure. If you set the policy to <code>Enforce</code>, Lambda blocks the deployment request if signature validation checks fail. If you set the policy to <code>Warn</code>, Lambda allows the deployment and issues a new Amazon CloudWatch metric (<code>SignatureValidationErrors</code>) and also stores the warning in the CloudTrail log.</p> <p>Default value: <code>Warn</code> </p>
|
|
526
531
|
* @public
|
|
527
532
|
*/
|
|
528
533
|
UntrustedArtifactOnDeployment?: CodeSigningPolicy | undefined;
|
|
@@ -111,6 +111,7 @@ export interface AddPermissionRequest {
|
|
|
111
111
|
RevisionId?: string | undefined;
|
|
112
112
|
PrincipalOrgID?: string | undefined;
|
|
113
113
|
FunctionUrlAuthType?: FunctionUrlAuthType | undefined;
|
|
114
|
+
InvokedViaFunctionUrl?: boolean | undefined;
|
|
114
115
|
}
|
|
115
116
|
export interface AddPermissionResponse {
|
|
116
117
|
Statement?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.908.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lambda",
|
|
@@ -20,45 +20,45 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.908.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.908.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.901.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.901.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.901.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.908.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.901.0",
|
|
30
30
|
"@aws-sdk/types": "3.901.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.901.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.907.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.908.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.3.0",
|
|
35
|
-
"@smithy/core": "^3.
|
|
35
|
+
"@smithy/core": "^3.15.0",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.2.0",
|
|
37
37
|
"@smithy/eventstream-serde-config-resolver": "^4.3.0",
|
|
38
38
|
"@smithy/eventstream-serde-node": "^4.2.0",
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.1",
|
|
40
40
|
"@smithy/hash-node": "^4.2.0",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.0",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.0",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.3.1",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.1",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.0",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.0",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.0",
|
|
48
48
|
"@smithy/node-http-handler": "^4.3.0",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.0",
|
|
50
|
-
"@smithy/smithy-client": "^4.7.
|
|
50
|
+
"@smithy/smithy-client": "^4.7.1",
|
|
51
51
|
"@smithy/types": "^4.6.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.0",
|
|
53
|
-
"@smithy/util-base64": "^4.
|
|
53
|
+
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.0",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.1",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.0",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.0",
|
|
60
60
|
"@smithy/util-retry": "^4.2.0",
|
|
61
|
-
"@smithy/util-stream": "^4.
|
|
61
|
+
"@smithy/util-stream": "^4.5.0",
|
|
62
62
|
"@smithy/util-utf8": "^4.2.0",
|
|
63
63
|
"@smithy/util-waiter": "^4.2.0",
|
|
64
64
|
"tslib": "^2.6.2"
|