deleteStorageProfile method
Deletes a storage profile.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The farm ID of the farm from which to remove the storage profile.
Parameter storageProfileId :
The storage profile ID of the storage profile to delete.
Implementation
Future<void> deleteStorageProfile({
required String farmId,
required String storageProfileId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/storage-profiles/${Uri.encodeComponent(storageProfileId)}',
exceptionFnMap: _exceptionFns,
);
}