deleteStackSet method
Deletes a stack set. Before you can delete a stack set, all of its member stack instances must be deleted. For more information about how to do this, see DeleteStackInstances.
May throw StackSetNotEmptyException. May throw OperationInProgressException.
Parameter stackSetName
:
The name or unique ID of the stack set that you're deleting. You can
obtain this value by running ListStackSets.
Implementation
Future<void> deleteStackSet({
required String stackSetName,
}) async {
ArgumentError.checkNotNull(stackSetName, 'stackSetName');
final $request = <String, dynamic>{};
$request['StackSetName'] = stackSetName;
await _protocol.send(
$request,
action: 'DeleteStackSet',
version: '2010-05-15',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DeleteStackSetInput'],
shapes: shapes,
resultWrapper: 'DeleteStackSetResult',
);
}