refactor rest calls so all fields are included appropriately
Some checks failed
AWS-Zig Build / build-zig-amd64-host (push) Failing after 13m25s
Some checks failed
AWS-Zig Build / build-zig-amd64-host (push) Failing after 13m25s
This commit is contained in:
parent
4df27142d0
commit
fd568f26b9
1 changed files with 3 additions and 8 deletions
11
src/aws.zig
11
src/aws.zig
|
|
@ -304,14 +304,9 @@ pub fn Request(comptime request_action: anytype) type {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return try Self.callAws(aws_request, .{
|
var rest_options = options;
|
||||||
.success_http_code = Action.http_config.success_code,
|
rest_options.success_http_code = Action.http_config.success_code;
|
||||||
.region = options.region,
|
return try Self.callAws(aws_request, rest_options);
|
||||||
.dualstack = options.dualstack,
|
|
||||||
.client = options.client,
|
|
||||||
.diagnostics = options.diagnostics,
|
|
||||||
.mock = options.mock,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calls using one of the json protocols (json_1_0, json_1_1)
|
/// Calls using one of the json protocols (json_1_0, json_1_1)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue