deleteAppBlock method
Deletes an app block.
May throw ConcurrentModificationException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
Parameter name :
The name of the app block.
Implementation
Future<void> deleteAppBlock({
required String name,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'PhotonAdminProxyService.DeleteAppBlock'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Name': name,
},
);
}