getPendingMaintenanceAction method

Future<GetPendingMaintenanceActionOutput> getPendingMaintenanceAction({
  1. required String resourceArn,
})

Retrieves all maintenance actions that are pending.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter resourceArn : Retrieves pending maintenance actions for a specific Amazon Resource Name (ARN).

Implementation

Future<GetPendingMaintenanceActionOutput> getPendingMaintenanceAction({
  required String resourceArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/pending-action/${Uri.encodeComponent(resourceArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetPendingMaintenanceActionOutput.fromJson(response);
}