Skip to content

Commit 08c7e13

Browse files
committed
fix: migrate listOperations
1 parent bdd7ae2 commit 08c7e13

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/core/src/shared/clients/apprunner.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ import {
2020
ListConnectionsCommand,
2121
ListConnectionsRequest,
2222
ListConnectionsResponse,
23+
ListOperationsCommand,
24+
ListOperationsRequest,
25+
ListOperationsResponse,
2326
ListServicesCommand,
2427
ListServicesRequest,
2528
ListServicesResponse,
@@ -105,8 +108,8 @@ export class AppRunnerClient extends ClientWrapper<AppRunnerClientSDK> {
105108
return await this.makeRequest(StartDeploymentCommand, request)
106109
}
107110

108-
public async listOperations(request: AppRunner.ListOperationsRequest): Promise<AppRunner.ListOperationsResponse> {
109-
return (await this.createSdkClient()).listOperations(request).promise()
111+
public async listOperations(request: ListOperationsRequest): Promise<ListOperationsResponse> {
112+
return await this.makeRequest(ListOperationsCommand, request)
110113
}
111114

112115
public async deleteService(request: DeleteServiceRequest): Promise<WithServiceSummary<DeleteServiceResponse>> {

0 commit comments

Comments
 (0)