Skip to content

Commit ef497d4

Browse files
author
Maria Ines Parnisari
authored
Fix call graph for stub update handler (#256)
1 parent e7fc59f commit ef497d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/rpdk/java/templates/init/guided_aws/StubUpdateHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ protected ProgressEvent<ResourceModel, CallbackContext> handleRequest(
3535
// STEP 1 [first update/stabilize progress chain - required for resource update]
3636
.then(progress ->
3737
// STEP 1.0 [initialize a proxy context]
38-
proxy.initiate("AWS-Foo-Bar::Update", proxyClient, model, callbackContext)
38+
proxy.initiate("{{ call_graph }}::{{ operation }}", proxyClient, model, callbackContext)
3939

4040
// STEP 1.1 [TODO: construct a body of a request]
4141
.translateToServiceRequest(Translator::translateToFirstUpdateRequest)
@@ -53,7 +53,7 @@ protected ProgressEvent<ResourceModel, CallbackContext> handleRequest(
5353
// STEP 2 [second update/stabilize progress chain]
5454
.then(progress ->
5555
// STEP 2.0 [initialize a proxy context]
56-
proxy.initiate("AWS-Foo-Bar::Update", proxyClient, model, callbackContext)
56+
proxy.initiate("{{ call_graph }}::{{ operation }}", proxyClient, model, callbackContext)
5757

5858
// STEP 2.1 [TODO: construct a body of a request]
5959
.translateToServiceRequest(Translator::translateToSecondUpdateRequest)

0 commit comments

Comments
 (0)