deleteOptionGroup method
May throw OptionGroupNotFoundFault. May throw InvalidOptionGroupStateFault.
Implementation
Future<void> deleteOptionGroup({
required String optionGroupName,
}) async {
ArgumentError.checkNotNull(optionGroupName, 'optionGroupName');
final $request = <String, dynamic>{};
$request['OptionGroupName'] = optionGroupName;
await _protocol.send(
$request,
action: 'DeleteOptionGroup',
version: '2013-09-09',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DeleteOptionGroupMessage'],
shapes: shapes,
);
}