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