官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The describe-log-groups command will list all the log groups that are prefixed with /aws/lambda. "

A block of code is set as follows:

exports.myHandler = function(event, context, callback) {
console.log("value = " + event.key);
console.log("functionName = ", context.functionName);
callback(null, "Yippee! Something worked!");
};

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

exports.myHandler = (event, context, callback) => { 
console.log('remaining time =', context.getRemainingTimeInMillis());
console.log('functionName =', context.functionName);
console.log('AWSrequestID =', context.awsRequestId);
console.log('logGroupName =', context.logGroupName);
console.log('logStreamName =', context.logStreamName);

Any command-line input or output is written as follows:

# aws lambda list-functions 

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "In the Review page, select the Create function option."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 同心县| 庄河市| 万源市| 中山市| 乌鲁木齐市| 寿光市| 甘孜县| 旬阳县| 潞西市| 板桥市| 出国| 西青区| 三河市| 漠河县| 斗六市| 疏勒县| 澄城县| 宁乡县| 额济纳旗| 阿巴嘎旗| 栾城县| 资阳市| 九江县| 年辖:市辖区| 河北省| 上思县| 余干县| 前郭尔| 梓潼县| 苏尼特右旗| 新乐市| 济宁市| 黎平县| 临邑县| 成安县| 泰州市| 尼玛县| 沭阳县| 平谷区| 彭泽县| 德昌县|