deletePlatformVersion method
Deletes the specified version of a custom platform.
May throw ElasticBeanstalkServiceException.
May throw InsufficientPrivilegesException.
May throw OperationInProgressException.
May throw PlatformVersionStillReferencedException.
Parameter platformArn :
The ARN of the version of the custom platform.
Implementation
Future<DeletePlatformVersionResult> deletePlatformVersion({
String? platformArn,
}) async {
final $request = <String, String>{
if (platformArn != null) 'PlatformArn': platformArn,
};
final $result = await _protocol.send(
$request,
action: 'DeletePlatformVersion',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'DeletePlatformVersionResult',
);
return DeletePlatformVersionResult.fromXml($result);
}