You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sample-apps/blank/README.md
+6-15Lines changed: 6 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -46,43 +46,34 @@ Run `deploy.sh` to deploy the application.
46
46
Successfully packaged artifacts and wrote output template to file out.yaml.
47
47
Waiting for changeset to be created..
48
48
Waiting for stack create/update to complete
49
-
Successfully created/updated stack - lambda-blank
49
+
Successfully created/updated stack - blank
50
50
51
51
This script uses AWS CloudFormation to deploy the Lambda functions and an IAM role. If the AWS CloudFormation stack that contains the resources already exists, the script updates it with any changes to the template or function code.
52
52
53
53
# Test
54
-
To generate logs and errors, invoke the function.
54
+
Invoke the function.
55
55
56
56
blank$ ./invoke.sh
57
57
{
58
58
"StatusCode": 200,
59
59
"ExecutedVersion": "$LATEST"
60
60
}
61
-
{
62
-
"StatusCode": 200,
63
-
"FunctionError": "Handled",
64
-
"ExecutedVersion": "$LATEST"
65
-
}
66
-
{
67
-
"StatusCode": 200,
68
-
"ExecutedVersion": "$LATEST"
69
-
}
70
61
71
62
The functions in this application are instrumented with AWS X-Ray. Open the [X-Ray console](https://console.aws.amazon.com/xray/home#/service-map) to view the service map. The following service map shows the random error function generating errors for some requests. It also shows the processor function calling X-Ray, CloudWatch Logs, and Amazon S3.
Choose a node in the main function graph. Then choose **View traces** to see a list of traces. Choose any trace to view a timeline that breaks down the work done by the function.
0 commit comments