@@ -116,7 +116,7 @@ class PresignerGeneratorTest {
116116 * @param duration the amount of time from signing for which the request is valid, with seconds granularity.
117117 * @return The [HttpRequest] that can be invoked within the specified time window.
118118 */
119- suspend fun GetFooRequest.presign(presignConfig: ServicePresignConfig, duration: Duration): HttpRequest {
119+ public suspend fun GetFooRequest.presign(presignConfig: ServicePresignConfig, duration: Duration): HttpRequest {
120120 return createPresignedRequest(presignConfig, getFooPresignConfig(this, duration))
121121 }
122122
@@ -126,7 +126,7 @@ class PresignerGeneratorTest {
126126 * @param duration the amount of time from signing for which the request is valid, with seconds granularity.
127127 * @return The [HttpRequest] that can be invoked within the specified time window.
128128 */
129- suspend fun GetFooRequest.presign(config: TestClient.Config, duration: Duration): HttpRequest {
129+ public suspend fun GetFooRequest.presign(config: TestClient.Config, duration: Duration): HttpRequest {
130130 val presignConfig = TestPresignConfig {
131131 credentialsProvider = config.credentialsProvider
132132 endpointProvider = config.endpointResolver.asSigningEndpointProvider()
@@ -155,7 +155,7 @@ class PresignerGeneratorTest {
155155 * @param duration the amount of time from signing for which the request is valid, with seconds granularity.
156156 * @return The [HttpRequest] that can be invoked within the specified time window.
157157 */
158- suspend fun PostFooRequest.presign(presignConfig: ServicePresignConfig, duration: Duration): HttpRequest {
158+ public suspend fun PostFooRequest.presign(presignConfig: ServicePresignConfig, duration: Duration): HttpRequest {
159159 return createPresignedRequest(presignConfig, postFooPresignConfig(this, duration))
160160 }
161161
@@ -165,7 +165,7 @@ class PresignerGeneratorTest {
165165 * @param duration the amount of time from signing for which the request is valid, with seconds granularity.
166166 * @return The [HttpRequest] that can be invoked within the specified time window.
167167 */
168- suspend fun PostFooRequest.presign(config: TestClient.Config, duration: Duration): HttpRequest {
168+ public suspend fun PostFooRequest.presign(config: TestClient.Config, duration: Duration): HttpRequest {
169169 val presignConfig = TestPresignConfig {
170170 credentialsProvider = config.credentialsProvider
171171 endpointProvider = config.endpointResolver.asSigningEndpointProvider()
@@ -194,7 +194,7 @@ class PresignerGeneratorTest {
194194 * @param duration the amount of time from signing for which the request is valid, with seconds granularity.
195195 * @return The [HttpRequest] that can be invoked within the specified time window.
196196 */
197- suspend fun PutFooRequest.presign(presignConfig: ServicePresignConfig, duration: Duration): HttpRequest {
197+ public suspend fun PutFooRequest.presign(presignConfig: ServicePresignConfig, duration: Duration): HttpRequest {
198198 return createPresignedRequest(presignConfig, putFooPresignConfig(this, duration))
199199 }
200200
@@ -204,7 +204,7 @@ class PresignerGeneratorTest {
204204 * @param duration the amount of time from signing for which the request is valid, with seconds granularity.
205205 * @return The [HttpRequest] that can be invoked within the specified time window.
206206 */
207- suspend fun PutFooRequest.presign(config: TestClient.Config, duration: Duration): HttpRequest {
207+ public suspend fun PutFooRequest.presign(config: TestClient.Config, duration: Duration): HttpRequest {
208208 val presignConfig = TestPresignConfig {
209209 credentialsProvider = config.credentialsProvider
210210 endpointProvider = config.endpointResolver.asSigningEndpointProvider()
0 commit comments