Skip to content

Commit fc0d132

Browse files
authored
SAP ABAP: Add IoT, SESv2, and S3 Control examples (#7921)
* SAP ABAP: Add IoT examples (13 operations) Adds ABAP SDK examples for IoT operations: CreateThing, ListThings, CreateKeysAndCertificate, AttachThingPrincipal, DescribeEndpoint, ListCertificates, DetachThingPrincipal, DeleteCertificate, CreateTopicRule, ListTopicRules, SearchIndex, UpdateIndexingConfiguration, DeleteThing, DeleteTopicRule. - Actions class with 13 operations - Unit tests passing on AAE system - Generated by ABAPyCodeConverter tool * SAP ABAP: Add SESv2 examples (GetEmailIdentity, SendBulkEmail) Adds two new ABAP SDK examples to the existing SESv2 (se2) service: GetEmailIdentity and SendBulkEmail. Existing operations are preserved. - 2 new operations added to existing se2 actions class - Unit tests passing on AAE system - Generated by ABAPyCodeConverter tool * SAP ABAP: Add S3 Control examples (7 operations) Adds ABAP SDK examples for S3 Control operations: CreateJob, PutJobTagging, DescribeJob, DeleteJobTagging, GetJobTagging, UpdateJobStatus, UpdateJobPriority. - Actions class with 7 operations (plus list_jobs helper) - Unit tests passing on AAE system - Generated by ABAPyCodeConverter tool * SAP ABAP: Add metadata entries for IoT, SESv2, and S3 Control examples Add SAP ABAP language entries (genai: most) for the newly generated examples: - IoT: 13 single-action operations - SESv2: 2 new operations (GetEmailIdentity, SendBulkEmail) - S3 Control: 7 single-action operations The list_topic_rules (IoT) and list_jobs (S3 Control) snippets are intentionally left undocumented: in all other SDKs these operations appear only within scenario/Hello groupings, not as standalone single-action examples, and there is no ABAP scenario to attach them to. Documented in EC2-SAP-603. * SAP ABAP: Generate READMEs for IoT, SESv2, and S3 Control Regenerate service READMEs with writeme.py after adding SAP ABAP metadata entries: - iot/README.md (new): 13 single-action examples - s3c/README.md (new): 7 single-action examples - se2/README.md (updated): adds GetEmailIdentity and SendBulkEmail Also adds an s3-control -> sap-abap/services/s3c service_folder override to .tools/readmes/config.py so writeme resolves the S3 Control TLA folder correctly.
1 parent 249ece4 commit fc0d132

17 files changed

Lines changed: 3045 additions & 18 deletions

.doc_gen/metadata/iot_metadata.yaml

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ iot_Hello:
5454
iot: {listThings}
5555
iot_DescribeEndpoint:
5656
languages:
57+
SAP ABAP:
58+
versions:
59+
- sdk_version: 1
60+
github: sap-abap/services/iot
61+
excerpts:
62+
- description:
63+
genai: most
64+
snippet_tags:
65+
- iot.abapv1.describe_endpoint
5766
Kotlin:
5867
versions:
5968
- sdk_version: 1
@@ -108,6 +117,15 @@ iot_DescribeEndpoint:
108117
iot: {DescribeEndpoint}
109118
iot_ListThings:
110119
languages:
120+
SAP ABAP:
121+
versions:
122+
- sdk_version: 1
123+
github: sap-abap/services/iot
124+
excerpts:
125+
- description:
126+
genai: most
127+
snippet_tags:
128+
- iot.abapv1.list_things
111129
.NET:
112130
versions:
113131
- sdk_version: 4
@@ -137,6 +155,15 @@ iot_ListThings:
137155
iot: {ListThings}
138156
iot_ListCertificates:
139157
languages:
158+
SAP ABAP:
159+
versions:
160+
- sdk_version: 1
161+
github: sap-abap/services/iot
162+
excerpts:
163+
- description:
164+
genai: most
165+
snippet_tags:
166+
- iot.abapv1.list_certificates
140167
Kotlin:
141168
versions:
142169
- sdk_version: 1
@@ -183,6 +210,15 @@ iot_ListCertificates:
183210
iot: {ListCertificates}
184211
iot_CreateKeysAndCertificate:
185212
languages:
213+
SAP ABAP:
214+
versions:
215+
- sdk_version: 1
216+
github: sap-abap/services/iot
217+
excerpts:
218+
- description:
219+
genai: most
220+
snippet_tags:
221+
- iot.abapv1.create_keys_and_certificate
186222
Kotlin:
187223
versions:
188224
- sdk_version: 1
@@ -229,6 +265,15 @@ iot_CreateKeysAndCertificate:
229265
iot: {CreateKeysAndCertificate}
230266
iot_DeleteCertificate:
231267
languages:
268+
SAP ABAP:
269+
versions:
270+
- sdk_version: 1
271+
github: sap-abap/services/iot
272+
excerpts:
273+
- description:
274+
genai: most
275+
snippet_tags:
276+
- iot.abapv1.delete_certificate
232277
Kotlin:
233278
versions:
234279
- sdk_version: 1
@@ -275,6 +320,15 @@ iot_DeleteCertificate:
275320
iot: {DeleteCertificate}
276321
iot_SearchIndex:
277322
languages:
323+
SAP ABAP:
324+
versions:
325+
- sdk_version: 1
326+
github: sap-abap/services/iot
327+
excerpts:
328+
- description:
329+
genai: most
330+
snippet_tags:
331+
- iot.abapv1.search_index
278332
Kotlin:
279333
versions:
280334
- sdk_version: 1
@@ -321,6 +375,15 @@ iot_SearchIndex:
321375
iot: {SearchIndex}
322376
iot_UpdateIndexingConfiguration:
323377
languages:
378+
SAP ABAP:
379+
versions:
380+
- sdk_version: 1
381+
github: sap-abap/services/iot
382+
excerpts:
383+
- description:
384+
genai: most
385+
snippet_tags:
386+
- iot.abapv1.update_indexing_configuration
324387
C++:
325388
versions:
326389
- sdk_version: 1
@@ -342,6 +405,15 @@ iot_UpdateIndexingConfiguration:
342405
iot: {UpdateIndexingConfiguration}
343406
iot_DeleteThing:
344407
languages:
408+
SAP ABAP:
409+
versions:
410+
- sdk_version: 1
411+
github: sap-abap/services/iot
412+
excerpts:
413+
- description:
414+
genai: most
415+
snippet_tags:
416+
- iot.abapv1.delete_thing
345417
Kotlin:
346418
versions:
347419
- sdk_version: 1
@@ -417,6 +489,15 @@ iot_DescribeThing:
417489
iot: {DescribeThing}
418490
iot_AttachThingPrincipal:
419491
languages:
492+
SAP ABAP:
493+
versions:
494+
- sdk_version: 1
495+
github: sap-abap/services/iot
496+
excerpts:
497+
- description:
498+
genai: most
499+
snippet_tags:
500+
- iot.abapv1.attach_thing_principal
420501
Kotlin:
421502
versions:
422503
- sdk_version: 1
@@ -463,6 +544,15 @@ iot_AttachThingPrincipal:
463544
iot: {AttachThingPrincipal}
464545
iot_DetachThingPrincipal:
465546
languages:
547+
SAP ABAP:
548+
versions:
549+
- sdk_version: 1
550+
github: sap-abap/services/iot
551+
excerpts:
552+
- description:
553+
genai: most
554+
snippet_tags:
555+
- iot.abapv1.detach_thing_principal
466556
Kotlin:
467557
versions:
468558
- sdk_version: 1
@@ -538,6 +628,15 @@ iot_UpdateThing:
538628
iot: {UpdateThing}
539629
iot_CreateTopicRule:
540630
languages:
631+
SAP ABAP:
632+
versions:
633+
- sdk_version: 1
634+
github: sap-abap/services/iot
635+
excerpts:
636+
- description:
637+
genai: most
638+
snippet_tags:
639+
- iot.abapv1.create_topic_rule
541640
Kotlin:
542641
versions:
543642
- sdk_version: 1
@@ -584,6 +683,15 @@ iot_CreateTopicRule:
584683
iot: {CreateTopicRule}
585684
iot_DeleteTopicRule:
586685
languages:
686+
SAP ABAP:
687+
versions:
688+
- sdk_version: 1
689+
github: sap-abap/services/iot
690+
excerpts:
691+
- description:
692+
genai: most
693+
snippet_tags:
694+
- iot.abapv1.delete_topic_rule
587695
C++:
588696
versions:
589697
- sdk_version: 1
@@ -605,6 +713,15 @@ iot_DeleteTopicRule:
605713
iot: {DeleteTopicRule}
606714
iot_CreateThing:
607715
languages:
716+
SAP ABAP:
717+
versions:
718+
- sdk_version: 1
719+
github: sap-abap/services/iot
720+
excerpts:
721+
- description:
722+
genai: most
723+
snippet_tags:
724+
- iot.abapv1.create_thing
608725
Kotlin:
609726
versions:
610727
- sdk_version: 1

.doc_gen/metadata/s3-control_metadata.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ s3-control_Hello:
2727

2828
s3-control_CreateJob:
2929
languages:
30+
SAP ABAP:
31+
versions:
32+
- sdk_version: 1
33+
github: sap-abap/services/s3c
34+
excerpts:
35+
- description:
36+
genai: most
37+
snippet_tags:
38+
- s3c.abapv1.create_job
3039
Java:
3140
versions:
3241
- sdk_version: 2
@@ -58,6 +67,15 @@ s3-control_CreateJob:
5867
s3-control: {CreateJob}
5968
s3-control_PutJobTagging:
6069
languages:
70+
SAP ABAP:
71+
versions:
72+
- sdk_version: 1
73+
github: sap-abap/services/s3c
74+
excerpts:
75+
- description:
76+
genai: most
77+
snippet_tags:
78+
- s3c.abapv1.put_job_tagging
6179
Java:
6280
versions:
6381
- sdk_version: 2
@@ -80,6 +98,15 @@ s3-control_PutJobTagging:
8098
s3-control: {PutJobTagging}
8199
s3-control_DescribeJob:
82100
languages:
101+
SAP ABAP:
102+
versions:
103+
- sdk_version: 1
104+
github: sap-abap/services/s3c
105+
excerpts:
106+
- description:
107+
genai: most
108+
snippet_tags:
109+
- s3c.abapv1.describe_job
83110
Java:
84111
versions:
85112
- sdk_version: 2
@@ -102,6 +129,15 @@ s3-control_DescribeJob:
102129
s3-control: {DescribeJob}
103130
s3-control_DeleteJobTagging:
104131
languages:
132+
SAP ABAP:
133+
versions:
134+
- sdk_version: 1
135+
github: sap-abap/services/s3c
136+
excerpts:
137+
- description:
138+
genai: most
139+
snippet_tags:
140+
- s3c.abapv1.delete_job_tagging
105141
Java:
106142
versions:
107143
- sdk_version: 2
@@ -124,6 +160,15 @@ s3-control_DeleteJobTagging:
124160
s3-control: {DeleteJobTagging}
125161
s3-control_GetJobTagging:
126162
languages:
163+
SAP ABAP:
164+
versions:
165+
- sdk_version: 1
166+
github: sap-abap/services/s3c
167+
excerpts:
168+
- description:
169+
genai: most
170+
snippet_tags:
171+
- s3c.abapv1.get_job_tagging
127172
Java:
128173
versions:
129174
- sdk_version: 2
@@ -146,6 +191,15 @@ s3-control_GetJobTagging:
146191
s3-control: {GetJobTagging}
147192
s3-control_UpdateJobStatus:
148193
languages:
194+
SAP ABAP:
195+
versions:
196+
- sdk_version: 1
197+
github: sap-abap/services/s3c
198+
excerpts:
199+
- description:
200+
genai: most
201+
snippet_tags:
202+
- s3c.abapv1.update_job_status
149203
Java:
150204
versions:
151205
- sdk_version: 2
@@ -168,6 +222,15 @@ s3-control_UpdateJobStatus:
168222
s3-control: {UpdateJobStatus}
169223
s3-control_UpdateJobPriority:
170224
languages:
225+
SAP ABAP:
226+
versions:
227+
- sdk_version: 1
228+
github: sap-abap/services/s3c
229+
excerpts:
230+
- description:
231+
genai: most
232+
snippet_tags:
233+
- s3c.abapv1.update_job_priority
171234
Java:
172235
versions:
173236
- sdk_version: 2

.doc_gen/metadata/sesv2_metadata.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@ sesv2_CreateContact:
101101
sesv2: {CreateContact}
102102
sesv2_GetEmailIdentity:
103103
languages:
104+
SAP ABAP:
105+
versions:
106+
- sdk_version: 1
107+
github: sap-abap/services/se2
108+
excerpts:
109+
- description:
110+
genai: most
111+
snippet_tags:
112+
- se2.abapv1.get_email_identity
104113
Python:
105114
versions:
106115
- sdk_version: 3
@@ -644,6 +653,15 @@ sesv2_Hello:
644653
sesv2: {ListEmailIdentities}
645654
sesv2_SendBulkEmail:
646655
languages:
656+
SAP ABAP:
657+
versions:
658+
- sdk_version: 1
659+
github: sap-abap/services/se2
660+
excerpts:
661+
- description:
662+
genai: most
663+
snippet_tags:
664+
- se2.abapv1.send_bulk_email
647665
Python:
648666
versions:
649667
- sdk_version: 3

.tools/readmes/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@
229229
"sagemaker": "sap-abap/services/sgm",
230230
"scheduler": "sap-abap/services/scd",
231231
"secrets-manager": "sap-abap/services/smr",
232+
"s3-control": "sap-abap/services/s3c",
232233
"sesv2": "sap-abap/services/se2",
233234
"textract": "sap-abap/services/tex",
234235
"transcribe": "sap-abap/services/tnb",

0 commit comments

Comments
 (0)