deleteCustomAvailabilityZone method
Future<DeleteCustomAvailabilityZoneResult>
deleteCustomAvailabilityZone({
- required String customAvailabilityZoneId,
Deletes a custom Availability Zone (AZ).
A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.
For more information about RDS on VMware, see the RDS on VMware User Guide.
May throw CustomAvailabilityZoneNotFoundFault. May throw KMSKeyNotAccessibleFault.
Parameter customAvailabilityZoneId
:
The custom AZ identifier.
Implementation
Future<DeleteCustomAvailabilityZoneResult> deleteCustomAvailabilityZone({
required String customAvailabilityZoneId,
}) async {
ArgumentError.checkNotNull(
customAvailabilityZoneId, 'customAvailabilityZoneId');
final $request = <String, dynamic>{};
$request['CustomAvailabilityZoneId'] = customAvailabilityZoneId;
final $result = await _protocol.send(
$request,
action: 'DeleteCustomAvailabilityZone',
version: '2014-10-31',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DeleteCustomAvailabilityZoneMessage'],
shapes: shapes,
resultWrapper: 'DeleteCustomAvailabilityZoneResult',
);
return DeleteCustomAvailabilityZoneResult.fromXml($result);
}