File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
javav2/example_code/cloudwatch/src/main/java/com/example/cloudwatch/scenario Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1026,6 +1026,7 @@ cloudwatch_PutMetricData:
10261026 services :
10271027 cloudwatch : {PutMetricData}
10281028cloudwatch_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
Original file line number Diff line number Diff line change 7373import java .util .List ;
7474import java .util .Set ;
7575import java .util .concurrent .CompletableFuture ;
76-
76+ // snippet-start:[cloudwatch.java2.actions.main]
7777public 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]
You can’t perform that action at this time.
0 commit comments