404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.16.139.76: ~ $
**To retrieve a list of versions of a function**

The following ``list-versions-by-function`` example displays the list of versions for the ``my-function`` Lambda function. ::

    aws lambda list-versions-by-function \
        --function-name my-function

Output::

    {
        "Versions": [
            {
                "TracingConfig": {
                    "Mode": "PassThrough"
                },
                "Version": "$LATEST",
                "CodeSha256": "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
                "FunctionName": "my-function",
                "VpcConfig": {
                    "SubnetIds": [],
                    "VpcId": "",
                    "SecurityGroupIds": []
                },
                "MemorySize": 256,
                "RevisionId": "93017fc9-59cb-41dc-901b-4845ce4bf668",
                "CodeSize": 266,
                "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:$LATEST",
                "Handler": "index.handler",
                "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
                "Timeout": 3,
                "LastModified": "2019-10-01T16:47:28.490+0000",
                "Runtime": "nodejs10.x",
                "Description": ""
            },
            {
                "TracingConfig": {
                    "Mode": "PassThrough"
                },
                "Version": "1",
                "CodeSha256": "5tT2qgzYUHoqwR616pZ2dpkn/0J1FrzJmlKidWaaCgk=",
                "FunctionName": "my-function",
                "VpcConfig": {
                    "SubnetIds": [],
                    "VpcId": "",
                    "SecurityGroupIds": []
                },
                "MemorySize": 256,
                "RevisionId": "949c8914-012e-4795-998c-e467121951b1",
                "CodeSize": 304,
                "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:1",
                "Handler": "index.handler",
                "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
                "Timeout": 3,
                "LastModified": "2019-09-26T20:28:40.438+0000",
                "Runtime": "nodejs10.x",
                "Description": "new version"
            },
            {
                "TracingConfig": {
                    "Mode": "PassThrough"
                },
                "Version": "2",
                "CodeSha256": "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
                "FunctionName": "my-function",
                "VpcConfig": {
                    "SubnetIds": [],
                    "VpcId": "",
                    "SecurityGroupIds": []
                },
                "MemorySize": 256,
                "RevisionId": "cd669f21-0f3d-4e1c-9566-948837f2e2ea",
                "CodeSize": 266,
                "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:2",
                "Handler": "index.handler",
                "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
                "Timeout": 3,
                "LastModified": "2019-10-01T16:47:28.490+0000",
                "Runtime": "nodejs10.x",
                "Description": "newer version"
            }
        ]
    }

For more information, see `Configuring AWS Lambda Function Aliases <https://docs.aws.amazon.com/lambda/latest/dg/aliases-intro.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