stopAppBlockBuilder method
Stops an app block builder.
Stopping an app block builder terminates the instance, and the instance state is not persisted.
May throw ConcurrentModificationException.
May throw OperationNotPermittedException.
May throw ResourceNotFoundException.
Parameter name :
The name of the app block builder.
Implementation
Future<StopAppBlockBuilderResult> stopAppBlockBuilder({
required String name,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'PhotonAdminProxyService.StopAppBlockBuilder'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'Name': name,
},
);
return StopAppBlockBuilderResult.fromJson(jsonResponse.body);
}