Skip to content

Commit acf1f92

Browse files
committed
Adding first round of SAP ABAP code examples.
Resolve some merge issues. Minor edits. Fix some validation errors. Update Python version in workflow.
1 parent e2a7ae0 commit acf1f92

File tree

82 files changed

+13901
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+13901
-8
lines changed

.doc_gen/cross-content/phrases-code-examples.ent

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
<!-- ABAP SDK -->
2+
<!ENTITY ABAPlong '&AWS; SDK for SAP ABAP'>
3+
<!ENTITY ABAP 'SDK for SAP ABAP'>
4+
<!ENTITY guide-abap-dev '&ABAPlong; developer guide'>
5+
<!ENTITY guide-abap-api '&ABAPlong; API reference'>
6+
7+
18
<!-- SDK for Swift -->
29
<!ENTITY Swiftlong '&AWS; SDK for Swift'>
310
<!ENTITY Swift 'SDK for Swift'>

.doc_gen/metadata/cloudwatch_metadata.yaml

+76
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ cloudwatch_ListMetrics:
3333
snippet_tags:
3434
- python.example_code.cloudwatch.CloudWatchWrapper
3535
- python.example_code.cloudwatch.ListMetrics
36+
SAP ABAP:
37+
versions:
38+
- sdk_version: 1
39+
github: abap/services/cloudwatch
40+
excerpts:
41+
- description:
42+
snippet_tags:
43+
- cwt.abapv1.list_metrics
3644
C++:
3745
versions:
3846
- sdk_version: 1
@@ -194,6 +202,14 @@ cloudwatch_PutMetricAlarm:
194202
snippet_tags:
195203
- python.example_code.cloudwatch.CloudWatchWrapper
196204
- python.example_code.cloudwatch.PutMetricAlarm
205+
SAP ABAP:
206+
versions:
207+
- sdk_version: 1
208+
github: abap/services/cloudwatch
209+
excerpts:
210+
- description:
211+
snippet_tags:
212+
- cwt.abapv1.put_metric_alarm
197213
C++:
198214
versions:
199215
- sdk_version: 1
@@ -294,6 +310,22 @@ cloudwatch_DescribeAlarmsForMetric:
294310
- cw.JavaScript.alarms.describeAlarms
295311
services:
296312
cloudwatch: {DescribeAlarmsForMetric}
313+
cloudwatch_DescribeAlarms:
314+
title: Describe &CW; alarms using an &AWS; SDK
315+
title_abbrev: Describe alarms
316+
synopsis: describe &CWlong; alarms.
317+
category:
318+
languages:
319+
SAP ABAP:
320+
versions:
321+
- sdk_version: 1
322+
github: abap/services/cloudwatch
323+
excerpts:
324+
- description:
325+
snippet_tags:
326+
- cwt.abapv1.describe_alarms
327+
services:
328+
cloudwatch: {DescribeAlarms}
297329
cloudwatch_EnableAlarmActions:
298330
title: Enable &CW; alarm actions using an &AWS; SDK
299331
title_abbrev: Enable alarm actions
@@ -337,6 +369,14 @@ cloudwatch_EnableAlarmActions:
337369
snippet_tags:
338370
- python.example_code.cloudwatch.CloudWatchWrapper
339371
- python.example_code.cloudwatch.EnableAlarmActions.DisableAlarmActions
372+
SAP ABAP:
373+
versions:
374+
- sdk_version: 1
375+
github: abap/services/cloudwatch
376+
excerpts:
377+
- description:
378+
snippet_tags:
379+
- cwt.abapv1.enable_alarm_actions
340380
C++:
341381
versions:
342382
- sdk_version: 1
@@ -413,6 +453,14 @@ cloudwatch_DisableAlarmActions:
413453
snippet_tags:
414454
- python.example_code.cloudwatch.CloudWatchWrapper
415455
- python.example_code.cloudwatch.EnableAlarmActions.DisableAlarmActions
456+
SAP ABAP:
457+
versions:
458+
- sdk_version: 1
459+
github: abap/services/cloudwatch
460+
excerpts:
461+
- description:
462+
snippet_tags:
463+
- cwt.abapv1.disable_alarm_actions
416464
C++:
417465
versions:
418466
- sdk_version: 1
@@ -520,6 +568,14 @@ cloudwatch_DeleteAlarms:
520568
- description: Import the SDK and client modules and call the API.
521569
snippet_tags:
522570
- cw.JavaScript.alarms.deleteAlarms
571+
SAP ABAP:
572+
versions:
573+
- sdk_version: 1
574+
github: abap/services/cloudwatch
575+
excerpts:
576+
- description:
577+
snippet_tags:
578+
- cwt.abapv1.delete_alarms
523579
services:
524580
cloudwatch: {DeleteAlarms}
525581
cloudwatch_Usage_MetricsAlarms:
@@ -606,3 +662,23 @@ cloudwatch_ListDashboards:
606662
- CloudWatch.dotnetv3.ListDashboardsExample
607663
services:
608664
cloudwatch: {ListDashboards}
665+
cloudwatch_Scenario_GettingStarted:
666+
title: Get started with &CW; alarms using an &AWS; SDK
667+
title_abbrev: Get started with alarms
668+
synopsis_list:
669+
- Create an alarm.
670+
- Disable alarm actions.
671+
- Describe an alarm.
672+
- Delete an alarm.
673+
category: Scenarios
674+
languages:
675+
SAP ABAP:
676+
versions:
677+
- sdk_version: 1
678+
github: abap/services/cloudwatch
679+
excerpts:
680+
- description:
681+
snippet_tags:
682+
- cwt.abapv1.getting_started_with_cwt
683+
services:
684+
cloudwatch: {PutMetricAlarm, DisableAlarmActions, DescribeAlarms, DeleteAlarms}

0 commit comments

Comments
 (0)