get and store last run time in ssm

This commit is contained in:
2023-11-24 09:36:37 -05:00
parent efb6c7f143
commit 3ffaaa3412
1172 changed files with 94979 additions and 43814 deletions
+6 -2
View File
@@ -1,6 +1,6 @@
setup: setup:
export EAGER_SERVICE_LOADING=1 \ export EAGER_SERVICE_LOADING=1 \
SERVICES=sqs \ SERVICES=lambda,ssm \
AWS_ACCESS_KEY_ID=test \ AWS_ACCESS_KEY_ID=test \
AWS_SECRET_ACCESS_KEY=test AWS_SECRET_ACCESS_KEY=test
dockerd & dockerd &
@@ -14,6 +14,10 @@ setup:
--handler index.handler \ --handler index.handler \
--role arn:aws:iam::000000000000:role/lambda-role \ --role arn:aws:iam::000000000000:role/lambda-role \
--region us-east-1 --region us-east-1
awslocal ssm put-parameter \
--name /rss-nostr-lambda/last-run-time \
--value "2023-11-23T00:00:00Z" \
--overwrite
rm handler.zip rm handler.zip
invoke: invoke:
@@ -21,7 +25,7 @@ invoke:
--region us-east-1 \ --region us-east-1 \
--function-name rss-nostr-lambda \ --function-name rss-nostr-lambda \
--cli-binary-format raw-in-base64-out \ --cli-binary-format raw-in-base64-out \
--payload '{"feedUrl":"https://nitter.1d4.us/culturaltutor/rss","nostrNsec":"nsec1wp68lflspznnmelmjh5ktflyv6c4ljf8xrlkey0w8yqr4305awcs8wyakj","since":"2023-11-23T00:00:00Z"}' \ --payload '{"feedUrl":"https://nitter.1d4.us/culturaltutor/rss","nostrNsec":"nsec1wp68lflspznnmelmjh5ktflyv6c4ljf8xrlkey0w8yqr4305awcs8wyakj","lastRunTimeParam":"/rss-nostr-lambda/last-run-time"}' \
response.json response.json
recreate: recreate:
+39 -8
View File
@@ -1,4 +1,5 @@
import 'websocket-polyfill' import 'websocket-polyfill'
import { SSMClient, GetParameterCommand, PutParameterCommand } from '@aws-sdk/client-ssm'
import { extract } from '@extractus/feed-extractor' import { extract } from '@extractus/feed-extractor'
import NDK, { NDKEvent, NDKPrivateKeySigner } from '@nostr-dev-kit/ndk' import NDK, { NDKEvent, NDKPrivateKeySigner } from '@nostr-dev-kit/ndk'
import bech32 from 'bech32-buffer' import bech32 from 'bech32-buffer'
@@ -17,7 +18,30 @@ export const handler = async (event) => {
const region = process.env.AWS_REGION || "us-east-1" const region = process.env.AWS_REGION || "us-east-1"
const feed = event.feedUrl const feed = event.feedUrl
const privkey = toHexString(event.nostrNsec) const privkey = toHexString(event.nostrNsec)
const since = event.since const lastRunTimeParam = event.lastRunTimeParam
let response = {
totalItems: 0,
successes: 0,
errors: []
}
const ssmClient = new SSMClient({ region })
const params = {
Name: lastRunTimeParam
}
const ssmGetCommand = new GetParameterCommand(params);
let since = ""
ssmClient.send(ssmGetCommand)
.then(data => {
since = data.Parameter.Value
}).catch(err => {
console.error(err)
response.errors.push(err)
return response
})
if (feed === "") { if (feed === "") {
console.error("feedUrl was not set.") console.error("feedUrl was not set.")
@@ -26,13 +50,7 @@ export const handler = async (event) => {
body: "feedUrl must be provided in payload." body: "feedUrl must be provided in payload."
} }
} }
let response = {
totalItems: 0,
successes: 0,
errors: []
}
const ndk = new NDK({ const ndk = new NDK({
signer: new NDKPrivateKeySigner(privkey), signer: new NDKPrivateKeySigner(privkey),
explicitRelayUrls: [ explicitRelayUrls: [
@@ -80,6 +98,19 @@ export const handler = async (event) => {
} }
} }
params.Name = lastRunTimeParam
params.Value = new Date().toISOString()
params.Type = "String"
params.Overwrite = true
const ssmPutCommand = new PutParameterCommand(params)
ssmClient.send(ssmPutCommand)
.catch(err => {
console.error(err)
response.errors.push(err)
return response
})
return response return response
} }
+5 -59
View File
@@ -95,10 +95,10 @@
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
"integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
}, },
"node_modules/@aws-sdk/client-lambda": { "node_modules/@aws-sdk/client-ssm": {
"version": "3.454.0", "version": "3.454.0",
"resolved": "https://registry.npmjs.org/@aws-sdk/client-lambda/-/client-lambda-3.454.0.tgz", "resolved": "https://registry.npmjs.org/@aws-sdk/client-ssm/-/client-ssm-3.454.0.tgz",
"integrity": "sha512-nYak+ojl0H0AG0WTF2894npak4Uj2slBr09+3lBUz4rwPol93TsUHy8/5GfGLcqPMNnEKOknc4jioJOK7cb2Pw==", "integrity": "sha512-Vrf93hOzB4FAUpkGHvKywZ0yOVbghS0KbCsnlN1Mka780zmyc185YXGYSLv6B+yrI2tMj0cBvEad3M0qk69qVw==",
"dependencies": { "dependencies": {
"@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-browser": "3.0.0",
"@aws-crypto/sha256-js": "3.0.0", "@aws-crypto/sha256-js": "3.0.0",
@@ -116,9 +116,6 @@
"@aws-sdk/util-user-agent-browser": "3.451.0", "@aws-sdk/util-user-agent-browser": "3.451.0",
"@aws-sdk/util-user-agent-node": "3.451.0", "@aws-sdk/util-user-agent-node": "3.451.0",
"@smithy/config-resolver": "^2.0.18", "@smithy/config-resolver": "^2.0.18",
"@smithy/eventstream-serde-browser": "^2.0.13",
"@smithy/eventstream-serde-config-resolver": "^2.0.13",
"@smithy/eventstream-serde-node": "^2.0.13",
"@smithy/fetch-http-handler": "^2.2.6", "@smithy/fetch-http-handler": "^2.2.6",
"@smithy/hash-node": "^2.0.15", "@smithy/hash-node": "^2.0.15",
"@smithy/invalid-dependency": "^2.0.13", "@smithy/invalid-dependency": "^2.0.13",
@@ -140,10 +137,10 @@
"@smithy/util-defaults-mode-node": "^2.0.25", "@smithy/util-defaults-mode-node": "^2.0.25",
"@smithy/util-endpoints": "^1.0.4", "@smithy/util-endpoints": "^1.0.4",
"@smithy/util-retry": "^2.0.6", "@smithy/util-retry": "^2.0.6",
"@smithy/util-stream": "^2.0.20",
"@smithy/util-utf8": "^2.0.2", "@smithy/util-utf8": "^2.0.2",
"@smithy/util-waiter": "^2.0.13", "@smithy/util-waiter": "^2.0.13",
"tslib": "^2.5.0" "tslib": "^2.5.0",
"uuid": "^8.3.2"
}, },
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
@@ -792,57 +789,6 @@
"tslib": "^2.5.0" "tslib": "^2.5.0"
} }
}, },
"node_modules/@smithy/eventstream-serde-browser": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.14.tgz",
"integrity": "sha512-41wmYE9smDGJi1ZXp+LogH6BR7MkSsQD91wneIFISF/mupKULvoOJUkv/Nf0NMRxWlM3Bf1Vvi9FlR2oV4KU8Q==",
"dependencies": {
"@smithy/eventstream-serde-universal": "^2.0.14",
"@smithy/types": "^2.6.0",
"tslib": "^2.5.0"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@smithy/eventstream-serde-config-resolver": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.14.tgz",
"integrity": "sha512-43IyRIzQ82s+5X+t/3Ood00CcWtAXQdmUIUKMed2Qg9REPk8SVIHhpm3rwewLwg+3G2Nh8NOxXlEQu6DsPUcMw==",
"dependencies": {
"@smithy/types": "^2.6.0",
"tslib": "^2.5.0"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@smithy/eventstream-serde-node": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.14.tgz",
"integrity": "sha512-jVh9E2qAr6DxH5tWfCAl9HV6tI0pEQ3JVmu85JknDvYTC66djcjDdhctPV2EHuKWf2kjRiFJcMIn0eercW4THA==",
"dependencies": {
"@smithy/eventstream-serde-universal": "^2.0.14",
"@smithy/types": "^2.6.0",
"tslib": "^2.5.0"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@smithy/eventstream-serde-universal": {
"version": "2.0.14",
"resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.14.tgz",
"integrity": "sha512-Ie35+AISNn1NmEjn5b2SchIE49pvKp4Q74bE9ME5RULWI1MgXyGkQUajWd5E6OBSr/sqGcs+rD3IjPErXnCm9g==",
"dependencies": {
"@smithy/eventstream-codec": "^2.0.14",
"@smithy/types": "^2.6.0",
"tslib": "^2.5.0"
},
"engines": {
"node": ">=14.0.0"
}
},
"node_modules/@smithy/fetch-http-handler": { "node_modules/@smithy/fetch-http-handler": {
"version": "2.2.7", "version": "2.2.7",
"resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.2.7.tgz", "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.2.7.tgz",
-798
View File
@@ -1,798 +0,0 @@
<!-- generated file, do not edit directly -->
# @aws-sdk/client-lambda
## Description
AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native.
<fullname>Lambda</fullname>
<p>
<b>Overview</b>
</p>
<p>Lambda is a compute service that lets you run code without provisioning or managing servers.
Lambda runs your code on a high-availability compute infrastructure and performs all of the
administration of the compute resources, including server and operating system maintenance, capacity provisioning
and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any
type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p>
<p>The <i>Lambda API Reference</i> provides information about
each of the API methods, including details about the parameters in each API request and
response. </p>
<p></p>
<p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command
line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
Amazon Web Services</a>. </p>
<p>For a list of Region-specific endpoints that Lambda supports,
see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda
endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
<p>When making the API calls, you will need to
authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the
<i>Amazon Web Services General Reference.</i>. </p>
<p>
<b>CA certificates</b>
</p>
<p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers
can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your
computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate
environment and do not manage your own computer, you might need to ask an administrator to assist with the
update process. The following list shows minimum operating system and Java versions:</p>
<ul>
<li>
<p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one
of the required CAs in their trust list. </p>
</li>
<li>
<p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and
later versions contain at least one of the required CAs in their trust list. </p>
</li>
<li>
<p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the
required CAs in their default trusted CA list. </p>
</li>
<li>
<p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December
2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p>
</li>
</ul>
<p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or
programmatically, you will need to ensure your client machines support any of the following CAs: </p>
<ul>
<li>
<p>Amazon Root CA 1</p>
</li>
<li>
<p>Starfield Services Root Certificate Authority - G2</p>
</li>
<li>
<p>Starfield Class 2 Certification Authority</p>
</li>
</ul>
<p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer
up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a>
</p>
## Installing
To install the this package, simply type add or install @aws-sdk/client-lambda
using your favorite package manager:
- `npm install @aws-sdk/client-lambda`
- `yarn add @aws-sdk/client-lambda`
- `pnpm add @aws-sdk/client-lambda`
## Getting Started
### Import
The AWS SDK is modulized by clients and commands.
To send a request, you only need to import the `LambdaClient` and
the commands you need, for example `ListLayersCommand`:
```js
// ES5 example
const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda");
```
```ts
// ES6+ example
import { LambdaClient, ListLayersCommand } from "@aws-sdk/client-lambda";
```
### Usage
To send a request, you:
- Initiate client with configuration (e.g. credentials, region).
- Initiate command with input parameters.
- Call `send` operation on client with command object as input.
- If you are using a custom http handler, you may call `destroy()` to close open connections.
```js
// a client can be shared by different commands.
const client = new LambdaClient({ region: "REGION" });
const params = {
/** input parameters */
};
const command = new ListLayersCommand(params);
```
#### Async/await
We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)
operator to wait for the promise returned by send operation as follows:
```js
// async/await.
try {
const data = await client.send(command);
// process data.
} catch (error) {
// error handling.
} finally {
// finally.
}
```
Async-await is clean, concise, intuitive, easy to debug and has better error handling
as compared to using Promise chains or callbacks.
#### Promises
You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining)
to execute send operation.
```js
client.send(command).then(
(data) => {
// process data.
},
(error) => {
// error handling.
}
);
```
Promises can also be called using `.catch()` and `.finally()` as follows:
```js
client
.send(command)
.then((data) => {
// process data.
})
.catch((error) => {
// error handling.
})
.finally(() => {
// finally.
});
```
#### Callbacks
We do not recommend using callbacks because of [callback hell](http://callbackhell.com/),
but they are supported by the send operation.
```js
// callbacks.
client.send(command, (err, data) => {
// process err and data.
});
```
#### v2 compatible style
The client can also send requests using v2 compatible style.
However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post
on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/)
```ts
import * as AWS from "@aws-sdk/client-lambda";
const client = new AWS.Lambda({ region: "REGION" });
// async/await.
try {
const data = await client.listLayers(params);
// process data.
} catch (error) {
// error handling.
}
// Promises.
client
.listLayers(params)
.then((data) => {
// process data.
})
.catch((error) => {
// error handling.
});
// callbacks.
client.listLayers(params, (err, data) => {
// process err and data.
});
```
### Troubleshooting
When the service returns an exception, the error will include the exception information,
as well as response metadata (e.g. request id).
```js
try {
const data = await client.send(command);
// process data.
} catch (error) {
const { requestId, cfId, extendedRequestId } = error.$metadata;
console.log({ requestId, cfId, extendedRequestId });
/**
* The keys within exceptions are also parsed.
* You can access them by specifying exception names:
* if (error.name === 'SomeServiceException') {
* const value = error.specialKeyInException;
* }
*/
}
```
## Getting Help
Please use these community resources for getting help.
We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them.
- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html)
or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html).
- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/)
on AWS Developer Blog.
- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`.
- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3).
- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose).
To test your universal JavaScript code in Node.js, browser and react-native environments,
visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests).
## Contributing
This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-lambda` package is updated.
To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients).
## License
This SDK is distributed under the
[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),
see LICENSE for more information.
## Client Commands (Operations List)
<details>
<summary>
AddLayerVersionPermission
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/addlayerversionpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addlayerversionpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addlayerversionpermissioncommandoutput.html)
</details>
<details>
<summary>
AddPermission
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/addpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addpermissioncommandoutput.html)
</details>
<details>
<summary>
CreateAlias
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createaliascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createaliascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createaliascommandoutput.html)
</details>
<details>
<summary>
CreateCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createcodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createcodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createcodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
CreateEventSourceMapping
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createeventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createeventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createeventsourcemappingcommandoutput.html)
</details>
<details>
<summary>
CreateFunction
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createfunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctioncommandoutput.html)
</details>
<details>
<summary>
CreateFunctionUrlConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createfunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctionurlconfigcommandoutput.html)
</details>
<details>
<summary>
DeleteAlias
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletealiascommandoutput.html)
</details>
<details>
<summary>
DeleteCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletecodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletecodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletecodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
DeleteEventSourceMapping
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deleteeventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteeventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteeventsourcemappingcommandoutput.html)
</details>
<details>
<summary>
DeleteFunction
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncommandoutput.html)
</details>
<details>
<summary>
DeleteFunctionCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctioncodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
DeleteFunctionConcurrency
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctionconcurrencycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionconcurrencycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionconcurrencycommandoutput.html)
</details>
<details>
<summary>
DeleteFunctionEventInvokeConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioneventinvokeconfigcommandoutput.html)
</details>
<details>
<summary>
DeleteFunctionUrlConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionurlconfigcommandoutput.html)
</details>
<details>
<summary>
DeleteLayerVersion
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletelayerversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletelayerversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletelayerversioncommandoutput.html)
</details>
<details>
<summary>
DeleteProvisionedConcurrencyConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deleteprovisionedconcurrencyconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteprovisionedconcurrencyconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteprovisionedconcurrencyconfigcommandoutput.html)
</details>
<details>
<summary>
GetAccountSettings
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getaccountsettingscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaccountsettingscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaccountsettingscommandoutput.html)
</details>
<details>
<summary>
GetAlias
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getaliascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaliascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaliascommandoutput.html)
</details>
<details>
<summary>
GetCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getcodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getcodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getcodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
GetEventSourceMapping
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/geteventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/geteventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/geteventsourcemappingcommandoutput.html)
</details>
<details>
<summary>
GetFunction
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncommandoutput.html)
</details>
<details>
<summary>
GetFunctionCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctioncodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
GetFunctionConcurrency
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctionconcurrencycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconcurrencycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconcurrencycommandoutput.html)
</details>
<details>
<summary>
GetFunctionConfiguration
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconfigurationcommandoutput.html)
</details>
<details>
<summary>
GetFunctionEventInvokeConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioneventinvokeconfigcommandoutput.html)
</details>
<details>
<summary>
GetFunctionUrlConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionurlconfigcommandoutput.html)
</details>
<details>
<summary>
GetLayerVersion
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getlayerversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversioncommandoutput.html)
</details>
<details>
<summary>
GetLayerVersionByArn
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getlayerversionbyarncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionbyarncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionbyarncommandoutput.html)
</details>
<details>
<summary>
GetLayerVersionPolicy
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getlayerversionpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionpolicycommandoutput.html)
</details>
<details>
<summary>
GetPolicy
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getpolicycommandoutput.html)
</details>
<details>
<summary>
GetProvisionedConcurrencyConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getprovisionedconcurrencyconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getprovisionedconcurrencyconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getprovisionedconcurrencyconfigcommandoutput.html)
</details>
<details>
<summary>
GetRuntimeManagementConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getruntimemanagementconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getruntimemanagementconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getruntimemanagementconfigcommandoutput.html)
</details>
<details>
<summary>
Invoke
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokecommandoutput.html)
</details>
<details>
<summary>
InvokeAsync
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokeasynccommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokeasynccommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokeasynccommandoutput.html)
</details>
<details>
<summary>
InvokeWithResponseStream
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokewithresponsestreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokewithresponsestreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokewithresponsestreamcommandoutput.html)
</details>
<details>
<summary>
ListAliases
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listaliasescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listaliasescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listaliasescommandoutput.html)
</details>
<details>
<summary>
ListCodeSigningConfigs
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listcodesigningconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listcodesigningconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listcodesigningconfigscommandoutput.html)
</details>
<details>
<summary>
ListEventSourceMappings
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listeventsourcemappingscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listeventsourcemappingscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listeventsourcemappingscommandoutput.html)
</details>
<details>
<summary>
ListFunctionEventInvokeConfigs
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctioneventinvokeconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctioneventinvokeconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctioneventinvokeconfigscommandoutput.html)
</details>
<details>
<summary>
ListFunctions
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionscommandoutput.html)
</details>
<details>
<summary>
ListFunctionsByCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctionsbycodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionsbycodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionsbycodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
ListFunctionUrlConfigs
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctionurlconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionurlconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionurlconfigscommandoutput.html)
</details>
<details>
<summary>
ListLayers
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listlayerscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerscommandoutput.html)
</details>
<details>
<summary>
ListLayerVersions
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listlayerversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerversionscommandoutput.html)
</details>
<details>
<summary>
ListProvisionedConcurrencyConfigs
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listprovisionedconcurrencyconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listprovisionedconcurrencyconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listprovisionedconcurrencyconfigscommandoutput.html)
</details>
<details>
<summary>
ListTags
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listtagscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listtagscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listtagscommandoutput.html)
</details>
<details>
<summary>
ListVersionsByFunction
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listversionsbyfunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listversionsbyfunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listversionsbyfunctioncommandoutput.html)
</details>
<details>
<summary>
PublishLayerVersion
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/publishlayerversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishlayerversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishlayerversioncommandoutput.html)
</details>
<details>
<summary>
PublishVersion
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/publishversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishversioncommandoutput.html)
</details>
<details>
<summary>
PutFunctionCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putfunctioncodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioncodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioncodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
PutFunctionConcurrency
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putfunctionconcurrencycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctionconcurrencycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctionconcurrencycommandoutput.html)
</details>
<details>
<summary>
PutFunctionEventInvokeConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putfunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioneventinvokeconfigcommandoutput.html)
</details>
<details>
<summary>
PutProvisionedConcurrencyConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putprovisionedconcurrencyconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putprovisionedconcurrencyconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putprovisionedconcurrencyconfigcommandoutput.html)
</details>
<details>
<summary>
PutRuntimeManagementConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putruntimemanagementconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putruntimemanagementconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putruntimemanagementconfigcommandoutput.html)
</details>
<details>
<summary>
RemoveLayerVersionPermission
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/removelayerversionpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removelayerversionpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removelayerversionpermissioncommandoutput.html)
</details>
<details>
<summary>
RemovePermission
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/removepermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removepermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removepermissioncommandoutput.html)
</details>
<details>
<summary>
TagResource
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/tagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/tagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/tagresourcecommandoutput.html)
</details>
<details>
<summary>
UntagResource
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/untagresourcecommandoutput.html)
</details>
<details>
<summary>
UpdateAlias
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatealiascommandoutput.html)
</details>
<details>
<summary>
UpdateCodeSigningConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatecodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatecodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatecodesigningconfigcommandoutput.html)
</details>
<details>
<summary>
UpdateEventSourceMapping
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updateeventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updateeventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updateeventsourcemappingcommandoutput.html)
</details>
<details>
<summary>
UpdateFunctionCode
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctioncodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioncodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioncodecommandoutput.html)
</details>
<details>
<summary>
UpdateFunctionConfiguration
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionconfigurationcommandoutput.html)
</details>
<details>
<summary>
UpdateFunctionEventInvokeConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioneventinvokeconfigcommandoutput.html)
</details>
<details>
<summary>
UpdateFunctionUrlConfig
</summary>
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionurlconfigcommandoutput.html)
</details>
-143
View File
@@ -1,143 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Lambda = void 0;
const smithy_client_1 = require("@smithy/smithy-client");
const AddLayerVersionPermissionCommand_1 = require("./commands/AddLayerVersionPermissionCommand");
const AddPermissionCommand_1 = require("./commands/AddPermissionCommand");
const CreateAliasCommand_1 = require("./commands/CreateAliasCommand");
const CreateCodeSigningConfigCommand_1 = require("./commands/CreateCodeSigningConfigCommand");
const CreateEventSourceMappingCommand_1 = require("./commands/CreateEventSourceMappingCommand");
const CreateFunctionCommand_1 = require("./commands/CreateFunctionCommand");
const CreateFunctionUrlConfigCommand_1 = require("./commands/CreateFunctionUrlConfigCommand");
const DeleteAliasCommand_1 = require("./commands/DeleteAliasCommand");
const DeleteCodeSigningConfigCommand_1 = require("./commands/DeleteCodeSigningConfigCommand");
const DeleteEventSourceMappingCommand_1 = require("./commands/DeleteEventSourceMappingCommand");
const DeleteFunctionCodeSigningConfigCommand_1 = require("./commands/DeleteFunctionCodeSigningConfigCommand");
const DeleteFunctionCommand_1 = require("./commands/DeleteFunctionCommand");
const DeleteFunctionConcurrencyCommand_1 = require("./commands/DeleteFunctionConcurrencyCommand");
const DeleteFunctionEventInvokeConfigCommand_1 = require("./commands/DeleteFunctionEventInvokeConfigCommand");
const DeleteFunctionUrlConfigCommand_1 = require("./commands/DeleteFunctionUrlConfigCommand");
const DeleteLayerVersionCommand_1 = require("./commands/DeleteLayerVersionCommand");
const DeleteProvisionedConcurrencyConfigCommand_1 = require("./commands/DeleteProvisionedConcurrencyConfigCommand");
const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand");
const GetAliasCommand_1 = require("./commands/GetAliasCommand");
const GetCodeSigningConfigCommand_1 = require("./commands/GetCodeSigningConfigCommand");
const GetEventSourceMappingCommand_1 = require("./commands/GetEventSourceMappingCommand");
const GetFunctionCodeSigningConfigCommand_1 = require("./commands/GetFunctionCodeSigningConfigCommand");
const GetFunctionCommand_1 = require("./commands/GetFunctionCommand");
const GetFunctionConcurrencyCommand_1 = require("./commands/GetFunctionConcurrencyCommand");
const GetFunctionConfigurationCommand_1 = require("./commands/GetFunctionConfigurationCommand");
const GetFunctionEventInvokeConfigCommand_1 = require("./commands/GetFunctionEventInvokeConfigCommand");
const GetFunctionUrlConfigCommand_1 = require("./commands/GetFunctionUrlConfigCommand");
const GetLayerVersionByArnCommand_1 = require("./commands/GetLayerVersionByArnCommand");
const GetLayerVersionCommand_1 = require("./commands/GetLayerVersionCommand");
const GetLayerVersionPolicyCommand_1 = require("./commands/GetLayerVersionPolicyCommand");
const GetPolicyCommand_1 = require("./commands/GetPolicyCommand");
const GetProvisionedConcurrencyConfigCommand_1 = require("./commands/GetProvisionedConcurrencyConfigCommand");
const GetRuntimeManagementConfigCommand_1 = require("./commands/GetRuntimeManagementConfigCommand");
const InvokeAsyncCommand_1 = require("./commands/InvokeAsyncCommand");
const InvokeCommand_1 = require("./commands/InvokeCommand");
const InvokeWithResponseStreamCommand_1 = require("./commands/InvokeWithResponseStreamCommand");
const ListAliasesCommand_1 = require("./commands/ListAliasesCommand");
const ListCodeSigningConfigsCommand_1 = require("./commands/ListCodeSigningConfigsCommand");
const ListEventSourceMappingsCommand_1 = require("./commands/ListEventSourceMappingsCommand");
const ListFunctionEventInvokeConfigsCommand_1 = require("./commands/ListFunctionEventInvokeConfigsCommand");
const ListFunctionsByCodeSigningConfigCommand_1 = require("./commands/ListFunctionsByCodeSigningConfigCommand");
const ListFunctionsCommand_1 = require("./commands/ListFunctionsCommand");
const ListFunctionUrlConfigsCommand_1 = require("./commands/ListFunctionUrlConfigsCommand");
const ListLayersCommand_1 = require("./commands/ListLayersCommand");
const ListLayerVersionsCommand_1 = require("./commands/ListLayerVersionsCommand");
const ListProvisionedConcurrencyConfigsCommand_1 = require("./commands/ListProvisionedConcurrencyConfigsCommand");
const ListTagsCommand_1 = require("./commands/ListTagsCommand");
const ListVersionsByFunctionCommand_1 = require("./commands/ListVersionsByFunctionCommand");
const PublishLayerVersionCommand_1 = require("./commands/PublishLayerVersionCommand");
const PublishVersionCommand_1 = require("./commands/PublishVersionCommand");
const PutFunctionCodeSigningConfigCommand_1 = require("./commands/PutFunctionCodeSigningConfigCommand");
const PutFunctionConcurrencyCommand_1 = require("./commands/PutFunctionConcurrencyCommand");
const PutFunctionEventInvokeConfigCommand_1 = require("./commands/PutFunctionEventInvokeConfigCommand");
const PutProvisionedConcurrencyConfigCommand_1 = require("./commands/PutProvisionedConcurrencyConfigCommand");
const PutRuntimeManagementConfigCommand_1 = require("./commands/PutRuntimeManagementConfigCommand");
const RemoveLayerVersionPermissionCommand_1 = require("./commands/RemoveLayerVersionPermissionCommand");
const RemovePermissionCommand_1 = require("./commands/RemovePermissionCommand");
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
const UpdateAliasCommand_1 = require("./commands/UpdateAliasCommand");
const UpdateCodeSigningConfigCommand_1 = require("./commands/UpdateCodeSigningConfigCommand");
const UpdateEventSourceMappingCommand_1 = require("./commands/UpdateEventSourceMappingCommand");
const UpdateFunctionCodeCommand_1 = require("./commands/UpdateFunctionCodeCommand");
const UpdateFunctionConfigurationCommand_1 = require("./commands/UpdateFunctionConfigurationCommand");
const UpdateFunctionEventInvokeConfigCommand_1 = require("./commands/UpdateFunctionEventInvokeConfigCommand");
const UpdateFunctionUrlConfigCommand_1 = require("./commands/UpdateFunctionUrlConfigCommand");
const LambdaClient_1 = require("./LambdaClient");
const commands = {
AddLayerVersionPermissionCommand: AddLayerVersionPermissionCommand_1.AddLayerVersionPermissionCommand,
AddPermissionCommand: AddPermissionCommand_1.AddPermissionCommand,
CreateAliasCommand: CreateAliasCommand_1.CreateAliasCommand,
CreateCodeSigningConfigCommand: CreateCodeSigningConfigCommand_1.CreateCodeSigningConfigCommand,
CreateEventSourceMappingCommand: CreateEventSourceMappingCommand_1.CreateEventSourceMappingCommand,
CreateFunctionCommand: CreateFunctionCommand_1.CreateFunctionCommand,
CreateFunctionUrlConfigCommand: CreateFunctionUrlConfigCommand_1.CreateFunctionUrlConfigCommand,
DeleteAliasCommand: DeleteAliasCommand_1.DeleteAliasCommand,
DeleteCodeSigningConfigCommand: DeleteCodeSigningConfigCommand_1.DeleteCodeSigningConfigCommand,
DeleteEventSourceMappingCommand: DeleteEventSourceMappingCommand_1.DeleteEventSourceMappingCommand,
DeleteFunctionCommand: DeleteFunctionCommand_1.DeleteFunctionCommand,
DeleteFunctionCodeSigningConfigCommand: DeleteFunctionCodeSigningConfigCommand_1.DeleteFunctionCodeSigningConfigCommand,
DeleteFunctionConcurrencyCommand: DeleteFunctionConcurrencyCommand_1.DeleteFunctionConcurrencyCommand,
DeleteFunctionEventInvokeConfigCommand: DeleteFunctionEventInvokeConfigCommand_1.DeleteFunctionEventInvokeConfigCommand,
DeleteFunctionUrlConfigCommand: DeleteFunctionUrlConfigCommand_1.DeleteFunctionUrlConfigCommand,
DeleteLayerVersionCommand: DeleteLayerVersionCommand_1.DeleteLayerVersionCommand,
DeleteProvisionedConcurrencyConfigCommand: DeleteProvisionedConcurrencyConfigCommand_1.DeleteProvisionedConcurrencyConfigCommand,
GetAccountSettingsCommand: GetAccountSettingsCommand_1.GetAccountSettingsCommand,
GetAliasCommand: GetAliasCommand_1.GetAliasCommand,
GetCodeSigningConfigCommand: GetCodeSigningConfigCommand_1.GetCodeSigningConfigCommand,
GetEventSourceMappingCommand: GetEventSourceMappingCommand_1.GetEventSourceMappingCommand,
GetFunctionCommand: GetFunctionCommand_1.GetFunctionCommand,
GetFunctionCodeSigningConfigCommand: GetFunctionCodeSigningConfigCommand_1.GetFunctionCodeSigningConfigCommand,
GetFunctionConcurrencyCommand: GetFunctionConcurrencyCommand_1.GetFunctionConcurrencyCommand,
GetFunctionConfigurationCommand: GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand,
GetFunctionEventInvokeConfigCommand: GetFunctionEventInvokeConfigCommand_1.GetFunctionEventInvokeConfigCommand,
GetFunctionUrlConfigCommand: GetFunctionUrlConfigCommand_1.GetFunctionUrlConfigCommand,
GetLayerVersionCommand: GetLayerVersionCommand_1.GetLayerVersionCommand,
GetLayerVersionByArnCommand: GetLayerVersionByArnCommand_1.GetLayerVersionByArnCommand,
GetLayerVersionPolicyCommand: GetLayerVersionPolicyCommand_1.GetLayerVersionPolicyCommand,
GetPolicyCommand: GetPolicyCommand_1.GetPolicyCommand,
GetProvisionedConcurrencyConfigCommand: GetProvisionedConcurrencyConfigCommand_1.GetProvisionedConcurrencyConfigCommand,
GetRuntimeManagementConfigCommand: GetRuntimeManagementConfigCommand_1.GetRuntimeManagementConfigCommand,
InvokeCommand: InvokeCommand_1.InvokeCommand,
InvokeAsyncCommand: InvokeAsyncCommand_1.InvokeAsyncCommand,
InvokeWithResponseStreamCommand: InvokeWithResponseStreamCommand_1.InvokeWithResponseStreamCommand,
ListAliasesCommand: ListAliasesCommand_1.ListAliasesCommand,
ListCodeSigningConfigsCommand: ListCodeSigningConfigsCommand_1.ListCodeSigningConfigsCommand,
ListEventSourceMappingsCommand: ListEventSourceMappingsCommand_1.ListEventSourceMappingsCommand,
ListFunctionEventInvokeConfigsCommand: ListFunctionEventInvokeConfigsCommand_1.ListFunctionEventInvokeConfigsCommand,
ListFunctionsCommand: ListFunctionsCommand_1.ListFunctionsCommand,
ListFunctionsByCodeSigningConfigCommand: ListFunctionsByCodeSigningConfigCommand_1.ListFunctionsByCodeSigningConfigCommand,
ListFunctionUrlConfigsCommand: ListFunctionUrlConfigsCommand_1.ListFunctionUrlConfigsCommand,
ListLayersCommand: ListLayersCommand_1.ListLayersCommand,
ListLayerVersionsCommand: ListLayerVersionsCommand_1.ListLayerVersionsCommand,
ListProvisionedConcurrencyConfigsCommand: ListProvisionedConcurrencyConfigsCommand_1.ListProvisionedConcurrencyConfigsCommand,
ListTagsCommand: ListTagsCommand_1.ListTagsCommand,
ListVersionsByFunctionCommand: ListVersionsByFunctionCommand_1.ListVersionsByFunctionCommand,
PublishLayerVersionCommand: PublishLayerVersionCommand_1.PublishLayerVersionCommand,
PublishVersionCommand: PublishVersionCommand_1.PublishVersionCommand,
PutFunctionCodeSigningConfigCommand: PutFunctionCodeSigningConfigCommand_1.PutFunctionCodeSigningConfigCommand,
PutFunctionConcurrencyCommand: PutFunctionConcurrencyCommand_1.PutFunctionConcurrencyCommand,
PutFunctionEventInvokeConfigCommand: PutFunctionEventInvokeConfigCommand_1.PutFunctionEventInvokeConfigCommand,
PutProvisionedConcurrencyConfigCommand: PutProvisionedConcurrencyConfigCommand_1.PutProvisionedConcurrencyConfigCommand,
PutRuntimeManagementConfigCommand: PutRuntimeManagementConfigCommand_1.PutRuntimeManagementConfigCommand,
RemoveLayerVersionPermissionCommand: RemoveLayerVersionPermissionCommand_1.RemoveLayerVersionPermissionCommand,
RemovePermissionCommand: RemovePermissionCommand_1.RemovePermissionCommand,
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
UpdateAliasCommand: UpdateAliasCommand_1.UpdateAliasCommand,
UpdateCodeSigningConfigCommand: UpdateCodeSigningConfigCommand_1.UpdateCodeSigningConfigCommand,
UpdateEventSourceMappingCommand: UpdateEventSourceMappingCommand_1.UpdateEventSourceMappingCommand,
UpdateFunctionCodeCommand: UpdateFunctionCodeCommand_1.UpdateFunctionCodeCommand,
UpdateFunctionConfigurationCommand: UpdateFunctionConfigurationCommand_1.UpdateFunctionConfigurationCommand,
UpdateFunctionEventInvokeConfigCommand: UpdateFunctionEventInvokeConfigCommand_1.UpdateFunctionEventInvokeConfigCommand,
UpdateFunctionUrlConfigCommand: UpdateFunctionUrlConfigCommand_1.UpdateFunctionUrlConfigCommand,
};
class Lambda extends LambdaClient_1.LambdaClient {
}
exports.Lambda = Lambda;
(0, smithy_client_1.createAggregatedClient)(commands, Lambda);
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetFunctionCodeSigningConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class GetFunctionCodeSigningConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFunctionCodeSigningConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "GetFunctionCodeSigningConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "GetFunctionCodeSigningConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_GetFunctionCodeSigningConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_GetFunctionCodeSigningConfigCommand)(output, context);
}
}
exports.GetFunctionCodeSigningConfigCommand = GetFunctionCodeSigningConfigCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetProvisionedConcurrencyConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class GetProvisionedConcurrencyConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "GetProvisionedConcurrencyConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "GetProvisionedConcurrencyConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_GetProvisionedConcurrencyConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_GetProvisionedConcurrencyConfigCommand)(output, context);
}
}
exports.GetProvisionedConcurrencyConfigCommand = GetProvisionedConcurrencyConfigCommand;
-52
View File
@@ -1,52 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvokeCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const models_0_1 = require("../models/models_0");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class InvokeCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, InvokeCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "InvokeCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: models_0_1.InvocationRequestFilterSensitiveLog,
outputFilterSensitiveLog: models_0_1.InvocationResponseFilterSensitiveLog,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "Invoke",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_InvokeCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_InvokeCommand)(output, context);
}
}
exports.InvokeCommand = InvokeCommand;
@@ -1,52 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvokeWithResponseStreamCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const models_0_1 = require("../models/models_0");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class InvokeWithResponseStreamCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, InvokeWithResponseStreamCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "InvokeWithResponseStreamCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: models_0_1.InvokeWithResponseStreamRequestFilterSensitiveLog,
outputFilterSensitiveLog: models_0_1.InvokeWithResponseStreamResponseFilterSensitiveLog,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "InvokeWithResponseStream",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_InvokeWithResponseStreamCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_InvokeWithResponseStreamCommand)(output, context);
}
}
exports.InvokeWithResponseStreamCommand = InvokeWithResponseStreamCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListEventSourceMappingsCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class ListEventSourceMappingsCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEventSourceMappingsCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "ListEventSourceMappingsCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "ListEventSourceMappings",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_ListEventSourceMappingsCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_ListEventSourceMappingsCommand)(output, context);
}
}
exports.ListEventSourceMappingsCommand = ListEventSourceMappingsCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PutFunctionCodeSigningConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class PutFunctionCodeSigningConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutFunctionCodeSigningConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "PutFunctionCodeSigningConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "PutFunctionCodeSigningConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_PutFunctionCodeSigningConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_PutFunctionCodeSigningConfigCommand)(output, context);
}
}
exports.PutFunctionCodeSigningConfigCommand = PutFunctionCodeSigningConfigCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PutFunctionEventInvokeConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class PutFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutFunctionEventInvokeConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "PutFunctionEventInvokeConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "PutFunctionEventInvokeConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_PutFunctionEventInvokeConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_PutFunctionEventInvokeConfigCommand)(output, context);
}
}
exports.PutFunctionEventInvokeConfigCommand = PutFunctionEventInvokeConfigCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PutProvisionedConcurrencyConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class PutProvisionedConcurrencyConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "PutProvisionedConcurrencyConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "PutProvisionedConcurrencyConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_PutProvisionedConcurrencyConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_PutProvisionedConcurrencyConfigCommand)(output, context);
}
}
exports.PutProvisionedConcurrencyConfigCommand = PutProvisionedConcurrencyConfigCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RemoveLayerVersionPermissionCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class RemoveLayerVersionPermissionCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveLayerVersionPermissionCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "RemoveLayerVersionPermissionCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "RemoveLayerVersionPermission",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_RemoveLayerVersionPermissionCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_RemoveLayerVersionPermissionCommand)(output, context);
}
}
exports.RemoveLayerVersionPermissionCommand = RemoveLayerVersionPermissionCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateAliasCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class UpdateAliasCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAliasCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateAliasCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateAlias",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_UpdateAliasCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_UpdateAliasCommand)(output, context);
}
}
exports.UpdateAliasCommand = UpdateAliasCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateCodeSigningConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class UpdateCodeSigningConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCodeSigningConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateCodeSigningConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateCodeSigningConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_UpdateCodeSigningConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_UpdateCodeSigningConfigCommand)(output, context);
}
}
exports.UpdateCodeSigningConfigCommand = UpdateCodeSigningConfigCommand;
@@ -1,52 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateFunctionCodeCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const models_0_1 = require("../models/models_0");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class UpdateFunctionCodeCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFunctionCodeCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateFunctionCodeCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: models_0_1.UpdateFunctionCodeRequestFilterSensitiveLog,
outputFilterSensitiveLog: models_0_1.FunctionConfigurationFilterSensitiveLog,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateFunctionCode",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_UpdateFunctionCodeCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_UpdateFunctionCodeCommand)(output, context);
}
}
exports.UpdateFunctionCodeCommand = UpdateFunctionCodeCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateFunctionEventInvokeConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class UpdateFunctionEventInvokeConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFunctionEventInvokeConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateFunctionEventInvokeConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateFunctionEventInvokeConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_UpdateFunctionEventInvokeConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_UpdateFunctionEventInvokeConfigCommand)(output, context);
}
}
exports.UpdateFunctionEventInvokeConfigCommand = UpdateFunctionEventInvokeConfigCommand;
@@ -1,51 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateFunctionUrlConfigCommand = exports.$Command = void 0;
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
const middleware_serde_1 = require("@smithy/middleware-serde");
const smithy_client_1 = require("@smithy/smithy-client");
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
const types_1 = require("@smithy/types");
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
class UpdateFunctionUrlConfigCommand extends smithy_client_1.Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFunctionUrlConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateFunctionUrlConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[types_1.SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateFunctionUrlConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return (0, Aws_restJson1_1.se_UpdateFunctionUrlConfigCommand)(input, context);
}
deserialize(output, context) {
return (0, Aws_restJson1_1.de_UpdateFunctionUrlConfigCommand)(output, context);
}
}
exports.UpdateFunctionUrlConfigCommand = UpdateFunctionUrlConfigCommand;
-69
View File
@@ -1,69 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./AddLayerVersionPermissionCommand"), exports);
tslib_1.__exportStar(require("./AddPermissionCommand"), exports);
tslib_1.__exportStar(require("./CreateAliasCommand"), exports);
tslib_1.__exportStar(require("./CreateCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./CreateEventSourceMappingCommand"), exports);
tslib_1.__exportStar(require("./CreateFunctionCommand"), exports);
tslib_1.__exportStar(require("./CreateFunctionUrlConfigCommand"), exports);
tslib_1.__exportStar(require("./DeleteAliasCommand"), exports);
tslib_1.__exportStar(require("./DeleteCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./DeleteEventSourceMappingCommand"), exports);
tslib_1.__exportStar(require("./DeleteFunctionCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./DeleteFunctionCommand"), exports);
tslib_1.__exportStar(require("./DeleteFunctionConcurrencyCommand"), exports);
tslib_1.__exportStar(require("./DeleteFunctionEventInvokeConfigCommand"), exports);
tslib_1.__exportStar(require("./DeleteFunctionUrlConfigCommand"), exports);
tslib_1.__exportStar(require("./DeleteLayerVersionCommand"), exports);
tslib_1.__exportStar(require("./DeleteProvisionedConcurrencyConfigCommand"), exports);
tslib_1.__exportStar(require("./GetAccountSettingsCommand"), exports);
tslib_1.__exportStar(require("./GetAliasCommand"), exports);
tslib_1.__exportStar(require("./GetCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./GetEventSourceMappingCommand"), exports);
tslib_1.__exportStar(require("./GetFunctionCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./GetFunctionCommand"), exports);
tslib_1.__exportStar(require("./GetFunctionConcurrencyCommand"), exports);
tslib_1.__exportStar(require("./GetFunctionConfigurationCommand"), exports);
tslib_1.__exportStar(require("./GetFunctionEventInvokeConfigCommand"), exports);
tslib_1.__exportStar(require("./GetFunctionUrlConfigCommand"), exports);
tslib_1.__exportStar(require("./GetLayerVersionByArnCommand"), exports);
tslib_1.__exportStar(require("./GetLayerVersionCommand"), exports);
tslib_1.__exportStar(require("./GetLayerVersionPolicyCommand"), exports);
tslib_1.__exportStar(require("./GetPolicyCommand"), exports);
tslib_1.__exportStar(require("./GetProvisionedConcurrencyConfigCommand"), exports);
tslib_1.__exportStar(require("./GetRuntimeManagementConfigCommand"), exports);
tslib_1.__exportStar(require("./InvokeAsyncCommand"), exports);
tslib_1.__exportStar(require("./InvokeCommand"), exports);
tslib_1.__exportStar(require("./InvokeWithResponseStreamCommand"), exports);
tslib_1.__exportStar(require("./ListAliasesCommand"), exports);
tslib_1.__exportStar(require("./ListCodeSigningConfigsCommand"), exports);
tslib_1.__exportStar(require("./ListEventSourceMappingsCommand"), exports);
tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsCommand"), exports);
tslib_1.__exportStar(require("./ListFunctionUrlConfigsCommand"), exports);
tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
tslib_1.__exportStar(require("./ListLayerVersionsCommand"), exports);
tslib_1.__exportStar(require("./ListLayersCommand"), exports);
tslib_1.__exportStar(require("./ListProvisionedConcurrencyConfigsCommand"), exports);
tslib_1.__exportStar(require("./ListTagsCommand"), exports);
tslib_1.__exportStar(require("./ListVersionsByFunctionCommand"), exports);
tslib_1.__exportStar(require("./PublishLayerVersionCommand"), exports);
tslib_1.__exportStar(require("./PublishVersionCommand"), exports);
tslib_1.__exportStar(require("./PutFunctionCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./PutFunctionConcurrencyCommand"), exports);
tslib_1.__exportStar(require("./PutFunctionEventInvokeConfigCommand"), exports);
tslib_1.__exportStar(require("./PutProvisionedConcurrencyConfigCommand"), exports);
tslib_1.__exportStar(require("./PutRuntimeManagementConfigCommand"), exports);
tslib_1.__exportStar(require("./RemoveLayerVersionPermissionCommand"), exports);
tslib_1.__exportStar(require("./RemovePermissionCommand"), exports);
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
tslib_1.__exportStar(require("./UpdateAliasCommand"), exports);
tslib_1.__exportStar(require("./UpdateCodeSigningConfigCommand"), exports);
tslib_1.__exportStar(require("./UpdateEventSourceMappingCommand"), exports);
tslib_1.__exportStar(require("./UpdateFunctionCodeCommand"), exports);
tslib_1.__exportStar(require("./UpdateFunctionConfigurationCommand"), exports);
tslib_1.__exportStar(require("./UpdateFunctionEventInvokeConfigCommand"), exports);
tslib_1.__exportStar(require("./UpdateFunctionUrlConfigCommand"), exports);
-7
View File
@@ -1,7 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ruleSet = void 0;
const s = "required", t = "fn", u = "argv", v = "ref";
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
exports.ruleSet = _data;
-13
View File
@@ -1,13 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LambdaServiceException = void 0;
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./LambdaClient"), exports);
tslib_1.__exportStar(require("./Lambda"), exports);
tslib_1.__exportStar(require("./commands"), exports);
tslib_1.__exportStar(require("./pagination"), exports);
tslib_1.__exportStar(require("./waiters"), exports);
tslib_1.__exportStar(require("./models"), exports);
require("@aws-sdk/util-endpoints");
var LambdaServiceException_1 = require("./models/LambdaServiceException");
Object.defineProperty(exports, "LambdaServiceException", { enumerable: true, get: function () { return LambdaServiceException_1.LambdaServiceException; } });
-915
View File
@@ -1,915 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.UpdateRuntimeOn = exports.ProvisionedConcurrencyConfigNotFoundException = exports.ProvisionedConcurrencyStatusEnum = exports.ResourceInUseException = exports.InvokeMode = exports.InvalidCodeSignatureException = exports.StateReasonCode = exports.State = exports.SnapStartOptimizationStatus = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.TracingMode = exports.SnapStartApplyOn = exports.Runtime = exports.PackageType = exports.SystemLogLevel = exports.LogFormat = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourcePosition = exports.SourceAccessType = exports.EndPointType = exports.FunctionResponseType = exports.FullDocument = exports.CodeSigningPolicy = exports.Architecture = exports.ApplicationLogLevel = exports.FunctionUrlAuthType = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = void 0;
exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseEventFilterSensitiveLog = exports.InvokeResponseStreamUpdateFilterSensitiveLog = exports.InvokeWithResponseStreamRequestFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.RuntimeVersionConfigFilterSensitiveLog = exports.RuntimeVersionErrorFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.FunctionVersion = exports.InvokeWithResponseStreamResponseEvent = exports.ResponseStreamingInvocationType = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.SnapStartTimeoutException = exports.SnapStartNotReadyException = exports.SnapStartException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.RecursiveInvocationException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.LogType = exports.InvocationType = void 0;
const smithy_client_1 = require("@smithy/smithy-client");
const LambdaServiceException_1 = require("./LambdaServiceException");
class InvalidParameterValueException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "InvalidParameterValueException",
$fault: "client",
...opts,
});
this.name = "InvalidParameterValueException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
this.Type = opts.Type;
}
}
exports.InvalidParameterValueException = InvalidParameterValueException;
class PolicyLengthExceededException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "PolicyLengthExceededException",
$fault: "client",
...opts,
});
this.name = "PolicyLengthExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
this.Type = opts.Type;
}
}
exports.PolicyLengthExceededException = PolicyLengthExceededException;
class PreconditionFailedException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "PreconditionFailedException",
$fault: "client",
...opts,
});
this.name = "PreconditionFailedException";
this.$fault = "client";
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
this.Type = opts.Type;
}
}
exports.PreconditionFailedException = PreconditionFailedException;
class ResourceConflictException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "ResourceConflictException",
$fault: "client",
...opts,
});
this.name = "ResourceConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceConflictException.prototype);
this.Type = opts.Type;
}
}
exports.ResourceConflictException = ResourceConflictException;
class ResourceNotFoundException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "ResourceNotFoundException",
$fault: "client",
...opts,
});
this.name = "ResourceNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.ResourceNotFoundException = ResourceNotFoundException;
class ServiceException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "ServiceException",
$fault: "server",
...opts,
});
this.name = "ServiceException";
this.$fault = "server";
Object.setPrototypeOf(this, ServiceException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.ServiceException = ServiceException;
exports.ThrottleReason = {
CallerRateLimitExceeded: "CallerRateLimitExceeded",
ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded",
ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded",
FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded",
ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded",
ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded",
};
class TooManyRequestsException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "TooManyRequestsException",
$fault: "client",
...opts,
});
this.name = "TooManyRequestsException";
this.$fault = "client";
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
this.retryAfterSeconds = opts.retryAfterSeconds;
this.Type = opts.Type;
this.Reason = opts.Reason;
}
}
exports.TooManyRequestsException = TooManyRequestsException;
exports.FunctionUrlAuthType = {
AWS_IAM: "AWS_IAM",
NONE: "NONE",
};
exports.ApplicationLogLevel = {
Debug: "DEBUG",
Error: "ERROR",
Fatal: "FATAL",
Info: "INFO",
Trace: "TRACE",
Warn: "WARN",
};
exports.Architecture = {
arm64: "arm64",
x86_64: "x86_64",
};
exports.CodeSigningPolicy = {
Enforce: "Enforce",
Warn: "Warn",
};
exports.FullDocument = {
Default: "Default",
UpdateLookup: "UpdateLookup",
};
exports.FunctionResponseType = {
ReportBatchItemFailures: "ReportBatchItemFailures",
};
exports.EndPointType = {
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
};
exports.SourceAccessType = {
BASIC_AUTH: "BASIC_AUTH",
CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH",
SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH",
SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH",
SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE",
VIRTUAL_HOST: "VIRTUAL_HOST",
VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP",
VPC_SUBNET: "VPC_SUBNET",
};
exports.EventSourcePosition = {
AT_TIMESTAMP: "AT_TIMESTAMP",
LATEST: "LATEST",
TRIM_HORIZON: "TRIM_HORIZON",
};
class CodeSigningConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "CodeSigningConfigNotFoundException",
$fault: "client",
...opts,
});
this.name = "CodeSigningConfigNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.CodeSigningConfigNotFoundException = CodeSigningConfigNotFoundException;
class CodeStorageExceededException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "CodeStorageExceededException",
$fault: "client",
...opts,
});
this.name = "CodeStorageExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, CodeStorageExceededException.prototype);
this.Type = opts.Type;
}
}
exports.CodeStorageExceededException = CodeStorageExceededException;
class CodeVerificationFailedException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "CodeVerificationFailedException",
$fault: "client",
...opts,
});
this.name = "CodeVerificationFailedException";
this.$fault = "client";
Object.setPrototypeOf(this, CodeVerificationFailedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.CodeVerificationFailedException = CodeVerificationFailedException;
exports.LogFormat = {
Json: "JSON",
Text: "Text",
};
exports.SystemLogLevel = {
Debug: "DEBUG",
Info: "INFO",
Warn: "WARN",
};
exports.PackageType = {
Image: "Image",
Zip: "Zip",
};
exports.Runtime = {
dotnet6: "dotnet6",
dotnetcore10: "dotnetcore1.0",
dotnetcore20: "dotnetcore2.0",
dotnetcore21: "dotnetcore2.1",
dotnetcore31: "dotnetcore3.1",
go1x: "go1.x",
java11: "java11",
java17: "java17",
java21: "java21",
java8: "java8",
java8al2: "java8.al2",
nodejs: "nodejs",
nodejs10x: "nodejs10.x",
nodejs12x: "nodejs12.x",
nodejs14x: "nodejs14.x",
nodejs16x: "nodejs16.x",
nodejs18x: "nodejs18.x",
nodejs20x: "nodejs20.x",
nodejs43: "nodejs4.3",
nodejs43edge: "nodejs4.3-edge",
nodejs610: "nodejs6.10",
nodejs810: "nodejs8.10",
provided: "provided",
providedal2: "provided.al2",
providedal2023: "provided.al2023",
python27: "python2.7",
python310: "python3.10",
python311: "python3.11",
python312: "python3.12",
python36: "python3.6",
python37: "python3.7",
python38: "python3.8",
python39: "python3.9",
ruby25: "ruby2.5",
ruby27: "ruby2.7",
ruby32: "ruby3.2",
};
exports.SnapStartApplyOn = {
None: "None",
PublishedVersions: "PublishedVersions",
};
exports.TracingMode = {
Active: "Active",
PassThrough: "PassThrough",
};
exports.LastUpdateStatus = {
Failed: "Failed",
InProgress: "InProgress",
Successful: "Successful",
};
exports.LastUpdateStatusReasonCode = {
DisabledKMSKey: "DisabledKMSKey",
EFSIOError: "EFSIOError",
EFSMountConnectivityError: "EFSMountConnectivityError",
EFSMountFailure: "EFSMountFailure",
EFSMountTimeout: "EFSMountTimeout",
EniLimitExceeded: "EniLimitExceeded",
FunctionError: "FunctionError",
ImageAccessDenied: "ImageAccessDenied",
ImageDeleted: "ImageDeleted",
InsufficientRolePermissions: "InsufficientRolePermissions",
InternalError: "InternalError",
InvalidConfiguration: "InvalidConfiguration",
InvalidImage: "InvalidImage",
InvalidRuntime: "InvalidRuntime",
InvalidSecurityGroup: "InvalidSecurityGroup",
InvalidStateKMSKey: "InvalidStateKMSKey",
InvalidSubnet: "InvalidSubnet",
InvalidZipFileException: "InvalidZipFileException",
KMSKeyAccessDenied: "KMSKeyAccessDenied",
KMSKeyNotFound: "KMSKeyNotFound",
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
};
exports.SnapStartOptimizationStatus = {
Off: "Off",
On: "On",
};
exports.State = {
Active: "Active",
Failed: "Failed",
Inactive: "Inactive",
Pending: "Pending",
};
exports.StateReasonCode = {
Creating: "Creating",
DisabledKMSKey: "DisabledKMSKey",
EFSIOError: "EFSIOError",
EFSMountConnectivityError: "EFSMountConnectivityError",
EFSMountFailure: "EFSMountFailure",
EFSMountTimeout: "EFSMountTimeout",
EniLimitExceeded: "EniLimitExceeded",
FunctionError: "FunctionError",
Idle: "Idle",
ImageAccessDenied: "ImageAccessDenied",
ImageDeleted: "ImageDeleted",
InsufficientRolePermissions: "InsufficientRolePermissions",
InternalError: "InternalError",
InvalidConfiguration: "InvalidConfiguration",
InvalidImage: "InvalidImage",
InvalidRuntime: "InvalidRuntime",
InvalidSecurityGroup: "InvalidSecurityGroup",
InvalidStateKMSKey: "InvalidStateKMSKey",
InvalidSubnet: "InvalidSubnet",
InvalidZipFileException: "InvalidZipFileException",
KMSKeyAccessDenied: "KMSKeyAccessDenied",
KMSKeyNotFound: "KMSKeyNotFound",
Restoring: "Restoring",
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
};
class InvalidCodeSignatureException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "InvalidCodeSignatureException",
$fault: "client",
...opts,
});
this.name = "InvalidCodeSignatureException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.InvalidCodeSignatureException = InvalidCodeSignatureException;
exports.InvokeMode = {
BUFFERED: "BUFFERED",
RESPONSE_STREAM: "RESPONSE_STREAM",
};
class ResourceInUseException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "ResourceInUseException",
$fault: "client",
...opts,
});
this.name = "ResourceInUseException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceInUseException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.ResourceInUseException = ResourceInUseException;
exports.ProvisionedConcurrencyStatusEnum = {
FAILED: "FAILED",
IN_PROGRESS: "IN_PROGRESS",
READY: "READY",
};
class ProvisionedConcurrencyConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "ProvisionedConcurrencyConfigNotFoundException",
$fault: "client",
...opts,
});
this.name = "ProvisionedConcurrencyConfigNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype);
this.Type = opts.Type;
}
}
exports.ProvisionedConcurrencyConfigNotFoundException = ProvisionedConcurrencyConfigNotFoundException;
exports.UpdateRuntimeOn = {
Auto: "Auto",
FunctionUpdate: "FunctionUpdate",
Manual: "Manual",
};
class EC2AccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "EC2AccessDeniedException",
$fault: "server",
...opts,
});
this.name = "EC2AccessDeniedException";
this.$fault = "server";
Object.setPrototypeOf(this, EC2AccessDeniedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.EC2AccessDeniedException = EC2AccessDeniedException;
class EC2ThrottledException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "EC2ThrottledException",
$fault: "server",
...opts,
});
this.name = "EC2ThrottledException";
this.$fault = "server";
Object.setPrototypeOf(this, EC2ThrottledException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.EC2ThrottledException = EC2ThrottledException;
class EC2UnexpectedException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "EC2UnexpectedException",
$fault: "server",
...opts,
});
this.name = "EC2UnexpectedException";
this.$fault = "server";
Object.setPrototypeOf(this, EC2UnexpectedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
this.EC2ErrorCode = opts.EC2ErrorCode;
}
}
exports.EC2UnexpectedException = EC2UnexpectedException;
class EFSIOException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "EFSIOException",
$fault: "client",
...opts,
});
this.name = "EFSIOException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSIOException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.EFSIOException = EFSIOException;
class EFSMountConnectivityException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "EFSMountConnectivityException",
$fault: "client",
...opts,
});
this.name = "EFSMountConnectivityException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSMountConnectivityException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.EFSMountConnectivityException = EFSMountConnectivityException;
class EFSMountFailureException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "EFSMountFailureException",
$fault: "client",
...opts,
});
this.name = "EFSMountFailureException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSMountFailureException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.EFSMountFailureException = EFSMountFailureException;
class EFSMountTimeoutException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "EFSMountTimeoutException",
$fault: "client",
...opts,
});
this.name = "EFSMountTimeoutException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSMountTimeoutException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.EFSMountTimeoutException = EFSMountTimeoutException;
class ENILimitReachedException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "ENILimitReachedException",
$fault: "server",
...opts,
});
this.name = "ENILimitReachedException";
this.$fault = "server";
Object.setPrototypeOf(this, ENILimitReachedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.ENILimitReachedException = ENILimitReachedException;
class InvalidRequestContentException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "InvalidRequestContentException",
$fault: "client",
...opts,
});
this.name = "InvalidRequestContentException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidRequestContentException.prototype);
this.Type = opts.Type;
}
}
exports.InvalidRequestContentException = InvalidRequestContentException;
class InvalidRuntimeException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "InvalidRuntimeException",
$fault: "server",
...opts,
});
this.name = "InvalidRuntimeException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidRuntimeException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.InvalidRuntimeException = InvalidRuntimeException;
class InvalidSecurityGroupIDException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "InvalidSecurityGroupIDException",
$fault: "server",
...opts,
});
this.name = "InvalidSecurityGroupIDException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.InvalidSecurityGroupIDException = InvalidSecurityGroupIDException;
class InvalidSubnetIDException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "InvalidSubnetIDException",
$fault: "server",
...opts,
});
this.name = "InvalidSubnetIDException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidSubnetIDException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.InvalidSubnetIDException = InvalidSubnetIDException;
class InvalidZipFileException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "InvalidZipFileException",
$fault: "server",
...opts,
});
this.name = "InvalidZipFileException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidZipFileException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.InvalidZipFileException = InvalidZipFileException;
exports.InvocationType = {
DryRun: "DryRun",
Event: "Event",
RequestResponse: "RequestResponse",
};
exports.LogType = {
None: "None",
Tail: "Tail",
};
class KMSAccessDeniedException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "KMSAccessDeniedException",
$fault: "server",
...opts,
});
this.name = "KMSAccessDeniedException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.KMSAccessDeniedException = KMSAccessDeniedException;
class KMSDisabledException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "KMSDisabledException",
$fault: "server",
...opts,
});
this.name = "KMSDisabledException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSDisabledException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.KMSDisabledException = KMSDisabledException;
class KMSInvalidStateException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "KMSInvalidStateException",
$fault: "server",
...opts,
});
this.name = "KMSInvalidStateException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.KMSInvalidStateException = KMSInvalidStateException;
class KMSNotFoundException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "KMSNotFoundException",
$fault: "server",
...opts,
});
this.name = "KMSNotFoundException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.KMSNotFoundException = KMSNotFoundException;
class RecursiveInvocationException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "RecursiveInvocationException",
$fault: "client",
...opts,
});
this.name = "RecursiveInvocationException";
this.$fault = "client";
Object.setPrototypeOf(this, RecursiveInvocationException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.RecursiveInvocationException = RecursiveInvocationException;
class RequestTooLargeException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "RequestTooLargeException",
$fault: "client",
...opts,
});
this.name = "RequestTooLargeException";
this.$fault = "client";
Object.setPrototypeOf(this, RequestTooLargeException.prototype);
this.Type = opts.Type;
}
}
exports.RequestTooLargeException = RequestTooLargeException;
class ResourceNotReadyException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "ResourceNotReadyException",
$fault: "server",
...opts,
});
this.name = "ResourceNotReadyException";
this.$fault = "server";
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
this.Type = opts.Type;
}
}
exports.ResourceNotReadyException = ResourceNotReadyException;
class SnapStartException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "SnapStartException",
$fault: "client",
...opts,
});
this.name = "SnapStartException";
this.$fault = "client";
Object.setPrototypeOf(this, SnapStartException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.SnapStartException = SnapStartException;
class SnapStartNotReadyException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "SnapStartNotReadyException",
$fault: "client",
...opts,
});
this.name = "SnapStartNotReadyException";
this.$fault = "client";
Object.setPrototypeOf(this, SnapStartNotReadyException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.SnapStartNotReadyException = SnapStartNotReadyException;
class SnapStartTimeoutException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "SnapStartTimeoutException",
$fault: "client",
...opts,
});
this.name = "SnapStartTimeoutException";
this.$fault = "client";
Object.setPrototypeOf(this, SnapStartTimeoutException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.SnapStartTimeoutException = SnapStartTimeoutException;
class SubnetIPAddressLimitReachedException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "SubnetIPAddressLimitReachedException",
$fault: "server",
...opts,
});
this.name = "SubnetIPAddressLimitReachedException";
this.$fault = "server";
Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
exports.SubnetIPAddressLimitReachedException = SubnetIPAddressLimitReachedException;
class UnsupportedMediaTypeException extends LambdaServiceException_1.LambdaServiceException {
constructor(opts) {
super({
name: "UnsupportedMediaTypeException",
$fault: "client",
...opts,
});
this.name = "UnsupportedMediaTypeException";
this.$fault = "client";
Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
this.Type = opts.Type;
}
}
exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;
exports.ResponseStreamingInvocationType = {
DryRun: "DryRun",
RequestResponse: "RequestResponse",
};
var InvokeWithResponseStreamResponseEvent;
(function (InvokeWithResponseStreamResponseEvent) {
InvokeWithResponseStreamResponseEvent.visit = (value, visitor) => {
if (value.PayloadChunk !== undefined)
return visitor.PayloadChunk(value.PayloadChunk);
if (value.InvokeComplete !== undefined)
return visitor.InvokeComplete(value.InvokeComplete);
return visitor._(value.$unknown[0], value.$unknown[1]);
};
})(InvokeWithResponseStreamResponseEvent = exports.InvokeWithResponseStreamResponseEvent || (exports.InvokeWithResponseStreamResponseEvent = {}));
exports.FunctionVersion = {
ALL: "ALL",
};
const FunctionCodeFilterSensitiveLog = (obj) => ({
...obj,
...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }),
});
exports.FunctionCodeFilterSensitiveLog = FunctionCodeFilterSensitiveLog;
const EnvironmentFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Variables && { Variables: smithy_client_1.SENSITIVE_STRING }),
});
exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog;
const CreateFunctionRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Code && { Code: (0, exports.FunctionCodeFilterSensitiveLog)(obj.Code) }),
...(obj.Environment && { Environment: (0, exports.EnvironmentFilterSensitiveLog)(obj.Environment) }),
});
exports.CreateFunctionRequestFilterSensitiveLog = CreateFunctionRequestFilterSensitiveLog;
const EnvironmentErrorFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
});
exports.EnvironmentErrorFilterSensitiveLog = EnvironmentErrorFilterSensitiveLog;
const EnvironmentResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Variables && { Variables: smithy_client_1.SENSITIVE_STRING }),
...(obj.Error && { Error: (0, exports.EnvironmentErrorFilterSensitiveLog)(obj.Error) }),
});
exports.EnvironmentResponseFilterSensitiveLog = EnvironmentResponseFilterSensitiveLog;
const ImageConfigErrorFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
});
exports.ImageConfigErrorFilterSensitiveLog = ImageConfigErrorFilterSensitiveLog;
const ImageConfigResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Error && { Error: (0, exports.ImageConfigErrorFilterSensitiveLog)(obj.Error) }),
});
exports.ImageConfigResponseFilterSensitiveLog = ImageConfigResponseFilterSensitiveLog;
const RuntimeVersionErrorFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
});
exports.RuntimeVersionErrorFilterSensitiveLog = RuntimeVersionErrorFilterSensitiveLog;
const RuntimeVersionConfigFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Error && { Error: (0, exports.RuntimeVersionErrorFilterSensitiveLog)(obj.Error) }),
});
exports.RuntimeVersionConfigFilterSensitiveLog = RuntimeVersionConfigFilterSensitiveLog;
const FunctionConfigurationFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Environment && { Environment: (0, exports.EnvironmentResponseFilterSensitiveLog)(obj.Environment) }),
...(obj.ImageConfigResponse && {
ImageConfigResponse: (0, exports.ImageConfigResponseFilterSensitiveLog)(obj.ImageConfigResponse),
}),
...(obj.RuntimeVersionConfig && {
RuntimeVersionConfig: (0, exports.RuntimeVersionConfigFilterSensitiveLog)(obj.RuntimeVersionConfig),
}),
});
exports.FunctionConfigurationFilterSensitiveLog = FunctionConfigurationFilterSensitiveLog;
const GetFunctionResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Configuration && { Configuration: (0, exports.FunctionConfigurationFilterSensitiveLog)(obj.Configuration) }),
});
exports.GetFunctionResponseFilterSensitiveLog = GetFunctionResponseFilterSensitiveLog;
const InvocationRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
});
exports.InvocationRequestFilterSensitiveLog = InvocationRequestFilterSensitiveLog;
const InvocationResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
});
exports.InvocationResponseFilterSensitiveLog = InvocationResponseFilterSensitiveLog;
const InvokeAsyncRequestFilterSensitiveLog = (obj) => ({
...obj,
});
exports.InvokeAsyncRequestFilterSensitiveLog = InvokeAsyncRequestFilterSensitiveLog;
const InvokeWithResponseStreamRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
});
exports.InvokeWithResponseStreamRequestFilterSensitiveLog = InvokeWithResponseStreamRequestFilterSensitiveLog;
const InvokeResponseStreamUpdateFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }),
});
exports.InvokeResponseStreamUpdateFilterSensitiveLog = InvokeResponseStreamUpdateFilterSensitiveLog;
const InvokeWithResponseStreamResponseEventFilterSensitiveLog = (obj) => {
if (obj.PayloadChunk !== undefined)
return { PayloadChunk: (0, exports.InvokeResponseStreamUpdateFilterSensitiveLog)(obj.PayloadChunk) };
if (obj.InvokeComplete !== undefined)
return { InvokeComplete: obj.InvokeComplete };
if (obj.$unknown !== undefined)
return { [obj.$unknown[0]]: "UNKNOWN" };
};
exports.InvokeWithResponseStreamResponseEventFilterSensitiveLog = InvokeWithResponseStreamResponseEventFilterSensitiveLog;
const InvokeWithResponseStreamResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
});
exports.InvokeWithResponseStreamResponseFilterSensitiveLog = InvokeWithResponseStreamResponseFilterSensitiveLog;
const ListFunctionsResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Functions && { Functions: obj.Functions.map((item) => (0, exports.FunctionConfigurationFilterSensitiveLog)(item)) }),
});
exports.ListFunctionsResponseFilterSensitiveLog = ListFunctionsResponseFilterSensitiveLog;
const ListVersionsByFunctionResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Versions && { Versions: obj.Versions.map((item) => (0, exports.FunctionConfigurationFilterSensitiveLog)(item)) }),
});
exports.ListVersionsByFunctionResponseFilterSensitiveLog = ListVersionsByFunctionResponseFilterSensitiveLog;
const LayerVersionContentInputFilterSensitiveLog = (obj) => ({
...obj,
...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }),
});
exports.LayerVersionContentInputFilterSensitiveLog = LayerVersionContentInputFilterSensitiveLog;
const PublishLayerVersionRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Content && { Content: (0, exports.LayerVersionContentInputFilterSensitiveLog)(obj.Content) }),
});
exports.PublishLayerVersionRequestFilterSensitiveLog = PublishLayerVersionRequestFilterSensitiveLog;
const UpdateFunctionCodeRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }),
});
exports.UpdateFunctionCodeRequestFilterSensitiveLog = UpdateFunctionCodeRequestFilterSensitiveLog;
const UpdateFunctionConfigurationRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Environment && { Environment: (0, exports.EnvironmentFilterSensitiveLog)(obj.Environment) }),
});
exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = UpdateFunctionConfigurationRequestFilterSensitiveLog;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListAliases = void 0;
const ListAliasesCommand_1 = require("../commands/ListAliasesCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListAliasesCommand_1.ListAliasesCommand(input), ...args);
};
async function* paginateListAliases(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListAliases = paginateListAliases;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListCodeSigningConfigs = void 0;
const ListCodeSigningConfigsCommand_1 = require("../commands/ListCodeSigningConfigsCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListCodeSigningConfigsCommand_1.ListCodeSigningConfigsCommand(input), ...args);
};
async function* paginateListCodeSigningConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListCodeSigningConfigs = paginateListCodeSigningConfigs;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListEventSourceMappings = void 0;
const ListEventSourceMappingsCommand_1 = require("../commands/ListEventSourceMappingsCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListEventSourceMappingsCommand_1.ListEventSourceMappingsCommand(input), ...args);
};
async function* paginateListEventSourceMappings(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListEventSourceMappings = paginateListEventSourceMappings;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListFunctionEventInvokeConfigs = void 0;
const ListFunctionEventInvokeConfigsCommand_1 = require("../commands/ListFunctionEventInvokeConfigsCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionEventInvokeConfigsCommand_1.ListFunctionEventInvokeConfigsCommand(input), ...args);
};
async function* paginateListFunctionEventInvokeConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListFunctionEventInvokeConfigs = paginateListFunctionEventInvokeConfigs;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListFunctionUrlConfigs = void 0;
const ListFunctionUrlConfigsCommand_1 = require("../commands/ListFunctionUrlConfigsCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionUrlConfigsCommand_1.ListFunctionUrlConfigsCommand(input), ...args);
};
async function* paginateListFunctionUrlConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListFunctionUrlConfigs = paginateListFunctionUrlConfigs;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListFunctionsByCodeSigningConfig = void 0;
const ListFunctionsByCodeSigningConfigCommand_1 = require("../commands/ListFunctionsByCodeSigningConfigCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionsByCodeSigningConfigCommand_1.ListFunctionsByCodeSigningConfigCommand(input), ...args);
};
async function* paginateListFunctionsByCodeSigningConfig(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListFunctionsByCodeSigningConfig = paginateListFunctionsByCodeSigningConfig;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListFunctions = void 0;
const ListFunctionsCommand_1 = require("../commands/ListFunctionsCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionsCommand_1.ListFunctionsCommand(input), ...args);
};
async function* paginateListFunctions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListFunctions = paginateListFunctions;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListLayerVersions = void 0;
const ListLayerVersionsCommand_1 = require("../commands/ListLayerVersionsCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListLayerVersionsCommand_1.ListLayerVersionsCommand(input), ...args);
};
async function* paginateListLayerVersions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListLayerVersions = paginateListLayerVersions;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListLayers = void 0;
const ListLayersCommand_1 = require("../commands/ListLayersCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListLayersCommand_1.ListLayersCommand(input), ...args);
};
async function* paginateListLayers(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListLayers = paginateListLayers;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListProvisionedConcurrencyConfigs = void 0;
const ListProvisionedConcurrencyConfigsCommand_1 = require("../commands/ListProvisionedConcurrencyConfigsCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListProvisionedConcurrencyConfigsCommand_1.ListProvisionedConcurrencyConfigsCommand(input), ...args);
};
async function* paginateListProvisionedConcurrencyConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListProvisionedConcurrencyConfigs = paginateListProvisionedConcurrencyConfigs;
@@ -1,29 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paginateListVersionsByFunction = void 0;
const ListVersionsByFunctionCommand_1 = require("../commands/ListVersionsByFunctionCommand");
const LambdaClient_1 = require("../LambdaClient");
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListVersionsByFunctionCommand_1.ListVersionsByFunctionCommand(input), ...args);
};
async function* paginateListVersionsByFunction(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient_1.LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
exports.paginateListVersionsByFunction = paginateListVersionsByFunction;
-15
View File
@@ -1,15 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./Interfaces"), exports);
tslib_1.__exportStar(require("./ListAliasesPaginator"), exports);
tslib_1.__exportStar(require("./ListCodeSigningConfigsPaginator"), exports);
tslib_1.__exportStar(require("./ListEventSourceMappingsPaginator"), exports);
tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsPaginator"), exports);
tslib_1.__exportStar(require("./ListFunctionUrlConfigsPaginator"), exports);
tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigPaginator"), exports);
tslib_1.__exportStar(require("./ListFunctionsPaginator"), exports);
tslib_1.__exportStar(require("./ListLayerVersionsPaginator"), exports);
tslib_1.__exportStar(require("./ListLayersPaginator"), exports);
tslib_1.__exportStar(require("./ListProvisionedConcurrencyConfigsPaginator"), exports);
tslib_1.__exportStar(require("./ListVersionsByFunctionPaginator"), exports);
File diff suppressed because it is too large Load Diff
-9
View File
@@ -1,9 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./waitForFunctionActive"), exports);
tslib_1.__exportStar(require("./waitForFunctionActiveV2"), exports);
tslib_1.__exportStar(require("./waitForFunctionExists"), exports);
tslib_1.__exportStar(require("./waitForFunctionUpdated"), exports);
tslib_1.__exportStar(require("./waitForFunctionUpdatedV2"), exports);
tslib_1.__exportStar(require("./waitForPublishedVersionActive"), exports);
@@ -1,54 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitUntilFunctionActive = exports.waitForFunctionActive = void 0;
const util_waiter_1 = require("@smithy/util-waiter");
const GetFunctionConfigurationCommand_1 = require("../commands/GetFunctionConfigurationCommand");
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Active") {
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Failed") {
return { state: util_waiter_1.WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Pending") {
return { state: util_waiter_1.WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: util_waiter_1.WaiterState.RETRY, reason };
};
const waitForFunctionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
};
exports.waitForFunctionActive = waitForFunctionActive;
const waitUntilFunctionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
return (0, util_waiter_1.checkExceptions)(result);
};
exports.waitUntilFunctionActive = waitUntilFunctionActive;
@@ -1,54 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitUntilFunctionActiveV2 = exports.waitForFunctionActiveV2 = void 0;
const util_waiter_1 = require("@smithy/util-waiter");
const GetFunctionCommand_1 = require("../commands/GetFunctionCommand");
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.Configuration.State;
};
if (returnComparator() === "Active") {
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.State;
};
if (returnComparator() === "Failed") {
return { state: util_waiter_1.WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.State;
};
if (returnComparator() === "Pending") {
return { state: util_waiter_1.WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: util_waiter_1.WaiterState.RETRY, reason };
};
const waitForFunctionActiveV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
};
exports.waitForFunctionActiveV2 = waitForFunctionActiveV2;
const waitUntilFunctionActiveV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
return (0, util_waiter_1.checkExceptions)(result);
};
exports.waitUntilFunctionActiveV2 = waitUntilFunctionActiveV2;
@@ -1,31 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitUntilFunctionExists = exports.waitForFunctionExists = void 0;
const util_waiter_1 = require("@smithy/util-waiter");
const GetFunctionCommand_1 = require("../commands/GetFunctionCommand");
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input));
reason = result;
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
}
catch (exception) {
reason = exception;
if (exception.name && exception.name == "ResourceNotFoundException") {
return { state: util_waiter_1.WaiterState.RETRY, reason };
}
}
return { state: util_waiter_1.WaiterState.RETRY, reason };
};
const waitForFunctionExists = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
};
exports.waitForFunctionExists = waitForFunctionExists;
const waitUntilFunctionExists = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
return (0, util_waiter_1.checkExceptions)(result);
};
exports.waitUntilFunctionExists = waitUntilFunctionExists;
@@ -1,54 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitUntilFunctionUpdated = exports.waitForFunctionUpdated = void 0;
const util_waiter_1 = require("@smithy/util-waiter");
const GetFunctionConfigurationCommand_1 = require("../commands/GetFunctionConfigurationCommand");
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.LastUpdateStatus;
};
if (returnComparator() === "Successful") {
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.LastUpdateStatus;
};
if (returnComparator() === "Failed") {
return { state: util_waiter_1.WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.LastUpdateStatus;
};
if (returnComparator() === "InProgress") {
return { state: util_waiter_1.WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: util_waiter_1.WaiterState.RETRY, reason };
};
const waitForFunctionUpdated = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
};
exports.waitForFunctionUpdated = waitForFunctionUpdated;
const waitUntilFunctionUpdated = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
return (0, util_waiter_1.checkExceptions)(result);
};
exports.waitUntilFunctionUpdated = waitUntilFunctionUpdated;
@@ -1,54 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitUntilFunctionUpdatedV2 = exports.waitForFunctionUpdatedV2 = void 0;
const util_waiter_1 = require("@smithy/util-waiter");
const GetFunctionCommand_1 = require("../commands/GetFunctionCommand");
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.Configuration.LastUpdateStatus;
};
if (returnComparator() === "Successful") {
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.LastUpdateStatus;
};
if (returnComparator() === "Failed") {
return { state: util_waiter_1.WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.LastUpdateStatus;
};
if (returnComparator() === "InProgress") {
return { state: util_waiter_1.WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: util_waiter_1.WaiterState.RETRY, reason };
};
const waitForFunctionUpdatedV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
};
exports.waitForFunctionUpdatedV2 = waitForFunctionUpdatedV2;
const waitUntilFunctionUpdatedV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
return (0, util_waiter_1.checkExceptions)(result);
};
exports.waitUntilFunctionUpdatedV2 = waitUntilFunctionUpdatedV2;
@@ -1,54 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitUntilPublishedVersionActive = exports.waitForPublishedVersionActive = void 0;
const util_waiter_1 = require("@smithy/util-waiter");
const GetFunctionConfigurationCommand_1 = require("../commands/GetFunctionConfigurationCommand");
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Active") {
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Failed") {
return { state: util_waiter_1.WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Pending") {
return { state: util_waiter_1.WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: util_waiter_1.WaiterState.RETRY, reason };
};
const waitForPublishedVersionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
};
exports.waitForPublishedVersionActive = waitForPublishedVersionActive;
const waitUntilPublishedVersionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
return (0, util_waiter_1.checkExceptions)(result);
};
exports.waitUntilPublishedVersionActive = waitUntilPublishedVersionActive;
-139
View File
@@ -1,139 +0,0 @@
import { createAggregatedClient } from "@smithy/smithy-client";
import { AddLayerVersionPermissionCommand, } from "./commands/AddLayerVersionPermissionCommand";
import { AddPermissionCommand, } from "./commands/AddPermissionCommand";
import { CreateAliasCommand } from "./commands/CreateAliasCommand";
import { CreateCodeSigningConfigCommand, } from "./commands/CreateCodeSigningConfigCommand";
import { CreateEventSourceMappingCommand, } from "./commands/CreateEventSourceMappingCommand";
import { CreateFunctionCommand, } from "./commands/CreateFunctionCommand";
import { CreateFunctionUrlConfigCommand, } from "./commands/CreateFunctionUrlConfigCommand";
import { DeleteAliasCommand } from "./commands/DeleteAliasCommand";
import { DeleteCodeSigningConfigCommand, } from "./commands/DeleteCodeSigningConfigCommand";
import { DeleteEventSourceMappingCommand, } from "./commands/DeleteEventSourceMappingCommand";
import { DeleteFunctionCodeSigningConfigCommand, } from "./commands/DeleteFunctionCodeSigningConfigCommand";
import { DeleteFunctionCommand, } from "./commands/DeleteFunctionCommand";
import { DeleteFunctionConcurrencyCommand, } from "./commands/DeleteFunctionConcurrencyCommand";
import { DeleteFunctionEventInvokeConfigCommand, } from "./commands/DeleteFunctionEventInvokeConfigCommand";
import { DeleteFunctionUrlConfigCommand, } from "./commands/DeleteFunctionUrlConfigCommand";
import { DeleteLayerVersionCommand, } from "./commands/DeleteLayerVersionCommand";
import { DeleteProvisionedConcurrencyConfigCommand, } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand";
import { GetAliasCommand } from "./commands/GetAliasCommand";
import { GetCodeSigningConfigCommand, } from "./commands/GetCodeSigningConfigCommand";
import { GetEventSourceMappingCommand, } from "./commands/GetEventSourceMappingCommand";
import { GetFunctionCodeSigningConfigCommand, } from "./commands/GetFunctionCodeSigningConfigCommand";
import { GetFunctionCommand } from "./commands/GetFunctionCommand";
import { GetFunctionConcurrencyCommand, } from "./commands/GetFunctionConcurrencyCommand";
import { GetFunctionConfigurationCommand, } from "./commands/GetFunctionConfigurationCommand";
import { GetFunctionEventInvokeConfigCommand, } from "./commands/GetFunctionEventInvokeConfigCommand";
import { GetFunctionUrlConfigCommand, } from "./commands/GetFunctionUrlConfigCommand";
import { GetLayerVersionByArnCommand, } from "./commands/GetLayerVersionByArnCommand";
import { GetLayerVersionCommand, } from "./commands/GetLayerVersionCommand";
import { GetLayerVersionPolicyCommand, } from "./commands/GetLayerVersionPolicyCommand";
import { GetPolicyCommand } from "./commands/GetPolicyCommand";
import { GetProvisionedConcurrencyConfigCommand, } from "./commands/GetProvisionedConcurrencyConfigCommand";
import { GetRuntimeManagementConfigCommand, } from "./commands/GetRuntimeManagementConfigCommand";
import { InvokeAsyncCommand } from "./commands/InvokeAsyncCommand";
import { InvokeCommand } from "./commands/InvokeCommand";
import { InvokeWithResponseStreamCommand, } from "./commands/InvokeWithResponseStreamCommand";
import { ListAliasesCommand } from "./commands/ListAliasesCommand";
import { ListCodeSigningConfigsCommand, } from "./commands/ListCodeSigningConfigsCommand";
import { ListEventSourceMappingsCommand, } from "./commands/ListEventSourceMappingsCommand";
import { ListFunctionEventInvokeConfigsCommand, } from "./commands/ListFunctionEventInvokeConfigsCommand";
import { ListFunctionsByCodeSigningConfigCommand, } from "./commands/ListFunctionsByCodeSigningConfigCommand";
import { ListFunctionsCommand, } from "./commands/ListFunctionsCommand";
import { ListFunctionUrlConfigsCommand, } from "./commands/ListFunctionUrlConfigsCommand";
import { ListLayersCommand } from "./commands/ListLayersCommand";
import { ListLayerVersionsCommand, } from "./commands/ListLayerVersionsCommand";
import { ListProvisionedConcurrencyConfigsCommand, } from "./commands/ListProvisionedConcurrencyConfigsCommand";
import { ListTagsCommand } from "./commands/ListTagsCommand";
import { ListVersionsByFunctionCommand, } from "./commands/ListVersionsByFunctionCommand";
import { PublishLayerVersionCommand, } from "./commands/PublishLayerVersionCommand";
import { PublishVersionCommand, } from "./commands/PublishVersionCommand";
import { PutFunctionCodeSigningConfigCommand, } from "./commands/PutFunctionCodeSigningConfigCommand";
import { PutFunctionConcurrencyCommand, } from "./commands/PutFunctionConcurrencyCommand";
import { PutFunctionEventInvokeConfigCommand, } from "./commands/PutFunctionEventInvokeConfigCommand";
import { PutProvisionedConcurrencyConfigCommand, } from "./commands/PutProvisionedConcurrencyConfigCommand";
import { PutRuntimeManagementConfigCommand, } from "./commands/PutRuntimeManagementConfigCommand";
import { RemoveLayerVersionPermissionCommand, } from "./commands/RemoveLayerVersionPermissionCommand";
import { RemovePermissionCommand, } from "./commands/RemovePermissionCommand";
import { TagResourceCommand } from "./commands/TagResourceCommand";
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
import { UpdateAliasCommand } from "./commands/UpdateAliasCommand";
import { UpdateCodeSigningConfigCommand, } from "./commands/UpdateCodeSigningConfigCommand";
import { UpdateEventSourceMappingCommand, } from "./commands/UpdateEventSourceMappingCommand";
import { UpdateFunctionCodeCommand, } from "./commands/UpdateFunctionCodeCommand";
import { UpdateFunctionConfigurationCommand, } from "./commands/UpdateFunctionConfigurationCommand";
import { UpdateFunctionEventInvokeConfigCommand, } from "./commands/UpdateFunctionEventInvokeConfigCommand";
import { UpdateFunctionUrlConfigCommand, } from "./commands/UpdateFunctionUrlConfigCommand";
import { LambdaClient } from "./LambdaClient";
const commands = {
AddLayerVersionPermissionCommand,
AddPermissionCommand,
CreateAliasCommand,
CreateCodeSigningConfigCommand,
CreateEventSourceMappingCommand,
CreateFunctionCommand,
CreateFunctionUrlConfigCommand,
DeleteAliasCommand,
DeleteCodeSigningConfigCommand,
DeleteEventSourceMappingCommand,
DeleteFunctionCommand,
DeleteFunctionCodeSigningConfigCommand,
DeleteFunctionConcurrencyCommand,
DeleteFunctionEventInvokeConfigCommand,
DeleteFunctionUrlConfigCommand,
DeleteLayerVersionCommand,
DeleteProvisionedConcurrencyConfigCommand,
GetAccountSettingsCommand,
GetAliasCommand,
GetCodeSigningConfigCommand,
GetEventSourceMappingCommand,
GetFunctionCommand,
GetFunctionCodeSigningConfigCommand,
GetFunctionConcurrencyCommand,
GetFunctionConfigurationCommand,
GetFunctionEventInvokeConfigCommand,
GetFunctionUrlConfigCommand,
GetLayerVersionCommand,
GetLayerVersionByArnCommand,
GetLayerVersionPolicyCommand,
GetPolicyCommand,
GetProvisionedConcurrencyConfigCommand,
GetRuntimeManagementConfigCommand,
InvokeCommand,
InvokeAsyncCommand,
InvokeWithResponseStreamCommand,
ListAliasesCommand,
ListCodeSigningConfigsCommand,
ListEventSourceMappingsCommand,
ListFunctionEventInvokeConfigsCommand,
ListFunctionsCommand,
ListFunctionsByCodeSigningConfigCommand,
ListFunctionUrlConfigsCommand,
ListLayersCommand,
ListLayerVersionsCommand,
ListProvisionedConcurrencyConfigsCommand,
ListTagsCommand,
ListVersionsByFunctionCommand,
PublishLayerVersionCommand,
PublishVersionCommand,
PutFunctionCodeSigningConfigCommand,
PutFunctionConcurrencyCommand,
PutFunctionEventInvokeConfigCommand,
PutProvisionedConcurrencyConfigCommand,
PutRuntimeManagementConfigCommand,
RemoveLayerVersionPermissionCommand,
RemovePermissionCommand,
TagResourceCommand,
UntagResourceCommand,
UpdateAliasCommand,
UpdateCodeSigningConfigCommand,
UpdateEventSourceMappingCommand,
UpdateFunctionCodeCommand,
UpdateFunctionConfigurationCommand,
UpdateFunctionEventInvokeConfigCommand,
UpdateFunctionUrlConfigCommand,
};
export class Lambda extends LambdaClient {
}
createAggregatedClient(commands, Lambda);
@@ -1,48 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog, } from "../models/models_0";
import { de_CreateFunctionCommand, se_CreateFunctionCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class CreateFunctionCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, CreateFunctionCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "CreateFunctionCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: CreateFunctionRequestFilterSensitiveLog,
outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "CreateFunction",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_CreateFunctionCommand(input, context);
}
deserialize(output, context) {
return de_CreateFunctionCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_GetFunctionUrlConfigCommand, se_GetFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetFunctionUrlConfigCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, GetFunctionUrlConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "GetFunctionUrlConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "GetFunctionUrlConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_GetFunctionUrlConfigCommand(input, context);
}
deserialize(output, context) {
return de_GetFunctionUrlConfigCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_GetLayerVersionByArnCommand, se_GetLayerVersionByArnCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetLayerVersionByArnCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, GetLayerVersionByArnCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "GetLayerVersionByArnCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "GetLayerVersionByArn",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_GetLayerVersionByArnCommand(input, context);
}
deserialize(output, context) {
return de_GetLayerVersionByArnCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_GetLayerVersionCommand, se_GetLayerVersionCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetLayerVersionCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, GetLayerVersionCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "GetLayerVersionCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "GetLayerVersion",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_GetLayerVersionCommand(input, context);
}
deserialize(output, context) {
return de_GetLayerVersionCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_GetLayerVersionPolicyCommand, se_GetLayerVersionPolicyCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class GetLayerVersionPolicyCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, GetLayerVersionPolicyCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "GetLayerVersionPolicyCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "GetLayerVersionPolicy",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_GetLayerVersionPolicyCommand(input, context);
}
deserialize(output, context) {
return de_GetLayerVersionPolicyCommand(output, context);
}
}
@@ -1,48 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { InvokeWithResponseStreamRequestFilterSensitiveLog, InvokeWithResponseStreamResponseFilterSensitiveLog, } from "../models/models_0";
import { de_InvokeWithResponseStreamCommand, se_InvokeWithResponseStreamCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class InvokeWithResponseStreamCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, InvokeWithResponseStreamCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "InvokeWithResponseStreamCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: InvokeWithResponseStreamRequestFilterSensitiveLog,
outputFilterSensitiveLog: InvokeWithResponseStreamResponseFilterSensitiveLog,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "InvokeWithResponseStream",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_InvokeWithResponseStreamCommand(input, context);
}
deserialize(output, context) {
return de_InvokeWithResponseStreamCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_ListAliasesCommand, se_ListAliasesCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListAliasesCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, ListAliasesCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "ListAliasesCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "ListAliases",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_ListAliasesCommand(input, context);
}
deserialize(output, context) {
return de_ListAliasesCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_ListEventSourceMappingsCommand, se_ListEventSourceMappingsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListEventSourceMappingsCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, ListEventSourceMappingsCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "ListEventSourceMappingsCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "ListEventSourceMappings",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_ListEventSourceMappingsCommand(input, context);
}
deserialize(output, context) {
return de_ListEventSourceMappingsCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_ListFunctionUrlConfigsCommand, se_ListFunctionUrlConfigsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListFunctionUrlConfigsCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, ListFunctionUrlConfigsCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "ListFunctionUrlConfigsCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "ListFunctionUrlConfigs",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_ListFunctionUrlConfigsCommand(input, context);
}
deserialize(output, context) {
return de_ListFunctionUrlConfigsCommand(output, context);
}
}
@@ -1,48 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { ListFunctionsResponseFilterSensitiveLog, } from "../models/models_0";
import { de_ListFunctionsCommand, se_ListFunctionsCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListFunctionsCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, ListFunctionsCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "ListFunctionsCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: ListFunctionsResponseFilterSensitiveLog,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "ListFunctions",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_ListFunctionsCommand(input, context);
}
deserialize(output, context) {
return de_ListFunctionsCommand(output, context);
}
}
@@ -1,48 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { ListVersionsByFunctionResponseFilterSensitiveLog, } from "../models/models_0";
import { de_ListVersionsByFunctionCommand, se_ListVersionsByFunctionCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class ListVersionsByFunctionCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, ListVersionsByFunctionCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "ListVersionsByFunctionCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: ListVersionsByFunctionResponseFilterSensitiveLog,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "ListVersionsByFunction",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_ListVersionsByFunctionCommand(input, context);
}
deserialize(output, context) {
return de_ListVersionsByFunctionCommand(output, context);
}
}
@@ -1,48 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { FunctionConfigurationFilterSensitiveLog, } from "../models/models_0";
import { de_PublishVersionCommand, se_PublishVersionCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class PublishVersionCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, PublishVersionCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "PublishVersionCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "PublishVersion",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_PublishVersionCommand(input, context);
}
deserialize(output, context) {
return de_PublishVersionCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_PutFunctionConcurrencyCommand, se_PutFunctionConcurrencyCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class PutFunctionConcurrencyCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, PutFunctionConcurrencyCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "PutFunctionConcurrencyCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "PutFunctionConcurrency",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_PutFunctionConcurrencyCommand(input, context);
}
deserialize(output, context) {
return de_PutFunctionConcurrencyCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_PutProvisionedConcurrencyConfigCommand, se_PutProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class PutProvisionedConcurrencyConfigCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, PutProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "PutProvisionedConcurrencyConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "PutProvisionedConcurrencyConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_PutProvisionedConcurrencyConfigCommand(input, context);
}
deserialize(output, context) {
return de_PutProvisionedConcurrencyConfigCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_RemoveLayerVersionPermissionCommand, se_RemoveLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class RemoveLayerVersionPermissionCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, RemoveLayerVersionPermissionCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "RemoveLayerVersionPermissionCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "RemoveLayerVersionPermission",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_RemoveLayerVersionPermissionCommand(input, context);
}
deserialize(output, context) {
return de_RemoveLayerVersionPermissionCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class RemovePermissionCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, RemovePermissionCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "RemovePermissionCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "RemovePermission",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_RemovePermissionCommand(input, context);
}
deserialize(output, context) {
return de_RemovePermissionCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class TagResourceCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "TagResourceCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "TagResource",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_TagResourceCommand(input, context);
}
deserialize(output, context) {
return de_TagResourceCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class UntagResourceCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UntagResourceCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UntagResource",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_UntagResourceCommand(input, context);
}
deserialize(output, context) {
return de_UntagResourceCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_UpdateAliasCommand, se_UpdateAliasCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class UpdateAliasCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAliasCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateAliasCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateAlias",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_UpdateAliasCommand(input, context);
}
deserialize(output, context) {
return de_UpdateAliasCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_UpdateCodeSigningConfigCommand, se_UpdateCodeSigningConfigCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class UpdateCodeSigningConfigCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCodeSigningConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateCodeSigningConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateCodeSigningConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_UpdateCodeSigningConfigCommand(input, context);
}
deserialize(output, context) {
return de_UpdateCodeSigningConfigCommand(output, context);
}
}
@@ -1,48 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { FunctionConfigurationFilterSensitiveLog, UpdateFunctionCodeRequestFilterSensitiveLog, } from "../models/models_0";
import { de_UpdateFunctionCodeCommand, se_UpdateFunctionCodeCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class UpdateFunctionCodeCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionCodeCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateFunctionCodeCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: UpdateFunctionCodeRequestFilterSensitiveLog,
outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateFunctionCode",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_UpdateFunctionCodeCommand(input, context);
}
deserialize(output, context) {
return de_UpdateFunctionCodeCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_UpdateFunctionEventInvokeConfigCommand, se_UpdateFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
export { $Command };
export class UpdateFunctionEventInvokeConfigCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionEventInvokeConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateFunctionEventInvokeConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateFunctionEventInvokeConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_UpdateFunctionEventInvokeConfigCommand(input, context);
}
deserialize(output, context) {
return de_UpdateFunctionEventInvokeConfigCommand(output, context);
}
}
@@ -1,47 +0,0 @@
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
import { getSerdePlugin } from "@smithy/middleware-serde";
import { Command as $Command } from "@smithy/smithy-client";
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
import { de_UpdateFunctionUrlConfigCommand, se_UpdateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1";
export { $Command };
export class UpdateFunctionUrlConfigCommand extends $Command {
static getEndpointParameterInstructions() {
return {
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
Endpoint: { type: "builtInParams", name: "endpoint" },
Region: { type: "builtInParams", name: "region" },
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
};
}
constructor(input) {
super();
this.input = input;
}
resolveMiddleware(clientStack, configuration, options) {
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionUrlConfigCommand.getEndpointParameterInstructions()));
const stack = clientStack.concat(this.middlewareStack);
const { logger } = configuration;
const clientName = "LambdaClient";
const commandName = "UpdateFunctionUrlConfigCommand";
const handlerExecutionContext = {
logger,
clientName,
commandName,
inputFilterSensitiveLog: (_) => _,
outputFilterSensitiveLog: (_) => _,
[SMITHY_CONTEXT_KEY]: {
service: "AWSGirApiService",
operation: "UpdateFunctionUrlConfig",
},
};
const { requestHandler } = configuration;
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
}
serialize(input, context) {
return se_UpdateFunctionUrlConfigCommand(input, context);
}
deserialize(output, context) {
return de_UpdateFunctionUrlConfigCommand(output, context);
}
}
-66
View File
@@ -1,66 +0,0 @@
export * from "./AddLayerVersionPermissionCommand";
export * from "./AddPermissionCommand";
export * from "./CreateAliasCommand";
export * from "./CreateCodeSigningConfigCommand";
export * from "./CreateEventSourceMappingCommand";
export * from "./CreateFunctionCommand";
export * from "./CreateFunctionUrlConfigCommand";
export * from "./DeleteAliasCommand";
export * from "./DeleteCodeSigningConfigCommand";
export * from "./DeleteEventSourceMappingCommand";
export * from "./DeleteFunctionCodeSigningConfigCommand";
export * from "./DeleteFunctionCommand";
export * from "./DeleteFunctionConcurrencyCommand";
export * from "./DeleteFunctionEventInvokeConfigCommand";
export * from "./DeleteFunctionUrlConfigCommand";
export * from "./DeleteLayerVersionCommand";
export * from "./DeleteProvisionedConcurrencyConfigCommand";
export * from "./GetAccountSettingsCommand";
export * from "./GetAliasCommand";
export * from "./GetCodeSigningConfigCommand";
export * from "./GetEventSourceMappingCommand";
export * from "./GetFunctionCodeSigningConfigCommand";
export * from "./GetFunctionCommand";
export * from "./GetFunctionConcurrencyCommand";
export * from "./GetFunctionConfigurationCommand";
export * from "./GetFunctionEventInvokeConfigCommand";
export * from "./GetFunctionUrlConfigCommand";
export * from "./GetLayerVersionByArnCommand";
export * from "./GetLayerVersionCommand";
export * from "./GetLayerVersionPolicyCommand";
export * from "./GetPolicyCommand";
export * from "./GetProvisionedConcurrencyConfigCommand";
export * from "./GetRuntimeManagementConfigCommand";
export * from "./InvokeAsyncCommand";
export * from "./InvokeCommand";
export * from "./InvokeWithResponseStreamCommand";
export * from "./ListAliasesCommand";
export * from "./ListCodeSigningConfigsCommand";
export * from "./ListEventSourceMappingsCommand";
export * from "./ListFunctionEventInvokeConfigsCommand";
export * from "./ListFunctionUrlConfigsCommand";
export * from "./ListFunctionsByCodeSigningConfigCommand";
export * from "./ListFunctionsCommand";
export * from "./ListLayerVersionsCommand";
export * from "./ListLayersCommand";
export * from "./ListProvisionedConcurrencyConfigsCommand";
export * from "./ListTagsCommand";
export * from "./ListVersionsByFunctionCommand";
export * from "./PublishLayerVersionCommand";
export * from "./PublishVersionCommand";
export * from "./PutFunctionCodeSigningConfigCommand";
export * from "./PutFunctionConcurrencyCommand";
export * from "./PutFunctionEventInvokeConfigCommand";
export * from "./PutProvisionedConcurrencyConfigCommand";
export * from "./PutRuntimeManagementConfigCommand";
export * from "./RemoveLayerVersionPermissionCommand";
export * from "./RemovePermissionCommand";
export * from "./TagResourceCommand";
export * from "./UntagResourceCommand";
export * from "./UpdateAliasCommand";
export * from "./UpdateCodeSigningConfigCommand";
export * from "./UpdateEventSourceMappingCommand";
export * from "./UpdateFunctionCodeCommand";
export * from "./UpdateFunctionConfigurationCommand";
export * from "./UpdateFunctionEventInvokeConfigCommand";
export * from "./UpdateFunctionUrlConfigCommand";
-4
View File
@@ -1,4 +0,0 @@
const s = "required", t = "fn", u = "argv", v = "ref";
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
export const ruleSet = _data;
-1
View File
@@ -1 +0,0 @@
export * from "./models_0";
-849
View File
@@ -1,849 +0,0 @@
import { SENSITIVE_STRING } from "@smithy/smithy-client";
import { LambdaServiceException as __BaseException } from "./LambdaServiceException";
export class InvalidParameterValueException extends __BaseException {
constructor(opts) {
super({
name: "InvalidParameterValueException",
$fault: "client",
...opts,
});
this.name = "InvalidParameterValueException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
this.Type = opts.Type;
}
}
export class PolicyLengthExceededException extends __BaseException {
constructor(opts) {
super({
name: "PolicyLengthExceededException",
$fault: "client",
...opts,
});
this.name = "PolicyLengthExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, PolicyLengthExceededException.prototype);
this.Type = opts.Type;
}
}
export class PreconditionFailedException extends __BaseException {
constructor(opts) {
super({
name: "PreconditionFailedException",
$fault: "client",
...opts,
});
this.name = "PreconditionFailedException";
this.$fault = "client";
Object.setPrototypeOf(this, PreconditionFailedException.prototype);
this.Type = opts.Type;
}
}
export class ResourceConflictException extends __BaseException {
constructor(opts) {
super({
name: "ResourceConflictException",
$fault: "client",
...opts,
});
this.name = "ResourceConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceConflictException.prototype);
this.Type = opts.Type;
}
}
export class ResourceNotFoundException extends __BaseException {
constructor(opts) {
super({
name: "ResourceNotFoundException",
$fault: "client",
...opts,
});
this.name = "ResourceNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class ServiceException extends __BaseException {
constructor(opts) {
super({
name: "ServiceException",
$fault: "server",
...opts,
});
this.name = "ServiceException";
this.$fault = "server";
Object.setPrototypeOf(this, ServiceException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export const ThrottleReason = {
CallerRateLimitExceeded: "CallerRateLimitExceeded",
ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded",
ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded",
FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded",
ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded",
ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded",
};
export class TooManyRequestsException extends __BaseException {
constructor(opts) {
super({
name: "TooManyRequestsException",
$fault: "client",
...opts,
});
this.name = "TooManyRequestsException";
this.$fault = "client";
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
this.retryAfterSeconds = opts.retryAfterSeconds;
this.Type = opts.Type;
this.Reason = opts.Reason;
}
}
export const FunctionUrlAuthType = {
AWS_IAM: "AWS_IAM",
NONE: "NONE",
};
export const ApplicationLogLevel = {
Debug: "DEBUG",
Error: "ERROR",
Fatal: "FATAL",
Info: "INFO",
Trace: "TRACE",
Warn: "WARN",
};
export const Architecture = {
arm64: "arm64",
x86_64: "x86_64",
};
export const CodeSigningPolicy = {
Enforce: "Enforce",
Warn: "Warn",
};
export const FullDocument = {
Default: "Default",
UpdateLookup: "UpdateLookup",
};
export const FunctionResponseType = {
ReportBatchItemFailures: "ReportBatchItemFailures",
};
export const EndPointType = {
KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS",
};
export const SourceAccessType = {
BASIC_AUTH: "BASIC_AUTH",
CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH",
SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH",
SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH",
SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE",
VIRTUAL_HOST: "VIRTUAL_HOST",
VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP",
VPC_SUBNET: "VPC_SUBNET",
};
export const EventSourcePosition = {
AT_TIMESTAMP: "AT_TIMESTAMP",
LATEST: "LATEST",
TRIM_HORIZON: "TRIM_HORIZON",
};
export class CodeSigningConfigNotFoundException extends __BaseException {
constructor(opts) {
super({
name: "CodeSigningConfigNotFoundException",
$fault: "client",
...opts,
});
this.name = "CodeSigningConfigNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class CodeStorageExceededException extends __BaseException {
constructor(opts) {
super({
name: "CodeStorageExceededException",
$fault: "client",
...opts,
});
this.name = "CodeStorageExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, CodeStorageExceededException.prototype);
this.Type = opts.Type;
}
}
export class CodeVerificationFailedException extends __BaseException {
constructor(opts) {
super({
name: "CodeVerificationFailedException",
$fault: "client",
...opts,
});
this.name = "CodeVerificationFailedException";
this.$fault = "client";
Object.setPrototypeOf(this, CodeVerificationFailedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export const LogFormat = {
Json: "JSON",
Text: "Text",
};
export const SystemLogLevel = {
Debug: "DEBUG",
Info: "INFO",
Warn: "WARN",
};
export const PackageType = {
Image: "Image",
Zip: "Zip",
};
export const Runtime = {
dotnet6: "dotnet6",
dotnetcore10: "dotnetcore1.0",
dotnetcore20: "dotnetcore2.0",
dotnetcore21: "dotnetcore2.1",
dotnetcore31: "dotnetcore3.1",
go1x: "go1.x",
java11: "java11",
java17: "java17",
java21: "java21",
java8: "java8",
java8al2: "java8.al2",
nodejs: "nodejs",
nodejs10x: "nodejs10.x",
nodejs12x: "nodejs12.x",
nodejs14x: "nodejs14.x",
nodejs16x: "nodejs16.x",
nodejs18x: "nodejs18.x",
nodejs20x: "nodejs20.x",
nodejs43: "nodejs4.3",
nodejs43edge: "nodejs4.3-edge",
nodejs610: "nodejs6.10",
nodejs810: "nodejs8.10",
provided: "provided",
providedal2: "provided.al2",
providedal2023: "provided.al2023",
python27: "python2.7",
python310: "python3.10",
python311: "python3.11",
python312: "python3.12",
python36: "python3.6",
python37: "python3.7",
python38: "python3.8",
python39: "python3.9",
ruby25: "ruby2.5",
ruby27: "ruby2.7",
ruby32: "ruby3.2",
};
export const SnapStartApplyOn = {
None: "None",
PublishedVersions: "PublishedVersions",
};
export const TracingMode = {
Active: "Active",
PassThrough: "PassThrough",
};
export const LastUpdateStatus = {
Failed: "Failed",
InProgress: "InProgress",
Successful: "Successful",
};
export const LastUpdateStatusReasonCode = {
DisabledKMSKey: "DisabledKMSKey",
EFSIOError: "EFSIOError",
EFSMountConnectivityError: "EFSMountConnectivityError",
EFSMountFailure: "EFSMountFailure",
EFSMountTimeout: "EFSMountTimeout",
EniLimitExceeded: "EniLimitExceeded",
FunctionError: "FunctionError",
ImageAccessDenied: "ImageAccessDenied",
ImageDeleted: "ImageDeleted",
InsufficientRolePermissions: "InsufficientRolePermissions",
InternalError: "InternalError",
InvalidConfiguration: "InvalidConfiguration",
InvalidImage: "InvalidImage",
InvalidRuntime: "InvalidRuntime",
InvalidSecurityGroup: "InvalidSecurityGroup",
InvalidStateKMSKey: "InvalidStateKMSKey",
InvalidSubnet: "InvalidSubnet",
InvalidZipFileException: "InvalidZipFileException",
KMSKeyAccessDenied: "KMSKeyAccessDenied",
KMSKeyNotFound: "KMSKeyNotFound",
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
};
export const SnapStartOptimizationStatus = {
Off: "Off",
On: "On",
};
export const State = {
Active: "Active",
Failed: "Failed",
Inactive: "Inactive",
Pending: "Pending",
};
export const StateReasonCode = {
Creating: "Creating",
DisabledKMSKey: "DisabledKMSKey",
EFSIOError: "EFSIOError",
EFSMountConnectivityError: "EFSMountConnectivityError",
EFSMountFailure: "EFSMountFailure",
EFSMountTimeout: "EFSMountTimeout",
EniLimitExceeded: "EniLimitExceeded",
FunctionError: "FunctionError",
Idle: "Idle",
ImageAccessDenied: "ImageAccessDenied",
ImageDeleted: "ImageDeleted",
InsufficientRolePermissions: "InsufficientRolePermissions",
InternalError: "InternalError",
InvalidConfiguration: "InvalidConfiguration",
InvalidImage: "InvalidImage",
InvalidRuntime: "InvalidRuntime",
InvalidSecurityGroup: "InvalidSecurityGroup",
InvalidStateKMSKey: "InvalidStateKMSKey",
InvalidSubnet: "InvalidSubnet",
InvalidZipFileException: "InvalidZipFileException",
KMSKeyAccessDenied: "KMSKeyAccessDenied",
KMSKeyNotFound: "KMSKeyNotFound",
Restoring: "Restoring",
SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses",
};
export class InvalidCodeSignatureException extends __BaseException {
constructor(opts) {
super({
name: "InvalidCodeSignatureException",
$fault: "client",
...opts,
});
this.name = "InvalidCodeSignatureException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export const InvokeMode = {
BUFFERED: "BUFFERED",
RESPONSE_STREAM: "RESPONSE_STREAM",
};
export class ResourceInUseException extends __BaseException {
constructor(opts) {
super({
name: "ResourceInUseException",
$fault: "client",
...opts,
});
this.name = "ResourceInUseException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceInUseException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export const ProvisionedConcurrencyStatusEnum = {
FAILED: "FAILED",
IN_PROGRESS: "IN_PROGRESS",
READY: "READY",
};
export class ProvisionedConcurrencyConfigNotFoundException extends __BaseException {
constructor(opts) {
super({
name: "ProvisionedConcurrencyConfigNotFoundException",
$fault: "client",
...opts,
});
this.name = "ProvisionedConcurrencyConfigNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype);
this.Type = opts.Type;
}
}
export const UpdateRuntimeOn = {
Auto: "Auto",
FunctionUpdate: "FunctionUpdate",
Manual: "Manual",
};
export class EC2AccessDeniedException extends __BaseException {
constructor(opts) {
super({
name: "EC2AccessDeniedException",
$fault: "server",
...opts,
});
this.name = "EC2AccessDeniedException";
this.$fault = "server";
Object.setPrototypeOf(this, EC2AccessDeniedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class EC2ThrottledException extends __BaseException {
constructor(opts) {
super({
name: "EC2ThrottledException",
$fault: "server",
...opts,
});
this.name = "EC2ThrottledException";
this.$fault = "server";
Object.setPrototypeOf(this, EC2ThrottledException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class EC2UnexpectedException extends __BaseException {
constructor(opts) {
super({
name: "EC2UnexpectedException",
$fault: "server",
...opts,
});
this.name = "EC2UnexpectedException";
this.$fault = "server";
Object.setPrototypeOf(this, EC2UnexpectedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
this.EC2ErrorCode = opts.EC2ErrorCode;
}
}
export class EFSIOException extends __BaseException {
constructor(opts) {
super({
name: "EFSIOException",
$fault: "client",
...opts,
});
this.name = "EFSIOException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSIOException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class EFSMountConnectivityException extends __BaseException {
constructor(opts) {
super({
name: "EFSMountConnectivityException",
$fault: "client",
...opts,
});
this.name = "EFSMountConnectivityException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSMountConnectivityException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class EFSMountFailureException extends __BaseException {
constructor(opts) {
super({
name: "EFSMountFailureException",
$fault: "client",
...opts,
});
this.name = "EFSMountFailureException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSMountFailureException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class EFSMountTimeoutException extends __BaseException {
constructor(opts) {
super({
name: "EFSMountTimeoutException",
$fault: "client",
...opts,
});
this.name = "EFSMountTimeoutException";
this.$fault = "client";
Object.setPrototypeOf(this, EFSMountTimeoutException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class ENILimitReachedException extends __BaseException {
constructor(opts) {
super({
name: "ENILimitReachedException",
$fault: "server",
...opts,
});
this.name = "ENILimitReachedException";
this.$fault = "server";
Object.setPrototypeOf(this, ENILimitReachedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class InvalidRequestContentException extends __BaseException {
constructor(opts) {
super({
name: "InvalidRequestContentException",
$fault: "client",
...opts,
});
this.name = "InvalidRequestContentException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidRequestContentException.prototype);
this.Type = opts.Type;
}
}
export class InvalidRuntimeException extends __BaseException {
constructor(opts) {
super({
name: "InvalidRuntimeException",
$fault: "server",
...opts,
});
this.name = "InvalidRuntimeException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidRuntimeException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class InvalidSecurityGroupIDException extends __BaseException {
constructor(opts) {
super({
name: "InvalidSecurityGroupIDException",
$fault: "server",
...opts,
});
this.name = "InvalidSecurityGroupIDException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class InvalidSubnetIDException extends __BaseException {
constructor(opts) {
super({
name: "InvalidSubnetIDException",
$fault: "server",
...opts,
});
this.name = "InvalidSubnetIDException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidSubnetIDException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class InvalidZipFileException extends __BaseException {
constructor(opts) {
super({
name: "InvalidZipFileException",
$fault: "server",
...opts,
});
this.name = "InvalidZipFileException";
this.$fault = "server";
Object.setPrototypeOf(this, InvalidZipFileException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export const InvocationType = {
DryRun: "DryRun",
Event: "Event",
RequestResponse: "RequestResponse",
};
export const LogType = {
None: "None",
Tail: "Tail",
};
export class KMSAccessDeniedException extends __BaseException {
constructor(opts) {
super({
name: "KMSAccessDeniedException",
$fault: "server",
...opts,
});
this.name = "KMSAccessDeniedException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class KMSDisabledException extends __BaseException {
constructor(opts) {
super({
name: "KMSDisabledException",
$fault: "server",
...opts,
});
this.name = "KMSDisabledException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSDisabledException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class KMSInvalidStateException extends __BaseException {
constructor(opts) {
super({
name: "KMSInvalidStateException",
$fault: "server",
...opts,
});
this.name = "KMSInvalidStateException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class KMSNotFoundException extends __BaseException {
constructor(opts) {
super({
name: "KMSNotFoundException",
$fault: "server",
...opts,
});
this.name = "KMSNotFoundException";
this.$fault = "server";
Object.setPrototypeOf(this, KMSNotFoundException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class RecursiveInvocationException extends __BaseException {
constructor(opts) {
super({
name: "RecursiveInvocationException",
$fault: "client",
...opts,
});
this.name = "RecursiveInvocationException";
this.$fault = "client";
Object.setPrototypeOf(this, RecursiveInvocationException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class RequestTooLargeException extends __BaseException {
constructor(opts) {
super({
name: "RequestTooLargeException",
$fault: "client",
...opts,
});
this.name = "RequestTooLargeException";
this.$fault = "client";
Object.setPrototypeOf(this, RequestTooLargeException.prototype);
this.Type = opts.Type;
}
}
export class ResourceNotReadyException extends __BaseException {
constructor(opts) {
super({
name: "ResourceNotReadyException",
$fault: "server",
...opts,
});
this.name = "ResourceNotReadyException";
this.$fault = "server";
Object.setPrototypeOf(this, ResourceNotReadyException.prototype);
this.Type = opts.Type;
}
}
export class SnapStartException extends __BaseException {
constructor(opts) {
super({
name: "SnapStartException",
$fault: "client",
...opts,
});
this.name = "SnapStartException";
this.$fault = "client";
Object.setPrototypeOf(this, SnapStartException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class SnapStartNotReadyException extends __BaseException {
constructor(opts) {
super({
name: "SnapStartNotReadyException",
$fault: "client",
...opts,
});
this.name = "SnapStartNotReadyException";
this.$fault = "client";
Object.setPrototypeOf(this, SnapStartNotReadyException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class SnapStartTimeoutException extends __BaseException {
constructor(opts) {
super({
name: "SnapStartTimeoutException",
$fault: "client",
...opts,
});
this.name = "SnapStartTimeoutException";
this.$fault = "client";
Object.setPrototypeOf(this, SnapStartTimeoutException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class SubnetIPAddressLimitReachedException extends __BaseException {
constructor(opts) {
super({
name: "SubnetIPAddressLimitReachedException",
$fault: "server",
...opts,
});
this.name = "SubnetIPAddressLimitReachedException";
this.$fault = "server";
Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype);
this.Type = opts.Type;
this.Message = opts.Message;
}
}
export class UnsupportedMediaTypeException extends __BaseException {
constructor(opts) {
super({
name: "UnsupportedMediaTypeException",
$fault: "client",
...opts,
});
this.name = "UnsupportedMediaTypeException";
this.$fault = "client";
Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
this.Type = opts.Type;
}
}
export const ResponseStreamingInvocationType = {
DryRun: "DryRun",
RequestResponse: "RequestResponse",
};
export var InvokeWithResponseStreamResponseEvent;
(function (InvokeWithResponseStreamResponseEvent) {
InvokeWithResponseStreamResponseEvent.visit = (value, visitor) => {
if (value.PayloadChunk !== undefined)
return visitor.PayloadChunk(value.PayloadChunk);
if (value.InvokeComplete !== undefined)
return visitor.InvokeComplete(value.InvokeComplete);
return visitor._(value.$unknown[0], value.$unknown[1]);
};
})(InvokeWithResponseStreamResponseEvent || (InvokeWithResponseStreamResponseEvent = {}));
export const FunctionVersion = {
ALL: "ALL",
};
export const FunctionCodeFilterSensitiveLog = (obj) => ({
...obj,
...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }),
});
export const EnvironmentFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Variables && { Variables: SENSITIVE_STRING }),
});
export const CreateFunctionRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Code && { Code: FunctionCodeFilterSensitiveLog(obj.Code) }),
...(obj.Environment && { Environment: EnvironmentFilterSensitiveLog(obj.Environment) }),
});
export const EnvironmentErrorFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Message && { Message: SENSITIVE_STRING }),
});
export const EnvironmentResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Variables && { Variables: SENSITIVE_STRING }),
...(obj.Error && { Error: EnvironmentErrorFilterSensitiveLog(obj.Error) }),
});
export const ImageConfigErrorFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Message && { Message: SENSITIVE_STRING }),
});
export const ImageConfigResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Error && { Error: ImageConfigErrorFilterSensitiveLog(obj.Error) }),
});
export const RuntimeVersionErrorFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Message && { Message: SENSITIVE_STRING }),
});
export const RuntimeVersionConfigFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Error && { Error: RuntimeVersionErrorFilterSensitiveLog(obj.Error) }),
});
export const FunctionConfigurationFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Environment && { Environment: EnvironmentResponseFilterSensitiveLog(obj.Environment) }),
...(obj.ImageConfigResponse && {
ImageConfigResponse: ImageConfigResponseFilterSensitiveLog(obj.ImageConfigResponse),
}),
...(obj.RuntimeVersionConfig && {
RuntimeVersionConfig: RuntimeVersionConfigFilterSensitiveLog(obj.RuntimeVersionConfig),
}),
});
export const GetFunctionResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Configuration && { Configuration: FunctionConfigurationFilterSensitiveLog(obj.Configuration) }),
});
export const InvocationRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: SENSITIVE_STRING }),
});
export const InvocationResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: SENSITIVE_STRING }),
});
export const InvokeAsyncRequestFilterSensitiveLog = (obj) => ({
...obj,
});
export const InvokeWithResponseStreamRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: SENSITIVE_STRING }),
});
export const InvokeResponseStreamUpdateFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Payload && { Payload: SENSITIVE_STRING }),
});
export const InvokeWithResponseStreamResponseEventFilterSensitiveLog = (obj) => {
if (obj.PayloadChunk !== undefined)
return { PayloadChunk: InvokeResponseStreamUpdateFilterSensitiveLog(obj.PayloadChunk) };
if (obj.InvokeComplete !== undefined)
return { InvokeComplete: obj.InvokeComplete };
if (obj.$unknown !== undefined)
return { [obj.$unknown[0]]: "UNKNOWN" };
};
export const InvokeWithResponseStreamResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
});
export const ListFunctionsResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Functions && { Functions: obj.Functions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }),
});
export const ListVersionsByFunctionResponseFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Versions && { Versions: obj.Versions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }),
});
export const LayerVersionContentInputFilterSensitiveLog = (obj) => ({
...obj,
...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }),
});
export const PublishLayerVersionRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Content && { Content: LayerVersionContentInputFilterSensitiveLog(obj.Content) }),
});
export const UpdateFunctionCodeRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }),
});
export const UpdateFunctionConfigurationRequestFilterSensitiveLog = (obj) => ({
...obj,
...(obj.Environment && { Environment: EnvironmentFilterSensitiveLog(obj.Environment) }),
});
@@ -1,25 +0,0 @@
import { ListAliasesCommand } from "../commands/ListAliasesCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListAliasesCommand(input), ...args);
};
export async function* paginateListAliases(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -1,25 +0,0 @@
import { ListCodeSigningConfigsCommand, } from "../commands/ListCodeSigningConfigsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListCodeSigningConfigsCommand(input), ...args);
};
export async function* paginateListCodeSigningConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -1,25 +0,0 @@
import { ListFunctionsByCodeSigningConfigCommand, } from "../commands/ListFunctionsByCodeSigningConfigCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionsByCodeSigningConfigCommand(input), ...args);
};
export async function* paginateListFunctionsByCodeSigningConfig(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -1,25 +0,0 @@
import { ListLayersCommand } from "../commands/ListLayersCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListLayersCommand(input), ...args);
};
export async function* paginateListLayers(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -1,25 +0,0 @@
import { ListProvisionedConcurrencyConfigsCommand, } from "../commands/ListProvisionedConcurrencyConfigsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListProvisionedConcurrencyConfigsCommand(input), ...args);
};
export async function* paginateListProvisionedConcurrencyConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
-12
View File
@@ -1,12 +0,0 @@
export * from "./Interfaces";
export * from "./ListAliasesPaginator";
export * from "./ListCodeSigningConfigsPaginator";
export * from "./ListEventSourceMappingsPaginator";
export * from "./ListFunctionEventInvokeConfigsPaginator";
export * from "./ListFunctionUrlConfigsPaginator";
export * from "./ListFunctionsByCodeSigningConfigPaginator";
export * from "./ListFunctionsPaginator";
export * from "./ListLayerVersionsPaginator";
export * from "./ListLayersPaginator";
export * from "./ListProvisionedConcurrencyConfigsPaginator";
export * from "./ListVersionsByFunctionPaginator";
File diff suppressed because it is too large Load Diff
-6
View File
@@ -1,6 +0,0 @@
export * from "./waitForFunctionActive";
export * from "./waitForFunctionActiveV2";
export * from "./waitForFunctionExists";
export * from "./waitForFunctionUpdated";
export * from "./waitForFunctionUpdatedV2";
export * from "./waitForPublishedVersionActive";
@@ -1,49 +0,0 @@
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigurationCommand";
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionConfigurationCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Active") {
return { state: WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Failed") {
return { state: WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Pending") {
return { state: WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: WaiterState.RETRY, reason };
};
export const waitForFunctionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
export const waitUntilFunctionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
@@ -1,49 +0,0 @@
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
import { GetFunctionCommand } from "../commands/GetFunctionCommand";
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.Configuration.State;
};
if (returnComparator() === "Active") {
return { state: WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.State;
};
if (returnComparator() === "Failed") {
return { state: WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.State;
};
if (returnComparator() === "Pending") {
return { state: WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: WaiterState.RETRY, reason };
};
export const waitForFunctionActiveV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
export const waitUntilFunctionActiveV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
@@ -1,26 +0,0 @@
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
import { GetFunctionCommand } from "../commands/GetFunctionCommand";
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionCommand(input));
reason = result;
return { state: WaiterState.SUCCESS, reason };
}
catch (exception) {
reason = exception;
if (exception.name && exception.name == "ResourceNotFoundException") {
return { state: WaiterState.RETRY, reason };
}
}
return { state: WaiterState.RETRY, reason };
};
export const waitForFunctionExists = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
export const waitUntilFunctionExists = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
@@ -1,49 +0,0 @@
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigurationCommand";
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionConfigurationCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.LastUpdateStatus;
};
if (returnComparator() === "Successful") {
return { state: WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.LastUpdateStatus;
};
if (returnComparator() === "Failed") {
return { state: WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.LastUpdateStatus;
};
if (returnComparator() === "InProgress") {
return { state: WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: WaiterState.RETRY, reason };
};
export const waitForFunctionUpdated = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
export const waitUntilFunctionUpdated = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
@@ -1,49 +0,0 @@
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
import { GetFunctionCommand } from "../commands/GetFunctionCommand";
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.Configuration.LastUpdateStatus;
};
if (returnComparator() === "Successful") {
return { state: WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.LastUpdateStatus;
};
if (returnComparator() === "Failed") {
return { state: WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.Configuration.LastUpdateStatus;
};
if (returnComparator() === "InProgress") {
return { state: WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: WaiterState.RETRY, reason };
};
export const waitForFunctionUpdatedV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
export const waitUntilFunctionUpdatedV2 = async (params, input) => {
const serviceDefaults = { minDelay: 1, maxDelay: 120 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
@@ -1,49 +0,0 @@
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigurationCommand";
const checkState = async (client, input) => {
let reason;
try {
const result = await client.send(new GetFunctionConfigurationCommand(input));
reason = result;
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Active") {
return { state: WaiterState.SUCCESS, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Failed") {
return { state: WaiterState.FAILURE, reason };
}
}
catch (e) { }
try {
const returnComparator = () => {
return result.State;
};
if (returnComparator() === "Pending") {
return { state: WaiterState.RETRY, reason };
}
}
catch (e) { }
}
catch (exception) {
reason = exception;
}
return { state: WaiterState.RETRY, reason };
};
export const waitForPublishedVersionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
export const waitUntilPublishedVersionActive = async (params, input) => {
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
-536
View File
@@ -1,536 +0,0 @@
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "./commands/CreateCodeSigningConfigCommand";
import { CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput } from "./commands/CreateEventSourceMappingCommand";
import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
import { CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput } from "./commands/CreateFunctionUrlConfigCommand";
import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
import { DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput } from "./commands/DeleteCodeSigningConfigCommand";
import { DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput } from "./commands/DeleteEventSourceMappingCommand";
import { DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput } from "./commands/DeleteFunctionCodeSigningConfigCommand";
import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
import { DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput } from "./commands/DeleteFunctionConcurrencyCommand";
import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput } from "./commands/DeleteFunctionEventInvokeConfigCommand";
import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "./commands/DeleteFunctionUrlConfigCommand";
import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "./commands/DeleteLayerVersionCommand";
import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "./commands/GetEventSourceMappingCommand";
import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "./commands/GetFunctionCodeSigningConfigCommand";
import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "./commands/GetFunctionConcurrencyCommand";
import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "./commands/GetFunctionConfigurationCommand";
import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "./commands/GetFunctionEventInvokeConfigCommand";
import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "./commands/GetFunctionUrlConfigCommand";
import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "./commands/GetLayerVersionByArnCommand";
import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./commands/GetLayerVersionCommand";
import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand";
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand";
import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand";
import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput } from "./commands/InvokeWithResponseStreamCommand";
import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "./commands/ListCodeSigningConfigsCommand";
import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "./commands/ListEventSourceMappingsCommand";
import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "./commands/ListFunctionEventInvokeConfigsCommand";
import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "./commands/ListFunctionsByCodeSigningConfigCommand";
import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
import { ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput } from "./commands/ListFunctionUrlConfigsCommand";
import { ListLayersCommandInput, ListLayersCommandOutput } from "./commands/ListLayersCommand";
import { ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput } from "./commands/ListLayerVersionsCommand";
import { ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput } from "./commands/ListProvisionedConcurrencyConfigsCommand";
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
import { ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput } from "./commands/ListVersionsByFunctionCommand";
import { PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput } from "./commands/PublishLayerVersionCommand";
import { PublishVersionCommandInput, PublishVersionCommandOutput } from "./commands/PublishVersionCommand";
import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "./commands/PutFunctionCodeSigningConfigCommand";
import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "./commands/PutFunctionConcurrencyCommand";
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
import { UpdateCodeSigningConfigCommandInput, UpdateCodeSigningConfigCommandOutput } from "./commands/UpdateCodeSigningConfigCommand";
import { UpdateEventSourceMappingCommandInput, UpdateEventSourceMappingCommandOutput } from "./commands/UpdateEventSourceMappingCommand";
import { UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput } from "./commands/UpdateFunctionCodeCommand";
import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput } from "./commands/UpdateFunctionConfigurationCommand";
import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "./commands/UpdateFunctionEventInvokeConfigCommand";
import { UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "./commands/UpdateFunctionUrlConfigCommand";
import { LambdaClient } from "./LambdaClient";
export interface Lambda {
/**
* @see {@link AddLayerVersionPermissionCommand}
*/
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddLayerVersionPermissionCommandOutput>;
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void;
addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void;
/**
* @see {@link AddPermissionCommand}
*/
addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise<AddPermissionCommandOutput>;
addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void;
/**
* @see {@link CreateAliasCommand}
*/
createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise<CreateAliasCommandOutput>;
createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
createAlias(args: CreateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void;
/**
* @see {@link CreateCodeSigningConfigCommand}
*/
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateCodeSigningConfigCommandOutput>;
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void;
createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link CreateEventSourceMappingCommand}
*/
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventSourceMappingCommandOutput>;
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void;
createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void;
/**
* @see {@link CreateFunctionCommand}
*/
createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionCommandOutput>;
createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void;
/**
* @see {@link CreateFunctionUrlConfigCommand}
*/
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<CreateFunctionUrlConfigCommandOutput>;
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void): void;
createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void): void;
/**
* @see {@link DeleteAliasCommand}
*/
deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAliasCommandOutput>;
deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
deleteAlias(args: DeleteAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void;
/**
* @see {@link DeleteCodeSigningConfigCommand}
*/
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCodeSigningConfigCommandOutput>;
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void;
deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link DeleteEventSourceMappingCommand}
*/
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventSourceMappingCommandOutput>;
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void;
deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void;
/**
* @see {@link DeleteFunctionCommand}
*/
deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCommandOutput>;
deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void;
/**
* @see {@link DeleteFunctionCodeSigningConfigCommand}
*/
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionCodeSigningConfigCommandOutput>;
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void;
deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link DeleteFunctionConcurrencyCommand}
*/
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionConcurrencyCommandOutput>;
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void;
deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void;
/**
* @see {@link DeleteFunctionEventInvokeConfigCommand}
*/
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionEventInvokeConfigCommandOutput>;
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void;
deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void;
/**
* @see {@link DeleteFunctionUrlConfigCommand}
*/
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFunctionUrlConfigCommandOutput>;
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void): void;
deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void): void;
/**
* @see {@link DeleteLayerVersionCommand}
*/
deleteLayerVersion(args: DeleteLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLayerVersionCommandOutput>;
deleteLayerVersion(args: DeleteLayerVersionCommandInput, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void;
deleteLayerVersion(args: DeleteLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void;
/**
* @see {@link DeleteProvisionedConcurrencyConfigCommand}
*/
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProvisionedConcurrencyConfigCommandOutput>;
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void;
/**
* @see {@link GetAccountSettingsCommand}
*/
getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountSettingsCommandOutput>;
getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void;
/**
* @see {@link GetAliasCommand}
*/
getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetAliasCommandOutput>;
getAlias(args: GetAliasCommandInput, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
getAlias(args: GetAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAliasCommandOutput) => void): void;
/**
* @see {@link GetCodeSigningConfigCommand}
*/
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetCodeSigningConfigCommandOutput>;
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link GetEventSourceMappingCommand}
*/
getEventSourceMapping(args: GetEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<GetEventSourceMappingCommandOutput>;
getEventSourceMapping(args: GetEventSourceMappingCommandInput, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void;
getEventSourceMapping(args: GetEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void;
/**
* @see {@link GetFunctionCommand}
*/
getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCommandOutput>;
getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void;
/**
* @see {@link GetFunctionCodeSigningConfigCommand}
*/
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionCodeSigningConfigCommandOutput>;
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void;
getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link GetFunctionConcurrencyCommand}
*/
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionConcurrencyCommandOutput>;
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void;
getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void;
/**
* @see {@link GetFunctionConfigurationCommand}
*/
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionConfigurationCommandOutput>;
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void;
getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void;
/**
* @see {@link GetFunctionEventInvokeConfigCommand}
*/
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionEventInvokeConfigCommandOutput>;
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void;
/**
* @see {@link GetFunctionUrlConfigCommand}
*/
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetFunctionUrlConfigCommandOutput>;
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void): void;
getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void): void;
/**
* @see {@link GetLayerVersionCommand}
*/
getLayerVersion(args: GetLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionCommandOutput>;
getLayerVersion(args: GetLayerVersionCommandInput, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void;
getLayerVersion(args: GetLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void;
/**
* @see {@link GetLayerVersionByArnCommand}
*/
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionByArnCommandOutput>;
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void;
getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void;
/**
* @see {@link GetLayerVersionPolicyCommand}
*/
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLayerVersionPolicyCommandOutput>;
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void;
getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void;
/**
* @see {@link GetPolicyCommand}
*/
getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPolicyCommandOutput>;
getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void;
/**
* @see {@link GetProvisionedConcurrencyConfigCommand}
*/
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetProvisionedConcurrencyConfigCommandOutput>;
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void;
/**
* @see {@link GetRuntimeManagementConfigCommand}
*/
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Promise<GetRuntimeManagementConfigCommandOutput>;
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void): void;
getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void): void;
/**
* @see {@link InvokeCommand}
*/
invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Promise<InvokeCommandOutput>;
invoke(args: InvokeCommandInput, cb: (err: any, data?: InvokeCommandOutput) => void): void;
invoke(args: InvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeCommandOutput) => void): void;
/**
* @see {@link InvokeAsyncCommand}
*/
invokeAsync(args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions): Promise<InvokeAsyncCommandOutput>;
invokeAsync(args: InvokeAsyncCommandInput, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void;
invokeAsync(args: InvokeAsyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void;
/**
* @see {@link InvokeWithResponseStreamCommand}
*/
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options?: __HttpHandlerOptions): Promise<InvokeWithResponseStreamCommandOutput>;
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void): void;
invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void): void;
/**
* @see {@link ListAliasesCommand}
*/
listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListAliasesCommandOutput>;
listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
listAliases(args: ListAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void): void;
/**
* @see {@link ListCodeSigningConfigsCommand}
*/
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListCodeSigningConfigsCommandOutput>;
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void;
/**
* @see {@link ListEventSourceMappingsCommand}
*/
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSourceMappingsCommandOutput>;
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void;
listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void;
/**
* @see {@link ListFunctionEventInvokeConfigsCommand}
*/
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionEventInvokeConfigsCommandOutput>;
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void;
listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void;
/**
* @see {@link ListFunctionsCommand}
*/
listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsCommandOutput>;
listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void;
/**
* @see {@link ListFunctionsByCodeSigningConfigCommand}
*/
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionsByCodeSigningConfigCommandOutput>;
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void;
listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link ListFunctionUrlConfigsCommand}
*/
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListFunctionUrlConfigsCommandOutput>;
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void): void;
listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void): void;
/**
* @see {@link ListLayersCommand}
*/
listLayers(args: ListLayersCommandInput, options?: __HttpHandlerOptions): Promise<ListLayersCommandOutput>;
listLayers(args: ListLayersCommandInput, cb: (err: any, data?: ListLayersCommandOutput) => void): void;
listLayers(args: ListLayersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayersCommandOutput) => void): void;
/**
* @see {@link ListLayerVersionsCommand}
*/
listLayerVersions(args: ListLayerVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListLayerVersionsCommandOutput>;
listLayerVersions(args: ListLayerVersionsCommandInput, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void;
listLayerVersions(args: ListLayerVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void;
/**
* @see {@link ListProvisionedConcurrencyConfigsCommand}
*/
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options?: __HttpHandlerOptions): Promise<ListProvisionedConcurrencyConfigsCommandOutput>;
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void;
listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void;
/**
* @see {@link ListTagsCommand}
*/
listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
/**
* @see {@link ListVersionsByFunctionCommand}
*/
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options?: __HttpHandlerOptions): Promise<ListVersionsByFunctionCommandOutput>;
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void;
listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void;
/**
* @see {@link PublishLayerVersionCommand}
*/
publishLayerVersion(args: PublishLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishLayerVersionCommandOutput>;
publishLayerVersion(args: PublishLayerVersionCommandInput, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void;
publishLayerVersion(args: PublishLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void;
/**
* @see {@link PublishVersionCommand}
*/
publishVersion(args: PublishVersionCommandInput, options?: __HttpHandlerOptions): Promise<PublishVersionCommandOutput>;
publishVersion(args: PublishVersionCommandInput, cb: (err: any, data?: PublishVersionCommandOutput) => void): void;
publishVersion(args: PublishVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishVersionCommandOutput) => void): void;
/**
* @see {@link PutFunctionCodeSigningConfigCommand}
*/
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionCodeSigningConfigCommandOutput>;
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void;
putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link PutFunctionConcurrencyCommand}
*/
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionConcurrencyCommandOutput>;
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void;
putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void;
/**
* @see {@link PutFunctionEventInvokeConfigCommand}
*/
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutFunctionEventInvokeConfigCommandOutput>;
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void;
/**
* @see {@link PutProvisionedConcurrencyConfigCommand}
*/
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutProvisionedConcurrencyConfigCommandOutput>;
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void;
/**
* @see {@link PutRuntimeManagementConfigCommand}
*/
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Promise<PutRuntimeManagementConfigCommandOutput>;
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void): void;
putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void): void;
/**
* @see {@link RemoveLayerVersionPermissionCommand}
*/
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemoveLayerVersionPermissionCommandOutput>;
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void;
removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void;
/**
* @see {@link RemovePermissionCommand}
*/
removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise<RemovePermissionCommandOutput>;
removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void;
/**
* @see {@link TagResourceCommand}
*/
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
/**
* @see {@link UntagResourceCommand}
*/
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
/**
* @see {@link UpdateAliasCommand}
*/
updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAliasCommandOutput>;
updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
updateAlias(args: UpdateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void;
/**
* @see {@link UpdateCodeSigningConfigCommand}
*/
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCodeSigningConfigCommandOutput>;
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void;
updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void;
/**
* @see {@link UpdateEventSourceMappingCommand}
*/
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventSourceMappingCommandOutput>;
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void;
updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void;
/**
* @see {@link UpdateFunctionCodeCommand}
*/
updateFunctionCode(args: UpdateFunctionCodeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionCodeCommandOutput>;
updateFunctionCode(args: UpdateFunctionCodeCommandInput, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void;
updateFunctionCode(args: UpdateFunctionCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void;
/**
* @see {@link UpdateFunctionConfigurationCommand}
*/
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionConfigurationCommandOutput>;
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void;
updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void;
/**
* @see {@link UpdateFunctionEventInvokeConfigCommand}
*/
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionEventInvokeConfigCommandOutput>;
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void;
updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void;
/**
* @see {@link UpdateFunctionUrlConfigCommand}
*/
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFunctionUrlConfigCommandOutput>;
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void;
updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void;
}
/**
* @public
* <fullname>Lambda</fullname>
* <p>
* <b>Overview</b>
* </p>
* <p>Lambda is a compute service that lets you run code without provisioning or managing servers.
* Lambda runs your code on a high-availability compute infrastructure and performs all of the
* administration of the compute resources, including server and operating system maintenance, capacity provisioning
* and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any
* type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p>
* <p>The <i>Lambda API Reference</i> provides information about
* each of the API methods, including details about the parameters in each API request and
* response. </p>
* <p></p>
* <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
* Amazon Web Services</a>. </p>
* <p>For a list of Region-specific endpoints that Lambda supports,
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
* <p>When making the API calls, you will need to
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
* see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the
* <i>Amazon Web Services General Reference.</i>. </p>
* <p>
* <b>CA certificates</b>
* </p>
* <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers
* can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your
* computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate
* environment and do not manage your own computer, you might need to ask an administrator to assist with the
* update process. The following list shows minimum operating system and Java versions:</p>
* <ul>
* <li>
* <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one
* of the required CAs in their trust list. </p>
* </li>
* <li>
* <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and
* later versions contain at least one of the required CAs in their trust list. </p>
* </li>
* <li>
* <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the
* required CAs in their default trusted CA list. </p>
* </li>
* <li>
* <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December
* 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p>
* </li>
* </ul>
* <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or
* programmatically, you will need to ensure your client machines support any of the following CAs: </p>
* <ul>
* <li>
* <p>Amazon Root CA 1</p>
* </li>
* <li>
* <p>Starfield Services Root Certificate Authority - G2</p>
* </li>
* <li>
* <p>Starfield Class 2 Certification Authority</p>
* </li>
* </ul>
* <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer
* up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a>
* </p>
*/
export declare class Lambda extends LambdaClient implements Lambda {
}
-304
View File
@@ -1,304 +0,0 @@
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
import { Credentials as __Credentials } from "@aws-sdk/types";
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "./commands/CreateCodeSigningConfigCommand";
import { CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput } from "./commands/CreateEventSourceMappingCommand";
import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
import { CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput } from "./commands/CreateFunctionUrlConfigCommand";
import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
import { DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput } from "./commands/DeleteCodeSigningConfigCommand";
import { DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput } from "./commands/DeleteEventSourceMappingCommand";
import { DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput } from "./commands/DeleteFunctionCodeSigningConfigCommand";
import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
import { DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput } from "./commands/DeleteFunctionConcurrencyCommand";
import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput } from "./commands/DeleteFunctionEventInvokeConfigCommand";
import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "./commands/DeleteFunctionUrlConfigCommand";
import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "./commands/DeleteLayerVersionCommand";
import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "./commands/GetEventSourceMappingCommand";
import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "./commands/GetFunctionCodeSigningConfigCommand";
import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "./commands/GetFunctionConcurrencyCommand";
import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "./commands/GetFunctionConfigurationCommand";
import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "./commands/GetFunctionEventInvokeConfigCommand";
import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "./commands/GetFunctionUrlConfigCommand";
import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "./commands/GetLayerVersionByArnCommand";
import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./commands/GetLayerVersionCommand";
import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand";
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand";
import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand";
import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput } from "./commands/InvokeWithResponseStreamCommand";
import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "./commands/ListCodeSigningConfigsCommand";
import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "./commands/ListEventSourceMappingsCommand";
import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "./commands/ListFunctionEventInvokeConfigsCommand";
import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "./commands/ListFunctionsByCodeSigningConfigCommand";
import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
import { ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput } from "./commands/ListFunctionUrlConfigsCommand";
import { ListLayersCommandInput, ListLayersCommandOutput } from "./commands/ListLayersCommand";
import { ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput } from "./commands/ListLayerVersionsCommand";
import { ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput } from "./commands/ListProvisionedConcurrencyConfigsCommand";
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
import { ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput } from "./commands/ListVersionsByFunctionCommand";
import { PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput } from "./commands/PublishLayerVersionCommand";
import { PublishVersionCommandInput, PublishVersionCommandOutput } from "./commands/PublishVersionCommand";
import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "./commands/PutFunctionCodeSigningConfigCommand";
import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "./commands/PutFunctionConcurrencyCommand";
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
import { UpdateCodeSigningConfigCommandInput, UpdateCodeSigningConfigCommandOutput } from "./commands/UpdateCodeSigningConfigCommand";
import { UpdateEventSourceMappingCommandInput, UpdateEventSourceMappingCommandOutput } from "./commands/UpdateEventSourceMappingCommand";
import { UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput } from "./commands/UpdateFunctionCodeCommand";
import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput } from "./commands/UpdateFunctionConfigurationCommand";
import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "./commands/UpdateFunctionEventInvokeConfigCommand";
import { UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "./commands/UpdateFunctionUrlConfigCommand";
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
export { __Client };
/**
* @public
*/
export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCodeSigningConfigCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCodeSigningConfigsCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
/**
* @public
*/
export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCodeSigningConfigCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCodeSigningConfigsCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
/**
* @public
*/
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
/**
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
*/
requestHandler?: __HttpHandler;
/**
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
* @internal
*/
sha256?: __ChecksumConstructor | __HashConstructor;
/**
* The function that will be used to convert strings into HTTP endpoints.
* @internal
*/
urlParser?: __UrlParser;
/**
* A function that can calculate the length of a request body.
* @internal
*/
bodyLengthChecker?: __BodyLengthCalculator;
/**
* A function that converts a stream into an array of bytes.
* @internal
*/
streamCollector?: __StreamCollector;
/**
* The function that will be used to convert a base64-encoded string to a byte array.
* @internal
*/
base64Decoder?: __Decoder;
/**
* The function that will be used to convert binary data to a base64-encoded string.
* @internal
*/
base64Encoder?: __Encoder;
/**
* The function that will be used to convert a UTF8-encoded string to a byte array.
* @internal
*/
utf8Decoder?: __Decoder;
/**
* The function that will be used to convert binary data to a UTF-8 encoded string.
* @internal
*/
utf8Encoder?: __Encoder;
/**
* The runtime environment.
* @internal
*/
runtime?: string;
/**
* Disable dynamically changing the endpoint of the client based on the hostPrefix
* trait of an operation.
*/
disableHostPrefix?: boolean;
/**
* Unique service identifier.
* @internal
*/
serviceId?: string;
/**
* Enables IPv6/IPv4 dualstack endpoint.
*/
useDualstackEndpoint?: boolean | __Provider<boolean>;
/**
* Enables FIPS compatible endpoints.
*/
useFipsEndpoint?: boolean | __Provider<boolean>;
/**
* The AWS region to which this client will send requests
*/
region?: string | __Provider<string>;
/**
* Default credentials provider; Not available in browser runtime.
* @internal
*/
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
/**
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
* @internal
*/
defaultUserAgentProvider?: Provider<__UserAgent>;
/**
* Value for how many times a request will be made at most in case of retry.
*/
maxAttempts?: number | __Provider<number>;
/**
* Specifies which retry algorithm to use.
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
*
*/
retryMode?: string | __Provider<string>;
/**
* Optional logger for logging debug/info/warn/error.
*/
logger?: __Logger;
/**
* Optional extensions
*/
extensions?: RuntimeExtension[];
/**
* The function that provides necessary utilities for generating and parsing event stream
*/
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
/**
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
*/
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
}
/**
* @public
*/
export type LambdaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters;
/**
* @public
*
* The configuration interface of LambdaClient class constructor that set the region, credentials and other options.
*/
export interface LambdaClientConfig extends LambdaClientConfigType {
}
/**
* @public
*/
export type LambdaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters;
/**
* @public
*
* The resolved configuration interface of LambdaClient class. This is resolved and normalized from the {@link LambdaClientConfig | constructor configuration interface}.
*/
export interface LambdaClientResolvedConfig extends LambdaClientResolvedConfigType {
}
/**
* @public
* <fullname>Lambda</fullname>
* <p>
* <b>Overview</b>
* </p>
* <p>Lambda is a compute service that lets you run code without provisioning or managing servers.
* Lambda runs your code on a high-availability compute infrastructure and performs all of the
* administration of the compute resources, including server and operating system maintenance, capacity provisioning
* and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any
* type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p>
* <p>The <i>Lambda API Reference</i> provides information about
* each of the API methods, including details about the parameters in each API request and
* response. </p>
* <p></p>
* <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command
* line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for
* Amazon Web Services</a>. </p>
* <p>For a list of Region-specific endpoints that Lambda supports,
* see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/">Lambda
* endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p>
* <p>When making the API calls, you will need to
* authenticate your request by providing a signature. Lambda supports signature version 4. For more information,
* see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the
* <i>Amazon Web Services General Reference.</i>. </p>
* <p>
* <b>CA certificates</b>
* </p>
* <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers
* can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your
* computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate
* environment and do not manage your own computer, you might need to ask an administrator to assist with the
* update process. The following list shows minimum operating system and Java versions:</p>
* <ul>
* <li>
* <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one
* of the required CAs in their trust list. </p>
* </li>
* <li>
* <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and
* later versions contain at least one of the required CAs in their trust list. </p>
* </li>
* <li>
* <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the
* required CAs in their default trusted CA list. </p>
* </li>
* <li>
* <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December
* 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p>
* </li>
* </ul>
* <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or
* programmatically, you will need to ensure your client machines support any of the following CAs: </p>
* <ul>
* <li>
* <p>Amazon Root CA 1</p>
* </li>
* <li>
* <p>Starfield Services Root Certificate Authority - G2</p>
* </li>
* <li>
* <p>Starfield Class 2 Certification Authority</p>
* </li>
* </ul>
* <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer
* up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a>
* </p>
*/
export declare class LambdaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaClientResolvedConfig> {
/**
* The resolved configuration of LambdaClient class. This is resolved and normalized from the {@link LambdaClientConfig | constructor configuration interface}.
*/
readonly config: LambdaClientResolvedConfig;
constructor(...[configuration]: __CheckOptionalClientConfig<LambdaClientConfig>);
/**
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
*/
destroy(): void;
}
@@ -1,107 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { AddLayerVersionPermissionRequest, AddLayerVersionPermissionResponse } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link AddLayerVersionPermissionCommand}.
*/
export interface AddLayerVersionPermissionCommandInput extends AddLayerVersionPermissionRequest {
}
/**
* @public
*
* The output of {@link AddLayerVersionPermissionCommand}.
*/
export interface AddLayerVersionPermissionCommandOutput extends AddLayerVersionPermissionResponse, __MetadataBearer {
}
/**
* @public
* <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
* layer</a>. Use this action to grant layer
* usage permission to other accounts. You can grant permission to a single account, all accounts in an organization,
* or all Amazon Web Services accounts. </p>
* <p>To revoke permission, call <a>RemoveLayerVersionPermission</a> with the statement ID that you
* specified when you added it.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, AddLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, AddLayerVersionPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // AddLayerVersionPermissionRequest
* LayerName: "STRING_VALUE", // required
* VersionNumber: Number("long"), // required
* StatementId: "STRING_VALUE", // required
* Action: "STRING_VALUE", // required
* Principal: "STRING_VALUE", // required
* OrganizationId: "STRING_VALUE",
* RevisionId: "STRING_VALUE",
* };
* const command = new AddLayerVersionPermissionCommand(input);
* const response = await client.send(command);
* // { // AddLayerVersionPermissionResponse
* // Statement: "STRING_VALUE",
* // RevisionId: "STRING_VALUE",
* // };
*
* ```
*
* @param AddLayerVersionPermissionCommandInput - {@link AddLayerVersionPermissionCommandInput}
* @returns {@link AddLayerVersionPermissionCommandOutput}
* @see {@link AddLayerVersionPermissionCommandInput} for command's `input` shape.
* @see {@link AddLayerVersionPermissionCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link PolicyLengthExceededException} (client fault)
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
*
* @throws {@link PreconditionFailedException} (client fault)
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the <code>GetFunction</code> or the <code>GetAlias</code>
* API operation to retrieve the latest RevisionId for your resource.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class AddLayerVersionPermissionCommand extends $Command<AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig> {
readonly input: AddLayerVersionPermissionCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: AddLayerVersionPermissionCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,117 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { AddPermissionRequest, AddPermissionResponse } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link AddPermissionCommand}.
*/
export interface AddPermissionCommandInput extends AddPermissionRequest {
}
/**
* @public
*
* The output of {@link AddPermissionCommand}.
*/
export interface AddPermissionCommandOutput extends AddPermissionResponse, __MetadataBearer {
}
/**
* @public
* <p>Grants an Amazon Web Service, 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
* access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name
* (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies
* to version $LATEST.</p>
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. To grant
* 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
* you grant permission to a service principal without specifying the source, other accounts could potentially
* configure resources in their account to invoke your Lambda function.</p>
* <p>This operation adds a statement to a resource-based permissions policy for the function. For more information
* about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Using resource-based policies for Lambda</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, AddPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, AddPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // AddPermissionRequest
* FunctionName: "STRING_VALUE", // required
* StatementId: "STRING_VALUE", // required
* Action: "STRING_VALUE", // required
* Principal: "STRING_VALUE", // required
* SourceArn: "STRING_VALUE",
* SourceAccount: "STRING_VALUE",
* EventSourceToken: "STRING_VALUE",
* Qualifier: "STRING_VALUE",
* RevisionId: "STRING_VALUE",
* PrincipalOrgID: "STRING_VALUE",
* FunctionUrlAuthType: "NONE" || "AWS_IAM",
* };
* const command = new AddPermissionCommand(input);
* const response = await client.send(command);
* // { // AddPermissionResponse
* // Statement: "STRING_VALUE",
* // };
*
* ```
*
* @param AddPermissionCommandInput - {@link AddPermissionCommandInput}
* @returns {@link AddPermissionCommandOutput}
* @see {@link AddPermissionCommandInput} for command's `input` shape.
* @see {@link AddPermissionCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link PolicyLengthExceededException} (client fault)
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
*
* @throws {@link PreconditionFailedException} (client fault)
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the <code>GetFunction</code> or the <code>GetAlias</code>
* API operation to retrieve the latest RevisionId for your resource.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, LambdaClientResolvedConfig> {
readonly input: AddPermissionCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: AddPermissionCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddPermissionCommandInput, AddPermissionCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,110 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { AliasConfiguration, CreateAliasRequest } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link CreateAliasCommand}.
*/
export interface CreateAliasCommandInput extends CreateAliasRequest {
}
/**
* @public
*
* The output of {@link CreateAliasCommand}.
*/
export interface CreateAliasCommandOutput extends AliasConfiguration, __MetadataBearer {
}
/**
* @public
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a> for a
* Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a
* different version.</p>
* <p>You can also map an alias to split invocation requests between two versions. Use the
* <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that
* it receives.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, CreateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, CreateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // CreateAliasRequest
* FunctionName: "STRING_VALUE", // required
* Name: "STRING_VALUE", // required
* FunctionVersion: "STRING_VALUE", // required
* Description: "STRING_VALUE",
* RoutingConfig: { // AliasRoutingConfiguration
* AdditionalVersionWeights: { // AdditionalVersionWeights
* "<keys>": Number("double"),
* },
* },
* };
* const command = new CreateAliasCommand(input);
* const response = await client.send(command);
* // { // AliasConfiguration
* // AliasArn: "STRING_VALUE",
* // Name: "STRING_VALUE",
* // FunctionVersion: "STRING_VALUE",
* // Description: "STRING_VALUE",
* // RoutingConfig: { // AliasRoutingConfiguration
* // AdditionalVersionWeights: { // AdditionalVersionWeights
* // "<keys>": Number("double"),
* // },
* // },
* // RevisionId: "STRING_VALUE",
* // };
*
* ```
*
* @param CreateAliasCommandInput - {@link CreateAliasCommandInput}
* @returns {@link CreateAliasCommandOutput}
* @see {@link CreateAliasCommandInput} for command's `input` shape.
* @see {@link CreateAliasCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class CreateAliasCommand extends $Command<CreateAliasCommandInput, CreateAliasCommandOutput, LambdaClientResolvedConfig> {
readonly input: CreateAliasCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: CreateAliasCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAliasCommandInput, CreateAliasCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,102 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { CreateCodeSigningConfigRequest, CreateCodeSigningConfigResponse } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link CreateCodeSigningConfigCommand}.
*/
export interface CreateCodeSigningConfigCommandInput extends CreateCodeSigningConfigRequest {
}
/**
* @public
*
* The output of {@link CreateCodeSigningConfigCommand}.
*/
export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningConfigResponse, __MetadataBearer {
}
/**
* @public
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a> defines a list of
* allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
* validation checks fail). </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, CreateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, CreateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // CreateCodeSigningConfigRequest
* Description: "STRING_VALUE",
* AllowedPublishers: { // AllowedPublishers
* SigningProfileVersionArns: [ // SigningProfileVersionArns // required
* "STRING_VALUE",
* ],
* },
* CodeSigningPolicies: { // CodeSigningPolicies
* UntrustedArtifactOnDeployment: "Warn" || "Enforce",
* },
* };
* const command = new CreateCodeSigningConfigCommand(input);
* const response = await client.send(command);
* // { // CreateCodeSigningConfigResponse
* // CodeSigningConfig: { // CodeSigningConfig
* // CodeSigningConfigId: "STRING_VALUE", // required
* // CodeSigningConfigArn: "STRING_VALUE", // required
* // Description: "STRING_VALUE",
* // AllowedPublishers: { // AllowedPublishers
* // SigningProfileVersionArns: [ // SigningProfileVersionArns // required
* // "STRING_VALUE",
* // ],
* // },
* // CodeSigningPolicies: { // CodeSigningPolicies
* // UntrustedArtifactOnDeployment: "Warn" || "Enforce",
* // },
* // LastModified: "STRING_VALUE", // required
* // },
* // };
*
* ```
*
* @param CreateCodeSigningConfigCommandInput - {@link CreateCodeSigningConfigCommandInput}
* @returns {@link CreateCodeSigningConfigCommandOutput}
* @see {@link CreateCodeSigningConfigCommandInput} for command's `input` shape.
* @see {@link CreateCodeSigningConfigCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class CreateCodeSigningConfigCommand extends $Command<CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
readonly input: CreateCodeSigningConfigCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: CreateCodeSigningConfigCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,329 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { CreateEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link CreateEventSourceMappingCommand}.
*/
export interface CreateEventSourceMappingCommandInput extends CreateEventSourceMappingRequest {
}
/**
* @public
*
* The output of {@link CreateEventSourceMappingCommand}.
*/
export interface CreateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {
}
/**
* @public
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p>
* <p>For details about how to configure different event sources, see the following topics. </p>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
* Amazon DynamoDB Streams</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
* Amazon Kinesis</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource">
* Amazon SQS</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
* Amazon MQ and RabbitMQ</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html">
* Amazon MSK</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html">
* Apache Kafka</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html">
* Amazon DocumentDB</a>
* </p>
* </li>
* </ul>
* <p>The following error handling options are available only for stream sources (DynamoDB and Kinesis):</p>
* <ul>
* <li>
* <p>
* <code>BisectBatchOnFunctionError</code> If the function returns an error, split the batch in two and retry.</p>
* </li>
* <li>
* <p>
* <code>DestinationConfig</code> Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
* </li>
* <li>
* <p>
* <code>MaximumRecordAgeInSeconds</code> Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
* </li>
* <li>
* <p>
* <code>MaximumRetryAttempts</code> Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
* </li>
* <li>
* <p>
* <code>ParallelizationFactor</code> Process multiple batches from each shard concurrently.</p>
* </li>
* </ul>
* <p>For information about which configuration parameters apply to each event source, see the following topics.</p>
* <ul>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params">
* Amazon DynamoDB Streams</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params">
* Amazon Kinesis</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params">
* Amazon SQS</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params">
* Amazon MQ and RabbitMQ</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms">
* Amazon MSK</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms">
* Apache Kafka</a>
* </p>
* </li>
* <li>
* <p>
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration">
* Amazon DocumentDB</a>
* </p>
* </li>
* </ul>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, CreateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, CreateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // CreateEventSourceMappingRequest
* EventSourceArn: "STRING_VALUE",
* FunctionName: "STRING_VALUE", // required
* Enabled: true || false,
* BatchSize: Number("int"),
* FilterCriteria: { // FilterCriteria
* Filters: [ // FilterList
* { // Filter
* Pattern: "STRING_VALUE",
* },
* ],
* },
* MaximumBatchingWindowInSeconds: Number("int"),
* ParallelizationFactor: Number("int"),
* StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
* StartingPositionTimestamp: new Date("TIMESTAMP"),
* DestinationConfig: { // DestinationConfig
* OnSuccess: { // OnSuccess
* Destination: "STRING_VALUE",
* },
* OnFailure: { // OnFailure
* Destination: "STRING_VALUE",
* },
* },
* MaximumRecordAgeInSeconds: Number("int"),
* BisectBatchOnFunctionError: true || false,
* MaximumRetryAttempts: Number("int"),
* TumblingWindowInSeconds: Number("int"),
* Topics: [ // Topics
* "STRING_VALUE",
* ],
* Queues: [ // Queues
* "STRING_VALUE",
* ],
* SourceAccessConfigurations: [ // SourceAccessConfigurations
* { // SourceAccessConfiguration
* Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
* URI: "STRING_VALUE",
* },
* ],
* SelfManagedEventSource: { // SelfManagedEventSource
* Endpoints: { // Endpoints
* "<keys>": [ // EndpointLists
* "STRING_VALUE",
* ],
* },
* },
* FunctionResponseTypes: [ // FunctionResponseTypeList
* "ReportBatchItemFailures",
* ],
* AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
* ConsumerGroupId: "STRING_VALUE",
* },
* SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
* ConsumerGroupId: "STRING_VALUE",
* },
* ScalingConfig: { // ScalingConfig
* MaximumConcurrency: Number("int"),
* },
* DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
* DatabaseName: "STRING_VALUE",
* CollectionName: "STRING_VALUE",
* FullDocument: "UpdateLookup" || "Default",
* },
* };
* const command = new CreateEventSourceMappingCommand(input);
* const response = await client.send(command);
* // { // EventSourceMappingConfiguration
* // UUID: "STRING_VALUE",
* // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
* // StartingPositionTimestamp: new Date("TIMESTAMP"),
* // BatchSize: Number("int"),
* // MaximumBatchingWindowInSeconds: Number("int"),
* // ParallelizationFactor: Number("int"),
* // EventSourceArn: "STRING_VALUE",
* // FilterCriteria: { // FilterCriteria
* // Filters: [ // FilterList
* // { // Filter
* // Pattern: "STRING_VALUE",
* // },
* // ],
* // },
* // FunctionArn: "STRING_VALUE",
* // LastModified: new Date("TIMESTAMP"),
* // LastProcessingResult: "STRING_VALUE",
* // State: "STRING_VALUE",
* // StateTransitionReason: "STRING_VALUE",
* // DestinationConfig: { // DestinationConfig
* // OnSuccess: { // OnSuccess
* // Destination: "STRING_VALUE",
* // },
* // OnFailure: { // OnFailure
* // Destination: "STRING_VALUE",
* // },
* // },
* // Topics: [ // Topics
* // "STRING_VALUE",
* // ],
* // Queues: [ // Queues
* // "STRING_VALUE",
* // ],
* // SourceAccessConfigurations: [ // SourceAccessConfigurations
* // { // SourceAccessConfiguration
* // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
* // URI: "STRING_VALUE",
* // },
* // ],
* // SelfManagedEventSource: { // SelfManagedEventSource
* // Endpoints: { // Endpoints
* // "<keys>": [ // EndpointLists
* // "STRING_VALUE",
* // ],
* // },
* // },
* // MaximumRecordAgeInSeconds: Number("int"),
* // BisectBatchOnFunctionError: true || false,
* // MaximumRetryAttempts: Number("int"),
* // TumblingWindowInSeconds: Number("int"),
* // FunctionResponseTypes: [ // FunctionResponseTypeList
* // "ReportBatchItemFailures",
* // ],
* // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
* // ConsumerGroupId: "STRING_VALUE",
* // },
* // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
* // ConsumerGroupId: "STRING_VALUE",
* // },
* // ScalingConfig: { // ScalingConfig
* // MaximumConcurrency: Number("int"),
* // },
* // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
* // DatabaseName: "STRING_VALUE",
* // CollectionName: "STRING_VALUE",
* // FullDocument: "UpdateLookup" || "Default",
* // },
* // };
*
* ```
*
* @param CreateEventSourceMappingCommandInput - {@link CreateEventSourceMappingCommandInput}
* @returns {@link CreateEventSourceMappingCommandOutput}
* @see {@link CreateEventSourceMappingCommandInput} for command's `input` shape.
* @see {@link CreateEventSourceMappingCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class CreateEventSourceMappingCommand extends $Command<CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput, LambdaClientResolvedConfig> {
readonly input: CreateEventSourceMappingCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: CreateEventSourceMappingCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,312 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { CreateFunctionRequest, FunctionConfiguration } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link CreateFunctionCommand}.
*/
export interface CreateFunctionCommandInput extends CreateFunctionRequest {
}
/**
* @public
*
* The output of {@link CreateFunctionCommand}.
*/
export interface CreateFunctionCommandOutput extends FunctionConfiguration, __MetadataBearer {
}
/**
* @public
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
* 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
* streaming and X-Ray for request tracing.</p>
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container
* image</a>, then you set the package type to <code>Image</code>. For a container image, the code property
* must include the URI of a container image in the Amazon ECR registry. You do not need to specify the
* handler and runtime properties.</p>
* <p>If the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file archive</a>, then
* you set the package type to <code>Zip</code>. For a .zip file archive, the code property specifies the location of
* the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must
* be compatible with the target instruction set architecture of the function (<code>x86-64</code> or
* <code>arm64</code>). If you do not specify the architecture, then the default value is
* <code>x86-64</code>.</p>
* <p>When you create a function, Lambda provisions an instance of the function and its supporting
* resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't
* invoke or modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code>
* fields in the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to
* invoke. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda function states</a>.</p>
* <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
* changes when you update your function's code and configuration. A published version is a snapshot of your function
* code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
* changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
* your function from its initial configuration.</p>
* <p>The other parameters let you configure version-specific and function-level settings. You can modify
* version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
* to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
* and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
* <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this
* function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with
* <a>UpdateFunctionCode</a>, Lambda checks that the code package has a valid signature from
* a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted
* 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>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>),
* 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
* functions</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, CreateFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, CreateFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // CreateFunctionRequest
* FunctionName: "STRING_VALUE", // required
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
* Role: "STRING_VALUE", // required
* Handler: "STRING_VALUE",
* Code: { // FunctionCode
* ZipFile: "BLOB_VALUE",
* S3Bucket: "STRING_VALUE",
* S3Key: "STRING_VALUE",
* S3ObjectVersion: "STRING_VALUE",
* ImageUri: "STRING_VALUE",
* },
* Description: "STRING_VALUE",
* Timeout: Number("int"),
* MemorySize: Number("int"),
* Publish: true || false,
* VpcConfig: { // VpcConfig
* SubnetIds: [ // SubnetIds
* "STRING_VALUE",
* ],
* SecurityGroupIds: [ // SecurityGroupIds
* "STRING_VALUE",
* ],
* Ipv6AllowedForDualStack: true || false,
* },
* PackageType: "Zip" || "Image",
* DeadLetterConfig: { // DeadLetterConfig
* TargetArn: "STRING_VALUE",
* },
* Environment: { // Environment
* Variables: { // EnvironmentVariables
* "<keys>": "STRING_VALUE",
* },
* },
* KMSKeyArn: "STRING_VALUE",
* TracingConfig: { // TracingConfig
* Mode: "Active" || "PassThrough",
* },
* Tags: { // Tags
* "<keys>": "STRING_VALUE",
* },
* Layers: [ // LayerList
* "STRING_VALUE",
* ],
* FileSystemConfigs: [ // FileSystemConfigList
* { // FileSystemConfig
* Arn: "STRING_VALUE", // required
* LocalMountPath: "STRING_VALUE", // required
* },
* ],
* ImageConfig: { // ImageConfig
* EntryPoint: [ // StringList
* "STRING_VALUE",
* ],
* Command: [
* "STRING_VALUE",
* ],
* WorkingDirectory: "STRING_VALUE",
* },
* CodeSigningConfigArn: "STRING_VALUE",
* Architectures: [ // ArchitecturesList
* "x86_64" || "arm64",
* ],
* EphemeralStorage: { // EphemeralStorage
* Size: Number("int"), // required
* },
* SnapStart: { // SnapStart
* ApplyOn: "PublishedVersions" || "None",
* },
* LoggingConfig: { // LoggingConfig
* LogFormat: "JSON" || "Text",
* ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
* LogGroup: "STRING_VALUE",
* },
* };
* const command = new CreateFunctionCommand(input);
* const response = await client.send(command);
* // { // FunctionConfiguration
* // FunctionName: "STRING_VALUE",
* // FunctionArn: "STRING_VALUE",
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21",
* // Role: "STRING_VALUE",
* // Handler: "STRING_VALUE",
* // CodeSize: Number("long"),
* // Description: "STRING_VALUE",
* // Timeout: Number("int"),
* // MemorySize: Number("int"),
* // LastModified: "STRING_VALUE",
* // CodeSha256: "STRING_VALUE",
* // Version: "STRING_VALUE",
* // VpcConfig: { // VpcConfigResponse
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
* // ],
* // SecurityGroupIds: [ // SecurityGroupIds
* // "STRING_VALUE",
* // ],
* // VpcId: "STRING_VALUE",
* // Ipv6AllowedForDualStack: true || false,
* // },
* // DeadLetterConfig: { // DeadLetterConfig
* // TargetArn: "STRING_VALUE",
* // },
* // Environment: { // EnvironmentResponse
* // Variables: { // EnvironmentVariables
* // "<keys>": "STRING_VALUE",
* // },
* // Error: { // EnvironmentError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // },
* // KMSKeyArn: "STRING_VALUE",
* // TracingConfig: { // TracingConfigResponse
* // Mode: "Active" || "PassThrough",
* // },
* // MasterArn: "STRING_VALUE",
* // RevisionId: "STRING_VALUE",
* // Layers: [ // LayersReferenceList
* // { // Layer
* // Arn: "STRING_VALUE",
* // CodeSize: Number("long"),
* // SigningProfileVersionArn: "STRING_VALUE",
* // SigningJobArn: "STRING_VALUE",
* // },
* // ],
* // State: "Pending" || "Active" || "Inactive" || "Failed",
* // StateReason: "STRING_VALUE",
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
* // LastUpdateStatusReason: "STRING_VALUE",
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError",
* // FileSystemConfigs: [ // FileSystemConfigList
* // { // FileSystemConfig
* // Arn: "STRING_VALUE", // required
* // LocalMountPath: "STRING_VALUE", // required
* // },
* // ],
* // PackageType: "Zip" || "Image",
* // ImageConfigResponse: { // ImageConfigResponse
* // ImageConfig: { // ImageConfig
* // EntryPoint: [ // StringList
* // "STRING_VALUE",
* // ],
* // Command: [
* // "STRING_VALUE",
* // ],
* // WorkingDirectory: "STRING_VALUE",
* // },
* // Error: { // ImageConfigError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // },
* // SigningProfileVersionArn: "STRING_VALUE",
* // SigningJobArn: "STRING_VALUE",
* // Architectures: [ // ArchitecturesList
* // "x86_64" || "arm64",
* // ],
* // EphemeralStorage: { // EphemeralStorage
* // Size: Number("int"), // required
* // },
* // SnapStart: { // SnapStartResponse
* // ApplyOn: "PublishedVersions" || "None",
* // OptimizationStatus: "On" || "Off",
* // },
* // RuntimeVersionConfig: { // RuntimeVersionConfig
* // RuntimeVersionArn: "STRING_VALUE",
* // Error: { // RuntimeVersionError
* // ErrorCode: "STRING_VALUE",
* // Message: "STRING_VALUE",
* // },
* // },
* // LoggingConfig: { // LoggingConfig
* // LogFormat: "JSON" || "Text",
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
* // LogGroup: "STRING_VALUE",
* // },
* // };
*
* ```
*
* @param CreateFunctionCommandInput - {@link CreateFunctionCommandInput}
* @returns {@link CreateFunctionCommandOutput}
* @see {@link CreateFunctionCommandInput} for command's `input` shape.
* @see {@link CreateFunctionCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link CodeSigningConfigNotFoundException} (client fault)
* <p>The specified code signing configuration does not exist.</p>
*
* @throws {@link CodeStorageExceededException} (client fault)
* <p>Your Amazon Web Services account has exceeded its maximum total code size. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
*
* @throws {@link CodeVerificationFailedException} (client fault)
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code
* signing policy is set to ENFORCE. Lambda blocks the deployment.</p>
*
* @throws {@link InvalidCodeSignatureException} (client fault)
* <p>The code signature failed the integrity check. If the integrity check fails, then Lambda blocks
* deployment, even if the code signing policy is set to WARN.</p>
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, LambdaClientResolvedConfig> {
readonly input: CreateFunctionCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: CreateFunctionCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFunctionCommandInput, CreateFunctionCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,128 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { CreateFunctionUrlConfigRequest, CreateFunctionUrlConfigResponse } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link CreateFunctionUrlConfigCommand}.
*/
export interface CreateFunctionUrlConfigCommandInput extends CreateFunctionUrlConfigRequest {
}
/**
* @public
*
* The output of {@link CreateFunctionUrlConfigCommand}.
*/
export interface CreateFunctionUrlConfigCommandOutput extends CreateFunctionUrlConfigResponse, __MetadataBearer {
}
/**
* @public
* <p>Creates a Lambda function URL with the specified configuration parameters. A function URL is
* a dedicated HTTP(S) endpoint that you can use to invoke your function.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, CreateFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, CreateFunctionUrlConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // CreateFunctionUrlConfigRequest
* FunctionName: "STRING_VALUE", // required
* Qualifier: "STRING_VALUE",
* AuthType: "NONE" || "AWS_IAM", // required
* Cors: { // Cors
* AllowCredentials: true || false,
* AllowHeaders: [ // HeadersList
* "STRING_VALUE",
* ],
* AllowMethods: [ // AllowMethodsList
* "STRING_VALUE",
* ],
* AllowOrigins: [ // AllowOriginsList
* "STRING_VALUE",
* ],
* ExposeHeaders: [
* "STRING_VALUE",
* ],
* MaxAge: Number("int"),
* },
* InvokeMode: "BUFFERED" || "RESPONSE_STREAM",
* };
* const command = new CreateFunctionUrlConfigCommand(input);
* const response = await client.send(command);
* // { // CreateFunctionUrlConfigResponse
* // FunctionUrl: "STRING_VALUE", // required
* // FunctionArn: "STRING_VALUE", // required
* // AuthType: "NONE" || "AWS_IAM", // required
* // Cors: { // Cors
* // AllowCredentials: true || false,
* // AllowHeaders: [ // HeadersList
* // "STRING_VALUE",
* // ],
* // AllowMethods: [ // AllowMethodsList
* // "STRING_VALUE",
* // ],
* // AllowOrigins: [ // AllowOriginsList
* // "STRING_VALUE",
* // ],
* // ExposeHeaders: [
* // "STRING_VALUE",
* // ],
* // MaxAge: Number("int"),
* // },
* // CreationTime: "STRING_VALUE", // required
* // InvokeMode: "BUFFERED" || "RESPONSE_STREAM",
* // };
*
* ```
*
* @param CreateFunctionUrlConfigCommandInput - {@link CreateFunctionUrlConfigCommandInput}
* @returns {@link CreateFunctionUrlConfigCommandOutput}
* @see {@link CreateFunctionUrlConfigCommandInput} for command's `input` shape.
* @see {@link CreateFunctionUrlConfigCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class CreateFunctionUrlConfigCommand extends $Command<CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput, LambdaClientResolvedConfig> {
readonly input: CreateFunctionUrlConfigCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: CreateFunctionUrlConfigCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,84 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { DeleteAliasRequest } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link DeleteAliasCommand}.
*/
export interface DeleteAliasCommandInput extends DeleteAliasRequest {
}
/**
* @public
*
* The output of {@link DeleteAliasCommand}.
*/
export interface DeleteAliasCommandOutput extends __MetadataBearer {
}
/**
* @public
* <p>Deletes a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, DeleteAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, DeleteAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // DeleteAliasRequest
* FunctionName: "STRING_VALUE", // required
* Name: "STRING_VALUE", // required
* };
* const command = new DeleteAliasCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param DeleteAliasCommandInput - {@link DeleteAliasCommandInput}
* @returns {@link DeleteAliasCommandOutput}
* @see {@link DeleteAliasCommandInput} for command's `input` shape.
* @see {@link DeleteAliasCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class DeleteAliasCommand extends $Command<DeleteAliasCommandInput, DeleteAliasCommandOutput, LambdaClientResolvedConfig> {
readonly input: DeleteAliasCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: DeleteAliasCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAliasCommandInput, DeleteAliasCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,84 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { DeleteCodeSigningConfigRequest, DeleteCodeSigningConfigResponse } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link DeleteCodeSigningConfigCommand}.
*/
export interface DeleteCodeSigningConfigCommandInput extends DeleteCodeSigningConfigRequest {
}
/**
* @public
*
* The output of {@link DeleteCodeSigningConfigCommand}.
*/
export interface DeleteCodeSigningConfigCommandOutput extends DeleteCodeSigningConfigResponse, __MetadataBearer {
}
/**
* @public
* <p>Deletes the code signing configuration. You can delete the code signing configuration only if no function is
* using it. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, DeleteCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, DeleteCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // DeleteCodeSigningConfigRequest
* CodeSigningConfigArn: "STRING_VALUE", // required
* };
* const command = new DeleteCodeSigningConfigCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param DeleteCodeSigningConfigCommandInput - {@link DeleteCodeSigningConfigCommandInput}
* @returns {@link DeleteCodeSigningConfigCommandOutput}
* @see {@link DeleteCodeSigningConfigCommandInput} for command's `input` shape.
* @see {@link DeleteCodeSigningConfigCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class DeleteCodeSigningConfigCommand extends $Command<DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
readonly input: DeleteCodeSigningConfigCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: DeleteCodeSigningConfigCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,161 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { DeleteEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link DeleteEventSourceMappingCommand}.
*/
export interface DeleteEventSourceMappingCommandInput extends DeleteEventSourceMappingRequest {
}
/**
* @public
*
* The output of {@link DeleteEventSourceMappingCommand}.
*/
export interface DeleteEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {
}
/**
* @public
* <p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event source
* mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
* <p>When you delete an event source mapping, it enters a <code>Deleting</code> state and might not be completely
* deleted for several seconds.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, DeleteEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, DeleteEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // DeleteEventSourceMappingRequest
* UUID: "STRING_VALUE", // required
* };
* const command = new DeleteEventSourceMappingCommand(input);
* const response = await client.send(command);
* // { // EventSourceMappingConfiguration
* // UUID: "STRING_VALUE",
* // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
* // StartingPositionTimestamp: new Date("TIMESTAMP"),
* // BatchSize: Number("int"),
* // MaximumBatchingWindowInSeconds: Number("int"),
* // ParallelizationFactor: Number("int"),
* // EventSourceArn: "STRING_VALUE",
* // FilterCriteria: { // FilterCriteria
* // Filters: [ // FilterList
* // { // Filter
* // Pattern: "STRING_VALUE",
* // },
* // ],
* // },
* // FunctionArn: "STRING_VALUE",
* // LastModified: new Date("TIMESTAMP"),
* // LastProcessingResult: "STRING_VALUE",
* // State: "STRING_VALUE",
* // StateTransitionReason: "STRING_VALUE",
* // DestinationConfig: { // DestinationConfig
* // OnSuccess: { // OnSuccess
* // Destination: "STRING_VALUE",
* // },
* // OnFailure: { // OnFailure
* // Destination: "STRING_VALUE",
* // },
* // },
* // Topics: [ // Topics
* // "STRING_VALUE",
* // ],
* // Queues: [ // Queues
* // "STRING_VALUE",
* // ],
* // SourceAccessConfigurations: [ // SourceAccessConfigurations
* // { // SourceAccessConfiguration
* // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
* // URI: "STRING_VALUE",
* // },
* // ],
* // SelfManagedEventSource: { // SelfManagedEventSource
* // Endpoints: { // Endpoints
* // "<keys>": [ // EndpointLists
* // "STRING_VALUE",
* // ],
* // },
* // },
* // MaximumRecordAgeInSeconds: Number("int"),
* // BisectBatchOnFunctionError: true || false,
* // MaximumRetryAttempts: Number("int"),
* // TumblingWindowInSeconds: Number("int"),
* // FunctionResponseTypes: [ // FunctionResponseTypeList
* // "ReportBatchItemFailures",
* // ],
* // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
* // ConsumerGroupId: "STRING_VALUE",
* // },
* // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
* // ConsumerGroupId: "STRING_VALUE",
* // },
* // ScalingConfig: { // ScalingConfig
* // MaximumConcurrency: Number("int"),
* // },
* // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
* // DatabaseName: "STRING_VALUE",
* // CollectionName: "STRING_VALUE",
* // FullDocument: "UpdateLookup" || "Default",
* // },
* // };
*
* ```
*
* @param DeleteEventSourceMappingCommandInput - {@link DeleteEventSourceMappingCommandInput}
* @returns {@link DeleteEventSourceMappingCommandOutput}
* @see {@link DeleteEventSourceMappingCommandInput} for command's `input` shape.
* @see {@link DeleteEventSourceMappingCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceInUseException} (client fault)
* <p>The operation conflicts with the resource's availability. For example, you tried to update an event source
* mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class DeleteEventSourceMappingCommand extends $Command<DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput, LambdaClientResolvedConfig> {
readonly input: DeleteEventSourceMappingCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: DeleteEventSourceMappingCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,89 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { DeleteFunctionCodeSigningConfigRequest } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link DeleteFunctionCodeSigningConfigCommand}.
*/
export interface DeleteFunctionCodeSigningConfigCommandInput extends DeleteFunctionCodeSigningConfigRequest {
}
/**
* @public
*
* The output of {@link DeleteFunctionCodeSigningConfigCommand}.
*/
export interface DeleteFunctionCodeSigningConfigCommandOutput extends __MetadataBearer {
}
/**
* @public
* <p>Removes the code signing configuration from the function.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, DeleteFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, DeleteFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // DeleteFunctionCodeSigningConfigRequest
* FunctionName: "STRING_VALUE", // required
* };
* const command = new DeleteFunctionCodeSigningConfigCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param DeleteFunctionCodeSigningConfigCommandInput - {@link DeleteFunctionCodeSigningConfigCommandInput}
* @returns {@link DeleteFunctionCodeSigningConfigCommandOutput}
* @see {@link DeleteFunctionCodeSigningConfigCommandInput} for command's `input` shape.
* @see {@link DeleteFunctionCodeSigningConfigCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link CodeSigningConfigNotFoundException} (client fault)
* <p>The specified code signing configuration does not exist.</p>
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class DeleteFunctionCodeSigningConfigCommand extends $Command<DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput, LambdaClientResolvedConfig> {
readonly input: DeleteFunctionCodeSigningConfigCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: DeleteFunctionCodeSigningConfigCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,91 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { DeleteFunctionRequest } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link DeleteFunctionCommand}.
*/
export interface DeleteFunctionCommandInput extends DeleteFunctionRequest {
}
/**
* @public
*
* The output of {@link DeleteFunctionCommand}.
*/
export interface DeleteFunctionCommandOutput extends __MetadataBearer {
}
/**
* @public
* <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
* Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit
* 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
* directly, delete the trigger in the service where you originally configured it.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, DeleteFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, DeleteFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // DeleteFunctionRequest
* FunctionName: "STRING_VALUE", // required
* Qualifier: "STRING_VALUE",
* };
* const command = new DeleteFunctionCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param DeleteFunctionCommandInput - {@link DeleteFunctionCommandInput}
* @returns {@link DeleteFunctionCommandOutput}
* @see {@link DeleteFunctionCommandInput} for command's `input` shape.
* @see {@link DeleteFunctionCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class DeleteFunctionCommand extends $Command<DeleteFunctionCommandInput, DeleteFunctionCommandOutput, LambdaClientResolvedConfig> {
readonly input: DeleteFunctionCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: DeleteFunctionCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteFunctionCommandInput, DeleteFunctionCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}
@@ -1,86 +0,0 @@
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
import { Command as $Command } from "@smithy/smithy-client";
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
import { DeleteFunctionConcurrencyRequest } from "../models/models_0";
/**
* @public
*/
export { __MetadataBearer, $Command };
/**
* @public
*
* The input for {@link DeleteFunctionConcurrencyCommand}.
*/
export interface DeleteFunctionConcurrencyCommandInput extends DeleteFunctionConcurrencyRequest {
}
/**
* @public
*
* The output of {@link DeleteFunctionConcurrencyCommand}.
*/
export interface DeleteFunctionConcurrencyCommandOutput extends __MetadataBearer {
}
/**
* @public
* <p>Removes a concurrent execution limit from a function.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { LambdaClient, DeleteFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
* // const { LambdaClient, DeleteFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
* const client = new LambdaClient(config);
* const input = { // DeleteFunctionConcurrencyRequest
* FunctionName: "STRING_VALUE", // required
* };
* const command = new DeleteFunctionConcurrencyCommand(input);
* const response = await client.send(command);
* // {};
*
* ```
*
* @param DeleteFunctionConcurrencyCommandInput - {@link DeleteFunctionConcurrencyCommandInput}
* @returns {@link DeleteFunctionConcurrencyCommandOutput}
* @see {@link DeleteFunctionConcurrencyCommandInput} for command's `input` shape.
* @see {@link DeleteFunctionConcurrencyCommandOutput} for command's `response` shape.
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
*
* @throws {@link InvalidParameterValueException} (client fault)
* <p>One of the parameters in the request is not valid.</p>
*
* @throws {@link ResourceConflictException} (client fault)
* <p>The resource already exists, or another operation is in progress.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The resource specified in the request does not exist.</p>
*
* @throws {@link ServiceException} (server fault)
* <p>The Lambda service encountered an internal error.</p>
*
* @throws {@link TooManyRequestsException} (client fault)
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
*
* @throws {@link LambdaServiceException}
* <p>Base exception class for all service exceptions from Lambda service.</p>
*
*/
export declare class DeleteFunctionConcurrencyCommand extends $Command<DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput, LambdaClientResolvedConfig> {
readonly input: DeleteFunctionConcurrencyCommandInput;
static getEndpointParameterInstructions(): EndpointParameterInstructions;
/**
* @public
*/
constructor(input: DeleteFunctionConcurrencyCommandInput);
/**
* @internal
*/
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput>;
/**
* @internal
*/
private serialize;
/**
* @internal
*/
private deserialize;
}

Some files were not shown because too many files have changed in this diff Show More