deleteSnapshotSchedule method

Future<void> deleteSnapshotSchedule({
  1. required String scheduleIdentifier,
})

Deletes a snapshot schedule.

May throw InvalidClusterSnapshotScheduleStateFault. May throw SnapshotScheduleNotFoundFault.

Parameter scheduleIdentifier : A unique identifier of the snapshot schedule to delete.

Implementation

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