aws-sdk-core 2.11.486 → 2.11.487
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/apis/AWSMigrationHub/2017-05-31/api-2.json +48 -8
- data/apis/ec2/2016-11-15/api-2.json +37 -3
- data/apis/glue/2017-03-31/api-2.json +1 -4
- data/apis/imagebuilder/2019-12-02/api-2.json +12 -0
- data/apis/iotevents/2018-07-27/api-2.json +70 -7
- data/apis/lambda/2015-03-31/examples-1.json +1199 -300
- data/apis/mediaconvert/2017-08-29/api-2.json +23 -1
- data/apis/mediatailor/2018-04-23/api-2.json +30 -3
- data/apis/rds/2014-10-31/api-2.json +44 -6
- data/apis/sagemaker-a2i-runtime/2019-11-07/api-2.json +2 -1
- data/apis/sagemaker/2017-07-24/api-2.json +41 -5
- data/apis/securityhub/2018-10-26/api-2.json +93 -0
- data/apis/snowball/2016-06-30/api-2.json +3 -1
- data/endpoints.json +241 -13
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +3 -8
- data/apis/rds/2015-11-12/api-2.json +0 -5509
- data/apis/rds/2015-11-12/examples-1.json +0 -1951
- data/apis/rds/2015-11-12/paginators-1.json +0 -110
- data/apis/rds/2015-11-12/resources-1.json +0 -3272
- data/apis/rds/2015-11-12/waiters-2.json +0 -175
@@ -1,18 +1,732 @@
|
|
1
1
|
{
|
2
2
|
"version": "1.0",
|
3
3
|
"examples": {
|
4
|
+
"AddLayerVersionPermission": [
|
5
|
+
{
|
6
|
+
"input": {
|
7
|
+
"Action": "lambda:GetLayerVersion",
|
8
|
+
"LayerName": "my-layer",
|
9
|
+
"Principal": "223456789012",
|
10
|
+
"StatementId": "xaccount",
|
11
|
+
"VersionNumber": 1
|
12
|
+
},
|
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
|
+
],
|
4
28
|
"AddPermission": [
|
5
29
|
{
|
6
30
|
"input": {
|
7
|
-
"Action": "lambda:InvokeFunction",
|
8
|
-
"FunctionName": "
|
9
|
-
"Principal": "s3.amazonaws.com",
|
10
|
-
"SourceAccount": "123456789012",
|
11
|
-
"SourceArn": "arn:aws:s3:::
|
12
|
-
"StatementId": "
|
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-update-an-asynchronous-invocation-configuration-1586492061186",
|
189
|
+
"title": "To update an asynchronous invocation configuration"
|
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": "${timestamp}",
|
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": 2
|
289
|
+
},
|
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": 1000
|
329
|
+
},
|
330
|
+
"AccountUsage": {
|
331
|
+
"FunctionCount": 4,
|
332
|
+
"TotalCodeSize": 9426
|
333
|
+
}
|
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": "${timestamp}",
|
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": 250
|
461
|
+
},
|
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": "${timestamp}",
|
533
|
+
"MaximumEventAgeInSeconds": 3600,
|
534
|
+
"MaximumRetryAttempts": 0
|
535
|
+
},
|
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": 1
|
552
|
+
},
|
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": 1
|
569
|
+
},
|
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": 3
|
600
|
+
},
|
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": 200
|
689
|
+
},
|
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": 202
|
710
|
+
},
|
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": "{}"
|
13
727
|
},
|
14
728
|
"output": {
|
15
|
-
"
|
729
|
+
"Status": 202
|
16
730
|
},
|
17
731
|
"comments": {
|
18
732
|
"input": {
|
@@ -20,61 +734,67 @@
|
|
20
734
|
"output": {
|
21
735
|
}
|
22
736
|
},
|
23
|
-
"description": "
|
24
|
-
"id": "
|
25
|
-
"title": "
|
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"
|
26
740
|
}
|
27
741
|
],
|
28
|
-
"
|
742
|
+
"ListAliases": [
|
29
743
|
{
|
30
744
|
"input": {
|
31
|
-
"
|
32
|
-
},
|
33
|
-
"Description": "",
|
34
|
-
"FunctionName": "MyFunction",
|
35
|
-
"Handler": "souce_file.handler_name",
|
36
|
-
"MemorySize": 128,
|
37
|
-
"Publish": true,
|
38
|
-
"Role": "arn:aws:iam::123456789012:role/service-role/role-name",
|
39
|
-
"Runtime": "nodejs12.x",
|
40
|
-
"Timeout": 15,
|
41
|
-
"VpcConfig": {
|
42
|
-
}
|
745
|
+
"FunctionName": "my-function"
|
43
746
|
},
|
44
747
|
"output": {
|
45
|
-
"
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
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.7
|
758
|
+
}
|
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
|
+
]
|
59
769
|
},
|
60
770
|
"comments": {
|
61
771
|
"input": {
|
62
|
-
"Handler": "is of the form of the name of your source file and then name of your function handler",
|
63
|
-
"Role": "replace with the actual arn of the execution role you created"
|
64
772
|
},
|
65
773
|
"output": {
|
66
774
|
}
|
67
775
|
},
|
68
|
-
"description": "
|
69
|
-
"id": "
|
70
|
-
"title": "
|
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"
|
71
779
|
}
|
72
780
|
],
|
73
|
-
"
|
781
|
+
"ListEventSourceMappings": [
|
74
782
|
{
|
75
783
|
"input": {
|
76
|
-
"FunctionName": "
|
77
|
-
|
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
|
+
]
|
78
798
|
},
|
79
799
|
"comments": {
|
80
800
|
"input": {
|
@@ -82,25 +802,31 @@
|
|
82
802
|
"output": {
|
83
803
|
}
|
84
804
|
},
|
85
|
-
"description": "
|
86
|
-
"id": "to-
|
87
|
-
"title": "To
|
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"
|
88
808
|
}
|
89
809
|
],
|
90
|
-
"
|
810
|
+
"ListFunctionEventInvokeConfigs": [
|
91
811
|
{
|
92
812
|
"input": {
|
93
|
-
"
|
813
|
+
"FunctionName": "my-function"
|
94
814
|
},
|
95
815
|
"output": {
|
96
|
-
"
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
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": 2
|
822
|
+
},
|
823
|
+
{
|
824
|
+
"FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
|
825
|
+
"LastModified": 1577824396.653,
|
826
|
+
"MaximumEventAgeInSeconds": 3600,
|
827
|
+
"MaximumRetryAttempts": 0
|
828
|
+
}
|
829
|
+
]
|
104
830
|
},
|
105
831
|
"comments": {
|
106
832
|
"input": {
|
@@ -108,16 +834,64 @@
|
|
108
834
|
"output": {
|
109
835
|
}
|
110
836
|
},
|
111
|
-
"description": "
|
112
|
-
"id": "to-
|
113
|
-
"title": "To
|
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"
|
114
840
|
}
|
115
841
|
],
|
116
|
-
"
|
842
|
+
"ListFunctions": [
|
117
843
|
{
|
118
844
|
"input": {
|
119
|
-
|
120
|
-
|
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": ""
|
121
895
|
},
|
122
896
|
"comments": {
|
123
897
|
"input": {
|
@@ -125,43 +899,107 @@
|
|
125
899
|
"output": {
|
126
900
|
}
|
127
901
|
},
|
128
|
-
"description": "This operation
|
129
|
-
"id": "to-
|
130
|
-
"title": "To
|
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"
|
131
905
|
}
|
132
906
|
],
|
133
|
-
"
|
907
|
+
"ListLayerVersions": [
|
134
908
|
{
|
135
909
|
"input": {
|
910
|
+
"LayerName": "blank-java-lib"
|
136
911
|
},
|
137
912
|
"output": {
|
138
|
-
"
|
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": 7
|
922
|
+
},
|
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": 6
|
931
|
+
}
|
932
|
+
]
|
933
|
+
},
|
934
|
+
"comments": {
|
935
|
+
"input": {
|
139
936
|
},
|
140
|
-
"
|
937
|
+
"output": {
|
141
938
|
}
|
142
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": 2
|
962
|
+
},
|
963
|
+
"LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",
|
964
|
+
"LayerName": "my-layer"
|
965
|
+
}
|
966
|
+
]
|
967
|
+
},
|
143
968
|
"comments": {
|
144
969
|
"input": {
|
145
970
|
},
|
146
971
|
"output": {
|
147
972
|
}
|
148
973
|
},
|
149
|
-
"description": "
|
150
|
-
"id": "to-
|
151
|
-
"title": "To
|
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"
|
152
977
|
}
|
153
978
|
],
|
154
|
-
"
|
979
|
+
"ListProvisionedConcurrencyConfigs": [
|
155
980
|
{
|
156
981
|
"input": {
|
157
|
-
"FunctionName": "
|
158
|
-
"Name": "myFunctionAlias"
|
982
|
+
"FunctionName": "my-function"
|
159
983
|
},
|
160
984
|
"output": {
|
161
|
-
"
|
162
|
-
|
163
|
-
|
164
|
-
|
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
|
+
]
|
165
1003
|
},
|
166
1004
|
"comments": {
|
167
1005
|
"input": {
|
@@ -169,25 +1007,21 @@
|
|
169
1007
|
"output": {
|
170
1008
|
}
|
171
1009
|
},
|
172
|
-
"description": "
|
173
|
-
"id": "to-
|
174
|
-
"title": "To
|
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"
|
175
1013
|
}
|
176
1014
|
],
|
177
|
-
"
|
1015
|
+
"ListTags": [
|
178
1016
|
{
|
179
1017
|
"input": {
|
180
|
-
"
|
1018
|
+
"Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function"
|
181
1019
|
},
|
182
1020
|
"output": {
|
183
|
-
"
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
"LastProcessingResult": "",
|
188
|
-
"State": "",
|
189
|
-
"StateTransitionReason": "",
|
190
|
-
"UUID": "123489-xxxxx-kdla8d89d7"
|
1021
|
+
"Tags": {
|
1022
|
+
"Category": "Web Tools",
|
1023
|
+
"Department": "Sales"
|
1024
|
+
}
|
191
1025
|
},
|
192
1026
|
"comments": {
|
193
1027
|
"input": {
|
@@ -195,49 +1029,69 @@
|
|
195
1029
|
"output": {
|
196
1030
|
}
|
197
1031
|
},
|
198
|
-
"description": "
|
199
|
-
"id": "to-retrieve-
|
200
|
-
"title": "To retrieve a Lambda function
|
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"
|
201
1035
|
}
|
202
1036
|
],
|
203
|
-
"
|
1037
|
+
"ListVersionsByFunction": [
|
204
1038
|
{
|
205
1039
|
"input": {
|
206
|
-
"FunctionName": "
|
207
|
-
"Qualifier": "1"
|
1040
|
+
"FunctionName": "my-function"
|
208
1041
|
},
|
209
1042
|
"output": {
|
210
|
-
"
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
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"
|
222
1068
|
},
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
"
|
234
|
-
|
235
|
-
|
236
|
-
"
|
237
|
-
|
238
|
-
|
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"
|
239
1093
|
}
|
240
|
-
|
1094
|
+
]
|
241
1095
|
},
|
242
1096
|
"comments": {
|
243
1097
|
"input": {
|
@@ -245,37 +1099,42 @@
|
|
245
1099
|
"output": {
|
246
1100
|
}
|
247
1101
|
},
|
248
|
-
"description": "
|
249
|
-
"id": "to-
|
250
|
-
"title": "To
|
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"
|
251
1105
|
}
|
252
1106
|
],
|
253
|
-
"
|
1107
|
+
"PublishLayerVersion": [
|
254
1108
|
{
|
255
1109
|
"input": {
|
256
|
-
"
|
257
|
-
|
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"
|
258
1121
|
},
|
259
1122
|
"output": {
|
260
|
-
"
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
"
|
265
|
-
|
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..."
|
266
1131
|
},
|
267
|
-
"
|
268
|
-
"
|
269
|
-
"
|
270
|
-
"
|
271
|
-
"
|
272
|
-
"
|
273
|
-
"Role": "arn:aws:iam::123456789012:role/lambda_basic_execution",
|
274
|
-
"Runtime": "python2.7",
|
275
|
-
"Timeout": 123,
|
276
|
-
"Version": "1",
|
277
|
-
"VpcConfig": {
|
278
|
-
}
|
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": 1
|
279
1138
|
},
|
280
1139
|
"comments": {
|
281
1140
|
"input": {
|
@@ -283,19 +1142,44 @@
|
|
283
1142
|
"output": {
|
284
1143
|
}
|
285
1144
|
},
|
286
|
-
"description": "
|
287
|
-
"id": "to-
|
288
|
-
"title": "To
|
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"
|
289
1148
|
}
|
290
1149
|
],
|
291
|
-
"
|
1150
|
+
"PublishVersion": [
|
292
1151
|
{
|
293
1152
|
"input": {
|
294
|
-
"
|
295
|
-
"
|
1153
|
+
"CodeSha256": "",
|
1154
|
+
"Description": "",
|
1155
|
+
"FunctionName": "myFunction"
|
296
1156
|
},
|
297
1157
|
"output": {
|
298
|
-
"
|
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"
|
299
1183
|
},
|
300
1184
|
"comments": {
|
301
1185
|
"input": {
|
@@ -303,26 +1187,19 @@
|
|
303
1187
|
"output": {
|
304
1188
|
}
|
305
1189
|
},
|
306
|
-
"description": "This operation
|
307
|
-
"id": "to-
|
308
|
-
"title": "To
|
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"
|
309
1193
|
}
|
310
1194
|
],
|
311
|
-
"
|
1195
|
+
"PutFunctionConcurrency": [
|
312
1196
|
{
|
313
1197
|
"input": {
|
314
|
-
"
|
315
|
-
"
|
316
|
-
"InvocationType": "Event",
|
317
|
-
"LogType": "Tail",
|
318
|
-
"Payload": "fileb://file-path/input.json",
|
319
|
-
"Qualifier": "1"
|
1198
|
+
"FunctionName": "my-function",
|
1199
|
+
"ReservedConcurrentExecutions": 100
|
320
1200
|
},
|
321
1201
|
"output": {
|
322
|
-
"
|
323
|
-
"LogResult": "",
|
324
|
-
"Payload": "?",
|
325
|
-
"StatusCode": 123
|
1202
|
+
"ReservedConcurrentExecutions": 100
|
326
1203
|
},
|
327
1204
|
"comments": {
|
328
1205
|
"input": {
|
@@ -330,19 +1207,29 @@
|
|
330
1207
|
"output": {
|
331
1208
|
}
|
332
1209
|
},
|
333
|
-
"description": "
|
334
|
-
"id": "to-
|
335
|
-
"title": "To
|
1210
|
+
"description": "The following example configures 100 reserved concurrent executions for the my-function function.",
|
1211
|
+
"id": "to-configure-a-reserved-concurrency-limit-for-a-function-1586491405956",
|
1212
|
+
"title": "To configure a reserved concurrency limit for a function"
|
336
1213
|
}
|
337
1214
|
],
|
338
|
-
"
|
1215
|
+
"PutFunctionEventInvokeConfig": [
|
339
1216
|
{
|
340
1217
|
"input": {
|
341
|
-
"FunctionName": "
|
342
|
-
"
|
1218
|
+
"FunctionName": "my-function",
|
1219
|
+
"MaximumEventAgeInSeconds": 3600,
|
1220
|
+
"MaximumRetryAttempts": 0
|
343
1221
|
},
|
344
1222
|
"output": {
|
345
|
-
"
|
1223
|
+
"DestinationConfig": {
|
1224
|
+
"OnFailure": {
|
1225
|
+
},
|
1226
|
+
"OnSuccess": {
|
1227
|
+
}
|
1228
|
+
},
|
1229
|
+
"FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
|
1230
|
+
"LastModified": "${timestamp}",
|
1231
|
+
"MaximumEventAgeInSeconds": 3600,
|
1232
|
+
"MaximumRetryAttempts": 0
|
346
1233
|
},
|
347
1234
|
"comments": {
|
348
1235
|
"input": {
|
@@ -350,24 +1237,23 @@
|
|
350
1237
|
"output": {
|
351
1238
|
}
|
352
1239
|
},
|
353
|
-
"description": "
|
354
|
-
"id": "to-
|
355
|
-
"title": "To
|
1240
|
+
"description": "The following example sets a maximum event age of one hour and disables retries for the specified function.",
|
1241
|
+
"id": "to-configure-error-handling-for-asynchronous-invocation-1586491524021",
|
1242
|
+
"title": "To configure error handling for asynchronous invocation"
|
356
1243
|
}
|
357
1244
|
],
|
358
|
-
"
|
1245
|
+
"PutProvisionedConcurrencyConfig": [
|
359
1246
|
{
|
360
1247
|
"input": {
|
361
|
-
"FunctionName": "
|
362
|
-
"
|
363
|
-
"
|
364
|
-
"MaxItems": 123
|
1248
|
+
"FunctionName": "my-function",
|
1249
|
+
"ProvisionedConcurrentExecutions": 100,
|
1250
|
+
"Qualifier": "BLUE"
|
365
1251
|
},
|
366
1252
|
"output": {
|
367
|
-
"
|
368
|
-
|
369
|
-
|
370
|
-
"
|
1253
|
+
"AllocatedProvisionedConcurrentExecutions": 0,
|
1254
|
+
"LastModified": "2019-11-21T19:32:12+0000",
|
1255
|
+
"RequestedProvisionedConcurrentExecutions": 100,
|
1256
|
+
"Status": "IN_PROGRESS"
|
371
1257
|
},
|
372
1258
|
"comments": {
|
373
1259
|
"input": {
|
@@ -375,22 +1261,17 @@
|
|
375
1261
|
"output": {
|
376
1262
|
}
|
377
1263
|
},
|
378
|
-
"description": "
|
379
|
-
"id": "to-
|
380
|
-
"title": "To
|
1264
|
+
"description": "The following example allocates 100 provisioned concurrency for the BLUE alias of the specified function.",
|
1265
|
+
"id": "to-allocate-provisioned-concurrency-1586491651377",
|
1266
|
+
"title": "To allocate provisioned concurrency"
|
381
1267
|
}
|
382
1268
|
],
|
383
|
-
"
|
1269
|
+
"RemoveLayerVersionPermission": [
|
384
1270
|
{
|
385
1271
|
"input": {
|
386
|
-
"
|
387
|
-
"
|
388
|
-
|
389
|
-
"output": {
|
390
|
-
"Functions": [
|
391
|
-
|
392
|
-
],
|
393
|
-
"NextMarker": ""
|
1272
|
+
"LayerName": "my-layer",
|
1273
|
+
"StatementId": "xaccount",
|
1274
|
+
"VersionNumber": 1
|
394
1275
|
},
|
395
1276
|
"comments": {
|
396
1277
|
"input": {
|
@@ -398,23 +1279,17 @@
|
|
398
1279
|
"output": {
|
399
1280
|
}
|
400
1281
|
},
|
401
|
-
"description": "
|
402
|
-
"id": "to-
|
403
|
-
"title": "To
|
1282
|
+
"description": "The following example deletes permission for an account to configure a layer version.",
|
1283
|
+
"id": "to-delete-layer-version-permissions-1586491829416",
|
1284
|
+
"title": "To delete layer-version permissions"
|
404
1285
|
}
|
405
1286
|
],
|
406
|
-
"
|
1287
|
+
"RemovePermission": [
|
407
1288
|
{
|
408
1289
|
"input": {
|
409
|
-
"FunctionName": "
|
410
|
-
"
|
411
|
-
"
|
412
|
-
},
|
413
|
-
"output": {
|
414
|
-
"NextMarker": "",
|
415
|
-
"Versions": [
|
416
|
-
|
417
|
-
]
|
1290
|
+
"FunctionName": "my-function",
|
1291
|
+
"Qualifier": "PROD",
|
1292
|
+
"StatementId": "xaccount"
|
418
1293
|
},
|
419
1294
|
"comments": {
|
420
1295
|
"input": {
|
@@ -422,32 +1297,17 @@
|
|
422
1297
|
"output": {
|
423
1298
|
}
|
424
1299
|
},
|
425
|
-
"description": "
|
426
|
-
"id": "to-
|
427
|
-
"title": "To
|
1300
|
+
"description": "The following example removes a permissions statement named xaccount from the PROD alias of a function named my-function.",
|
1301
|
+
"id": "to-remove-a-lambda-functions-permissions-1481661337021",
|
1302
|
+
"title": "To remove a Lambda function's permissions"
|
428
1303
|
}
|
429
1304
|
],
|
430
|
-
"
|
1305
|
+
"TagResource": [
|
431
1306
|
{
|
432
1307
|
"input": {
|
433
|
-
"
|
434
|
-
"
|
435
|
-
|
436
|
-
},
|
437
|
-
"output": {
|
438
|
-
"CodeSha256": "",
|
439
|
-
"CodeSize": 123,
|
440
|
-
"Description": "",
|
441
|
-
"FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
|
442
|
-
"FunctionName": "myFunction",
|
443
|
-
"Handler": "index.handler",
|
444
|
-
"LastModified": "2016-11-21T19:49:20.006+0000",
|
445
|
-
"MemorySize": 128,
|
446
|
-
"Role": "arn:aws:iam::123456789012:role/lambda_basic_execution",
|
447
|
-
"Runtime": "python2.7",
|
448
|
-
"Timeout": 123,
|
449
|
-
"Version": "1",
|
450
|
-
"VpcConfig": {
|
1308
|
+
"Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
1309
|
+
"Tags": {
|
1310
|
+
"DEPARTMENT": "Department A"
|
451
1311
|
}
|
452
1312
|
},
|
453
1313
|
"comments": {
|
@@ -456,17 +1316,18 @@
|
|
456
1316
|
"output": {
|
457
1317
|
}
|
458
1318
|
},
|
459
|
-
"description": "
|
460
|
-
"id": "to-
|
461
|
-
"title": "To
|
1319
|
+
"description": "The following example adds a tag with the key name DEPARTMENT and a value of 'Department A' to the specified Lambda function.",
|
1320
|
+
"id": "to-add-tags-to-an-existing-lambda-function-1586491890446",
|
1321
|
+
"title": "To add tags to an existing Lambda function"
|
462
1322
|
}
|
463
1323
|
],
|
464
|
-
"
|
1324
|
+
"UntagResource": [
|
465
1325
|
{
|
466
1326
|
"input": {
|
467
|
-
"
|
468
|
-
"
|
469
|
-
|
1327
|
+
"Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
1328
|
+
"TagKeys": [
|
1329
|
+
"DEPARTMENT"
|
1330
|
+
]
|
470
1331
|
},
|
471
1332
|
"comments": {
|
472
1333
|
"input": {
|
@@ -474,24 +1335,34 @@
|
|
474
1335
|
"output": {
|
475
1336
|
}
|
476
1337
|
},
|
477
|
-
"description": "
|
478
|
-
"id": "to-remove-
|
479
|
-
"title": "To remove
|
1338
|
+
"description": "The following example removes the tag with the key name DEPARTMENT tag from the my-function Lambda function.",
|
1339
|
+
"id": "to-remove-tags-from-an-existing-lambda-function-1586491956425",
|
1340
|
+
"title": "To remove tags from an existing Lambda function"
|
480
1341
|
}
|
481
1342
|
],
|
482
1343
|
"UpdateAlias": [
|
483
1344
|
{
|
484
1345
|
"input": {
|
485
|
-
"
|
486
|
-
"
|
487
|
-
"
|
488
|
-
"
|
1346
|
+
"FunctionName": "my-function",
|
1347
|
+
"FunctionVersion": "2",
|
1348
|
+
"Name": "BLUE",
|
1349
|
+
"RoutingConfig": {
|
1350
|
+
"AdditionalVersionWeights": {
|
1351
|
+
"1": 0.7
|
1352
|
+
}
|
1353
|
+
}
|
489
1354
|
},
|
490
1355
|
"output": {
|
491
|
-
"AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:
|
492
|
-
"Description": "",
|
493
|
-
"FunctionVersion": "
|
494
|
-
"Name": "
|
1356
|
+
"AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
|
1357
|
+
"Description": "Production environment BLUE.",
|
1358
|
+
"FunctionVersion": "2",
|
1359
|
+
"Name": "BLUE",
|
1360
|
+
"RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93",
|
1361
|
+
"RoutingConfig": {
|
1362
|
+
"AdditionalVersionWeights": {
|
1363
|
+
"1": 0.7
|
1364
|
+
}
|
1365
|
+
}
|
495
1366
|
},
|
496
1367
|
"comments": {
|
497
1368
|
"input": {
|
@@ -499,9 +1370,9 @@
|
|
499
1370
|
"output": {
|
500
1371
|
}
|
501
1372
|
},
|
502
|
-
"description": "
|
503
|
-
"id": "to-update-a-
|
504
|
-
"title": "To update a
|
1373
|
+
"description": "The following example updates the alias named BLUE to send 30% of traffic to version 2 and 70% to version 1.",
|
1374
|
+
"id": "to-update-a-function-alias-1481650817950",
|
1375
|
+
"title": "To update a function alias"
|
505
1376
|
}
|
506
1377
|
],
|
507
1378
|
"UpdateEventSourceMapping": [
|
@@ -536,28 +1407,27 @@
|
|
536
1407
|
"UpdateFunctionCode": [
|
537
1408
|
{
|
538
1409
|
"input": {
|
539
|
-
"FunctionName": "
|
540
|
-
"
|
541
|
-
"
|
542
|
-
"S3Key": "myKey",
|
543
|
-
"S3ObjectVersion": "1",
|
544
|
-
"ZipFile": "fileb://file-path/file.zip"
|
1410
|
+
"FunctionName": "my-function",
|
1411
|
+
"S3Bucket": "my-bucket-1xpuxmplzrlbh",
|
1412
|
+
"S3Key": "function.zip"
|
545
1413
|
},
|
546
1414
|
"output": {
|
547
|
-
"CodeSha256": "
|
548
|
-
"CodeSize":
|
1415
|
+
"CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
1416
|
+
"CodeSize": 308,
|
549
1417
|
"Description": "",
|
550
|
-
"FunctionArn": "arn:aws:lambda:us-
|
551
|
-
"FunctionName": "
|
1418
|
+
"FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
1419
|
+
"FunctionName": "my-function",
|
552
1420
|
"Handler": "index.handler",
|
553
|
-
"LastModified": "
|
1421
|
+
"LastModified": "2019-08-14T22:26:11.234+0000",
|
554
1422
|
"MemorySize": 128,
|
555
|
-
"
|
556
|
-
"
|
557
|
-
"
|
558
|
-
"
|
559
|
-
"
|
560
|
-
|
1423
|
+
"RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6",
|
1424
|
+
"Role": "arn:aws:iam::123456789012:role/lambda-role",
|
1425
|
+
"Runtime": "nodejs12.x",
|
1426
|
+
"Timeout": 3,
|
1427
|
+
"TracingConfig": {
|
1428
|
+
"Mode": "PassThrough"
|
1429
|
+
},
|
1430
|
+
"Version": "$LATEST"
|
561
1431
|
},
|
562
1432
|
"comments": {
|
563
1433
|
"input": {
|
@@ -565,7 +1435,7 @@
|
|
565
1435
|
"output": {
|
566
1436
|
}
|
567
1437
|
},
|
568
|
-
"description": "
|
1438
|
+
"description": "The following example replaces the code of the unpublished ($LATEST) version of a function named my-function with the contents of the specified zip file in Amazon S3.",
|
569
1439
|
"id": "to-update-a-lambda-functions-code-1481650992672",
|
570
1440
|
"title": "To update a Lambda function's code"
|
571
1441
|
}
|
@@ -573,31 +1443,26 @@
|
|
573
1443
|
"UpdateFunctionConfiguration": [
|
574
1444
|
{
|
575
1445
|
"input": {
|
576
|
-
"
|
577
|
-
"
|
578
|
-
"Handler": "index.handler",
|
579
|
-
"MemorySize": 128,
|
580
|
-
"Role": "arn:aws:iam::123456789012:role/lambda_basic_execution",
|
581
|
-
"Runtime": "python2.7",
|
582
|
-
"Timeout": 123,
|
583
|
-
"VpcConfig": {
|
584
|
-
}
|
1446
|
+
"FunctionName": "my-function",
|
1447
|
+
"MemorySize": 256
|
585
1448
|
},
|
586
1449
|
"output": {
|
587
|
-
"CodeSha256": "
|
588
|
-
"CodeSize":
|
1450
|
+
"CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
1451
|
+
"CodeSize": 308,
|
589
1452
|
"Description": "",
|
590
|
-
"FunctionArn": "arn:aws:lambda:us-
|
591
|
-
"FunctionName": "
|
1453
|
+
"FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
1454
|
+
"FunctionName": "my-function",
|
592
1455
|
"Handler": "index.handler",
|
593
|
-
"LastModified": "
|
594
|
-
"MemorySize":
|
595
|
-
"
|
596
|
-
"
|
597
|
-
"
|
598
|
-
"
|
599
|
-
"
|
600
|
-
|
1456
|
+
"LastModified": "2019-08-14T22:26:11.234+0000",
|
1457
|
+
"MemorySize": 256,
|
1458
|
+
"RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6",
|
1459
|
+
"Role": "arn:aws:iam::123456789012:role/lambda-role",
|
1460
|
+
"Runtime": "nodejs12.x",
|
1461
|
+
"Timeout": 3,
|
1462
|
+
"TracingConfig": {
|
1463
|
+
"Mode": "PassThrough"
|
1464
|
+
},
|
1465
|
+
"Version": "$LATEST"
|
601
1466
|
},
|
602
1467
|
"comments": {
|
603
1468
|
"input": {
|
@@ -605,10 +1470,44 @@
|
|
605
1470
|
"output": {
|
606
1471
|
}
|
607
1472
|
},
|
608
|
-
"description": "
|
1473
|
+
"description": "The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.",
|
609
1474
|
"id": "to-update-a-lambda-functions-configuration-1481651096447",
|
610
1475
|
"title": "To update a Lambda function's configuration"
|
611
1476
|
}
|
1477
|
+
],
|
1478
|
+
"UpdateFunctionEventInvokeConfig": [
|
1479
|
+
{
|
1480
|
+
"input": {
|
1481
|
+
"DestinationConfig": {
|
1482
|
+
"OnFailure": {
|
1483
|
+
"Destination": "arn:aws:sqs:us-east-2:123456789012:destination"
|
1484
|
+
}
|
1485
|
+
},
|
1486
|
+
"FunctionName": "my-function"
|
1487
|
+
},
|
1488
|
+
"output": {
|
1489
|
+
"DestinationConfig": {
|
1490
|
+
"OnFailure": {
|
1491
|
+
"Destination": "arn:aws:sqs:us-east-2:123456789012:destination"
|
1492
|
+
},
|
1493
|
+
"OnSuccess": {
|
1494
|
+
}
|
1495
|
+
},
|
1496
|
+
"FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
|
1497
|
+
"LastModified": 1573687896.493,
|
1498
|
+
"MaximumEventAgeInSeconds": 3600,
|
1499
|
+
"MaximumRetryAttempts": 0
|
1500
|
+
},
|
1501
|
+
"comments": {
|
1502
|
+
"input": {
|
1503
|
+
},
|
1504
|
+
"output": {
|
1505
|
+
}
|
1506
|
+
},
|
1507
|
+
"description": "The following example adds an on-failure destination to the existing asynchronous invocation configuration for a function named my-function.",
|
1508
|
+
"id": "to-update-an-asynchronous-invocation-configuration-1586492061186",
|
1509
|
+
"title": "To update an asynchronous invocation configuration"
|
1510
|
+
}
|
612
1511
|
]
|
613
1512
|
}
|
614
1513
|
}
|