404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.58.146.48: ~ $
**To create a Lambda function**

The following ``create-function`` example creates a Lambda function named ``my-function``. ::

    aws lambda create-function \
        --function-name my-function \
        --runtime nodejs14.x \
        --zip-file fileb://my-function.zip \
        --handler my-function.handler \
        --role arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-tges6bf4

Contents of ``my-function.zip``: 
This file is a deployment package that contains your function code and any dependencies.

Output::

    {
        "TracingConfig": {
            "Mode": "PassThrough"
        },
        "CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
        "FunctionName": "my-function",
        "CodeSize": 308,
        "RevisionId": "873282ed-4cd3-4dc8-a069-d0c647e470c6",
        "MemorySize": 128,
        "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
        "Version": "$LATEST",
        "Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
        "Timeout": 3,
        "LastModified": "2019-08-14T22:26:11.234+0000",
        "Handler": "my-function.handler",
        "Runtime": "nodejs14.x",
        "Description": ""
    }

For more information, see `AWS Lambda Function Configuration <https://docs.aws.amazon.com/lambda/latest/dg/resource-model.html>`__ in the *AWS Lambda Developer Guide*.

Filemanager

Name Type Size Permission Actions
add-layer-version-permission.rst File 975 B 0755
add-permission.rst File 894 B 0755
create-alias.rst File 828 B 0755
create-event-source-mapping.rst File 959 B 0755
create-function.rst File 1.37 KB 0755
delete-alias.rst File 459 B 0755
delete-event-source-mapping.rst File 880 B 0755
delete-function-concurrency.rst File 517 B 0755
delete-function-event-invoke-config.rst File 313 B 0755
delete-function.rst File 402 B 0755
delete-layer-version.rst File 435 B 0755
delete-provisioned-concurrency-config.rst File 350 B 0755
get-account-settings.rst File 733 B 0755
get-alias.rst File 721 B 0755
get-event-source-mapping.rst File 868 B 0755
get-function-concurrency.rst File 344 B 0755
get-function-configuration.rst File 1.23 KB 0755
get-function-event-invoke-config.rst File 757 B 0755
get-function.rst File 1.56 KB 0755
get-layer-version-by-arn.rst File 1.42 KB 0755
get-layer-version-policy.rst File 1022 B 0755
get-layer-version.rst File 1.14 KB 0755
get-policy.rst File 1016 B 0755
get-provisioned-concurrency-config.rst File 635 B 0755
invoke.rst File 1.1 KB 0755
list-aliases.rst File 1.11 KB 0755
list-event-source-mappings.rst File 967 B 0755
list-function-event-invoke-configs.rst File 924 B 0755
list-functions.rst File 3.6 KB 0755
list-layer-versions.rst File 835 B 0755
list-layers.rst File 1.05 KB 0755
list-provisioned-concurrency-configs.rst File 1.2 KB 0755
list-tags.rst File 543 B 0755
list-versions-by-function.rst File 3.42 KB 0755
publish-layer-version.rst File 1.38 KB 0755
publish-version.rst File 1.07 KB 0755
put-function-concurrency.rst File 580 B 0755
put-function-event-invoke-config.rst File 731 B 0755
put-provisioned-concurrency-config.rst File 597 B 0755
remove-layer-version-permission.rst File 502 B 0755
remove-permission.rst File 500 B 0755
tag-resource.rst File 539 B 0755
untag-resource.rst File 522 B 0755
update-alias.rst File 751 B 0755
update-event-source-mapping.rst File 879 B 0755
update-function-code.rst File 1.3 KB 0755
update-function-configuration.rst File 1.28 KB 0755
update-function-event-invoke-config.rst File 883 B 0755