Skip to content

Commit 4041dbd

Browse files
committed
updated CloudWatch YAML
1 parent c66c7dd commit 4041dbd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.doc_gen/metadata/cloudwatch_metadata.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,7 @@ cloudwatch_PutMetricData:
10261026
services:
10271027
cloudwatch: {PutMetricData}
10281028
cloudwatch_GetStartedMetricsDashboardsAlarms:
1029+
title: Learn core operations for &CW; using an &AWS;
10291030
synopsis_list:
10301031
- List &CW; namespaces and metrics.
10311032
- Get statistics for a metric and for estimated billing.
@@ -1042,7 +1043,7 @@ cloudwatch_GetStartedMetricsDashboardsAlarms:
10421043
github: kotlin/services/cloudwatch
10431044
sdkguide:
10441045
excerpts:
1045-
- description:
1046+
- description: Run an interactive scenario demonstrating &CW; features.
10461047
snippet_tags:
10471048
- cloudwatch.kotlin.scenario.main
10481049
Java:
@@ -1051,9 +1052,12 @@ cloudwatch_GetStartedMetricsDashboardsAlarms:
10511052
github: javav2/example_code/cloudwatch
10521053
sdkguide:
10531054
excerpts:
1054-
- description:
1055+
- description: Run an interactive scenario demonstrating &CW; features.
10551056
snippet_tags:
10561057
- cloudwatch.java2.scenario.main
1058+
- description: A wrapper class for &CW; SDK methods.
1059+
snippet_tags:
1060+
- cloudwatch.java2.actions.main
10571061
.NET:
10581062
versions:
10591063
- sdk_version: 3

javav2/example_code/cloudwatch/src/main/java/com/example/cloudwatch/scenario/CloudWatchActions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
import java.util.List;
7474
import java.util.Set;
7575
import java.util.concurrent.CompletableFuture;
76-
76+
// snippet-start:[cloudwatch.java2.actions.main]
7777
public class CloudWatchActions {
7878

7979
private static CloudWatchAsyncClient cloudWatchAsyncClient;
@@ -1025,3 +1025,4 @@ public static String readFileAsString(String file) throws IOException {
10251025
return new String(Files.readAllBytes(Paths.get(file)));
10261026
}
10271027
}
1028+
// snippet-end:[cloudwatch.java2.actions.main]

0 commit comments

Comments
 (0)