deleteBackupAccessPoint method
Deletes a backup access point. This deletes the underlying Amazon S3 access point and, if no other backup access points remain for the recovery point, resumes lifecycle transitions for that recovery point.
Always delete backup access points using this operation rather than deleting the underlying Amazon S3 access point directly.
May throw InvalidParameterValueException.
May throw InvalidRequestException.
May throw MissingParameterValueException.
May throw ResourceNotFoundException.
May throw ServiceUnavailableException.
Parameter accessPointArn :
The Amazon Resource Name (ARN) of the backup access point to delete.
Implementation
Future<void> deleteBackupAccessPoint({
required String accessPointArn,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/backup-access-point/delete/${Uri.encodeComponent(accessPointArn)}',
exceptionFnMap: _exceptionFns,
);
}