deleteVariantStore method
Deletes a variant store.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter name :
The store's name.
Parameter force :
Whether to force deletion.
Implementation
Future<DeleteVariantStoreResponse> deleteVariantStore({
required String name,
bool? force,
}) async {
final $query = <String, List<String>>{
if (force != null) 'force': [force.toString()],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/variantStore/${Uri.encodeComponent(name)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DeleteVariantStoreResponse.fromJson(response);
}