deleteScheduledAction method

Future<void> deleteScheduledAction(
  1. {@required String scheduledActionName}
)

Deletes a scheduled action.

May throw ScheduledActionNotFoundFault. May throw UnauthorizedOperation.

Parameter scheduledActionName : The name of the scheduled action to delete.

Implementation

Future<void> deleteScheduledAction({
  @_s.required String scheduledActionName,
}) async {
  ArgumentError.checkNotNull(scheduledActionName, 'scheduledActionName');
  _s.validateStringLength(
    'scheduledActionName',
    scheduledActionName,
    0,
    2147483647,
    isRequired: true,
  );
  final $request = <String, dynamic>{};
  $request['ScheduledActionName'] = scheduledActionName;
  await _protocol.send(
    $request,
    action: 'DeleteScheduledAction',
    version: '2012-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DeleteScheduledActionMessage'],
    shapes: shapes,
  );
}