Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
examples-1.json1514 linesDownload Raw Back to 2015-03-31
1{2  "version": "1.0",3  "examples": {4    "AddLayerVersionPermission": [5      {6        "input": {7          "Action": "lambda:GetLayerVersion",8          "LayerName": "my-layer",9          "Principal": "223456789012",10          "StatementId": "xaccount",11          "VersionNumber": 112        },13        "output": {14          "RevisionId": "35d87451-f796-4a3f-a618-95a3671b0a0c",15          "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:GetLayerVersion\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1\"}"16        },17        "comments": {18          "input": {19          },20          "output": {21          }22        },23        "description": "The following example grants permission for the account 223456789012 to use version 1 of a layer named my-layer.",24        "id": "to-add-permissions-to-a-layer-version-1586479797163",25        "title": "To add permissions to a layer version"26      }27    ],28    "AddPermission": [29      {30        "input": {31          "Action": "lambda:InvokeFunction",32          "FunctionName": "my-function",33          "Principal": "s3.amazonaws.com",34          "SourceAccount": "123456789012",35          "SourceArn": "arn:aws:s3:::my-bucket-1xpuxmplzrlbh/*",36          "StatementId": "s3"37        },38        "output": {39          "Statement": "{\"Sid\":\"s3\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"s3.amazonaws.com\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\",\"Condition\":{\"StringEquals\":{\"AWS:SourceAccount\":\"123456789012\"},\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:s3:::my-bucket-1xpuxmplzrlbh\"}}}"40        },41        "comments": {42          "input": {43          },44          "output": {45          }46        },47        "description": "The following example adds permission for Amazon S3 to invoke a Lambda function named my-function for notifications from a bucket named my-bucket-1xpuxmplzrlbh in account 123456789012.",48        "id": "add-permission-1474651469455",49        "title": "To grant Amazon S3 permission to invoke a function"50      },51      {52        "input": {53          "Action": "lambda:InvokeFunction",54          "FunctionName": "my-function",55          "Principal": "223456789012",56          "StatementId": "xaccount"57        },58        "output": {59          "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\"}"60        },61        "comments": {62          "input": {63          },64          "output": {65          }66        },67        "description": "The following example adds permission for account 223456789012 invoke a Lambda function named my-function.",68        "id": "add-permission-1474651469456",69        "title": "To grant another account permission to invoke a function"70      }71    ],72    "CreateAlias": [73      {74        "input": {75          "Description": "alias for live version of function",76          "FunctionName": "my-function",77          "FunctionVersion": "1",78          "Name": "LIVE"79        },80        "output": {81          "AliasArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:LIVE",82          "Description": "alias for live version of function",83          "FunctionVersion": "1",84          "Name": "LIVE",85          "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6"86        },87        "comments": {88          "input": {89          },90          "output": {91          }92        },93        "description": "The following example creates an alias named LIVE that points to version 1 of the my-function Lambda function.",94        "id": "to-create-an-alias-for-a-lambda-function-1586480324259",95        "title": "To create an alias for a Lambda function"96      }97    ],98    "CreateEventSourceMapping": [99      {100        "input": {101          "BatchSize": 5,102          "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",103          "FunctionName": "my-function"104        },105        "output": {106          "BatchSize": 5,107          "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",108          "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",109          "LastModified": 1569284520.333,110          "State": "Creating",111          "StateTransitionReason": "USER_INITIATED",112          "UUID": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"113        },114        "comments": {115          "input": {116          },117          "output": {118          }119        },120        "description": "The following example creates a mapping between an SQS queue and the my-function Lambda function.",121        "id": "to-create-a-mapping-between-an-event-source-and-an-aws-lambda-function-1586480555467",122        "title": "To create a mapping between an event source and an AWS Lambda function"123      }124    ],125    "CreateFunction": [126      {127        "input": {128          "Code": {129            "S3Bucket": "my-bucket-1xpuxmplzrlbh",130            "S3Key": "function.zip"131          },132          "Description": "Process image objects from Amazon S3.",133          "Environment": {134            "Variables": {135              "BUCKET": "my-bucket-1xpuxmplzrlbh",136              "PREFIX": "inbound"137            }138          },139          "FunctionName": "my-function",140          "Handler": "index.handler",141          "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",142          "MemorySize": 256,143          "Publish": true,144          "Role": "arn:aws:iam::123456789012:role/lambda-role",145          "Runtime": "nodejs12.x",146          "Tags": {147            "DEPARTMENT": "Assets"148          },149          "Timeout": 15,150          "TracingConfig": {151            "Mode": "Active"152          }153        },154        "output": {155          "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",156          "CodeSize": 5797206,157          "Description": "Process image objects from Amazon S3.",158          "Environment": {159            "Variables": {160              "BUCKET": "my-bucket-1xpuxmplzrlbh",161              "PREFIX": "inbound"162            }163          },164          "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",165          "FunctionName": "my-function",166          "Handler": "index.handler",167          "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",168          "LastModified": "2020-04-10T19:06:32.563+0000",169          "LastUpdateStatus": "Successful",170          "MemorySize": 256,171          "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",172          "Role": "arn:aws:iam::123456789012:role/lambda-role",173          "Runtime": "nodejs12.x",174          "State": "Active",175          "Timeout": 15,176          "TracingConfig": {177            "Mode": "Active"178          },179          "Version": "1"180        },181        "comments": {182          "input": {183          },184          "output": {185          }186        },187        "description": "The following example creates a function with a deployment package in Amazon S3 and enables X-Ray tracing and environment variable encryption.",188        "id": "to-create-a-function-1586492061186",189        "title": "To create a function"190      }191    ],192    "DeleteAlias": [193      {194        "input": {195          "FunctionName": "my-function",196          "Name": "BLUE"197        },198        "comments": {199          "input": {200          },201          "output": {202          }203        },204        "description": "The following example deletes an alias named BLUE from a function named my-function",205        "id": "to-delete-a-lambda-function-alias-1481660370804",206        "title": "To delete a Lambda function alias"207      }208    ],209    "DeleteEventSourceMapping": [210      {211        "input": {212          "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"213        },214        "output": {215          "BatchSize": 5,216          "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",217          "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",218          "LastModified": "2016-11-21T19:49:20.006+0000",219          "State": "Enabled",220          "StateTransitionReason": "USER_INITIATED",221          "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"222        },223        "comments": {224          "input": {225          },226          "output": {227          }228        },229        "description": "The following example deletes an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.",230        "id": "to-delete-a-lambda-function-event-source-mapping-1481658973862",231        "title": "To delete a Lambda function event source mapping"232      }233    ],234    "DeleteFunction": [235      {236        "input": {237          "FunctionName": "my-function",238          "Qualifier": "1"239        },240        "comments": {241          "input": {242          },243          "output": {244          }245        },246        "description": "The following example deletes version 1 of a Lambda function named my-function.",247        "id": "to-delete-a-lambda-function-1481648553696",248        "title": "To delete a version of a Lambda function"249      }250    ],251    "DeleteFunctionConcurrency": [252      {253        "input": {254          "FunctionName": "my-function"255        },256        "comments": {257          "input": {258          },259          "output": {260          }261        },262        "description": "The following example deletes the reserved concurrent execution limit from a function named my-function.",263        "id": "to-remove-the-reserved-concurrent-execution-limit-from-a-function-1586480714680",264        "title": "To remove the reserved concurrent execution limit from a function"265      }266    ],267    "DeleteFunctionEventInvokeConfig": [268      {269        "input": {270          "FunctionName": "my-function",271          "Qualifier": "GREEN"272        },273        "comments": {274          "input": {275          },276          "output": {277          }278        },279        "description": "The following example deletes the asynchronous invocation configuration for the GREEN alias of a function named my-function.",280        "id": "to-delete-an-asynchronous-invocation-configuration-1586481102187",281        "title": "To delete an asynchronous invocation configuration"282      }283    ],284    "DeleteLayerVersion": [285      {286        "input": {287          "LayerName": "my-layer",288          "VersionNumber": 2289        },290        "comments": {291          "input": {292          },293          "output": {294          }295        },296        "description": "The following example deletes version 2 of a layer named my-layer.",297        "id": "to-delete-a-version-of-a-lambda-layer-1586481157547",298        "title": "To delete a version of a Lambda layer"299      }300    ],301    "DeleteProvisionedConcurrencyConfig": [302      {303        "input": {304          "FunctionName": "my-function",305          "Qualifier": "GREEN"306        },307        "comments": {308          "input": {309          },310          "output": {311          }312        },313        "description": "The following example deletes the provisioned concurrency configuration for the GREEN alias of a function named my-function.",314        "id": "to-delete-a-provisioned-concurrency-configuration-1586481032551",315        "title": "To delete a provisioned concurrency configuration"316      }317    ],318    "GetAccountSettings": [319      {320        "input": {321        },322        "output": {323          "AccountLimit": {324            "CodeSizeUnzipped": 262144000,325            "CodeSizeZipped": 52428800,326            "ConcurrentExecutions": 1000,327            "TotalCodeSize": 80530636800,328            "UnreservedConcurrentExecutions": 1000329          },330          "AccountUsage": {331            "FunctionCount": 4,332            "TotalCodeSize": 9426333          }334        },335        "comments": {336          "input": {337          },338          "output": {339          }340        },341        "description": "This operation takes no parameters and returns details about storage and concurrency quotas in the current Region.",342        "id": "to-get-account-settings-1481657495274",343        "title": "To get account settings"344      }345    ],346    "GetAlias": [347      {348        "input": {349          "FunctionName": "my-function",350          "Name": "BLUE"351        },352        "output": {353          "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",354          "Description": "Production environment BLUE.",355          "FunctionVersion": "3",356          "Name": "BLUE",357          "RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93"358        },359        "comments": {360          "input": {361          },362          "output": {363          }364        },365        "description": "The following example returns details about an alias named BLUE for a function named my-function",366        "id": "to-retrieve-a-lambda-function-alias-1481648742254",367        "title": "To get a Lambda function alias"368      }369    ],370    "GetEventSourceMapping": [371      {372        "input": {373          "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"374        },375        "output": {376          "BatchSize": 500,377          "BisectBatchOnFunctionError": false,378          "DestinationConfig": {379          },380          "EventSourceArn": "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",381          "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:myFunction",382          "LastModified": "2016-11-21T19:49:20.006+0000",383          "LastProcessingResult": "No records processed",384          "MaximumRecordAgeInSeconds": 604800,385          "MaximumRetryAttempts": 10000,386          "State": "Creating",387          "StateTransitionReason": "User action",388          "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"389        },390        "comments": {391          "input": {392          },393          "output": {394          }395        },396        "description": "The following example returns details about an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.",397        "id": "to-get-a-lambda-functions-event-source-mapping-1481661622799",398        "title": "To get a Lambda function's event source mapping"399      }400    ],401    "GetFunction": [402      {403        "input": {404          "FunctionName": "my-function",405          "Qualifier": "1"406        },407        "output": {408          "Code": {409            "Location": "https://awslambda-us-west-2-tasks.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-function-e7d9d1ed-xmpl-4f79-904a-4b87f2681f30?versionId=sH3TQwBOaUy...",410            "RepositoryType": "S3"411          },412          "Configuration": {413            "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",414            "CodeSize": 5797206,415            "Description": "Process image objects from Amazon S3.",416            "Environment": {417              "Variables": {418                "BUCKET": "my-bucket-1xpuxmplzrlbh",419                "PREFIX": "inbound"420              }421            },422            "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",423            "FunctionName": "my-function",424            "Handler": "index.handler",425            "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",426            "LastModified": "2020-04-10T19:06:32.563+0000",427            "LastUpdateStatus": "Successful",428            "MemorySize": 256,429            "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",430            "Role": "arn:aws:iam::123456789012:role/lambda-role",431            "Runtime": "nodejs12.x",432            "State": "Active",433            "Timeout": 15,434            "TracingConfig": {435              "Mode": "Active"436            },437            "Version": "$LATEST"438          },439          "Tags": {440            "DEPARTMENT": "Assets"441          }442        },443        "comments": {444          "input": {445          },446          "output": {447          }448        },449        "description": "The following example returns code and configuration details for version 1 of a function named my-function.",450        "id": "to-get-a-lambda-function-1481661622799",451        "title": "To get a Lambda function"452      }453    ],454    "GetFunctionConcurrency": [455      {456        "input": {457          "FunctionName": "my-function"458        },459        "output": {460          "ReservedConcurrentExecutions": 250461        },462        "comments": {463          "input": {464          },465          "output": {466          }467        },468        "description": "The following example returns the reserved concurrency setting for a function named my-function.",469        "id": "to-get-the-reserved-concurrency-setting-for-a-function-1586481279992",470        "title": "To get the reserved concurrency setting for a function"471      }472    ],473    "GetFunctionConfiguration": [474      {475        "input": {476          "FunctionName": "my-function",477          "Qualifier": "1"478        },479        "output": {480          "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",481          "CodeSize": 5797206,482          "Description": "Process image objects from Amazon S3.",483          "Environment": {484            "Variables": {485              "BUCKET": "my-bucket-1xpuxmplzrlbh",486              "PREFIX": "inbound"487            }488          },489          "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",490          "FunctionName": "my-function",491          "Handler": "index.handler",492          "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",493          "LastModified": "2020-04-10T19:06:32.563+0000",494          "LastUpdateStatus": "Successful",495          "MemorySize": 256,496          "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",497          "Role": "arn:aws:iam::123456789012:role/lambda-role",498          "Runtime": "nodejs12.x",499          "State": "Active",500          "Timeout": 15,501          "TracingConfig": {502            "Mode": "Active"503          },504          "Version": "$LATEST"505        },506        "comments": {507          "input": {508          },509          "output": {510          }511        },512        "description": "The following example returns and configuration details for version 1 of a function named my-function.",513        "id": "to-get-a-lambda-functions-event-source-mapping-1481661622799",514        "title": "To get a Lambda function's event source mapping"515      }516    ],517    "GetFunctionEventInvokeConfig": [518      {519        "input": {520          "FunctionName": "my-function",521          "Qualifier": "BLUE"522        },523        "output": {524          "DestinationConfig": {525            "OnFailure": {526              "Destination": "arn:aws:sqs:us-east-2:123456789012:failed-invocations"527            },528            "OnSuccess": {529            }530          },531          "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",532          "LastModified": "2016-11-21T19:49:20.006+0000",533          "MaximumEventAgeInSeconds": 3600,534          "MaximumRetryAttempts": 0535        },536        "comments": {537          "input": {538          },539          "output": {540          }541        },542        "description": "The following example returns the asynchronous invocation configuration for the BLUE alias of a function named my-function.",543        "id": "to-get-an-asynchronous-invocation-configuration-1586481338463",544        "title": "To get an asynchronous invocation configuration"545      }546    ],547    "GetLayerVersion": [548      {549        "input": {550          "LayerName": "my-layer",551          "VersionNumber": 1552        },553        "output": {554          "CompatibleRuntimes": [555            "python3.6",556            "python3.7"557          ],558          "Content": {559            "CodeSha256": "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",560            "CodeSize": 169,561            "Location": "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."562          },563          "CreatedDate": "2018-11-14T23:03:52.894+0000",564          "Description": "My Python layer",565          "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",566          "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1",567          "LicenseInfo": "MIT",568          "Version": 1569        },570        "comments": {571          "input": {572          },573          "output": {574          }575        },576        "description": "The following example returns information for version 1 of a layer named my-layer.",577        "id": "to-get-information-about-a-lambda-layer-version-1586481457839",578        "title": "To get information about a Lambda layer version"579      }580    ],581    "GetLayerVersionByArn": [582      {583        "input": {584          "Arn": "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3"585        },586        "output": {587          "CompatibleRuntimes": [588            "python3.8"589          ],590          "Content": {591            "CodeSha256": "6x+xmpl/M3BnQUk7gS9sGmfeFsR/npojXoA3fZUv4eU=",592            "CodeSize": 9529009,593            "Location": "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/blank-python-lib-e5212378-xmpl-44ee-8398-9d8ec5113949?versionId=WbZnvf..."594          },595          "CreatedDate": "2020-03-31T00:35:18.949+0000",596          "Description": "Dependencies for the blank-python sample app.",597          "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib",598          "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib:3",599          "Version": 3600        },601        "comments": {602          "input": {603          },604          "output": {605          }606        },607        "description": "The following example returns information about the layer version with the specified Amazon Resource Name (ARN).",608        "id": "to-get-information-about-a-lambda-layer-version-1586481457839",609        "title": "To get information about a Lambda layer version"610      }611    ],612    "GetPolicy": [613      {614        "input": {615          "FunctionName": "my-function",616          "Qualifier": "1"617        },618        "output": {619          "Policy": "{\"Version\":\"2012-10-17\",\"Id\":\"default\",\"Statement\":[{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function:1\"}]}",620          "RevisionId": "4843f2f6-7c59-4fda-b484-afd0bc0e22b8"621        },622        "comments": {623          "input": {624          },625          "output": {626          }627        },628        "description": "The following example returns the resource-based policy for version 1 of a Lambda function named my-function.",629        "id": "to-retrieve-a-lambda-function-policy-1481649319053",630        "title": "To retrieve a Lambda function policy"631      }632    ],633    "GetProvisionedConcurrencyConfig": [634      {635        "input": {636          "FunctionName": "my-function",637          "Qualifier": "BLUE"638        },639        "output": {640          "AllocatedProvisionedConcurrentExecutions": 100,641          "AvailableProvisionedConcurrentExecutions": 100,642          "LastModified": "2019-12-31T20:28:49+0000",643          "RequestedProvisionedConcurrentExecutions": 100,644          "Status": "READY"645        },646        "comments": {647          "input": {648          },649          "output": {650          }651        },652        "description": "The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.",653        "id": "to-get-a-provisioned-concurrency-configuration-1586490192690",654        "title": "To get a provisioned concurrency configuration"655      },656      {657        "input": {658          "FunctionName": "my-function",659          "Qualifier": "BLUE"660        },661        "output": {662          "AllocatedProvisionedConcurrentExecutions": 100,663          "AvailableProvisionedConcurrentExecutions": 100,664          "LastModified": "2019-12-31T20:28:49+0000",665          "RequestedProvisionedConcurrentExecutions": 100,666          "Status": "READY"667        },668        "comments": {669          "input": {670          },671          "output": {672          }673        },674        "description": "The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.",675        "id": "to-view-a-provisioned-concurrency-configuration-1586490192690",676        "title": "To view a provisioned concurrency configuration"677      }678    ],679    "Invoke": [680      {681        "input": {682          "FunctionName": "my-function",683          "Payload": "{}",684          "Qualifier": "1"685        },686        "output": {687          "Payload": "200 SUCCESS",688          "StatusCode": 200689        },690        "comments": {691          "input": {692          },693          "output": {694          }695        },696        "description": "The following example invokes version 1 of a function named my-function with an empty event payload.",697        "id": "to-invoke-a-lambda-function-1481659683915",698        "title": "To invoke a Lambda function"699      },700      {701        "input": {702          "FunctionName": "my-function",703          "InvocationType": "Event",704          "Payload": "{}",705          "Qualifier": "1"706        },707        "output": {708          "Payload": "",709          "StatusCode": 202710        },711        "comments": {712          "input": {713          },714          "output": {715          }716        },717        "description": "The following example invokes version 1 of a function named my-function asynchronously.",718        "id": "to-invoke-a-lambda-function-async-1481659683915",719        "title": "To invoke a Lambda function asynchronously"720      }721    ],722    "InvokeAsync": [723      {724        "input": {725          "FunctionName": "my-function",726          "InvokeArgs": "{}"727        },728        "output": {729          "Status": 202730        },731        "comments": {732          "input": {733          },734          "output": {735          }736        },737        "description": "The following example invokes a Lambda function asynchronously",738        "id": "to-invoke-a-lambda-function-asynchronously-1481649694923",739        "title": "To invoke a Lambda function asynchronously"740      }741    ],742    "ListAliases": [743      {744        "input": {745          "FunctionName": "my-function"746        },747        "output": {748          "Aliases": [749            {750              "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BETA",751              "Description": "Production environment BLUE.",752              "FunctionVersion": "2",753              "Name": "BLUE",754              "RevisionId": "a410117f-xmpl-494e-8035-7e204bb7933b",755              "RoutingConfig": {756                "AdditionalVersionWeights": {757                  "1": 0.7758                }759              }760            },761            {762              "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:LIVE",763              "Description": "Production environment GREEN.",764              "FunctionVersion": "1",765              "Name": "GREEN",766              "RevisionId": "21d40116-xmpl-40ba-9360-3ea284da1bb5"767            }768          ]769        },770        "comments": {771          "input": {772          },773          "output": {774          }775        },776        "description": "The following example returns a list of aliases for a function named my-function.",777        "id": "to-list-a-functions-aliases-1481650199732",778        "title": "To list a function's aliases"779      }780    ],781    "ListEventSourceMappings": [782      {783        "input": {784          "FunctionName": "my-function"785        },786        "output": {787          "EventSourceMappings": [788            {789              "BatchSize": 5,790              "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:mySQSqueue",791              "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",792              "LastModified": 1569284520.333,793              "State": "Enabled",794              "StateTransitionReason": "USER_INITIATED",795              "UUID": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"796            }797          ]798        },799        "comments": {800          "input": {801          },802          "output": {803          }804        },805        "description": "The following example returns a list of the event source mappings for a function named my-function.",806        "id": "to-list-the-event-source-mappings-for-a-function-1586490285906",807        "title": "To list the event source mappings for a function"808      }809    ],810    "ListFunctionEventInvokeConfigs": [811      {812        "input": {813          "FunctionName": "my-function"814        },815        "output": {816          "FunctionEventInvokeConfigs": [817            {818              "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",819              "LastModified": 1577824406.719,820              "MaximumEventAgeInSeconds": 1800,821              "MaximumRetryAttempts": 2822            },823            {824              "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",825              "LastModified": 1577824396.653,826              "MaximumEventAgeInSeconds": 3600,827              "MaximumRetryAttempts": 0828            }829          ]830        },831        "comments": {832          "input": {833          },834          "output": {835          }836        },837        "description": "The following example returns a list of asynchronous invocation configurations for a function named my-function.",838        "id": "to-view-a-list-of-asynchronous-invocation-configurations-1586490355611",839        "title": "To view a list of asynchronous invocation configurations"840      }841    ],842    "ListFunctions": [843      {844        "input": {845        },846        "output": {847          "Functions": [848            {849              "CodeSha256": "dBG9m8SGdmlEjw/JYXlhhvCrAv5TxvXsbL/RMr0fT/I=",850              "CodeSize": 294,851              "Description": "",852              "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:helloworld",853              "FunctionName": "helloworld",854              "Handler": "helloworld.handler",855              "LastModified": "2019-09-23T18:32:33.857+0000",856              "MemorySize": 128,857              "RevisionId": "1718e831-badf-4253-9518-d0644210af7b",858              "Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",859              "Runtime": "nodejs10.x",860              "Timeout": 3,861              "TracingConfig": {862                "Mode": "PassThrough"863              },864              "Version": "$LATEST"865            },866            {867              "CodeSha256": "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",868              "CodeSize": 266,869              "Description": "",870              "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",871              "FunctionName": "my-function",872              "Handler": "index.handler",873              "LastModified": "2019-10-01T16:47:28.490+0000",874              "MemorySize": 256,875              "RevisionId": "93017fc9-59cb-41dc-901b-4845ce4bf668",876              "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",877              "Runtime": "nodejs10.x",878              "Timeout": 3,879              "TracingConfig": {880                "Mode": "PassThrough"881              },882              "Version": "$LATEST",883              "VpcConfig": {884                "SecurityGroupIds": [885 886                ],887                "SubnetIds": [888 889                ],890                "VpcId": ""891              }892            }893          ],894          "NextMarker": ""895        },896        "comments": {897          "input": {898          },899          "output": {900          }901        },902        "description": "This operation returns a list of Lambda functions.",903        "id": "to-get-a-list-of-lambda-functions-1481650507425",904        "title": "To get a list of Lambda functions"905      }906    ],907    "ListLayerVersions": [908      {909        "input": {910          "LayerName": "blank-java-lib"911        },912        "output": {913          "LayerVersions": [914            {915              "CompatibleRuntimes": [916                "java8"917              ],918              "CreatedDate": "2020-03-18T23:38:42.284+0000",919              "Description": "Dependencies for the blank-java sample app.",920              "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:7",921              "Version": 7922            },923            {924              "CompatibleRuntimes": [925                "java8"926              ],927              "CreatedDate": "2020-03-17T07:24:21.960+0000",928              "Description": "Dependencies for the blank-java sample app.",929              "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:6",930              "Version": 6931            }932          ]933        },934        "comments": {935          "input": {936          },937          "output": {938          }939        },940        "description": "The following example displays information about the versions for the layer named blank-java-lib",941        "id": "to-list-versions-of-a-layer-1586490857297",942        "title": "To list versions of a layer"943      }944    ],945    "ListLayers": [946      {947        "input": {948          "CompatibleRuntime": "python3.7"949        },950        "output": {951          "Layers": [952            {953              "LatestMatchingVersion": {954                "CompatibleRuntimes": [955                  "python3.6",956                  "python3.7"957                ],958                "CreatedDate": "2018-11-15T00:37:46.592+0000",959                "Description": "My layer",960                "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:2",961                "Version": 2962              },963              "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",964              "LayerName": "my-layer"965            }966          ]967        },968        "comments": {969          "input": {970          },971          "output": {972          }973        },974        "description": "The following example returns information about layers that are compatible with the Python 3.7 runtime.",975        "id": "to-list-the-layers-that-are-compatible-with-your-functions-runtime-1586490857297",976        "title": "To list the layers that are compatible with your function's runtime"977      }978    ],979    "ListProvisionedConcurrencyConfigs": [980      {981        "input": {982          "FunctionName": "my-function"983        },984        "output": {985          "ProvisionedConcurrencyConfigs": [986            {987              "AllocatedProvisionedConcurrentExecutions": 100,988              "AvailableProvisionedConcurrentExecutions": 100,989              "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",990              "LastModified": "2019-12-31T20:29:00+0000",991              "RequestedProvisionedConcurrentExecutions": 100,992              "Status": "READY"993            },994            {995              "AllocatedProvisionedConcurrentExecutions": 100,996              "AvailableProvisionedConcurrentExecutions": 100,997              "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",998              "LastModified": "2019-12-31T20:28:49+0000",999              "RequestedProvisionedConcurrentExecutions": 100,1000              "Status": "READY"1001            }1002          ]1003        },1004        "comments": {1005          "input": {1006          },1007          "output": {1008          }1009        },1010        "description": "The following example returns a list of provisioned concurrency configurations for a function named my-function.",1011        "id": "to-get-a-list-of-provisioned-concurrency-configurations-1586491032592",1012        "title": "To get a list of provisioned concurrency configurations"1013      }1014    ],1015    "ListTags": [1016      {1017        "input": {1018          "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function"1019        },1020        "output": {1021          "Tags": {1022            "Category": "Web Tools",1023            "Department": "Sales"1024          }1025        },1026        "comments": {1027          "input": {1028          },1029          "output": {1030          }1031        },1032        "description": "The following example displays the tags attached to the my-function Lambda function.",1033        "id": "to-retrieve-the-list-of-tags-for-a-lambda-function-1586491111498",1034        "title": "To retrieve the list of tags for a Lambda function"1035      }1036    ],1037    "ListVersionsByFunction": [1038      {1039        "input": {1040          "FunctionName": "my-function"1041        },1042        "output": {1043          "Versions": [1044            {1045              "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",1046              "CodeSize": 5797206,1047              "Description": "Process image objects from Amazon S3.",1048              "Environment": {1049                "Variables": {1050                  "BUCKET": "my-bucket-1xpuxmplzrlbh",1051                  "PREFIX": "inbound"1052                }1053              },1054              "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",1055              "FunctionName": "my-function",1056              "Handler": "index.handler",1057              "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",1058              "LastModified": "2020-04-10T19:06:32.563+0000",1059              "MemorySize": 256,1060              "RevisionId": "850ca006-2d98-4ff4-86db-8766e9d32fe9",1061              "Role": "arn:aws:iam::123456789012:role/lambda-role",1062              "Runtime": "nodejs12.x",1063              "Timeout": 15,1064              "TracingConfig": {1065                "Mode": "Active"1066              },1067              "Version": "$LATEST"1068            },1069            {1070              "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",1071              "CodeSize": 5797206,1072              "Description": "Process image objects from Amazon S3.",1073              "Environment": {1074                "Variables": {1075                  "BUCKET": "my-bucket-1xpuxmplzrlbh",1076                  "PREFIX": "inbound"1077                }1078              },1079              "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",1080              "FunctionName": "my-function",1081              "Handler": "index.handler",1082              "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",1083              "LastModified": "2020-04-10T19:06:32.563+0000",1084              "MemorySize": 256,1085              "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",1086              "Role": "arn:aws:iam::123456789012:role/lambda-role",1087              "Runtime": "nodejs12.x",1088              "Timeout": 5,1089              "TracingConfig": {1090                "Mode": "Active"1091              },1092              "Version": "1"1093            }1094          ]1095        },1096        "comments": {1097          "input": {1098          },1099          "output": {1100          }1101        },1102        "description": "The following example returns a list of versions of a function named my-function",1103        "id": "to-list-versions-1481650603750",1104        "title": "To list versions of a function"1105      }1106    ],1107    "PublishLayerVersion": [1108      {1109        "input": {1110          "CompatibleRuntimes": [1111            "python3.6",1112            "python3.7"1113          ],1114          "Content": {1115            "S3Bucket": "lambda-layers-us-west-2-123456789012",1116            "S3Key": "layer.zip"1117          },1118          "Description": "My Python layer",1119          "LayerName": "my-layer",1120          "LicenseInfo": "MIT"1121        },1122        "output": {1123          "CompatibleRuntimes": [1124            "python3.6",1125            "python3.7"1126          ],1127          "Content": {1128            "CodeSha256": "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",1129            "CodeSize": 169,1130            "Location": "https://awslambda-us-west-2-layers.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."1131          },1132          "CreatedDate": "2018-11-14T23:03:52.894+0000",1133          "Description": "My Python layer",1134          "LayerArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer",1135          "LayerVersionArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1",1136          "LicenseInfo": "MIT",1137          "Version": 11138        },1139        "comments": {1140          "input": {1141          },1142          "output": {1143          }1144        },1145        "description": "The following example creates a new Python library layer version. The command retrieves the layer content a file named layer.zip in the specified S3 bucket.",1146        "id": "to-create-a-lambda-layer-version-1586491213595",1147        "title": "To create a Lambda layer version"1148      }1149    ],1150    "PublishVersion": [1151      {1152        "input": {1153          "CodeSha256": "",1154          "Description": "",1155          "FunctionName": "myFunction"1156        },1157        "output": {1158          "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",1159          "CodeSize": 5797206,1160          "Description": "Process image objects from Amazon S3.",1161          "Environment": {1162            "Variables": {1163              "BUCKET": "my-bucket-1xpuxmplzrlbh",1164              "PREFIX": "inbound"1165            }1166          },1167          "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",1168          "FunctionName": "my-function",1169          "Handler": "index.handler",1170          "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",1171          "LastModified": "2020-04-10T19:06:32.563+0000",1172          "LastUpdateStatus": "Successful",1173          "MemorySize": 256,1174          "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",1175          "Role": "arn:aws:iam::123456789012:role/lambda-role",1176          "Runtime": "nodejs12.x",1177          "State": "Active",1178          "Timeout": 5,1179          "TracingConfig": {1180            "Mode": "Active"1181          },1182          "Version": "1"1183        },1184        "comments": {1185          "input": {1186          },1187          "output": {1188          }1189        },1190        "description": "This operation publishes a version of a Lambda function",1191        "id": "to-publish-a-version-of-a-lambda-function-1481650704986",1192        "title": "To publish a version of a Lambda function"1193      }1194    ],1195    "PutFunctionConcurrency": [1196      {1197        "input": {1198          "FunctionName": "my-function",1199          "ReservedConcurrentExecutions": 1001200        },

Showing the first 1,200 of 1514 lines. Download the file for the rest.

codekingpro/portable-devtools · Team Ai