Skip to content

Commit 96235cf

Browse files
authored
Reuse UpdateGlobalTable for both Update and Delete operations (#92)
It looks like to delete a GlobalTable we need to delete all it's region replications. Annd with the new code-generator feature, adding support of assigning the same AWS operation to multiple resources and CRUD types. We'll have to explicitely set that this operation supports both update and delete. Signed-off-by: Amine Hilaly <[email protected]> By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 5b77ddb commit 96235cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

generator.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ ignore:
77
- TableDescription.TableClassSummary
88
operations:
99
UpdateGlobalTable:
10-
operation_type: Delete
10+
operation_type:
11+
- Update
12+
- Delete
1113
resource_name: GlobalTable
1214
DescribeBackup:
1315
output_wrapper_field_path: BackupDescription.BackupDetails

0 commit comments

Comments
 (0)