Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: DimuthuMadushan <35717653+DimuthuMadushan@users.noreply.github.com>
  • Loading branch information
ayeshLK and DimuthuMadushan authored Feb 25, 2025
1 parent 2d4df42 commit 497f946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ballerina/client.bal
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public isolated client class Client {
#
# + registrationToken - The registration-token provided by the customer
# + return - A Ballerina `mpm:Error` if there was an error while executing the operation or else `mpm:ResolveCustomerResponse`
remote function resolveCustomer(string registrationToken) returns ResolveCustomerResponse|Error =
isolated remote function resolveCustomer(string registrationToken) returns ResolveCustomerResponse|Error =
@java:Method {
'class: "io.ballerina.lib.aws.mpm.NativeClientAdaptor"
} external;
Expand All @@ -59,7 +59,7 @@ public isolated client class Client {
#
# + request - The request parameters for the `BatchMeterUsage` operation
# + return - A Ballerina `mpm:Error` if there was an error while executing the operation or else `mpm:BatchMeterUsageResponse`
remote function batchMeterUsage(*BatchMeterUsageRequest request) returns BatchMeterUsageResponse|Error {
isolated remote function batchMeterUsage(*BatchMeterUsageRequest request) returns BatchMeterUsageResponse|Error {
BatchMeterUsageRequest|constraint:Error validated = constraint:validate(request);
if validated is constraint:Error {
return error Error(string `Request validation failed: ${validated.message()}`);
Expand Down

0 comments on commit 497f946

Please sign in to comment.