Skip to content

Commit

Permalink
Update PutMetricData.java
Browse files Browse the repository at this point in the history
Edits for description, comment strings.
  • Loading branch information
beckandros authored Apr 9, 2020
1 parent 1ffac12 commit 3d7abab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//snippet-sourcedescription:[PutMetricData.java demonstrates how to put a sample metric data point for a metric defined for a CloudWatch alarm.]
//snippet-sourcedescription:[PutMetricData.java demonstrates how to put a sample metric data point for a metric defined for an Amazon CloudWatch alarm.]
//snippet-keyword:[SDK for Java 2.0]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon CloudWatch]
Expand Down Expand Up @@ -39,7 +39,7 @@ public static void main(String[] args) {

final String USAGE =
"To run this example, supply a data point:\n" +
"Ex: PutMetricData <data_point>\n";
"Example: PutMetricData <data_point>\n";

if (args.length != 1) {
System.out.println(USAGE);
Expand Down

0 comments on commit 3d7abab

Please sign in to comment.